SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-14-06, 04:20 PM   #17
Wim Libaers
Samurai Navy
 
Join Date: Sep 2001
Location: Flanders
Posts: 569
Downloads: 4
Uploads: 0
Default

Quote:
Originally Posted by Sonoboy
That tonal generator that HydroShok posted is not an accurate way of determining what frequency you can hear at.

Unless I really can hear a sound at 181,019.34 Hz...
That is a frequency well above the limits of most soundcards, and sound drivers. What happens is that the program will sample a sine function of that frequency at intervals that are longer than a period of the function, causing aliasing and a signal that appears to have a much lower frequency.

Try this applet:
http://www.dsptutor.freeuk.com/aliasing/AD102.html
It is set to 8000Hz sampling frequency. Put checkmarks on "Input signal" and on "Sample points" or on "Alias frequency". Put in a value below 4000 Hz and click plot. They will be the same. Then try higher values. You'll notice differences. The rules can be found here:
http://www.dsptutor.freeuk.com/aliasing/AliasFrq.htm
If you know the sampling rate the tone generator uses, you can calculate which frequency really came out of the speakers.
Wim Libaers is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.