gary
Oracle
SuperPower
Posts: 130
|
Smoother
Mar 31, 2019 13:19:33 GMT
via mobile
Post by gary on Mar 31, 2019 13:19:33 GMT
Hi Nic
I’m trying to smooth out the values being generated by my expression pedals. 0-127 / 127-0
Even after calibration was completed for the pedals I’m getting unwanted jitter whilst it’s in “rest mode” at times. Also I desire the values to +/- by 1, vs at times I’m seeing a jump of 2 or 3. So precision is desired for the incremental / decremental slopes.
I could use a slider say via MD, but, when I’m voicing with two hands I’m minus an extra arm-thus expression pedals. I can smooth out values via MAXmsp, but why add another layer and routing when it might be able to stay within MidiFire.
Ideas? StreamByter ? I’m not seeing an easy way, so Nic can ya help a fella out? Is there a script solution?
Thanks Nic!
g~
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on Apr 1, 2019 9:20:48 GMT
Hi gary , I suspect with some judicious setup you could run your pedal through a Robotic Knob with a delta limit of 3 or so to remove jitter and output smoothing values to smooth the output when it jumps. You would need to convert the pedal's CCs to note events before the Robotic Knob with a Stream Byter and a rule like BX = 9X and then configure the output CC settings in the Robotic Knob to match what you want the pedal to send. Alternatively, it would be possible to write Stream Byter code to do this also, but I would say try the Robotic Knob method first. Regards, Nic.
|
|
gary
Oracle
SuperPower
Posts: 130
|
Smoother
Apr 1, 2019 12:22:08 GMT
via mobile
Post by gary on Apr 1, 2019 12:22:08 GMT
As always Nic, your support is unprecedented in th iOS app world. Thank you for all that you do!
I’ll give this a look later today and see what I come up with. I created a max patch yesterday but my drethers is to not. I’ll let you know what happens. Thanks Nic
Cheers Gary
|
|
gary
Oracle
SuperPower
Posts: 130
|
Smoother
Apr 26, 2019 12:33:50 GMT
via mobile
Post by gary on Apr 26, 2019 12:33:50 GMT
Hi Nic I wanted to get back to this challenge regarding using the Robotic Knob module. Well— The results were mixed. I was about to trash the pedal, instead I grabbed some tools and dove into it. Sometimes, we have to fix a problem via an analog solution-pliers. After tightening up, adjusting the clamp on the potentiometer, and other nuts, values stopped freaking out. That said, it still had a gap that needed attention. It was at the bottom and top of the range, 0/127. Using the robotic knob I was able to massage the input data and flush it out to 0-127 vs 2/125 raw. How I solved it was—odd. Perhaps? Wrongly, rightly, I was treating this like the Scale object in MaxMsp, where you can scale input for example (float) 0.0-1.0 to (int) 0-127 as output. It works but I’m not terribly clear how this module works and how the numbers adjust the output. I studied the docs and results to get a feel of what’s happening - cause and effect if you will, but I’m thinking the docs could be flushed out a bit to make it clearer how this module works. My problem is gone, however, how? I may later post a pic of my values for the fields, but I choose these by watching the behavior coming-out in an event module, guessing, lol until my results worked consistently. Yes, IMO, field by field flushing out in the docs is needed, perhaps with examples to help clear the muddy water. It seems like a powerful module but .... Thanks for listening.. g~
|
|