gbr.yin~ frequency detection in M4L

halftheory's icon

Hi,
I'm trying to use IRCAM's gbr.yin~ object (from the FTM package) in a M4L plugin.
The "energy" float seems to return useful values, but I've had no luck trying to get the *frequency* - the float won't change from zero.

I've tried different versions of Live, Max/MSP, and the FTM package. Tried on Mac and PC.

Any suggestions? I've never had any problems using gbr.yin~ in Max/MSP. I guess the object isn't fully compatible with M4L?
Can someone suggest another frequency detection object that works in M4L? (aside from fiddle~)

mzed's icon

In max 6, there's fzero~.

rjungemann's icon

I really like sigmund~. It's from PureData-land originally, and I consider it one of the strong points of PureData. It's similar to fiddle~ but it seems to be more accurate for me, at least the little bit I've used it.

There is a really good Guitar Synth tutorial for PureData that uses its version of sigmund~ and can be easily translated to Max/MSP.

Here's an example where I made a PureData patch based on the above tutorial, and used sigmund~ to extract the pitch from my guitar, shift the pitch two octaves down, and resynthesize it with a simple FM synth.