Skip to content

Instantly share code, notes, and snippets.

@reprimande
reprimande / gist:4239620
Created December 8, 2012 09:51
play binary by supercollider
(
s.waitForBoot {
var rootPath, window, view,
drawBuf, bufnum, sound, task,
width, height, fps, curX, curY, pixSize,
processFunc, loadFile;
// initial settings
rootPath = "/path/to/root/dir";
pixSize = 5;
#!/usr/env/python
import os
bitrate = '320'
src = 'src.wav'
dst = 'dst.mp3'
os.system('lame -b ' + bitrate + ' ' + src + ' ' + dst)
test2