Forums > MaxMSP

frequency detection from adc~

December 7, 2008 | 7:28 pm

While I’m working on this I thought I’d throw it up here to see if I can get some info.

I’m trying to take in audio from a mic using [adc~] and analyze the sound to determine its frequency. In a perfect world, I should be able to mic a piano and hit A and get a response of 440hz (no matter if I hit the key hard or soft).

Any clues/info welcomed.



m
December 7, 2008 | 7:36 pm

fiddle~ should be your friend …..

find it on maxobjects.com

sincerely, ms

Am 07.12.2008 um 20:28 schrieb No_name:

>
> While I’m working on this I thought I’d throw it up here to see if I
> can get some info.
>
> I’m trying to take in audio from a mic using [adc~] and analyze the
> sound to determine its frequency. In a perfect world, I should be
> able to mic a piano and hit A and get a response of 440hz (no matter
> if I hit the key hard or soft).
>
> Any clues/info welcomed.
> –
> ————–
> ~TSG


December 7, 2008 | 7:46 pm

Tristan Jehan’s [pitch~] external is also extremely helpful. Again, track it down on maxobjects.com

lh


December 8, 2008 | 2:37 am


December 8, 2008 | 10:41 am

Thanks all, ~pitch was exactly what I was looking for


December 9, 2008 | 2:11 am

how would all, whom you answered, compare pitch~ to fiddle~ as well as to vb.pitch~?

i’d be most thankful for a quality report!

thank you very much in advance!

jrp


December 9, 2008 | 3:20 am

In what is likely a similar vein, does anyone have any ideas on how to detect the absence of a frequency? I have some odd ideas I’d like to try out (eventually) revolving around the concept of being able to define zones in a composition by EQing out single frequencies in the audio.

IE, for a visualizer, you’d be able to set and EQ to drop the frequencies 142hz, 2000hz, and say 10000hz, and use the audio between zones to do different things with the visualizations. But the frequencies would be defined in the audio, so the visualizer would have to be able to discover where the frequencies have been removed.


December 9, 2008 | 6:55 pm

Quote: jayrope wrote on Tue, 09 December 2008 03:11
—————————————————-
> how would all, whom you answered, compare pitch~ to fiddle~
> as well as to vb.pitch~?

pitch~ is fiddle~, with some extra features.

> i’d be most thankful for a quality report!

Too subjective! Try them ;-)


December 9, 2008 | 7:23 pm

subjective, that’s what i wanted. that’s, of course, subjective…

jrp


December 10, 2008 | 10:36 am


Viewing 10 posts - 1 through 10 (of 10 total)