Mixing continuous and descreet UIs in pattrstorage


    Jul 30 2017 | 9:30 pm
    I have a good grasp of pattrstorage but have run into an issue with interpolation of presets. I use sliders and dials for continuous interpolation of some parameters. I use toggles and menus for parameters that switch immediately from one state to another. With a menu of programs I might have piano in one preset and slow strings in another. I do not want to interpolate through all the other programs on the menu. Likewise, I have menus of chords as well as toggles that turn various transformation objects on and off. When I am interpolating between presets a & b, I want the continuous UIs to do their thing while switches and menus go immediately to their values saved in preset b. The desired musical effect is a change to new orchestration and harmony while things like volume, spatial location and pitch range (rslider) ease into place. I understand about selecting "none" for interpolation mode. This does not work for what I am trying to do. I am told that I can link two pattrstorage objects - one for continuous and one for descreet parameters. Does anyone have a simple example of this?
    Here's a snap of my current patch.
    Left is the metronome. Right are two identical patches playing with different rhythmic patterns and different instruments among other things. The chain with the toggles and umenus is applying transformations to a midi stream - pit, vel, dur.

    • Jul 30 2017 | 11:17 pm
      you may choose "table" as an interpolation option, where you can specify the discrete values a toggle should get.
      have a look at the end of the video: https://m.youtube.com/watch?v=zvQ19hWXRlo
    • Jul 31 2017 | 3:57 pm
      Found solution that works and made a small example.
    • Jul 31 2017 | 4:01 pm
      Thanks Ben. I have absorbed those tutorials including beat factory which is a gem. I am digesting it as the mechanism for parameters in SonoMorphs. I am familiar with tables + pattr but just posted a simpler solution. See above.
    • Aug 15 2017 | 3:02 pm
      Thanks Gary for pointing me to the wonderful practical-max tutorial. I tried your patch and it worked fine after reversing the first two messages for "backward". Or did I miss something?