• Support PF! Buy your school textbooks, materials and every day products Here!

Audio cancellation

  • #1
2
0

Homework Statement


I created a 180 degree phase shifted version of a song using matlab. They cancel each other out when i play them together using any mixer software,but do not do so when i play the actual and the shifted versions from different sources.

Homework Equations


Is this possible.Can they cancel each other out in space?


The Attempt at a Solution

 

Answers and Replies

  • #2
.Scott
Homework Helper
2,464
861
When you say, "I play the actual and the shifted versions from different sources", I take that to mean that you are playing each through a speaker and listening to the result.

Assuming that is the case, the problem you will have is that you need to have both ears positioned an equal distance from each speaker (so that the phase and time delay are the same for both) and both must be of equal amplitude. Moreover, echoes created by the walls of the room and other items will still be heard - so an anechoic environment would be needed.

This is not an easy set up to arrange.
 
  • #3
2
0
When you say, "I play the actual and the shifted versions from different sources", I take that to mean that you are playing each through a speaker and listening to the result.

Assuming that is the case, the problem you will have is that you need to have both ears positioned an equal distance from each speaker (so that the phase and time delay are the same for both) and both must be of equal amplitude. Moreover, echoes created by the walls of the room and other items will still be heard - so an anechoic environment would be needed.

This is not an easy set up to arrange.
Thanks for the suggestion.
I have been thinking of using a pipe and placing the two speakers on the ends and somehow keeping a microphone in the center.
Will an arrangement like this be beneficial?
 
  • #4
801
173
If two waves are 180 degrees out of phase they won't cancel unless they are pure sine waves. If you have two opposite polarity waves (e.g. balanced audio signal) they would be in phase but still cancel each other out.
 
  • #5
.Scott
Homework Helper
2,464
861
Thanks for the suggestion.
I have been thinking of using a pipe and placing the two speakers on the ends and somehow keeping a microphone in the center.
Will an arrangement like this be beneficial?
Yes. You may want a T shaped pipe with sound pushed through the top ends and the mike at the bottom. By adjusting the volume, you should be able to get that to work. Perhaps not creating silence, but at least a partial but very noticeable cancellation.
 
  • #6
NascentOxygen
Staff Emeritus
Science Advisor
9,244
1,071
I created a 180 degree phase shifted version of a song using matlab. They cancel each other out when i play them together using any mixer software,but do not do so when i play the actual and the shifted versions from different sources.
Make sure you pass the two versions through identical amplifiers, otherwise there may be phase shifts you hadn't anticipated.

If you were to perform your tests outside in the open air over an expanse of lawn I think reflections should not be a problem.
 

Related Threads on Audio cancellation

  • Last Post
Replies
1
Views
2K
Replies
1
Views
7K
Replies
0
Views
2K
Replies
2
Views
3K
Replies
1
Views
1K
Replies
5
Views
5K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
0
Views
7K
  • Last Post
Replies
1
Views
1K
Top