Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / sound frequencies

Author
Message
jayell
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 29th Dec 2002 23:14
Hi!
I am trying to write a hearing tester (audiography??).
f=get sound speed(1) when sound(1), a pure sinewave of 7Hz, is playing gives a value 11000. Setting the sound frequency then by set sound 1,f changes the frequency downwards considerably, instead of leaving it unchanged.
Why? What does sound speed mean??
John Leedham (jayell)
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Dec 2002 00:45
What 'get sound speed()' is reporting is the sample rate of the recorded sound, not the frequency.

When you use 'set sound speed()', you are setting the replay sample rate. As you are reducing it from 11000 to (I assume) 7000 you are also adjusting the frequency downwards by the same ratio.
jayell
21
Years of Service
User Offline
Joined: 29th Dec 2002
Location:
Posted: 9th Jan 2003 00:49
Thank you for your reply, IanM. I'm still at a loss as to why, if you ask for the sample rate used, then set it to that value, the freq xhanges! I would have thought it would remain the same.
A bit more explanation in the software would help.
Thanks again,
John Leedham

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Jan 2003 03:37
theres a free suite of audio direct x plugins and one of them is a frequency to note converter.

look up " AnalogX "

Login to post a reply

Server time is: 2024-11-23 19:52:57
Your offset time is: 2024-11-23 19:52:57