From 0086bbedb4ab62583f9b260cd2399f05d0decfc2 Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Mon, 14 May 2018 13:19:28 +0200 Subject: [PATCH] buffering --- ephemera.sc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ephemera.sc b/ephemera.sc index b198446..ca3173c 100644 --- a/ephemera.sc +++ b/ephemera.sc @@ -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;});