02-24-2016 01:29 PM
I am having difficulties saving a simple Sine wave to .wav format. Does anyone have experience with this? I just want to create a sine wave using simulate signal at a specific frequency and amplitude and save it as a .wav. I tried using the Sound File Write vi and that doesn't seem to work.
Thank-you for any help.
02-24-2016 01:34 PM - edited 02-24-2016 01:34 PM
The file download is messed up I think, but if you manually change the filetype to ".vi" it will open.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-24-2016 01:49 PM
I am not sure why it is not working for you. Please post some code.
02-24-2016 02:00 PM
Here is my attempt at save the sine wave file as a wav file.
02-24-2016 02:16 PM - edited 02-24-2016 02:20 PM
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-24-2016 03:31 PM
Thank-you! I made these changes (attached) and still get the same error.
02-24-2016 03:41 PM
This is the first time you've mentioned an error. What error?
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-24-2016 03:51 PM
If you run it there is an error:
-4824
02-24-2016 04:04 PM
This isn't necessarily a warning, it's just letting you know that your data was out of range for a wav file, so it had to clip it.
Your waveform data must fit within the -1 to 1 range.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-24-2016 04:06 PM