From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-08-2014 02:15 PM
Hello,
I generated a sine sound and i am having problems trying to get the sound balance to work (which speaker sound comes out of left or right) it would be nice if it could be random if not i would like to be able to control it on the interface
10-09-2014 01:02 AM
10-16-2014 01:39 PM
This is the code that i have so far and there is no sound playing
10-16-2014 01:59 PM
right now i am using headphones temporarily then i am using speakers
10-16-2014 02:14 PM
Well look at your code. You simulate a waveform, then replace the Y values with an array full of zeroes. Of course you hear nothing.
Also, your simulated wave is NOT stereo. Probe the output and you will see it's only 1 array so your Index Channel VI can't possibly work the way you want it to. Give it another shot though, you're getting there...
10-16-2014 02:45 PM
Well i have been going by this vi that i found as a guide. But it is an input sond file. This must not be helping much
10-16-2014 02:56 PM
that project that i am using as a guide was given to me by tech support with labview
10-16-2014 04:49 PM - edited 10-16-2014 05:11 PM
Almost time for me to go home but I slapped this together to show you how to create waves and manipulate them before you send them to your sound card. The main issue is that you need to prepare your waves to do what you want BEFORE you send them to the sound VIs. Once you load a wave to be played, it's in your soundcard buffer and there's not much you can do with it without stopping playback and re-configuring. If you create two waves and then build them into an array before hand, you can get smooth playback.
Note that ALL the Sample rates and # of Samples variables combine to change the frequency and length of time the waves play. You need to learn how the math works to generate predictible outputs.
CAUTION: TURN DOWN YOUR VOLUME BEFORE YOU RUN THIS VI!!! Especially with headphone on. It's defaults are pretty mild but can still generate some rather discordant noises.
EDIT: No Really. TURN THE VOLUME DOWN. I just realized mine was set to 25 but when I cranked it back to 100 this VI can be painful. Please be careful.
10-21-2014 06:37 PM
can you please make your file backwards compatible with 2012 labview full development application. we cannot open the file to see what you did. Thanks
10-24-2014 09:58 AM
Here you go. Sorry for the delay, my email was down for a couple days and I didn't even notice.