supercollider test
This commit is contained in:
parent
64cb9307b4
commit
5ead0a6ef6
1 changed files with 29 additions and 1 deletions
30
sc3-test.sc
30
sc3-test.sc
|
@ -1,2 +1,30 @@
|
|||
///// // / / / / / / /
|
||||
//
|
||||
// supercollider tests
|
||||
//
|
||||
////// / /
|
||||
|
||||
"e p h e m e r a l g a r d e n".postln;
|
||||
|
||||
(
|
||||
// sc server
|
||||
Server.local.boot;
|
||||
s = Server.local;
|
||||
//s.options.memSize = 1024 * 1024;
|
||||
//s.options.maxNodes = 1024 * 1024;
|
||||
//s.options.numBuffers = 1024 * 1024 * 1024;
|
||||
//s.latency = 0.05;
|
||||
s.options.sampleRate = 44100;
|
||||
)
|
||||
|
||||
~snd = "/home/foam/snd/31-dawn-chorus-11m36--01.wav";
|
||||
|
||||
b = Buffer.read(s,~snd);
|
||||
|
||||
a = { (PlayBuf.ar(1, b, rate: 1, loop: 1) * 0.1).dup }.play;
|
||||
|
||||
//a.free;
|
||||
|
||||
//b.free;
|
||||
|
||||
|
||||
"/// // / / / // /".postln;
|
Loading…
Reference in a new issue