     }
 
     func testAutomationAmplitude() {
-        input = AKOscillator(waveform: AKTable(.square), frequency: 400, amplitude: 0.0)
+        input = AKOscillator2(waveform: AKTable(.square), frequency: 400, amplitude: 0.0)
         input.parameterAutomation?.add(point: AKParameterAutomationPoint(targetValue: 1.0,
                                                                          startTime: 0,
                                                                          rampDuration: duration),

        // Play for two seconds.
        duration = 2.0

        input = AKOscillator(waveform: AKTable(.sine), frequency: 400, amplitude: 0.5)
        output = input

        afterStart = {

    }

    func testNewAutomationMultiple() {
        input = AKOscillator2(waveform: AKTable(.square), frequency: 400, amplitude: 0.0)

        output = input

