Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hack prototype bash script to poll the pads and connect the backend p…
…layback
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|