Skip to content

Commit

Permalink
Hack prototype bash script to poll the pads and connect the backend p…
Browse files Browse the repository at this point in the history
…layback
  • Loading branch information
noahadler committed Jan 17, 2012
1 parent 87e0e6e commit 502293f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
16 changes: 12 additions & 4 deletions static/examples/connect.sh 100644 → 100755
@@ -1,8 +1,16 @@
#!/bin/sh
wget http://localhost:9001/p/collexistra-score-pad -o score.abc
abc2mid score.abc -o score.mid
while true
do

chuck midi-mando.ck
wget http://localhost:9001/p/collexistra-score-pad/export/txt -O score.abc
abc2midi score.abc -o score.mid
wget http://localhost:9001/p/collexistra-chuck-pad/export/txt -O pad.ck

aplaymidi -p 14:0 score.mid
chuck --srate44100 pad.ck &

aplaymidi -p 14:0 score.mid

killall chuck

done

24 changes: 24 additions & 0 deletions static/examples/darkice.cfg
@@ -0,0 +1,24 @@
[general]
duration = 0
bufferSecs = 5


[input]
device = jack_auto
sampleRate = 44100
bitsPerSample = 16
channel = 2
jackClientName = darkice

[icecast2-0]
format = vorbis
bitrateMode = vbr
bitrate = 96
quality = 0.8
server = localhost
port = 8000
mountPoint = stream
password = hackme
name = collabestra
description = live hacker stream

0 comments on commit 502293f

Please sign in to comment.