Hi,
I encounter a problem while trying to control PD patch with midi.
I am very bad in math and I have no idea how to map 0 - 127 of midi value to -1 to 1 for my synth's pan.
In Max/Msp, or SC, I remember that they have an object called [map] or something.(in SC, .linlin method)
It usually takes four arguments, like (0, 127, -1, 1). then the object will automatically map first two arguments to second two arguments range.
Does PD has this kind of object?
Or I should do all in math? (combination of division, multiplying...etc.)
I wish that there's something...
thank you.