     init(audioSource: AKAudio) {
         super.init()
         
-        let line = AKLinearControl(firstPoint: 5000.ak, secondPoint: 0.ak, durationBetweenPoints: 11.ak)
-        connect(line)
+        let cutoffFrequency = AKLinearControl(firstPoint: 0.ak, secondPoint: 5000.ak, durationBetweenPoints: 11.ak)
+        connect(cutoffFrequency)
         
         let operation = AKHighPassButterworthFilter(input: audioSource)
-        operation.cutoffFrequency = line
+        operation.cutoffFrequency = cutoffFrequency
         connect(operation)
         
         connect(AKAudioOutput(audioSource:operation))

AKOrchestra.testForDuration(10)

processor.play()
let note1 = AKNote()
// specify properties and create more notes here

let phrase = AKPhrase()
phrase.addNote(note1, atTime:1.0)
phrase.addNote(note1, atTime:1.25)
phrase.addNote(note1, atTime:1.5)
phrase.addNote(note1, atTime:2.0)
phrase.addNote(note1, atTime:2.25)
phrase.addNote(note1, atTime:2.5)
phrase.addNote(note1, atTime:3.0)
phrase.addNote(note1, atTime:3.25)
phrase.addNote(note1, atTime:3.5)
phrase.addNote(note1, atTime:3.875)
phrase.addNote(note1, atTime:4.0)

instrument.playPhrase(phrase)

while(AKManager.sharedManager().isRunning) {} //do nothing
println("Test complete!")

    
    override init() {
        super.init()
        let filename = "CsoundLib64.framework/Sounds/PianoBassDrumLoop.wav"
        
        let audio = AKFileInput(filename: filename)
        connect(audio)
        
        let mono = AKMixedAudio(signal1: audio.leftOutput, signal2: audio.rightOutput, balance: 0.5.ak)
        connect(mono)
        
        auxilliaryOutput = AKAudio.globalParameter()
        assignOutput(auxilliaryOutput, to:mono)
    }
}

