I'm unclear if the sounfiles should be stored on the beaglebone. I'm able to play soundfile buffers back on the local soundcard, but when I connect to scserver with Bela, it throws an error about number of channels?
Next, I tried playing with a SynthDef and heard nothing... (
Here's my code:
~b0 = Buffer.read(s, "/Users/andrewluck/Desktop/cowbell.wav");
~b0.numFrames;
~b0.play;
(
SynthDef(\help_PlayBuf, {| out = 0, bufnum = 0 |
Out.ar(out,
PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum), doneAction: Done.freeSelf)
)
}).play(s, [\out, 0, \bufnum, ~b0]);
)