 }
 */
 
-public class AKMidiEvent : NSObject {
+public struct AKMidiEvent {
     var _data = [UInt8](count: 3, repeatedValue: 0)
     var length: UInt8? // The length in bytes for this MIDI message (1 to 3 bytes)
     

        }
        if (ret.count != 0) {
            NSNotificationCenter.defaultCenter().postNotificationName(status.name(),
                object: self,
                userInfo: ret as [NSObject : AnyObject])
            return true;
        }

    }
    
    init(packet: MIDIPacket) {
        if (packet.data.0 < 0xF0) {
            let status = AKMidiStatus(rawValue: Int(packet.data.0) >> 4)
            let channel = UInt8(packet.data.0 & 0xF)+1
