Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
FindMax ( ) : void |
public ApplyGain ( double gain ) : void | ||
gain | double | units to scale by |
Résultat | void |
public ApplyWindow ( |
||
window | Cosine-based window to apply | |
Résultat | void |
public Normalize ( double dBfs ) : double | ||
dBfs | double | dB-of-fullscale for the new peak |
Résultat | double |
public Normalize ( double dBfs, bool doIt ) : double | ||
dBfs | double | |
doIt | bool | |
Résultat | double |
public Read ( int n, int &nn, bool &moreSamples ) : ISample[] | ||
n | int | |
nn | int | |
moreSamples | bool | |
Résultat | ISample[] |
public ReadComplex ( int n, int &nn, bool &moreSamples ) : Complex[][] | ||
n | int | |
nn | int | |
moreSamples | bool | |
Résultat | Complex[][] |
public SampleSubset ( int start, int count ) : IEnumerator |
||
start | int | |
count | int | Number to return |
Résultat | IEnumerator |
public Skip ( int n, int &nn, bool &moreSamples ) : void | ||
n | int | |
nn | int | |
moreSamples | bool | |
Résultat | void |
public SoundBuffer ( ISoundObj input ) : System | ||
input | ISoundObj | |
Résultat | System |
public SoundBuffer ( List |
||
samples | List |
|
numChannels | ushort | |
sampleRate | uint | |
Résultat | System |
public Subset ( int start, int count ) : ISoundObj | ||
start | int | |
count | int | |
Résultat | ISoundObj |
public ToArray ( int startPos ) : ISample[] | ||
startPos | int | |
Résultat | ISample[] |
public ToArray ( int startPos, int count ) : ISample[] | ||
startPos | int | |
count | int | |
Résultat | ISample[] |
public ToComplexArray ( int startPos ) : Complex[][] | ||
startPos | int | |
Résultat | Complex[][] |
public ToComplexArray ( int startPos, int count ) : Complex[][] | ||
startPos | int | |
count | int | |
Résultat | Complex[][] |
public ToDoubleArray ( int startPos ) : double[][] | ||
startPos | int | Start position in the buffer |
Résultat | 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) |
Résultat | double[][] |