Device that allows just one button to adjust a parameter???

    Dec 29 2013 | 11:54 pm
    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!

    • Jan 03 2014 | 5:51 am
      Do you dabble in making devices at all? That wouldn't be a hard one to put together
    • Jan 03 2014 | 5:12 pm
      just use counter object:
    • Jan 05 2014 | 8:21 pm
      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?
      Thanks, folks!
    • Jan 06 2014 | 8:55 am
      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, 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 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
    • Jan 06 2014 | 8:59 am
    • Jan 06 2014 | 9:50 pm
      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!
    • Jan 07 2014 | 10:15 pm
      Hey Giacomo, a quick one, if you need any more help on this, let us know.
    • Jan 09 2014 | 3:11 am
      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?
    • Jan 09 2014 | 11:55 am
      try now.
    • Jan 09 2014 | 10:36 pm
      AFWI, you are officially the shit. thanks so much!
    • Jan 10 2014 | 12:16 am
      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)
    • Jan 10 2014 | 8:58 am
      hey, fixed it. keep both files in the same folder.
    • Jan 10 2014 | 8:27 pm
      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!
    • Jan 11 2014 | 2:21 pm
      here you go
    • Jan 11 2014 | 5:44 pm
      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.
    • Jan 11 2014 | 11:38 pm
      Glad everything worked out!
    • May 25 2014 | 3:06 am
      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?
    • May 27 2014 | 8:01 am
      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.