Is there any way to load a mono buffer by reading a single channel from an stereo or maybe a multichannel file? thx!
[asked on behalf of someone else]
Is there any way to load a mono buffer by reading a single channel from an stereo or maybe a multichannel file? thx!
[asked on behalf of someone else]
Yes: Buffer has a "readChannel" method that does exactly what you ask.
e.g. to load channel 3:
b = Buffer.readChannel(s, pathToAudioFile, channels: [3]);