Detect notes playing with microphone
Hi there,
I'm making a piano-style game with unity where player can play notes and game would recognize the notes that are played. I successfully implemented the pitch-recognizing pattern but now I'm struggling detecting when the player plays a different note.
Here is how my input sound looks like:
You can hear it there : Notes.mp3
I guess I have to detects each "peak", i.e when there's a difference in terms of dB through time and detect the start of each "mountain" that we see on the Audacity diagram.
I'm not so much into math and I guess there are some tools that can help easily achieve that.
Would you have any thought or code samples in Unity/c#?
Your answer
Follow this Question
Related Questions
adding instruments to the music Wwise 1 Answer
Best practices for playing lots of audios 1 Answer
Audio Cutting Out Unexplainably 1 Answer
Using Grid-like singletons for continuous Audio 0 Answers
Active noise control 1 Answer