From 7cdc040b178a3379e0b1784957b701f300e62eae Mon Sep 17 00:00:00 2001 From: Pierre Alexandre Tremblay Date: Thu, 25 Apr 2019 15:20:01 +0100 Subject: [PATCH] bufspectralshape help is now finished --- .../Classes/FluidBufSpectralShape.schelp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/release-packaging/HelpSource/Classes/FluidBufSpectralShape.schelp b/release-packaging/HelpSource/Classes/FluidBufSpectralShape.schelp index 82897c6..1eace3a 100644 --- a/release-packaging/HelpSource/Classes/FluidBufSpectralShape.schelp +++ b/release-packaging/HelpSource/Classes/FluidBufSpectralShape.schelp @@ -86,7 +86,7 @@ Routine{ // listen to the source and look at the buffer b.play; - c.plot(minval:-10, maxval:0) +c.plot(minval:-25, maxval:150) :: STRONG::A stereo buffer example.:: @@ -102,19 +102,18 @@ c = Buffer.read(s,File.realpath(FluidBufSpectralShape.class.filenameSymbol).dirn FluidBufCompose.process(s, c, numFrames:b.numFrames, startFrame:555000,destStartChan:1, destination:b) b.play -// create 2 new buffers as destinations -d = Buffer.new(s); e = Buffer.new(s); +// create a buffer as destinations +c = Buffer.new(s); //run the process on them ( Routine{ t = Main.elapsedTime; - FluidBufSines.process(s, b, features: c); + FluidBufSpectralShape.process(s, b, features: c); (Main.elapsedTime - t).postln; }.play ) -//listen: stereo preserved! -d.play -e.play -:: +// look at the buffer: 7shapes for left, then 7 shapes for right +c.plot(minval:-25, maxval:150) +:: \ No newline at end of file