|
From: | Bagus Tris Atmaja |
Subject: | Re: wavwrite error |
Date: | Wed, 12 Sep 2018 03:21:32 +0900 |
Hello guys,
I have problem executing this piece of code, as it throws an error for
sampling frequency. Please, do share your suggestions
dur = 1.0;
fs = 8000;
tt = 0 : (1/fs) : dur;
xx = sin( 2*pi*2000*tt );
wavwrite("sound.wav",xx', fs, 16)
>> wavwrite("sound.wav",xx', fs, 16)
error: wavwrite: sample rate FS must be a positive number
error: called from
wavwrite at line 91 column 5
Thanks and Regards!!
Harish
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |