     }
     
     /// MIDI Channel
-    var channel: UInt8 {
+    public var channel: UInt8 {
         let status = internalData[0] >> 4
         if status < 16 {
             return internalData[0].lowbit()

    var length: UInt8?
    
    /// Status
    var status: AKMIDIStatus {
        let status = internalData[0] >> 4
        return AKMIDIStatus(rawValue: Int(status))!
    }

        return 0
    }
    
    func statusFrom(rawByte:UInt8)->AKMIDIStatus?{
        return AKMIDIStatus(rawValue: Int(rawByte >> 4))
    }
    func channelFrom(rawByte:UInt8)->Int{
        let status = rawByte >> 4
        if status < 16 {
            return Int(rawByte.lowbit())
        }
        return 0
    }
    
    public var data1: UInt8 {
        return internalData[1]
    }
    
    public var data2: UInt8 {
        return internalData[2]
    }
    
