Reply by feli...@hotmail.com●September 26, 20132013-09-26
Hi,
I don����t understand very well what you are looking for, but I guess
you need to detect when a note starts. This concept is called "Onset Detection".
There are several ways to do it, you can search on the web which is the best for
you. Other subject that may help you is "Envelope Follower" or "Envelope
Detection".
Best,
- Felipe
Hi. I have a very accurate frequency detector that works pretty much perfectly
with my guitar. >
>I want to implement certain features that involve note validity (user plays a
note program displays-> checks for validity)
>
>my exact problem in an example can be explained like this:
>
>if i strum open E (82hz) once and my program demands an open E followed by an
open E it will count both of these notes matched by only one strum. i want it to
be that if i strum e twice it will pass. one of my ideas was to just tell the
user to stop a string after its been strummed but id like something more
practical for the user. so i want to be able to count how many times ive hit the
same string before switching to another note! (even 3 times.. 2+ really)
>thanks.
Reply by Nishit●September 26, 20132013-09-26
You should be able to use the fact that every strum will have a peak in
amplitude associated with it. The number of strums by user can be counted by the
number of Amplitude peaks in the audio.
--- In a..., "exactlybest" wrote: >
> Hi. I have a very accurate frequency detector that works pretty much perfectly
with my guitar.
>
> I want to implement certain features that involve note validity (user plays a
note program displays->checks for validity)
>
> my exact problem in an example can be explained like this:
>
> if i strum open E (82hz) once and my program demands an open E followed by an
open E it will count both of these notes matched by only one strum. i want it to
be that if i strum e twice it will pass. one of my ideas was to just tell the
user to stop a string after its been strummed but id like something more
practical for the user. so i want to be able to count how many times ive hit the
same string before switching to another note! (even 3 times.. 2+ really)
> thanks.
>
Reply by exactlybest●September 21, 20132013-09-21
Hi. I have a very accurate frequency detector that works pretty much perfectly
with my guitar.
I want to implement certain features that involve note validity (user plays a
note program displays->checks for validity)
my exact problem in an example can be explained like this:
if i strum open E (82hz) once and my program demands an open E followed by an
open E it will count both of these notes matched by only one strum. i want it to
be that if i strum e twice it will pass. one of my ideas was to just tell the
user to stop a string after its been strummed but id like something more
practical for the user. so i want to be able to count how many times ive hit the
same string before switching to another note! (even 3 times.. 2+ really)
thanks.