Skip to content

Instantly share code, notes, and snippets.

Avatar

Thomas J. Webb thomasjwebb

View GitHub Profile
@Eiyeron
Eiyeron / CustomSound.hx
Last active Feb 10, 2019
Haxe/Heaps custom Sound/Data class pair to generate sound on the fly. Beware, it's experimental and prone to crash if you tweak the wrong knobs.
View CustomSound.hx
import hxd.snd.Data;
import hxd.res.Sound;
// This class should work like a Sound. Jsut create one and call play and a lo-fi generated tune should ring.
// You can check out a bit more about bytebeat there : http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html
class CustomSound extends Sound {
public function new() {
super(null);
data = new SoundDataGenerator();
}
@dustin
dustin / redirector.py
Created Jul 19, 2011
S3 temporary link maker
View redirector.py
#!/usr/bin/env python
import sys
import BaseHTTPServer
import boto.s3
from boto.s3.key import Key
PORT = 8123
You can’t perform that action at this time.