Mapping line object and frequency

egg_white's icon

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

brendan mccloskey's icon

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

Roman Thilenius's icon

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