piano pitch detection ?

Cheng Chien-Wen's icon

I find it very hard to detect the pitch of piano sound because the result is very unstable. Even if the lowest note on a piano can show a very high pitch detection result. I am thinking that maybe I can capture the correct pitch when there is a new attack. But I still cannot succeed.

Have anybody used piano pitch detection result to determin whether to trigger some events or not ? (I am not planning to buy a piano sensor.) Any better ideas ?

I actually asked the same question on the forum before and did not get a good solution to it. But I think that the fundamental frequency of a piano pitch should have the highest level. If so, there should be some way to differentiate, eg., a higher pitch D and a lower pitch D by capturing data only at the beginning of an attack. Am I right ?

Please give me some suggestions. Thanks.

kcoul's icon

Do you know about overtones?

Your best bet, from what I can understand of your post, is to route your audio input through a variable low pass filter and try and get just the fundamental tone(s) through to your frequency interpreter. It's probably getting confused by the overtones.

Olivier Pasquet's icon

For monodic intruments, have a look at fiddle~ or yin~.
For polyphonic (!!!) instruments (especially piano with template),
have a look at the Arshia Cont's work with Sparse Non-negative Matrix
Decomposition.

best,

O./

Olivier Pasquet's icon

If you wanna have something else than transcribe~, you should use a
mechanical midi detector. There is a fairly good and reactive one
from Moog ($1495) : PianoBar
http://www.moogmusic.com/detail.php?main_product_id=71

Be careful, this is fragile. There is a very annoying and useless
sensor on the left side you have to tape to avoid program changes (or
something like that) !!!
The sounds from this device are crap.

O./

Peter McCulloch's icon

Or you could use the Disklavier in the MEIT. (for you Univ. of North
Texas alumni)

The good news about piano notes is that you don't have to worry about
reattacks...

Peter McCulloch

Rodrigo's icon

transcribe~ looks great,

i have a g4 so it runs really crunchy on mine, so i cant test it too well

for those that have worked with it on faster machines, hows the
tracking/latency?
howd you mic the piano?

On 10/8/07, olivier pasquet wrote:
> For monodic intruments, have a look at fiddle~ or yin~.
> For polyphonic (!!!) instruments (especially piano with template),
> have a look at the Arshia Cont's work with Sparse Non-negative Matrix
> Decomposition.
>
> Pure Max external:
> http://cosmal.ucsd.edu/arshia/index.php?n=Main.Transcribe
>
> FTM external:
> http://cosmal.ucsd.edu/arshia/index.php?n=Main.Multipitch
>
> best,
>
> O./
>

Charlie Williams's icon

Resurrecting this thread— does anyone know where to find Arshia's external today?

Source Audio's icon

search for transcribe~ in this forum :

https://cycling74.com/forums/transcribe~-not-available

Charlie Williams's icon

Amazing, thank you!