Hello
I am new to logic but fairly proficient now with it.
I want to create a midi transform to address an issue I have when using Logic Pro with my Yamaha keyboard / pedal unit.
The issue is that my sustain pedal isn’t operating normally in Logic Pro or main stage when using many of of the synths in the sample library. I lift foot off pedal but it is still registering that I have it pressed and have to press it again to turn sustain off. It works ok with third party VSTs but I suspect that’s because it’s the VST rather than logic handling the midi data.
I understand from doing some research that the issue is happening because when I press and release the pedal my pedal unit sends a range of CC value MIDI data on channel 64 and for whatever reason sometimes my pedal unit doesn’t always register 0 when the pedal is lifted. If logic doesn’t receive the 0 it holds the sustain.
I gather what I need to do is change the midi data so that everything above a certain number say 10 or even 64 is registered as sustain on and below a number is registered as sustain off .
I read I can achieve this with midi transform but would appreciate if someone could run me through exactly how this configuration is done
Many thanks
Sustain pedal sustain issue / midi transform
Sustain pedal sustain issue / midi transform
-
- william.corney@icloud.com
New here - Posts: 4 Joined: Fri Nov 04, 2022 9:23 am
Re: Sustain pedal sustain issue / midi transform
Welcome to SOS. 
Could you just confirm what keyboard/pedal you're using...?
Could you just confirm what keyboard/pedal you're using...?
Re: Sustain pedal sustain issue / midi transform
Not all sustain pedals are the same so it may be that your pedal is set up the opposite of what your keyboard is expecting - it’s contact switch may be set to be normally making a connection and then break when pressed rather than being open and making a circuit when pressed.
Some pedals have an extra dip switch to reverse this operation if required.
You can test your keyboard by plugging in a standard jack lead into the sustain socket and then shorting the jack connectors at the other end ( with a paper clip or anything metal ).
Some electronic pianos are capable of having multiple pedals so a simple sustain pedal might cause erratic issues.
Some pedals have an extra dip switch to reverse this operation if required.
You can test your keyboard by plugging in a standard jack lead into the sustain socket and then shorting the jack connectors at the other end ( with a paper clip or anything metal ).
Some electronic pianos are capable of having multiple pedals so a simple sustain pedal might cause erratic issues.
-
- forumuser931182
Regular - Posts: 204 Joined: Fri Jul 08, 2016 4:23 am Location: Australia
Re: Sustain pedal sustain issue / midi transform
william.corney@icloud.com wrote: ↑Fri Nov 04, 2022 9:34 amfor whatever reason sometimes my pedal unit doesn’t always register 0 when the pedal is lifted.
I wonder if this suggests either you're using a 'half-pedal' and your keyboard isn't expecting it, or that the pedal is faulty.
An Eagle for an Emperor, A Kestrel for a Knave.
Re: Sustain pedal sustain issue / midi transform
Thankyou very much
I am using a Yamaha P-125 keyboard and a Yamaha LP-13 pedal unit



Its not doing it at the moment but im about to give it a good test
the issue showed like this where rather than the 0 registering after the pedal was lifted ...it was showing numbers higher than 0 . At one point it seemed like the range was being limited to like 64-127

I am using a Yamaha P-125 keyboard and a Yamaha LP-13 pedal unit



Its not doing it at the moment but im about to give it a good test
the issue showed like this where rather than the 0 registering after the pedal was lifted ...it was showing numbers higher than 0 . At one point it seemed like the range was being limited to like 64-127

Last edited by william.corney@icloud.com on Fri Nov 04, 2022 12:04 pm, edited 3 times in total.
-
- william.corney@icloud.com
New here - Posts: 4 Joined: Fri Nov 04, 2022 9:23 am
Re: Sustain pedal sustain issue / midi transform
ok its definately better but does still ocassionally exhibit the problem
this is what i see in the midi channel when i have issues
it would appear to me the issue is that its failing at times to go back to 0 .
the way i would like to attempt addressing issue is to have something like a transform in logic pro to interpret values say below 10 as being 0
could anybody give me some guidance on creating such a transform

this is what i see in the midi channel when i have issues
it would appear to me the issue is that its failing at times to go back to 0 .
the way i would like to attempt addressing issue is to have something like a transform in logic pro to interpret values say below 10 as being 0
could anybody give me some guidance on creating such a transform

-
- william.corney@icloud.com
New here - Posts: 4 Joined: Fri Nov 04, 2022 9:23 am
Re: Sustain pedal sustain issue / midi transform
I've just looked at the MIDI CC spec and for Controller 64 (hold/sustain) any value between 0 and 63 should be "off" and 64-127 equals "on". Ideally the pedal/piano should send 127 as on and 0 as off, but that doesn't appear to be happening. I wonder if the synths in Logic are interpreting MIDI CC 64 in a different way which is causing the problem, as the 4 values you have shown should equal on, off, off, off.
Edit: Just looked at your most recent post and it would appear that there is a problem with the CC values being transmitted from the pedal/piano. Am I right in thinking that each pair of messages are pedal down followed by pedal up? If so the first press is OK but after that the release of the pedal and subsequent presses are all wrong and you appear to have ended up with a 127 value being sent on pedal release.
Edit: Just looked at your most recent post and it would appear that there is a problem with the CC values being transmitted from the pedal/piano. Am I right in thinking that each pair of messages are pedal down followed by pedal up? If so the first press is OK but after that the release of the pedal and subsequent presses are all wrong and you appear to have ended up with a 127 value being sent on pedal release.
Re: Sustain pedal sustain issue / midi transform
Yes agree thats how i'd like it to be working and how it should work but it seems it only goes off if the value 0 is issued by pedal
BigRedX wrote: ↑Fri Nov 04, 2022 12:33 pmAm I right in thinking that each pair of messages are pedal down followed by pedal up? If so the first press is OK but after that the release of the pedal and subsequent presses are all wrong and you appear to have ended up with a 127 value being sent on pedal release.
i'm not sure how to exactly answer your question. the two instances shown in most recent screenshot are examples of where i have lifted the pedal and rather than 127 shooting down to 0 it only goes down as far as 1 which the software is registering as still being a pressed pedal
-
- william.corney@icloud.com
New here - Posts: 4 Joined: Fri Nov 04, 2022 9:23 am
-
- william.corney@icloud.com
New here - Posts: 4 Joined: Fri Nov 04, 2022 9:23 am
Re: Sustain pedal sustain issue / midi transform
What they say..."Deep dive"
What they mean..."I opened the manual"
Glad you found a fix...
What they mean..."I opened the manual"
Glad you found a fix...
