scale and zmap stop working in a M4L device

Philipp Mayer's icon

Hello,

I programmed a poly synthesizer in max, where the velocity controls the tuning of each pitch. I used a 'scale' object, that maps the incoming velocity values to a cent value, that then gets sent to a pitchshifter (small velocity values pitch down up to -75 cents, higher values pitch up up to +75 cents). I first built in in Max and now wanted to do a M4L instrument in Ableton.

Here comes the problem:
Somehow, there the scale object started making problems. It basically stops working completely once I save the project and just spits out the max value the whole time (75 in this case). Reopening the set or put the instrument in a new midi track doesn't help. The weird thing is: if I replace the scale object with itself (copy replace), it works for a moment, but only until I save or close the patch and reopen it.
I tried replacing all the scale objects with zmap - but there I have the same problem. It just stops working and sends out the max value (75) the whole, regarding of the incoming velocity value.

Did someone ever encounter something like this? Any ideas how to fix this?

I made a screen recording, trying to demonstrate the problem. You first see the main patcher, showing that velocity values are coming in. There I also show the -75 / +75 values that are sent to the zmap objects (as I wrote above, with the scale object it was the same problem) in the voices , then I enter the subpatch of one voice, showing that there the velocity value arrives well, but the zmap object only spits out the max value (75).

Thanks for any help!

Best, Philipp

double_UG's icon

you override -75 +75 to +75 +75 from loadbang +75

Philipp Mayer's icon

Oh, right! Got blind from patching. Thanks so much!!!