channelData

open fun channelData(channel: Int): Array<Float>

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