     }
     
     /// Get a new track
-    public func newTrack() {
+    public func newTrack()->AKMusicTrack? {
         if(!isAvSeq){
             var newMusicTrack = MusicTrack()
             MusicSequenceNewTrack(sequence, &newMusicTrack)

        }
    }
    
    public func beatsForSeconds(seconds:Double)->Double{
        var outBeats:Double = MusicTimeStamp()
        MusicSequenceGetBeatsForSeconds(sequence, Float64(seconds), &outBeats)

        }
    }
    
    public func preRoll(){
        MusicPlayerPreroll(musicPlayer)
    }
    
    /// Set loop functionality of entire sequence
    public func loopToggle() {
        (loopEnabled ? loopOff() : loopOn())
