The OpenD Programming Language

saveAsWAV

Encode a slice to a WAV file.

  1. bool saveAsWAV(const(float)[] data, const(char)[] filePath, int numChannels, float sampleRate, EncodingOptions options)
  2. bool saveAsWAV(const(double)[] data, const(char)[] filePath, int numChannels, float sampleRate, EncodingOptions options)
    nothrow @nogc
    bool
    saveAsWAV
    (
    const(double)[] data
    ,
    const(char)[] filePath
    ,
    int numChannels = 1
    ,
    float sampleRate = 44100.0f
    ,)

Return Value

Type: bool

true on success.

Meta