Commit 0086bbed authored by nik gaffney's avatar nik gaffney

buffering

parent a7c6b153
...@@ -53,7 +53,7 @@ if ( ~now.year == 1970, ...@@ -53,7 +53,7 @@ if ( ~now.year == 1970,
~file.postln; ~file.postln;
// cue mono file from disk then play // cue mono file from disk then play
b=Buffer.cueSoundFile (server: s, path: ~prefix++~file, numChannels, 1); ~play1.value(b); b=Buffer.cueSoundFile (server: s, path: ~prefix++~file, numChannels: 1); ~play1.value(b);
}; };
~foreground = { ~foreground = {
...@@ -114,8 +114,8 @@ s.waitForBoot { ...@@ -114,8 +114,8 @@ s.waitForBoot {
i = 0; i = 0;
j = 0; j = 0;
p = 2; // how many background layers? p = 12; // how many background layers?
q = 3; // how many foreground layers? q = 1; // how many foreground layers?
while ( { i < p }, { i = i + 1; ~background.value;}); while ( { i < p }, { i = i + 1; ~background.value;});
while ( { j < q }, { j = j + 1; ~foreground.value;}); while ( { j < q }, { j = j + 1; ~foreground.value;});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment