abstract AudioChannel(AudioChannelData)
package grig.audio
Represents a floating-point based signal
Static methods
staticinlineaddInto(this:AudioChannelData, other:AudioChannel, sourceStart:Int = 0, ?length:Int):Void
Adds length
values from calling AudioChannel
starting at sourceStart
into other
, starting at sourceStart
.
Values are summed.
staticcopy(this:AudioChannelData):AudioChannel
Create a new AudioChannel
with the same parameters and data (deep copy)
staticcopyInto(this:AudioChannelData, other:AudioChannel, sourceStart:Int = 0, ?length:Int, otherStart:Int = 0):Void
Copes length
values from calling AudioChannel
starting at sourceStart
into other
, starting at sourceStart
.
Values in other are replaced with values from calling AudioChannel
.
staticsumOfSquares(this:AudioChannelData):Float
Sum of squares of the data. A quick and dirty way to check energy level