Метод | Описание | |
---|---|---|
ApplyGain ( double gain ) : void |
Apply a gain (units) to the whole buffer.
|
|
ApplyWindow ( |
Apply a window to the whole buffer.
|
|
MaxPos ( ) : int | ||
MaxVal ( ) : double | ||
Normalize ( double dBfs ) : double |
Normalize the buffer so maximum value is at (dBfs)
|
|
Normalize ( double dBfs, bool doIt ) : double | ||
PadTo ( int n ) : void | ||
PadToPowerOfTwo ( ) : void | ||
Read ( int n, int &nn, bool &moreSamples ) : ISample[] | ||
ReadAll ( ) : int | ||
ReadComplex ( int n, int &nn, bool &moreSamples ) : Complex[][] | ||
ReadTo ( int n ) : bool | ||
SampleSubset ( int start, int count ) : IEnumerator |
Get an iterator for a subset of samples
|
|
Skip ( int n, int &nn, bool &moreSamples ) : void | ||
SoundBuffer ( ) : System | ||
SoundBuffer ( ISoundObj input ) : System | ||
SoundBuffer ( List |
||
Subset ( int start ) : ISoundObj | ||
Subset ( int start, int count ) : ISoundObj | ||
ToArray ( ) : ISample[] | ||
ToArray ( int startPos ) : ISample[] | ||
ToArray ( int startPos, int count ) : ISample[] | ||
ToComplexArray ( ) : Complex[][] | ||
ToComplexArray ( int startPos ) : Complex[][] | ||
ToComplexArray ( int startPos, int count ) : Complex[][] | ||
ToDoubleArray ( ) : double[][] |
Return the buffer contents as an array of doubles
|
|
ToDoubleArray ( int startPos ) : double[][] |
Return the buffer contents as an array of doubles
|
|
ToDoubleArray ( int startPos, int count ) : double[][] |
Return the buffer contents as an array of doubles
|
|
this ( int arg ) : ISample |
Метод | Описание | |
---|---|---|
FindMax ( ) : void |
public ApplyGain ( double gain ) : void | ||
gain | double | units to scale by |
Результат | void |
public ApplyWindow ( |
||
window | Cosine-based window to apply | |
Результат | void |
public Normalize ( double dBfs ) : double | ||
dBfs | double | dB-of-fullscale for the new peak |
Результат | double |
public Normalize ( double dBfs, bool doIt ) : double | ||
dBfs | double | |
doIt | bool | |
Результат | double |
public Read ( int n, int &nn, bool &moreSamples ) : ISample[] | ||
n | int | |
nn | int | |
moreSamples | bool | |
Результат | ISample[] |
public ReadComplex ( int n, int &nn, bool &moreSamples ) : Complex[][] | ||
n | int | |
nn | int | |
moreSamples | bool | |
Результат | Complex[][] |
public SampleSubset ( int start, int count ) : IEnumerator |
||
start | int | |
count | int | Number to return |
Результат | IEnumerator |
public Skip ( int n, int &nn, bool &moreSamples ) : void | ||
n | int | |
nn | int | |
moreSamples | bool | |
Результат | void |
public SoundBuffer ( ISoundObj input ) : System | ||
input | ISoundObj | |
Результат | System |
public SoundBuffer ( List |
||
samples | List |
|
numChannels | ushort | |
sampleRate | uint | |
Результат | System |
public Subset ( int start, int count ) : ISoundObj | ||
start | int | |
count | int | |
Результат | ISoundObj |
public ToArray ( int startPos ) : ISample[] | ||
startPos | int | |
Результат | ISample[] |
public ToArray ( int startPos, int count ) : ISample[] | ||
startPos | int | |
count | int | |
Результат | ISample[] |
public ToComplexArray ( int startPos ) : Complex[][] | ||
startPos | int | |
Результат | Complex[][] |
public ToComplexArray ( int startPos, int count ) : Complex[][] | ||
startPos | int | |
count | int | |
Результат | Complex[][] |
public ToDoubleArray ( int startPos ) : double[][] | ||
startPos | int | Start position in the buffer |
Результат | double[][] |
public ToDoubleArray ( int startPos, int count ) : double[][] | ||
startPos | int | |
count | int | Length of the return array (will be null-padded if count exceeds data size) |
Результат | double[][] |