Troubleshooting
Switch ON/OFF Switches midi out
Started by ecce_cello on .
Sign in or create an account to join the conversation.
hi! i wellcome myself to here.
i hope you can help me to sleep better today. i¡m very new to this, and just can't find a solution or anything in the forum.
i have a "Switches" object that sends CC in channel 1 target 1. as i don't have bidirectional midi from the looper app i am controlling (loopy), the switches don't show if the loops are playing or not. i want to be able to mute or switch on/off the midi out of this "Switches" object, so i can turn on/off the switches with my fingers (taking as a reference which tracks are currently playing), but DON'T send meanwhile these CC values, after my switches represent what's currently going on in loopy, i would turn them ON again. so i have the real reference when i get away from my looper (currently playing in another idevice).
i found a thread trying to do something similar, but turning a fader on/off. as you create an expression C, then you asign your midi to it, you can "mute it" with a switch using:
the thread: http://forum.liine.net/viewtopic.php?f=25&t=2900&p=10747&hilit=disable#p10747
but i get erratic behaviors. also i can't get the CC 0 value, only the CC 127. and i need both!
please, help me to sleep better tonight.
thanks a lot in advance!
david
Mute Switches midiout.jzml
i hope you can help me to sleep better today. i¡m very new to this, and just can't find a solution or anything in the forum.
i have a "Switches" object that sends CC in channel 1 target 1. as i don't have bidirectional midi from the looper app i am controlling (loopy), the switches don't show if the loops are playing or not. i want to be able to mute or switch on/off the midi out of this "Switches" object, so i can turn on/off the switches with my fingers (taking as a reference which tracks are currently playing), but DON'T send meanwhile these CC values, after my switches represent what's currently going on in loopy, i would turn them ON again. so i have the real reference when i get away from my looper (currently playing in another idevice).
i found a thread trying to do something similar, but turning a fader on/off. as you create an expression C, then you asign your midi to it, you can "mute it" with a switch using:
if (Switches.x==1) c=x;the thread: http://forum.liine.net/viewtopic.php?f=25&t=2900&p=10747&hilit=disable#p10747
but i get erratic behaviors. also i can't get the CC 0 value, only the CC 127. and i need both!
please, help me to sleep better tonight.
thanks a lot in advance!
david
Mute Switches midiout.jzml
Are you sure Loopy expects switches (toggles between 0 - 127) and not pads? (momentary 127 then 0)? I think thats whats causing the erratic behavior
thanks @softcore! ...but it seems it's going to be a long night today too... it doesn't work. if i turn it OFF, i press whatever pads, when i turn it on again... it suddenly sends some of these pressed pads. and i need that when it's OFF it doesn't send anything at all. and of course, when pressing back ON, nothing should be sent neither.
loopy responds to many midi messages, i suggested this to michael, and you can map an action to a CC or NOTE ON, and another action to the CC or NOTE OFF. allowing you several different combinations with a single midi controller.
why is it sending midi when i press ON?
...please, i'm sleepy...
zzzzzzzzzz
loopy responds to many midi messages, i suggested this to michael, and you can map an action to a CC or NOTE ON, and another action to the CC or NOTE OFF. allowing you several different combinations with a single midi controller.
why is it sending midi when i press ON?
...please, i'm sleepy...
zzzzzzzzzz
hm, I just made two mappings for Loopy yesterday, one for the Behringer FCB1010 MIDI foot controller, and one for a bluetooth computer keyboard. It was done in minutes. I suggest like Softcore to use pad objects. Both controllers I used are like Lemur pad objects. The MIDI message you're sending to Loopy is not so important, it can be notes or program change commands, Loopy will accept them all when you bind them to internal functions. It's really very easy to do, you've been thinking (and doubting) much too much.
please someone help me.
i just want to BLOCK or MUTE or FILTER or SWITCH OFF or CANCEL or AVOID... to be sent the midi messages of the pads when i press the pads IF a switch button made for that porpouse is set OFF.
if it's set ON. the pads would send midi normally.
ok. today i surrender. going to sleep... but i will have nightmares, for sure.
thanks in advance.
i just want to BLOCK or MUTE or FILTER or SWITCH OFF or CANCEL or AVOID... to be sent the midi messages of the pads when i press the pads IF a switch button made for that porpouse is set OFF.
if it's set ON. the pads would send midi normally.
ok. today i surrender. going to sleep... but i will have nightmares, for sure.
thanks in advance.
Lemur manual pg.85: "return"
if(Switches.x==1)return;
if(Switches.x==1)return;
i had zzzzzzzzzz
heard about the zzzzzzzzzzzz
"return" thing zzzzzz
but i didn't know how to
to
zzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
@midimockup thanks for the info. yesterday i had to sleep. but today i have been trying the "return" statement, read some manual. and it works neither. when i press "Switches" OFF, ok, it mutes all midi out, but when i press it ON, it sends some of the switches i had pressed meanwhile it was OFF!! in fact, if you press it many times, it sends each time that midi out!! like it's recalling it.
i really beck your help. i know nothing about scripting, i just want to make music, and this is a very simple switch on/off issue that has been driving me crazy for 3 days already.
if some one out there can guide me, i really need it. and i would appreciate your help a lot.
i attach the project,
thanks in advance.
david
Mute Switches return.jzml
i really beck your help. i know nothing about scripting, i just want to make music, and this is a very simple switch on/off issue that has been driving me crazy for 3 days already.
if some one out there can guide me, i really need it. and i would appreciate your help a lot.
i attach the project,
thanks in advance.
david
Mute Switches return.jzml
Mmmm..."return" doesn't work this way. It is used to stop a script or line from executing.
Here, I've simply blocked the switches from working by forcing x to equal 0.
Mute Switches return.jzml
Here, I've simply blocked the switches from working by forcing x to equal 0.
Mute Switches return.jzml
i have an important perfromance next 25th. i thank you a lot for trying to help me. that's why i am desperate.
but it doesn't work. now it blocks all midi out, alright, but i NEED the visual feedback of the pads. that's why i am trying to block midi out, so i can turn the lights on/off touching them, taking as a reference the tracks of loopy that are currently playing. once my controller and loopy tracks are the same (highlighted the ones which are playing, darker the ones muted), then i can get away from my ipad looper, on stage, having in my hand my small ipodtouch, and i have a visual reference of what is going on in loopy (away from me, in my ipad).
i need the pads to respond change their state as i press them, but NOT sending midi out meanwhile i set them. or simply sending midi in other channel!! or sending midi to another target... isn't that possible? to dynamically change midi channel out?
i hope there's a way to make this... already 4 days gone.
one thousand thanks!
david
but it doesn't work. now it blocks all midi out, alright, but i NEED the visual feedback of the pads. that's why i am trying to block midi out, so i can turn the lights on/off touching them, taking as a reference the tracks of loopy that are currently playing. once my controller and loopy tracks are the same (highlighted the ones which are playing, darker the ones muted), then i can get away from my ipad looper, on stage, having in my hand my small ipodtouch, and i have a visual reference of what is going on in loopy (away from me, in my ipad).
i need the pads to respond change their state as i press them, but NOT sending midi out meanwhile i set them. or simply sending midi in other channel!! or sending midi to another target... isn't that possible? to dynamically change midi channel out?
i hope there's a way to make this... already 4 days gone.
one thousand thanks!
david
Is that not working? I always use this when wanting totemporarily turn off Midi on an object.
1 Trigger Pad with a Script on x
if (Active.x==1)
{ctlout(0,c,x*127,1);}
else
{return;}
Of course turn off the Midi Target in the Mapping WIndow. Maybe you have to fiddle around with the trigger options on the Trigger Pad. Not sure if it works when set to "any". Doing this out of my head.
When i need input from an external Program while Midi Out on that object is disabled it make an On Midi Script that handles the Input.
1 Trigger Pad with a Script on x
if (Active.x==1)
{ctlout(0,c,x*127,1);}
else
{return;}
Of course turn off the Midi Target in the Mapping WIndow. Maybe you have to fiddle around with the trigger options on the Trigger Pad. Not sure if it works when set to "any". Doing this out of my head.
When i need input from an external Program while Midi Out on that object is disabled it make an On Midi Script that handles the Input.
thanks a lot electrofux,
but as it says under my user name, i am a newbie... what's an "On Midi Script"? where should i put it? what is the "Trigger pad"?
i am not just asking "do this for me", but i swear i have tried for my self a lot of hours, searching, reading, trying to transform other projects from other people. only once i was really desperate and couldn't sleep i came here.
i haved tried several options to put your lines in scripts, but nothing works.
omg
but as it says under my user name, i am a newbie... what's an "On Midi Script"? where should i put it? what is the "Trigger pad"?
i am not just asking "do this for me", but i swear i have tried for my self a lot of hours, searching, reading, trying to transform other projects from other people. only once i was really desperate and couldn't sleep i came here.
i haved tried several options to put your lines in scripts, but nothing works.
omg
i keep trying... how do i put a script on "x"?
can anybody out there help me?? i thought blocking midiout messages from a "Switches" wouldn't be a big deal!
i'm going to need taking tranquilizers...
can anybody out there help me?? i thought blocking midiout messages from a "Switches" wouldn't be a big deal!
i'm going to need taking tranquilizers...
You make a Pad or Switch or whatever you want to send out Midi and then select it and add a script (Bottom right in the Lemur Editor). The script can then be set to different triggers (on Midi, on expression erc.). There you select on expression and put an x into the Trigger field. That means whenever the x of the object (you Trigger Pad or Rotary) changes the code that you insert into the scrip gets executed.
The script that i wrote sends out the midi it would normally send through the Mapping Window on the top left with the difference before that is done you can ask if the Midi On/Off Button (named Active in the examples) is 1 or 0. If it is 1, send out the Midi if not, dont do anything and return.
The script that i wrote sends out the midi it would normally send through the Mapping Window on the top left with the difference before that is done you can ask if the Midi On/Off Button (named Active in the examples) is 1 or 0. If it is 1, send out the Midi if not, dont do anything and return.
thanks for your time electrofux, i followed your instructions (half an hour more).
i have created a Switch1 with only one switch, then a Switch2. I turn off (?) midi target by unchecking the "x" in the right down corner, inside the folder of Switch1. Change name of Switch2 to "Active". i have added an script to Switch1, that says (my midi target is 1)
if (Active.x==1)
{ctlout(1,1,127,1);}
else
{return;}
then i have set "execution": on expression, and i wrote an X in it.
i press it. nothing happens in my other idevice. when i try other lemur templates, alright, midi works, all works. but this template simply doesn't send anything out.
has anybody got valium over there?
i have created a Switch1 with only one switch, then a Switch2. I turn off (?) midi target by unchecking the "x" in the right down corner, inside the folder of Switch1. Change name of Switch2 to "Active". i have added an script to Switch1, that says (my midi target is 1)
if (Active.x==1)
{ctlout(1,1,127,1);}
else
{return;}
then i have set "execution": on expression, and i wrote an X in it.
i press it. nothing happens in my other idevice. when i try other lemur templates, alright, midi works, all works. but this template simply doesn't send anything out.
has anybody got valium over there?
it works!!
it took me 2 more hours to understand all the variables and put all of them right. thanks to you electrofux. i really appreciate your help.
now i can tell to my self:
rest in peace.
it took me 2 more hours to understand all the variables and put all of them right. thanks to you electrofux. i really appreciate your help.
now i can tell to my self:
rest in peace.