private static void testLFO(boolean shared, int instance, float freq, float delay,
float delay2) throws Exception {
SoftLowFrequencyOscillator lfo =
shared?TestProcessControlLogic.lfo:new SoftLowFrequencyOscillator();
lfo.reset();
double[] lfo_freq = lfo.get(instance, "freq");
double[] lfo_delay = lfo.get(instance, "delay");
double[] lfo_delay2 = lfo.get(instance, "delay2");
double[] lfo_output = lfo.get(instance, null);
lfo_freq[0] = freq;