From 1f393fd530ebca654826f4b2b65a1425e6960f22 Mon Sep 17 00:00:00 2001 From: Pierre Alexandre Tremblay Date: Wed, 16 Sep 2020 14:18:20 +0100 Subject: [PATCH] a wiser first example --- release-packaging/HelpSource/Classes/FluidBufScale.schelp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release-packaging/HelpSource/Classes/FluidBufScale.schelp b/release-packaging/HelpSource/Classes/FluidBufScale.schelp index aa52118..e24a528 100644 --- a/release-packaging/HelpSource/Classes/FluidBufScale.schelp +++ b/release-packaging/HelpSource/Classes/FluidBufScale.schelp @@ -60,13 +60,13 @@ EXAMPLES:: code:: // make a buffer of know qualities -b = Buffer.sendCollection(s,0.0.series(0.1,1.0)) +b = Buffer.sendCollection(s,1.0.series(1.1,2.0)) // and a destination buffer c = Buffer(s) // play with the scaling FluidBufScale.process(s, b, destination: c, inputLow: 0, inputHigh: 1, outputLow: 20, outputHigh:10) // retrieve the buffer and enjoy the results. -c.getn(0,11,{|x|x.postln;}) +c.getn(0,10,{|x|x.postln;}) // also works in multichannel - explore the following buffer b = Buffer.sendCollection(s,-10.0.series(-9,10.0).scramble,2)