Author Topic: Envelope curve selection  (Read 7915 times)

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 272
    • View Profile
Envelope curve selection
« on: October 23, 2022, 09:47:58 PM »
Hello fellow preenfm lovers,

after hearing in various places on the internet about virtues of envelope curve selection, as done in many vst and synth, i tried something for the preenfm 3 :

i added a new page for the Oper/Env menu entry. From there, one can select the curve style of any stages of the envelopes.
While i was at it, i added some custom envelope curves (screenshot attached), so selection options are Exp / Lin / Log / Usr1 / Usr2 / Usr3 / Usr4.

The curve change is usualy quite subtile, but there is some use cases:
Exp shape on short attack is a little bit punchier than linear.
Log shape on attack may be good for woodwind instruments. It may also be useful on release part, to add more sustain to the sound.
Some of the custom curves sounds quite noisy on short envelopes, which may be used for adding noise burst on the attack, for example.

Please, let me know if this sounds useful for you or not so, or if all of this is complete nonsense ;).

(latest firmware, modified, attached below)
« Last Edit: October 24, 2022, 07:50:48 AM by Toltekradiation »

ericd

  • Team Member
  • **
  • Posts: 84
    • View Profile
Re: Envelope curve selection
« Reply #1 on: October 24, 2022, 12:12:33 PM »
This does sound useful! Having these envelope options is a great idea, especially for extra clicky-ness on percussion sounds; thanks!

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 272
    • View Profile
Re: Envelope curve selection
« Reply #2 on: October 24, 2022, 08:42:49 PM »
Thanks for the appreciation !
This keep me going on : next step is to handle the user curves the same way oscillators shapes are : with user files.
Then a puredata patch to generate the files and we're good to go for experiment :)

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2259
    • View Profile
Re: Envelope curve selection
« Reply #3 on: October 25, 2022, 08:47:02 PM »

Nice mod !!! 
That's interesting :)
I'll give a try to see/hear how the Exp/Lin/Log makes a sound difference on the attack.

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 272
    • View Profile
Re: Envelope curve selection
« Reply #4 on: October 27, 2022, 08:32:35 PM »
Some progress on that project :
i now have a version which load user envelopes files from sd card,
it does not allow saving ; it needs a lot of testing before that anyway !

joined are four curve files to be stored in pfm3/envcurve
(some of those have extra clickyness)
But if you want more, the puredata patch is here for generating new usr files.

Code is on that branch : https://github.com/pvig/preenfm3/tree/env-curve

« Last Edit: November 02, 2022, 10:37:20 PM by Toltekradiation »

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 272
    • View Profile
Re: Envelope curve selection
« Reply #5 on: November 02, 2022, 10:49:24 PM »
Sorry for anyone who did a test to that firmware : it did not work properly (it worked only once after installing :-X)
The previous post is now updated with a working version.

That's what happen when you post a firmware and then go away on vacation without much testing !

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 272
    • View Profile
Re: Envelope curve selection
« Reply #6 on: November 10, 2022, 10:14:43 PM »
ok, it seems i'm done with that feature : here is a firmware which can save and load patch with envelope curve selection (Works with mixer and patches)
It's not a game changer feature, but i like it for what it is :) , and i think it's quite versatile with the user's curves

@Xavier, here is another PR, containing 2 of the previous ones (bugfix + reverb send mod)
https://github.com/Ixox/preenfm3/pull/33

(firmware below)
« Last Edit: November 10, 2022, 10:30:55 PM by Toltekradiation »

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2259
    • View Profile
Re: Envelope curve selection
« Reply #7 on: November 12, 2022, 09:38:26 PM »
Thanks a lot.
I'll take a look at the code before merging.
The fact it's in a "second env" menu makes it interesting as it does not make anything different untill you want to change the env shape.
 8)

matrix12x

  • Team Member
  • ***
  • Posts: 200
    • View Profile
Re: Envelope curve selection
« Reply #8 on: December 10, 2022, 04:07:26 AM »
This is a great idea. I also like the idea of the second env menu.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2259
    • View Profile
Re: Envelope curve selection
« Reply #9 on: December 13, 2022, 08:06:57 AM »
I'll hopefully have some time at the end of the month to look at that.  :)

truth teller

  • Team member
  • *
  • Posts: 7
    • View Profile
Re: Envelope curve selection
« Reply #10 on: April 02, 2023, 07:50:21 PM »
this is DEFINITELY a game changer!  where do you get the idea its not?

will this be added to the aux envelopes?  to be able to modulate stuff in the matrix would be way more of a game changer.
« Last Edit: April 02, 2023, 08:33:40 PM by pac systems »

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 272
    • View Profile
Re: Envelope curve selection
« Reply #11 on: April 03, 2023, 06:52:17 PM »
I reckon it would be nice to add this feature to the aux env,
but these envelopes do not works the same way as the osc ones, and it's not an easy task to adapt the code :P

Maybe one day, but don't hold your breath !

truth teller

  • Team member
  • *
  • Posts: 7
    • View Profile
Re: Envelope curve selection
« Reply #12 on: April 03, 2023, 09:38:09 PM »
its not as much of a game changer as it could be then.  im very glad to have it but to route it to many destinations would be the game changer.  thanks for the awesome work!

is the lfo able to be a one shot?  that could be a way to get interesting envelope in the matrix, since there are user shapes now.

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 272
    • View Profile
Re: Envelope curve selection
« Reply #13 on: April 15, 2023, 08:56:50 PM »
no, there is no one cycle mode for lfos, but its worth saying that you can do cool things with the matrix : the mtx1-4 destination let you modulate the level of anything in the matrix slot 1 to 4,
so a lfo can last a few cycles when modulated by an envelope for example.
The preenfm matrix is already quite powerful !

truth teller

  • Team member
  • *
  • Posts: 7
    • View Profile
Re: Envelope curve selection
« Reply #14 on: April 15, 2023, 09:40:07 PM »
no doubt!  im a big fan.  ill try that out.

you seem to be responsible for a ton of good features!  you have extended the application of this synth design way beyond its original state.  please keep going!  im not sure if a comb filter would fit if you can think of a way, maybe as a filter?  how about a phase inverter filter?  how about a clipper filter?  how about another filter section in place of reverb, like you would be able to choose, reverb or 2nd filter...  i understand if thats not possible as i have no idea what is

i would say that if you are distorting the output from the synth engine, curved envelopes make it possible to get very interesting results.  they also make it good for percussive sounds in the case of a logarithmic envelope shape.  the value of these envelopes will become clear the more you use them i think.