TDOA (Time Difference of Arrival) is estimated using GCC-PHAT. A realtime DOA (Direction Of Arrival) is also elstimated using 2 microphones.
- NumPy
- PyAudio
- WebRTCVAD
python realtime_tdoa.py
TDOA based on GCC-PHAT
License: Apache License 2.0
Readme od this repo is too short. Please specify input/output format, principle of operation, some screenshots, etc.
at https://github.com/xiongyihui/tdoa/blob/master/gcc_phat.py#L44, should the "np.abs()" be removed?
the GCC-PHAT is on top of cross-correlation, fine-tuned of cc.
The cc is real number, not complex number.
My understanding of the biggest positive value means: "at the shift point, the two signal are match best".
The negative of cc value is "at the shift point, the one signal is are more likely to match, when the second signal take upside-down flip (*-1).
Hi,I am a newcomer to sound localization,I want to know whether this code can be used to far-filed with linear microphone array, such as 4 mic. If not ,could you please give me some advice ? Thank you .
Hi,
the function gcc_phat(sig, refsig, fs=1, max_tau=None, interp=16):
what do max_tau and interp stand for,respectively.
thanks a lot.
Hello,
Great work! Are the signals that you pass to gcc_phat direct samples from the microphones or are any preprocessing steps on the signals required before passing to gcc_phat?
最近需要用到gcc_phat,找到了这个repo。请问一下,能否解释一下interp这个参数的含义吗
What is the input of this project? Why can I delete the audio file and run this project
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.