Multiple control streams from a single controller/parameter


    Jul 07 2019 | 9:57 pm
    I remember seeing something about this on the forum ages ago, but I wasn't really able to search/find it.
    Basically I'm curious what kinds of approaches people have taken for creating multiple data streams from a single controller input. Specifically I have a DIY DJ-style crossfader that I'm using to control things in Max, and I wanted to see how much I can get out of extracting the data from that.
    Some simple/obvious ideas are various types of smoothing, and extracting speed-of-movement from the controller:
    What are some other approaches or ideas you've come up?

    • Jul 14 2019 | 5:14 pm
      I like to track direction of motion, high peak, low peak, range of motion, rate/regularity/irregularity of direction change. I often run data into a "leaky" abstraction that slowly ramps from higher values down to 0. This approximates energy in the system, as if winding up a spring in a clock.
    • Jul 14 2019 | 5:46 pm
      That's a great idea! Kind of what I was going for with the [p speedOfMovement] subpatch but it wasn't tuned right.
      I've made some improvements to the initial patch:
      Including a schmitt trigger for change of direction.
    • Jul 14 2019 | 6:20 pm
      The Schmitt trigger is clever for hysteresis. Looks like at high thresholds it could be useful for detecting abrupt changes to the input.
    • Jul 14 2019 | 6:26 pm
      I found I needed the schmitt since I'm driving this with a 14-bit MIDI controller, which created some chatter if I just rested my finger on the fader.
    • Jul 16 2019 | 11:22 pm
      I knew I had this tucked away somewhere! https://cycling74.com/forums/mapping-strategies-one-to-loads-an-loads
      (ps, I was such a dork back then)
    • Jul 16 2019 | 11:28 pm
      Oh awesome, it was that thread I was thinking about but couldn't find.
    • Jul 16 2019 | 11:30 pm
      (ps, if you are anything like me, don't have a nostalgic trip down 'old posts' lane - I posted some REAL drivel back in the day, with only the odd little gem once or twice. I suppose these things accumulate!)
    • Jan 21 2020 | 9:43 pm
      Don´t like to take space without adding anything real to the discussion but i Just had to thank your awesomenesss!!!