Cancelling out known signal with sampling offset

2 views (last 30 days)
I would like to cancel out a known audio signal at my receiver.
Specifically at my transmitter I am playing a song, and at my receiver I am recording it. Both transmit and receive sampling rate is 44.1kHz.
At the receiver I basically want to null out the song so that the only thing that is left is the ambient noise in the room.
When I lined up the received and transmitted signal, I noticed that there is sampling offset so I cannot simply subtract out the transmitted signal.
Are there tools in Matlab that are designed for this task? And what are the general principles I can use to solve this?
  1 Comment
Robert U
Robert U on 14 Nov 2018
Hello Justin Chan,
in order to get rid of just the offset you can apply a highpass filter with cut-off frequency of around 10 Hz assuming that frequencies below 16 Hz are below hearing threshold.
Due to the fact that human hearing threshold is limited towards higher frequencies as well, a bandpass filter 10 - 40k Hz might be usefull.
Kind regards,
Robert

Sign in to comment.

Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!