Giter VIP home page Giter VIP logo

pitch.js's People

Contributors

crackofdusk avatar jussi-kalliokoski 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pitch.js's Issues

Include fft

Hi,
How to include fft ? Do you need to use node or may be other way ?
I don't have part server and I would like to avoid node.
Thank for respond.

Does not take sampleRate input

In case anyone else runs into this: I noticed that the docs indicate sampleRate input as in new PitchAnalyzer(sampleRate). But in actuality, it appears that the rate of 44100 is hardcoded, and the input is not used.

Internal buffer wrong size?

In your readme it says:
"The internal buffer is 4096 samples"

However it doesn't seem like it in the code:

FFT_P	= 10,
FFT_N	= 1 << FFT_P,
BUF_N	= FFT_N * 2;

This makes BUF_N 2048. Maybe I just missed something?

Documentation

What do you think of doing an annotated version of the source using docco? Obviously pitch.js isn't particularly hard to use, but I think a docco version of the source (if annotated well) could be interesting to people and help them understand the source, and maybe we'd get more outside contributors because of that. Anyway, just a thought.

UI

Sorry about the wait on this. If I remember correctly, you need something that looks like one of those digital tuners that shows what note you're playing, the percentage error, and how loud you're playing. Did I miss anything?

Questions:

  • The percentage error will be plus or minus a percentage (0 to 100) or plus or minus a decimal (0 to 1)?
  • How will I get the volume? By decibels, some sort of percentage for the meter or what?
  • How will I get the note? Just a string representing the note name (A, Bb, or C#) or something else?

Let me know, and I'll get coding! :)

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.