Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66749

How to generate a sound (tone) without clicking noise, and how to select left or right speaker

$
0
0

Hi All,

I am trying to write write a VI that generates a pure tone of specific frequency and volume, then sends that tone to one speaker or the other (Left or right) for use in teaching students about audiology (those hearing tests you may have taken where you hear a noise in one ear or the other).  I have created a rather primitive VI to accomplish this, but I am plagued by a few issues:

 

1) At some frequencies but not all, the VI generates a clicking sound at the start and stop of the tone (I believe this is related to repeating configuration and call of the hardware, but I don't know how to set this up ahead of time and avoid it - and why doesn't it create the clicking sound at all frequencies?).

 

2) At some frequencies (14000Hz and higher), I don't hear the tone at all on my computer speakers (I still hear the click before and after, but I don't hear the tone. I know what you might be thinking, but no, this is not a hearing deficit on my part :-)

 

3) I would like to be able to direct the tone selectively to the left speaker or right speaker, but right now my VI only allows me to pick the "number of channels" (for which I presume "2 channels" means both left and right), but I don't know how to selectively pick only one channel or the other.

 

Thank you for any helpful suggestions you can offer,

Eric

 


Viewing all articles
Browse latest Browse all 66749

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>