repo.or.cz
/
chuck-blob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
*** empty log message ***
[chuck-blob.git]
/
exile
/
v1
/
examples
/
gomidi2.ck
blob
56300d02e4b55cf3e884a5d00719d8c9578a945e
1
// the world's lamest instrument
2
3
impulse i => dac;
4
5
// infinite time-loop
6
while( 5::ms => now )
7
while( midiin => int min )
8
{
9
// make an impulse
10
1.0 => i.next;
11
// advance time a little (by some samples)
12
std.rand2(2, 50)::samp => now;
13
}