Device that allows just one button to adjust a parameter???
Hi folks. So I’m looking for a M4L device that allows me to use just one mapped button to shift a parameter in increments. So, for example, I press a button, and it moves my chain selector up by a little bit. I press that same button, and it moves the chain selector up a little bit more, and so on.
I’d really appreciate some suggestions for this. Thanks folks!
Do you dabble in making devices at all? That wouldn’t be a hard one to put together
just use counter object:
----------begin_max5_patcher---------- 366.3ocmSsraCCBD7L9q.wY2JiyiF0a86npJBaSSHxArf0otMJ+6EVryiJWE qbvf1kw6NyvxwDBqvzIcL5qz2oDxwDBASERP5iIr8htxZgCgwJZAvnYowizs 6MsPsDvC48YiofuajwJyJD5ML5G8G2HfxsJ8l0VYIDQjms74rTJOKOrsZ9v5 4+QUgc2Tr6oEW0bk9buC4NkjDVRmnV7EnPZGWK4+mVTZfkNcI0uEkTd13RZ1 .G9znAsXO1K1aVknlctCVedPZWK0hhZDQ1nFwUkxo9AAx815i3Oxu7rafAfr CkFqzzp8Dgx808kwcu42w8F9BgSYtX0DLQ98MwaLpE22nv1vpU5+9FAoZH+s tmyzZKGjZ+rJ8BYqjNPoEfx+.5BF9MX1pppj5qucqTtvENJzwuEmJa3SfMyd P1DsJQSyAo00WRjH9QpcFaHbYJFpzwPbPkYkGTC3i.DV+T.3GAZswqvtUKYI g9bJ4Wv6KdAd -----------end_max5_patcher-----------
Hey guys. thanks for the suggestions. unfortunately, I’m totally green on proramming M4l devices.
AFWI, whats a counter object, and how do I use the code you pasted?
and Ryan, where’s a good place to start learning the basics of making a device for simple purposes like mine?
Look at the building-blocks section of the tools folder in your max plugin library. You can open those up and copy/paste the code from those together into new patches and link them together much like a pedalboard or a modular setup.
Most people start by doing that, and downloading other patches at maxforlive.com, and copy/pasting parts of those together with the building blocks….
During this process you can learn quite a bit, because you see the code itself and how its parts are put together. You can right click any of their parts and click the Help button for that object, and it will tell you what it does and how it can be used… Or for more detail, you can look at the object reference.
If you look at some simple patches, look at what the parts do and how they’re put together, you’ll quickly get a sense of how to put your own patches together.
Once you start doing that, there are bound to be problems you’ll need a certain function in order to solve, which you haven’t become aware of yet. At those times you can use google, search these forums, ask a question… or, if you know of an object that does a similar thing or would make sense to use in conjunction with what you need, you can open the Help for that object and find a list of related objects at the bottom. You can also search maxforlive.com for other patches that may have a part which does the same thing, and copy/paste away.
Of course there are also the max tutorials, and they help a lot. I just tend to be the type to build the bike without looking at the instructions, if you know what I mean. Either way, the method of learning I described seems to be the most common and is effective. The tutorials, though, will give you a more comprehensive understanding of.. well, whatever that tutorial is about. Using both methods is probably the way to go
I highly suggest getting into it. It’s a satisfying process and there’s nothing like the feeling of using a plugin you’ve made yourself for the first time- suddenly opening up a world of new options for yourself, and being the first one to have the idea to do something… Then seeing all the downloads, knowing how you helped all those people!! It’s really great.
Either way, if I get some extra time over the next week I might throw this together, it seems like a useful tool. If you’d rather do it yourself just let me know and I’ll leave it up to you
Here’s some info on the tutorials:
wow, Ryan, thank you very much for such a thoughtful response. I’ll get into that stuff soon. but itd be great to see what u come up with for it, too. thanks again, man!
a quick one, if you need any more help on this, let us know.
AFWI, that looks great, but I can’t seem to be able to map the big button on your device to anything, in either keys or midi. any suggestions?
AFWI, you are officially the shit. thanks so much!
hey AFWI, so I thought this was working, but not quite. It works to change the track mixer that I was testing this on. But it doesn’t work on chain selectors, which is what I really needed this for.
It seems to map to my chain selector properly, but the big button doesn’t work as its supposed to. a double click on it shifts the chain selector back and forth by single CC or so. single clicks don’t do anything.
(also, as a side issue, once you map the device to something, it won’t let you map it do anything else. you have to just replace the device with a fresh copy. not a big deal tho)
hey, fixed it. keep both files in the same folder.
hey AFWI, that fixes that, great job. BUT, there’s still one more little bug to it, and after this, I think it’ll be solid.
When you map the big button to an external controller, whether keys or midi, pressing that controller’s mapped input will push the Inc device’s big button in, and then another pressing of that controller’s mapped input will push the device’s big button back out. the problem is, the big button only does something when it is pushed OUT. so what that means is, you’ve got to press your controller’s mapped button TWICE in order for this M4L device to do anything.
I needed this device to have some real timing precision to it, so, as it is, I can’t use it yet. but it’s so close! I just need the big button on this device to activate its function when it is pressed IN, rather than out, and ALSO for there to be a way where a single MIDI/Key input will push this big button both in and then immediately back out.
But it’s coming along so great. I’m really stoked you’ve been able to put this together for the community! thanks again!
that’s it! the device is done, and, damn, that helps me out so much! I really appreciate all the revisions you made to get it going, AFWI. thanks again tremendously.
Glad everything worked out!
Hi AFWI! you made this device for me a few months ago, and it’s been working great. but for some odd reason today, it won’t work no matter what I throw at it. The three numerical value boxes are stuck at their default settings and won’t change. any ideas?
maybe try downloading the .zip again and replace the .amxd and .js files?
I had a look at the device and it’s nothing complicated.