     }
 
     func testAutomationMultiple() {
-        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: 880,
                                                                          startTime: 0,
                                                                          rampDuration: duration),

    }

    func testDetuningOffset() {
        input = AKOscillator(waveform: AKTable(.square), detuningOffset: 11)
        output = input
        XCTAssertEqual(input.detuningOffset, 11)
        input.start()

    }

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