Hi,
whenever I try like given in the docs
integer n_channels,sample_rate
file='one_blow.wav' n_channels = 1 sample_rate = 41000
handle = open_wav_file_write@(file,n_channels,sample_rate)
I reveive the errormessage
'number of channels must be 1 or 2'.
I tried to rearrange the arguments - there might be a misprint in the docs. Only placing n_channels first in line avoids
this error, but I get 'unable to open waf_file' instead.
The arguments were derived from an existing wav-file by open_wav_file_read@, so I am pretty sure that they are in range.
What might be wrong ?
Norbert