Hi,
I’m trying these Granular examples from Eli Fieldsteel’s book.
When I replace Platform.resourceDir ++"/sounds/a11wlk01.wav" with my own little stereo sample everything works except I cannot hear anything with my sample. No error.
Is this just a matter of the wrong type of source material? It seems as if it should work because the sample starts immediately and is not quiet or very large. I tried a couple of different samples and changing the number of channels which should all be stereo anyway. Thanks.
Thanks. I did try to switch numChannels so that doesn’t seem to be why I’m having the issue.
Is it possibly a SC for Windows issue?
When I run these examples with the default sample the post window shows this:
I’ve just found the issue: GrainBuf expects the sample file to be mono - see the help file.
Best,
Paul
Edit: The numChannels argument for GrainBuf only sets how many channels will be output - it is not referring to the number of channels in the sample buffer.
Okay. thanks a lot!
I should have read more carefully above that example. It says to paraphrase: that numChannels refers to the output rather than the input channels which must always be one.