Axo to toggle Midi on/off in external equipment


#1

This is probably really obvious but I want to send out midi CC values 0 on press and 127 on the next press out of USB midi . This is what I've got but there's no action in my external unit. Any ideas?


#2

there are loads of ways to do this in Axo, I quite like rbrts rbrt/control/click hold s which means that 1 gpio can be two switches dependant on if it's a short or long press.

try this:

away from my axo and can't test, but should be fine, if not change the counter to a 2 instead of a 3....let me know if it's not what you want, or if I've misinterpretted your needs.


#3

Thanks. I'll give it a go.. Not sure about the ctrl/toggle though. I don't get what it's supposed to do.. Cheers though..


#4

yeah skip it just trig directly from the gpio/in/digital, it was a half assed attempt at a debounce, as sometimes when I go live I get a trig from some of my encoder buttons, sorry it was a quick reply what's below will work, internal port selected just for illustration.


#5

Thanks for that. I still couldn't get that to work but this does - I'm not sure why though..


#6

Think I've misinterpreted what you wanted that arrangement is on/off,

This is probably really obvious but I want to send out midi CC values 0 on press and 127 on the next press

I thought that you wanted: one press trigs value 0 then a second press trigs value 127, and that you intended to build off that for other values like no press 0, one press 64, 2nd press 127....d'oh just reread the topic title, sorry for the wild goose chase, glad you got where you needed to go.

By the way, In your case for on/off you shouldn't need anything more than gpio/in/digital > logic/toggle > midi/out/thin.


#7

Ah, sorry I was too vague. I appreciate the input anyway.. Many thanks