Description: This example programme creates a wav file, with 30 seconds of a 440Hz tone. The source file can be downloaded using the link below.
writeWav.c
It is compiled and executed as follows:
> gcc -lm -lsndfile -o writeWav writeWav.c
> ./writeWav output.wav
To Search:
File list (Check if you may need any files):
readWav.c