MIDI Keyboard, sustain pedal incompatible /w envelope?

Having trouble with LMMS? Ask about it here.
Hi all,

I'm just getting started with LMMS. It seems awesome!

Quick question: I hooked up (via midi) a digital piano that has a sustain pedal. Playing with the triple oscillator, I find that I can either:

1) Leave the envelope off and my sustain pedal works to hold the notes, but the tones attack and decay instantly, which sounds terrible. Or,

2) Turn on envelope, which sounds great, but then my sustain pedal no longer does anything.

Am I missing something? There's got to be a way to envelope the attack and decay, while continuing to use the sustain pedal to affect the overall duration of the note, right?

Thanks for any help.

-Jeff
jcward wrote:Hi all,
Welcome to the forum cward! Here are all our important links:
http://lmms.io/forum/viewtopic.php?f=1&t=4740
-And a few rules for Avatars, signatures, posting and using the right sub-forum :)
I hooked up (via midi) a digital piano
First read
http://lmms.io/wiki/index.php?title=Using_MIDI

If that not enough to fix your issue, repost and with:

* OS (+service-pack-ver)
* lmms vers
* hardware specification (ram & soundcard is the most important)
* lmms sound device chosen
* if any -screenshots of error
Hi,

Thanks for the pointers. The hardware is all working (lmms 1.1.3, Windows 10, Yamaha P115 with sustain pedal, connected via USB midi). It's just a seemingly weird interaction between sustain and envelope.

So I went home and found that the pedal is indeed its own MIDI command and I could assign it to a knob on the envelope. When I manually assigned the sustain pedal to release (the far right knob in this pic), if I recall, it did start sustaining the notes again.

Image

Release is a bit odd -- I would have suspected to assign the pedal to the hold or sustain parameters. And the overall result is still pretty harsh transitions. But maybe I can adjust some other parameters to help.

Anyway, I think I'm set.