I have a midi control script in vbscript/midiox that wanted to port to PD. Mainly creates behaviors like double taps, hold switch behaviors into midi alternate midu output from the same footswitch on fcb1010 foot board to drive Live. I don't have the time to digest and learn another language so I'm hoping to get help. I realize time is precious so I'm willing to pay someone to do it. Its not commercial and am willing to share the final product. It makes Live way easier to use but its kludgy using midiox/vbscript etc
-
Looking for PD guru...private proj
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
-
maybe that helps a bit:
multi-button.pd -
Been on other forums where it was very tough getting anything really sorted. Currently trying to get optical quadrature encoder to work with Livid Brain jr...breath of fresh air over here...thats for sure...overwhelming
@bang..thanks...it helps so much to see others perspective...bit like life I guess. It still has the same issue where a quick single click should fire by itself. If I double click, the other forks are still firing....but your patch has answered other questions though.
Based on mostly @rjpg 's patch was able to mod it...most of it already there. Im just stuck on getting the quick click action to toggle the glob variable MGFilter. The quick single click should be just toggling (the behaviours are parsed into an action tier down the bottom). Other future parts of the code will also need to toggle the same module.
BTW the reason for the toggle is so you can hold a chord and play non sustained over the top of it, eg in a lower register, single quick click to engage MGFilter, play the chord (it holds), then single click again and you can then play eg modal in a higher register over the top of the chord for ambience etc a bit like the sustain behaviour of earlier Roland guitar synths with on board engine.I know its my first go at it so please be gentle with criticsm
PD is great...unfolding relatively quickly for me...have a lot of slate to clean to get around it though
P.S. Are the line wraps in comment meant to remain? After save/reopen...the comments are all over the place
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
-
@image_engine have a look at this (comments in "sustain")........
ba_sustain-mod.pd
Note.... new version...... always in too much of a hurry!....
and so please ignore the comment about timer!Nothing fixed...... just comments and pointers.......
David. -
@whale-av Very helpful...:-)
The MGFilter is already 'working' as such, the prob is I need to get its value and invert/toggle every time I single click. ATM Im only able to set it rather than gets its value and invert it. The other modules will also need to read the value and modify, write back etc2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
-
@image_engine Hmm, its slightly delicate as you must not cause a stack overflow. In this patch the [f] stores the state and sends it back with a bang to its left inlet,
Toggles.pd
Have fun!..... bedtime for me......
David. -
Brilliant!
Last thing...how do you force toggle to false/true. The double click needs to uncheck the togglePeaceful sleep!
Send it a direct value of course...sorry.
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
-
Hi,
For switching a toggle on/off without clicking on it, you can use sends and receives. Right click on the toggle, select properties and set a name for the toggles receive. Then click in the messages [; my-toggle 1( and [; my-toggle 0( to turn it on and off:
As for the double click, you can try something like this (I set the upper limit for double click detection at 250ms):
Cheers,
Gilberto -
Thats a nice way to trap the DC. The main prob is need to count how many clicks in the time...to choose an action. All done now. Thanks again to everyone. Will start a new topic for the rest of the sections.
2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it
-
Thanks to all...here is the current draft. Might help anyone else wanting to reduce foot switch count for live rigs. Welcome any other streamling/comments etc. Ill leave the abstraction to the user :
Single Click PedDown (held) = Sus 64 ON;
Pedal Up > 500ms = Sus 64 OFF;
Single Quick Click >500ms< = Toggle Note Off Strip;
Double Click >500ms< = Send All Notes Off, Reset Strip Toggle2.5 billion genomes in 2.5 nanometres...now thats what I call data compression! Language of Life...love it