Page 1 of 1
Sending Program Change Lemur
Posted: 12 Aug 2012 10:45
by mila5405
Hi! Can someone help me whith this!
I want to send a simple Program Change
This is my setting (default)
Message: C0 Program Change
Preset: x[0] Any
Scale : 0 to 127
Channel: 1 to 1
I want to send PC 0 to my Yamaha P155 which is Piano 1
I doesnt work but I can see the Midiinterface out blip when I push the button so something is transmitted.
So clearly I missing something here.
My Equipment
IPAD 2
Lemur
P 155
Line 6 Midi Mobilizer II
Grateful for any help!
/mikael
Re: Sending Program Change Lemur
Posted: 12 Aug 2012 11:55
by mat
Hey Mikael,
welcome to the forum
To send program change, maybe have a look here:
http://liine.net/en/community/user-library/view/58/
It was created for legacy, but it will also work on Ipad Lemur.
Picture in user area does not show the module....they are little containers you can copy and paste into your own controllers.
Hope that helps
mat
Re: Sending Program Change Lemur
Posted: 12 Aug 2012 16:02
by mila5405
Thanks Mat! Unfortunately my p155 didnt respond to the programchange. Maybe its not possible. Other command like Note on/off and Pitchbend works but not PC. However is was very kind of you to reply.I appeciate that
Nice work!
Regards Mikael
Re: Sending Program Change Lemur
Posted: 12 Aug 2012 18:09
by Phil999
do you have a MIDI keyboard that can send Program Change to your device? If that doesn't work, your device is unable to receive Program Change commands.
Re: Sending Program Change Lemur
Posted: 14 Aug 2012 19:46
by mila5405
Thanks! I check that
Re: Sending Program Change Lemur
Posted: 23 Aug 2012 19:50
by mila5405
Hi! P155 doesnt seem to send any Progchanges or it does not recieve any!
Thanks anyway!
Re: Sending Program Change Lemur
Posted: 06 Oct 2012 19:43
by mh175
- Create a Pads object
- Create a new script for the Pads object, name it whatever you want (prgrmchng, or something)
Script:
- Execution: set to "On Expression"
- Next to that type: x==1
- Next to that select the rising edge option from the drop down list
- Now type in the script below:
midiout(0, {0xc1,0x0a});
0 is the Lemur out. Change this to whatever Lemur Daemon output you need.
c1 is the channel number (change it if your device receives on a different channel, ie. c2, c3 etc.)
This is where it's tricky: 0a is hexadecimal for program change 10. You need to figure out what program change number you need and convert it to hexadecimal. Go here:
http://www.recordingblogs.com/sa/Wiki/t ... ge+message
For example, say you need program change 25 to come out on channel 3 of Lemur Daemon 0. From the table, I see that program change 25 is 0x19. Your script would look like this:
midiout(0, {0xc3,0x19});
One last thing. Go to your Project window, select your pads object and disable the x property by unchecking it.
Hope that does what you need.
Re: Sending Program Change Lemur
Posted: 07 Oct 2012 13:54
by Macciza
Hi
Just a few comments . .
The x == 1 is not needed it could be just x, the rising edge option will only go when it is not 0 . .
Channel numbers in hex are 0 -15 so 0xC1 would be MIDI channel 2 . . .
The arraying { } is not needed for the data part either
These numbers may also be entered in decimal . . .
Finally Program Change can be set up without any scripting at all
-Create a Pad
-Select Program Change in MIDI Mapping pane
- Select 'Rising Edge' to trigger when pressed
- Set scale to 0 to n (ie. PgmNmbr) eg 0 to 64 for prog 64
All done ....
Be aware if it is not set to rising edge it will toggle from 0 to n
Also if numbers are the same ie 64 to 64 it will send once and won't repeat
Cheers
MM
Re: Sending Program Change Lemur
Posted: 29 Aug 2013 22:40
by studioj
having trouble working this out....
is "rising edge" the icon on the "preset" line that is defined as "message sent when value goes from positive to zero"?
what if i need to call PC 0 ... do I need to use the script then?
thanks
Re: Sending Program Change Lemur
Posted: 04 Sep 2013 13:57
by Softcore
"Rising edge" (or what I call up-arrow) is "message sent when value goes from zero to positive"
If you want to use a Pad object to send Prgram Change 0 then use the "falling edge" (what I call down-arrow - message sent when value goes from positive to zero")