Salvatore Di Pietro wrote:

> Do you mean to use as total envelope time the length of the longest 
> sample in the layers an instrument has?
> IMHO I think it would be THE way :)

Well, I'd say just a max for every knob. Not for the sum of knobs. If
the envelope is longer than the sample, so be it.

 I don't know the implementation of
> the ADSR H2 uses, but I think that the sum of the attack,decay and 
> release time should equal the sample length time, and each knob should 
> "steal" time from the other two, if cranked to the max.

That might be a recipe for headaches. As in: increase decay and the
attack time changes unpredictably. Or increase decay and the other knobs
start moving (should the extra time for release be taken away from
attack first? or maybe decay first?). Also, the sustain time is variable
(depends on note length), so you can't predict the total envelope time
anyway, it's different for each note.

No other synth/sampler does that, and for a good reason.

> A cool thing would be providing also a little graphical representation 
> (not necessarily editable, you can do this in the sample editor) of the 
> envelope shape, in addition to knobs, and an envelope on/off button, to 
> turn off ADSR shaping, if needed.

Those are nice ideas, yes. And possibly easy to implement. But still I
wouldn't advise delaying 0.9.4 to implement them.

More possible ideas for envelopes (not for 0.9.4, you can safely ignore
them completely):

- Hold phase (fixed level=100% between Attack and Decay), to allow for
"gated" style sound (like full volume for 1s then rapid cutoff)
- "Fade" phase to replace Sustain (ADSTR envelopes like in popular
hardware VA synths)

On the other hand, the sample_fun stuff wolke is working on is much more
flexible and uses graphical representation for everything. I don't know
if it can be applied on instrument level, though.

> Another thing that buzzes in my head: how about having five knobs in the 
> envelope modifier? Attack time, decay time ,sustain time, sustain level, 
> decay time.

The sustain time is dependent on note length (especially when Hydrogen
is MIDI-controlled). Or you want to enforce a max (or, better, min)
sustain time? Or you mean something else?

Krzysztof

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to