buffering
This commit is contained in:
parent
a7c6b1531d
commit
0086bbedb4
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ if ( ~now.year == 1970,
|
|||
~file.postln;
|
||||
|
||||
// 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 = {
|
||||
|
@ -114,8 +114,8 @@ s.waitForBoot {
|
|||
|
||||
i = 0;
|
||||
j = 0;
|
||||
p = 2; // how many background layers?
|
||||
q = 3; // how many foreground layers?
|
||||
p = 12; // how many background layers?
|
||||
q = 1; // how many foreground layers?
|
||||
|
||||
while ( { i < p }, { i = i + 1; ~background.value;});
|
||||
while ( { j < q }, { j = j + 1; ~foreground.value;});
|
||||
|
|
Loading…
Reference in a new issue