Sound
(NOTE) Records audio generated by its input SoundNodes into a WAV file.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
StartRecording | FileName | soundnode | |
StopRecording | Paused | ||
StreamToDisk |
Properties
FileName : string
The name of the output file that will be created, including the full path. Do not include the file extension.
var FileName : String
Paused : boolean
When true, recording is paused, and can be resumed by setting to false.
var Paused : Boolean
StreamToDisk : boolean
When false, audio data will be saved in a buffer and written to the file when StopRecording is called. When true, data will be written to the file constantly during every update frame, and nothing will be saved.
var StreamToDisk : Boolean
Methods
StartRecording : Void
Starts writing all audio input to a file. |Name|Type|Description| |---|---|---|
function StartRecording()
StopRecording : Void
Stops writing data and closes the file. |Name|Type|Description| |---|---|---|
function StopRecording()