Class TowseyWavReader
Inheritance
TowseyWavReader
Assembly: AudioAnalysisTools.dll
[Obsolete]
public sealed class TowseyWavReader
Constructors
|
Improve this Doc
View Source
Initializes a new instance of the TowseyWavReader class.
CONSTRUCTOR 2
signal passed as an array of bytes.
Declaration
public TowseyWavReader(byte[] wavData)
Parameters
Type |
Name |
Description |
Byte[] |
wavData |
|
|
Improve this Doc
View Source
Initializes a new instance of the TowseyWavReader class.
CONSTRUCTOR 3
signal passed as an array of bytes.
Declaration
public TowseyWavReader(byte[] wavBytes, string wavFName)
Parameters
Type |
Name |
Description |
Byte[] |
wavBytes |
|
String |
wavFName |
|
|
Improve this Doc
View Source
Initializes a new instance of the TowseyWavReader class.
CONSTRUCTOR 4
signal passed as an array of doubles.
Declaration
public TowseyWavReader(double[] rawData, int sampleRate, string sigName)
Parameters
|
Improve this Doc
View Source
Initializes a new instance of the TowseyWavReader class.
CONSTRUCTOR 1
signal passed as file name.
Declaration
public TowseyWavReader(string wavPath)
Parameters
Type |
Name |
Description |
String |
wavPath |
|
Fields
|
Improve this Doc
View Source
Declaration
public const string wavFExt = ".wav"
Field Value
Properties
|
Improve this Doc
View Source
Declaration
public int BitsPerSample { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int Channels { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int SampleCount { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int SampleRate { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public double[] Samples { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public TimeSpan Time { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public string WavFileDir { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public string WavFileName { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public static TowseyWavReader SineWave(double freq, double amp, double phase, TimeSpan length, int sampleRate)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public void SubSample(int interval)
Parameters
Type |
Name |
Description |
Int32 |
interval |
|
|
Improve this Doc
View Source
Declaration
public static double[] TrimSamples(double[] data)
Parameters
Type |
Name |
Description |
Double[] |
data |
|
Returns
Extension Methods