1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// PdMidiDispatcher.h
// libpd
//
// Copyright (c) 2013, 2020 Dan Wilcox (danomatika@gmail.com)
//
// For information on usage and redistribution, and for a DISCLAIMER OF ALL
// WARRANTIES, see the file, "LICENSE.txt," in this distribution.
//
/// PdMidiReceiverDelegate protocol default implementation
///
/// client code registers one instance of this class with PdBase, then listeners
/// for individual channels will be registered with the dispatcher object
///
/// raw MIDI bytes are only printed by default, subclass and override the
/// receiveMidiByte method if you want to handle raw MIDI aka data sent to
/// [midiout]
/// subclass of PdMidiDisptcher that logs all callbacks,
/// mostly for development and debugging