Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        lfo.Init();

        lfo.frequency = lfoRate;
        lfo.amp       = lfoAmp;

        lope.SetParams(attack, release, sustain);
    }
 // Use this for initialization
 void Start()
 {
     paramstep = 50f / sampleRate;
     lope      = new pxLope();
     lope.SetParams(attack, release, sustain);
 }
 public void KeyOn(float midinote)
 {
     SetNote(midinote);
     lope.SetParams(attack, release, sustain);
     lope.KeyOn();
 }