API Referenceglobal
VoiceRecordingclass
object→VoiceRecording
Methods4
Showing 4 methods
public static void Flush()
Flush any recorded data so we don't have it kept in memory
Returns:
void—public static bool Save(string path)
Grab any recorded voice data and save it as a WAV file
| Parameter | Type | Description |
|---|---|---|
| path | string | — |
Returns:
bool—public static void Start(int samples = 44100, int bytesPerSecond = 192000)
Start recording data from microphone
| Parameter | Type | Description |
|---|---|---|
| samples = 44100 | int | — |
| bytesPerSecond = 192000 | int | — |
Returns:
void—public static void Stop()
Stop recording data from microphone
Returns:
void—No results match this filter.