channelData

public Array<float> channelData(int channel)

Returns a new array with the samples of the given channel.

Parameters

channel

the index of the channel, from zero to channelCount() - 1

Throws

when channel is out of range