 
 extension MIDIDevice: MIDIEventSender {
     
-    public func send(_ event: MIDIEvent, via output: MIDIOutput) {
+    public func send(_ packet: MIDIPacket, via output: MIDIOutput) {
         for entity in entities {
-            entity.send(event, via: output)
+            entity.send(packet, via: output)
         }
     }
     


extension MIDIEntity: MIDIEventReceiver {
    
    public func receive(_ event: MIDIEvent) {
        for source in sources {
            source.receive(event)
        }
    }
    


extension MIDIDevice: MIDIEventReceiver {
    
    public func receive(_ packet: MIDIPacket) {
        for entity in entities {
            entity.receive(packet)
        }
    }
    
