 
 class AKSequencerTrackTests: AKTestCase {
 
-    let sampler = AKAppleSampler()
+    let flute = AKFlute()
 
     func getTestSequence() -> AKSequence {
 


        duration = 5

        let track = AKSequencerTrack(targetNode: sampler)

        setupSampler()

        track.sequence = getTestSequence()
        track.playFromStart()
        XCTAssertTrue(track.isPlaying)
        // auditionTest()
        AKTestMD5("8dda603e249554576192a2bd524f8bca")
    }

    func testOneShot() {

        duration = 5

        let track = AKSequencerTrack(targetNode: sampler)

        setupSampler()

        track.sequence = getTestSequence()
        track.loopEnabled = false
        track.playFromStart()
        XCTAssertTrue(track.isPlaying)
        //auditionTest()
        AKTestMD5("864f48d1881655b29fd1cca59887bed4")
    }

    func testTempo() {

        duration = 5

        let track = AKSequencerTrack(targetNode: sampler)

        setupSampler()

        track.sequence = getTestSequence()
        track.tempo = 60
        track.playFromStart()
        XCTAssertTrue(track.isPlaying)
        //auditionTest()
        AKTestMD5("ca831ed474d2d302f48c37fd2cff4850")

    }


        return seq
    }

    func testEmptyTrack() {
        let seq = AKSequencerTrack(targetNode: flute)
        XCTAssertFalse(seq.isPlaying)

        XCTAssertEqual(seq.length, 4.0) // One measure
