Constructor

new(parent:WaveformData, channelId:Int)

Methods

maxSample(i:Int):Int

Retrieve a given maximum point at an index.

maxSampleMapped(i:Int):Float

Mapped to a value between 0 and 1.

maxSampleRange(start:Int, end:Int):Int

Maximum value within the range of samples. NOTE: Inefficient for large ranges. Use WaveformData.remap instead.

maxSampleRangeMapped(start:Int, end:Int):Float

Maximum value within the range of samples, mapped to a value between 0 and 1.

minSample(i:Int):Int

Parameters:

i

Index

Returns:

minimum point at an index.

minSampleMapped(i:Int):Float

Mapped to a value between 0 and 1.

minSampleRange(start:Int, end:Int):Int

Minimum value within the range of samples. NOTE: Inefficient for large ranges. Use WaveformData.remap instead.

minSampleRangeMapped(start:Int, end:Int):Float

Maximum value within the range of samples, mapped to a value between 0 and 1.

setMaxSample(i:Int, value:Int):Void

setMinSample(i:Int, value:Int):Void