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]
/
examples
/
hello_sine.ck
blob
e2123161730b48db21cd4c3ff1b9f918a0d1db5b
1
// connect a sine oscillator to audio output
2
sinosc s => dac;
3
// set the oscillator frequency (hz)
4
220.0 => s.freq;
5
// let time advance for 2 seconds
6
2::second => now;