Class WavFileWriter
A utility to write audio samples to a file on disk. Construct using the path you want to store the audio file at. Invoke Write with the sampling frequency, channel count and PCM samples and it will lazily initialize.
Inheritance
System.Object
WavFileWriter
Namespace: Adrenak.UniVoice
Assembly: cs.temp.dll.dll
Syntax
public class WavFileWriter : IDisposable
Constructors
WavFileWriter(String)
Declaration
public WavFileWriter(string path)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | path |
Methods
Dispose()
Declaration
public void Dispose()
Write(Int32, Int32, Single[])
Declaration
public void Write(int frequency, int channelCount, float[] samples)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | frequency | |
| System.Int32 | channelCount | |
| System.Single[] | samples |