Skip to content

Instantly share code, notes, and snippets.

View thomasjwebb's full-sized avatar

Thomas J. Webb thomasjwebb

View GitHub Profile
@Eiyeron
Eiyeron / CustomSound.hx
Last active February 10, 2019 17:03
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.
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 July 19, 2011 20:51
S3 temporary link maker
#!/usr/bin/env python
import sys
import BaseHTTPServer
import boto.s3
from boto.s3.key import Key
PORT = 8123