wavout

Files: wavout.h, wavout.c

Writes a mono signal to a WAV file. This module uses the public-domain dr_wav library to write WAV files to disk. This module is ideal for instances where GPL-licensed libsndfile cannot be used for legal reasons.

Functions

sp_wavout_create(sp_wavout **wavout)
sp_wavout_init(sp_data *sp, sp_wavout *wavout, const char*filename)
sp_wavout_compute(sp_data *sp, sp_wavout *wavout, SPFLOAT *input, SPFLOAT *out)
sp_wavout_destroy(sp_wavout **wavout)

Mandatory Parameters

filename: The filename of the output file.
(Recommended value: N/A)

Inputs

input: Mono input signal.

Outputs

out: A passthrough signal: a copy of the input signal.