Author Topic: Feature request?  (Read 2590 times)

Warmachine

  • Team member
  • *
  • Posts: 1
    • View Profile
Feature request?
« on: May 16, 2017, 09:10:19 AM »
Hello!
I'very had the preenfm2 for a little over a year and am quite pleased with it, especially the 4 part multitimbrality. I'm wondering if it would be possible to the time ( in milliseconds ) that it takes for each instrument to play after each key press. If all 4 instruments on the same midi channel were using the same patch, then it could have a pseudo delay effect.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: Feature request?
« Reply #1 on: May 16, 2017, 09:37:33 AM »
Hi,

Nice to read you enjoy your preenfm2  :)
I never know how to answer to question that begins by "is it possible"....
Do you ask (1) if it's possible, (2) if it's easy to do, or (3) if i would plan to do it ?

1 - Yes it's possible, the firmware is open source.
The midi to audio conversion is done here :
https://github.com/Ixox/preenfm2/blob/master/src/midi/MidiDecoder.cpp#L286
So you have to modify the code to introduce a delay at this point. Requires a little research to do that.
Then the timers for each instrument must be added somewhere in the settings.
2 - Not very easy
3 - No. It will add some complexity in the menus and settings that is not worth it to my opinion.

Possible Alternative : for the instrument you want to introduce a delay
. Set all mix* params to 0.00
. Set a matrix row like this : env2 1.0 mix*
. Then select the modulation : "Free Env 2" like this : "<D> 0.00 5.0 No"
Where <D> is the delay before your sound will begin.

Pseudo delay effect : can be done by
. using one LFO to pan the sound in the matrix (lfo1 1.0 pan*)
. And the gate target matrix (with an other LFO twice faster) to make the sound hearable only when right or left.

« Last Edit: May 16, 2017, 11:07:36 AM by Xavier »