SoundBuffer.saveToFile

Save the sound buffer to an audio file.

Here is a complete list of all the supported audio formats: ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.

class SoundBuffer
bool
saveToFile
(
string filename
)

Parameters

filename string

Path of the sound file to write

Return Value

Type: bool

True if saving succeeded, false if it failed

Meta