Releasing sustain pedal stops held notes in faust...
-
I'm trying to figure out why releasing the sustain pedal stops notes even though they are still held with the key on the keyboard... shouldn't it just stop the notes no longer pressed and keep the gate signal at 1 for notes that are still held?
I'm using faust osc's and faust envelope with the freq/gain & gate info. It works fine with a HISE envelope, but that can't be used in this case.
-
Here's a snippet if anyone want to have a look or knows a solution
just play and hold a key, then press and release the sustain pedal,
the note ends - even though the key is still pressed. bad.HiseSnippet 2358.3oc6Y80aaibDmz1LwlMWSObGP6acQdIxIJJhJNIt0Wv4XY6KFsNwHxW5ADXXrlbkzBSsq5tqjr5ACzG6Wg6s9VeoeA52hBzu.8o978MnclcIkHskcLLRxATDkDExYmcleye1YFRwNwvDIrjC0Bd+9Limm+76ojwLsVp77C2ebelm+sBZMVX51rKkK71YSO+aGrEuSWy3V7S1moMdaLtOUqYId99y+MHS9Ksfm8yO90aPSohX1TRdduQxiY+ddOtYJ08V+2wSS2llv1m2q.2qr9NwRQSYpb..n4Cp60mFeLsC6kTjs4B7dAU20y+dAIQqD0d0X5SVMZkFwwMV8oM9MOMlQa2l8jnG+zUVs8Jsow0a34eisR3FopkgZXZO+E1PlLtUW4HgSAugq4Gkxvah7ZAZ1QdaYZBZhHUulc4oIS7TZvuETvuMuyu8kA6xS3SnO0+8KrKPltihNP+4JCu4KAunhvqdA3MCH4W.RK3fzmGzJVw6altBhmeVvNBCSAtGVIn330atECBZJANDlZ8nGy1VA2LYGUdR85UIvWKuVX3CeHYWfCMwzkQDRCiHEUytnc6pDCDbUUIPH0njooLEIllldDDR0.WhGnXzTjGTP62kqIvekhzwjAZV6AoDdaxH1cULRGoPPQpnlfumJFijfw7XiEC7bXFZygqkvZyTMyYthQMfkg6WMPQ5jJOhlRXCASE1N0.ZCDsfPiQ2EosR1iPEiG0korXbCVLEAwK1o0VjDISKtqgj.mITxw4RaHUwoPDCsDx1OFL9d84orpDt4tZBipGiXtCyB3djQR0wbQGBnCAHp3TphkTVoCLj1REgcReoxtqwDcW4fTfszQzwZxQro6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qNdY8ZQfPx2Nxz.lXLnOtnj.Zb.R5N3Fpm8UT1UEEvvrWtRH9ouafMPNUj5ZRcbET9KStOovs2qwxKStGHmGCeyD0nZUEPn0ipFUEHVEsykIe0u8vpGtlm2+SEyJCj
-
@Morphoice if your positive its not a problem with script, from a musicians perspective that sounds like it could be a polarity switch on your pedal causing it to work in reverse. Thats my guess assuming you feel you have the script correct.
-
Not sure what's causing the sustain release problem, seems to be something specific to the faust envelope as you suggested.
Why are you using globals to store event IDs? You can just store the IDs in the script that is using/creating them. 99% of everything can be done without global variables - I'd say 100% but you never know.
-
@d-healey that's something I just got from the snippet browser in an attempt to enable multiple strikes of the same note being spread across multiple voices and not cut off the release of the previous voice, @aaronventure recommended it in the other thread, but I couldn't get it to work with a silent_synth yet... it has no effect on the sustain problem though
-
@d-healey said in Releasing sustain pedal stops held notes in faust...:
Not sure what's causing the sustain release problem, seems to be something specific to the faust envelope as you suggested.
it's probably how HISE translates and passes the midi info to the gate parameter that's given by default in faust nodes. but probably only @Christoph-Hart can confirm or maybe knows a workaround.
Inside faust gate turns 0 when the pedal is released, even though the note is still held.
Funny enough outside of the faust node, the silent_killer still holds the voice active although there is already silence. -
@Morphoice said in Releasing sustain pedal stops held notes in faust...:
how HISE translates and passes the midi info to the gate parameter
Yeah that would make sense, are you able to use a different envelope for now?
-
@d-healey nope, sadly not, the custom envelope shape is crucial to the synth modeled
-
@Christoph-Hart bump