GithubHelp home page GithubHelp logo

tdoa's Introduction

TDOA

TDOA (Time Difference of Arrival) is estimated using GCC-PHAT. A realtime DOA (Direction Of Arrival) is also elstimated using 2 microphones.

Requirements

  • NumPy
  • PyAudio
  • WebRTCVAD

Get started

python realtime_tdoa.py

tdoa's People

Contributors

xiongyihui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tdoa's Issues

Readme too short

Readme od this repo is too short. Please specify input/output format, principle of operation, some screenshots, etc.

expression of find peak of "cc"

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).

question

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 .

About gcc_phat funtion

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.

Format of sig and refsig

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.