Giter Site home page Giter Site logo

dywapitchtrack's People

Contributors

antoineschmitt 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

Watchers

 avatar  avatar  avatar  avatar  avatar

dywapitchtrack's Issues

High end pitch detection.

You mentioned that this algorithm was tested with the human voice, but in my tests I can't detect any frequency above 1.4KHz (F6 at 1024 samples) for some reason. I am aware of singers having much bigger vocal range than this.

I noticed a hardwired maxF = 3000 which I assume to be the theoretical upper limit, but in my tests I'm getting nowhere near.

Regards
Paul

Realtime 4 harmonics estimation

Hi,
I try to make an harmonic tuner (meaning that you plot up to the 4 first harmonics vs time with a txt printed value of the Fundamental frequency) for an accordion tuner.
The tricky thing with accordion is that you could have multiple reeds playing in the same time, and I need a tuner that helps the tuning process.
Basically, I wonder if I could adapt you code to create a harmonic tuner like teh picture above :

image

Add website to description

Hey, why don't you add the description about the project from your website to the description of this repository or paste it to the README? It was quite helpful for me to get some contextual information.

http://schmittmachine.com/dywapitchtrack/

I am pasting it here for future reference:

Pitch tracking C library

open source (MIT licence)

The dywapitchtrack library computes the pitch of an audio stream in real time. The pitch is the main frequency of the waveform (the ‘note’ being played or sung). It is expressed as a float in Hz.

Unlike the human ear, pitch detection is difficult to achieve for computers. Many algorithms have been designed and experimented, but there is no ‘best’ algorithm. They all depend on the context and the tradeoffs acceptable in terms of speed and latency. The context includes the quality and ‘cleanness’ of the audio : obviously polyphonic sounds (multiple instruments playing different notes at the same time) are extremely difficult to track, percussive or noisy audio has no pitch, most real-life audio have some noisy moments, some instruments have a lot of harmonics, etc…

The dywapitchtrack is based on a custom-tailored algorithm which is of very high quality: both very accurate (precision < 0.05 semitones), very low latency (< 23 ms) and very low error rate. It has been thoroughly tested on human voice.

It can best be described as a dynamic wavelet algorithm (dywa):

The heart of the algorithm is a very powerful wavelet algorithm, described in a paper by Eric Larson and Ross Maddox : “Real-Time Time-Domain Pitch Tracking Using Wavelets” of UIUC Physics.

This central algorithm has been improved by adding dynamic tracking, to reduce the common problems of frequency-halving and voiced/unvoiced errors. This dynamic tracking explains the need for a tracking structure (dywapitchtracker). The dynamic tracking assumes that the main function dywapitch_computepitch is called repeatedly, as it follows the pitch over time and makes assumptions about human voice capabilities and reallife conditions (as documented inside the code).

Note : The algorithm currently assumes a 44100Hz audio sampling rate. If you use a different samplerate, you can just multiply the resulting pitch by the ratio between your samplerate and 44100.

See the dywapitchtrack.h file for the library API documentation.

History :
This algorithm has been designed during a mission for a customer. As I had kept the author’s rights on the source code, I eventually decided to make this code public and open source, because it is of really high quality. This algorithm has been extensively tested, especially it has been included in an Adobe Director Xtra (plugin), asPitchDetect Xtra, that has been distributed widely for a few years.

I hope that it can be used with pleasure and efficiency in your project.

Thank you
Antoine Schmitt April 2010

Any steps?

Dear,
Any steps to start the project?
I mean how to test the project,
Thx

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.