[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Can't get GrainBuf to work.



Hello Andy, the file is listed as stereo but you are giving 1 to the numChannels argument. IIRC this causes GrainBuf to fail silently. Didn't test now but that should be it.

Hope it helps,
BB

andy baxter wrote:
I've been trying out the granular synthesis examples, and I can't get GrainBuf to produce any sound. I've reduced the example from the help file to make it a bit simpler, as shown below, and it evaluates OK but produces no audible output.

(
b = Buffer.read(s, "samples/13552__acclivity__Brook20Sec.wav");
// a custom envelope
({
   Pan2.ar(GrainBuf.ar(1, Impulse.ar(10), 0.1 , b, 1,
       LFNoise2.kr(10).range(0, 1),
       2, 0, -1),0) ;
   }).play(s);
)

Am I doing this wrong?

The file is a 20 second sample of the sound of running water, from freesound.org (at http://www.freesound.org/samplesViewSingle.php?id=13552 )

andy


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/



_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/