This file contains hidden or 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
| // install | |
| Quarks.install("https://github.com/yotamorimoto/sc_ca.git"); | |
| Quarks.install("https://github.com/yotamorimoto/sc_sample.git"); | |
| // recompile class library | |
| // before proceeding | |
| // look | |
| Pca1({2.rand}!512, 50).plot; |
This file contains hidden or 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
| ( | |
| // how many | |
| n = 9; | |
| // grid of nxn | |
| ~grid = 0!n!n; | |
| // our process | |
| ~process = {1.0.rand2}; |
This file contains hidden or 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
| Server.supernova; | |
| s.reboot; | |
| // use your own sound instead: | |
| b = Buffer.read(s,"/Users/yota/Desktop/tail.wav"); | |
| b = Buffer.read(s,"/Users/yota/Music/am_cpb/maison/mk_nuit1-.wav"); | |
| ~pos = Bus.control; | |
| ( | |
| SynthDef(\play, { |rate=1, pos=0, dur=1, pan=0| | |
| var sig, env; | |
| sig = PlayBuf.ar(2, b, rate, 1, ~pos.kr*SampleRate.ir); |
OlderNewer