public override void CopyFrom(MidiEnvelope env)
        {
            if (!(env is StandardMidiEnvelope))
            {
                return;
            }

            StandardMidiEnvelope sme = env as StandardMidiEnvelope;

            attack        = sme.attack;
            decay         = sme.decay;
            sustain       = sme.sustain;
            release       = sme.release;
            useSmoothStep = sme.useSmoothStep;
        }
Esempio n. 2
0
 public abstract void CopyFrom(MidiEnvelope env);