If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Displacement of frequency by a sound card.
3 posts
• Page 1 of 1
Displacement of frequency by a sound card.
I have made the following construction (see pict.) and has met with strange effect.
I place earphone against the microphone.
You think f1 is equal f2?
NO!
I have combined these signals, and at sampling rate is lower 48000, I observe slow (30 sec) drift of a phase. (see schematic). The frequencies are near, but nevertheless are various.
How such could happen?
I place earphone against the microphone.
You think f1 is equal f2?
NO!
I have combined these signals, and at sampling rate is lower 48000, I observe slow (30 sec) drift of a phase. (see schematic). The frequencies are near, but nevertheless are various.
How such could happen?
- Attachments
-
- drift.gif (15.03 KiB) Viewed 10292 times
-
- drift.fsm
- (17.11 KiB) Downloaded 1017 times
- Shoo
- Posts: 33
- Joined: Fri Sep 02, 2011 8:37 am
- Location: Russia
Re: Displacement of frequency by a sound card.
There are so many things that will effect your circuit.
1) Driver Latency (Direct Sound can have a delay of around 0.5 seconds)
2) No speaker can truly represent a square wave, it always gets rounded and split into several frequencies(do an FFT).
3) Your mic will have a specific frequency response so may not even pick up all of the frequencies.
4) Both the speaker and the mic will also have some intrinsic phase delay.
5) Adding the signals together will just make a mess of the signals as they will be delayed and filtered by your design.
So it's no surprise you are getting odd signals.
What is it you are trying to do?
This works:
1) Driver Latency (Direct Sound can have a delay of around 0.5 seconds)
2) No speaker can truly represent a square wave, it always gets rounded and split into several frequencies(do an FFT).
3) Your mic will have a specific frequency response so may not even pick up all of the frequencies.
4) Both the speaker and the mic will also have some intrinsic phase delay.
5) Adding the signals together will just make a mess of the signals as they will be delayed and filtered by your design.
So it's no surprise you are getting odd signals.
What is it you are trying to do?
This works:
- Attachments
-
- No drift.fsm
- (26.58 KiB) Downloaded 997 times
- Embedded
- Posts: 143
- Joined: Sat Oct 30, 2010 1:42 pm
Re: Displacement of frequency by a sound card.
No, in a square wave all harmonics are always multiple of a base frequency. Can not be arbitrary.
And unceasing drift of a phase it not delays, it is beatings of differing frequencies.
In your schematic the same drift is present, irrespective of entered delay.
(I think, is a hardware effect.)
And unceasing drift of a phase it not delays, it is beatings of differing frequencies.
In your schematic the same drift is present, irrespective of entered delay.
(I think, is a hardware effect.)
- Shoo
- Posts: 33
- Joined: Fri Sep 02, 2011 8:37 am
- Location: Russia
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 81 guests