Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Take a look at my Voice to MIDI (pitch recognition) work in progress

  1. #1
    Junior Member
    Join Date
    Mar 2019
    Posts
    8

    Take a look at my Voice to MIDI (pitch recognition) work in progress

    Here: http://www.youtube.com/watch?v=lTb-e...ature=youtu.be

    It kind of works, but still needs improvements. The pitch recognition is fast and about 95% accurate for now. I think I need to work with the "probability" and ignore results below 0.9. I'll try that next.
    Also, I need to improve the playback of "converted" sounds after the pitch recognition. There is a lag in playFrequency(), I think.

    But still, I'm very excited. I think I can make it work acceptably, especially when I get my new shield for Teensy 4.0 and the Audio Shield. The 4.0 is more than 5 times faster than the 3.6 I'm using now, so maybe the lag will not be as noticeable.
    I'll keep you posted, if anybody cares.

    The code is here: https://github.com/quantograph/Instr...AudioBoard.ino
    Look for "AudioSynthWavetable::freqToNote(..."
    More here: http://quantograph.com/
    And here: https://github.com/quantograph/Instr...master/Arduino
    Last edited by defragster; 08-26-2019 at 11:40 PM. Reason: brought in code links ...

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,402
    @Andy - followed the link to video yesterday - very cool.

    - also just moved the links into OP - post edit window closes 2 hours after posting.

  3. #3
    Junior Member
    Join Date
    Aug 2019
    Posts
    5
    Andy - that looks very interesting - congratulations on your success. I suspect it may have a variety of uses for different people.
    One thing that comes to mind is interval recognition training / ear training.
    Did you have a specific application or use in mind when you started this work?
    Is it able to detect the individual notes within a chord?
    Nice work - nice art work too!

  4. #4
    Junior Member
    Join Date
    Mar 2019
    Posts
    8
    Thank you for your kind words, EddieLeo. The idea is to make a smart musical instrument which you can play and use for music learning.

    One feature would be an "electronic music teacher", which understands what notes you are playing. Can be used to show you how to play a song from a MIDI file and let you know when you don't play it right.
    Also, can it can show you how to play a scale on a flute or saxophone and let you play the next note only after you play the current one right.
    Can be used for singing lessons, too, to make sure you sing it right. Ear training, like you said.
    And the notes it recognizes can be sent over bluetooth to a phone or a computer as MIDI input into any other software which can take it.

    I'll update my website when I have more things to share.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •