[SOLVED]
I needed to modify the standard MapButton.maxpat by converting the incoming float to a signal with sig~
-----------------------------
Hi!
I'm working on a device and am attempting to use MapButton.maxpat inside a bpatcher, as demonstrated in the EnvelopFollower and a few other devices.
It's patched in, and I am able to clip Map, select another parameter, and the UI updates.
However, the actual modulating of the mapped parameter doesn't seem to be happening.
Is there some additional step I am missing?
Any help would be greatly appreciated, thanks!
[SOLVED] Using MapButton.maxpat in new device?
[SOLVED] Using MapButton.maxpat in new device?
Last edited by hmblsnd on Wed Jul 03, 2019 9:23 pm, edited 2 times in total.
Re: Using MapButton.maxpat in new device?
Yeah, I don't know why but this one is always tricky to get working in other devices.
Make sure to freeze your device of course, and also try enabling "embed patcher in parent" from your patcher's inspector.
It usually solves the thing at some point.
Make sure to freeze your device of course, and also try enabling "embed patcher in parent" from your patcher's inspector.
It usually solves the thing at some point.
Ableton Forum Moderator
Re: Using MapButton.maxpat in new device?
Also add the file to the project, I find this helps!
Cheers
D
Cheers
D
-
- Posts: 6018
- Joined: Mon May 15, 2006 12:15 pm
Re: Using MapButton.maxpat in new device?
I'm glad we talk about it. I ended up with endless numbers of copy of this patcher in my computer.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: Using MapButton.maxpat in new device?
Hiya-
I've tried the things mentioned here (freeze, ensuring the subpatch is in the same folder, ensuring that the inlet to the bPatcher is correct, etc), and a few other things such as modifying the MapButton patch just to make sure values were coming in at the right range of numbers, but still no luck.
I've also switched over the internal patch to the "MapButtonLFO.maxpat", which I believe is the more current subpatch the Ableton provided max devices use.
- The subpatch is definitely being included correctly, as it is visible in my main patch.
- If I map to a parameter (eg Cutoff), changing the incoming value does NOT set the Filter, however, the filter IS controlled if I drag the "MIN" value for the mapping, so they are definitely mapping correctly.
I'm feeding the bPatcher the value coming out of a live.dial- is it possible that it needs to be some other datatype / number type?
Thanks!
EDIT:
In looking closer it seems like MapButtonLFO is looking for an audio signal and not just a regular float? I could be mistaken.
Similarly, MapButton.maxpat takes the inlet and treats it as signal after hitting a [scale] object?
I think my missing piece to make this work is understanding how I'm can use a simple Float in the Inlet of MapButton.maxpat, or how to modify it to do so.
Any thoughts would be awesome