Forums > MaxMSP

Mapping line object and frequency

March 24, 2013 | 6:30 pm

Hello everyone,

I am trying to map a line object with the center frequency of a filter. All works good except that I want it to be even in time and of course it moves to slow on the high frequency’s and to fast on the low ones. Any ideas?

Thanks a lot
Dídio


March 24, 2013 | 9:28 pm

Hi
it sounds like you are using the [filtergraph] object – its behaviour can be set to either linear or logarithmic in its Inspector.


March 24, 2013 | 9:57 pm

you dont want to map the time, you want to map the frequencies.

you can use the mtof object to scale from linear to frequency.

[line]
[+ 48.]
[* 36.]
[mtof 0.]

will convert line´s output to a range of note C1 until note C3 in hertz, ready for your filter.

-110


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