| 1 |
RtMidi - a set of C++ classes that provides a common API for realtime MIDI input/output across Linux (ALSA & JACK), Macintosh OS X (CoreMIDI & JACK), and Windows (Multimedia Library). |
| 2 |
|
| 3 |
By Gary P. Scavone, 2003-2021 (with help from many others, especially Stephen Sinclair!) |
| 4 |
|
| 5 |
v.5.0.0: (16 November 2021) |
| 6 |
- see git history for complete list of changes |
| 7 |
- new Web MIDI API |
| 8 |
- iOS support |
| 9 |
- new setBufferSize() function |
| 10 |
- fixes for WinMM, Jack |
| 11 |
- added C API test program |
| 12 |
- now requiring C++11 |
| 13 |
- build system updates |
| 14 |
- midiprobe probes all compiled APIs |
| 15 |
- various build system updates and code efficiencies |
| 16 |
|
| 17 |
v.4.0.0: (17 April 2019) |
| 18 |
- see git history for complete list of changes |
| 19 |
- updates to test programs to clarify port numbering |
| 20 |
- new C API wrapper |
| 21 |
- new functions to get API names |
| 22 |
- miscellaneous sysex fixes in Jack and ALSA |
| 23 |
- new setPortName() method (for Jack and ALSA) |
| 24 |
- new setClientName() method (for ALSA) |
| 25 |
- various build system updates and code efficiencies |
| 26 |
|
| 27 |
v.3.0.0: (31 August 2017) |
| 28 |
- see git history for complete list of changes |
| 29 |
- new sendMessage() function that does not use std::vector |
| 30 |
- various std::string updates, including use of UTF8 for port names |
| 31 |
- fixes for the MIDI queue |
| 32 |
- various build system updates and code efficiencies |
| 33 |
|
| 34 |
v2.1.1: (11 February 2016) |
| 35 |
- updates to automake routines |
| 36 |
- added C API (thanks to Atsushi Eno!) |
| 37 |
- JACK ringbuffer allocation change |
| 38 |
- OSX virtual port closing fix |
| 39 |
- OSX sysex sending fix |
| 40 |
- moved Windows kernel streaming code to other branch because it is incomplete |
| 41 |
- miscellaneous small fixes |
| 42 |
|
| 43 |
v2.1.0: (30 March 2014) |
| 44 |
- renamed RtError class to RtMidiError and embedded it in RtMidi.h (and deleted RtError.h) |
| 45 |
- fix to CoreMIDI implementation to support dynamic port changes |
| 46 |
- removed global ALSA sequencer objects because they were not thread safe (Martin Koegler) |
| 47 |
- fix for ALSA timing ignore flag (Devin Anderson) |
| 48 |
- fix for ALSA incorrect use of snd_seq_create_port() function (Tobias Schlemmer) |
| 49 |
- fix for international character support in CoreMIDI (Martin Finke) |
| 50 |
- fix for unicode conversion in WinMM (Dan Wilcox) |
| 51 |
- added custom error hook that allows the client to capture an RtMidi error outside of the RtMidi code (Pavel Mogilevskiy) |
| 52 |
- added RtMidi::isPortOpen function (Pavel Mogilevskiy) |
| 53 |
- updated OS-X sysex sending mechanism to use normal message sending, which fixes a problem where virtual ports didn't receive sysex messages |
| 54 |
- Windows update to avoid lockups when shutting down while sending/receiving sysex messages (ptarabbia) |
| 55 |
- OS-X fix to avoid empty messages in callbacks when ignoring sysex messages and split sysexes are received (codepainters) |
| 56 |
- ALSA openPort fix to better distinguish sender and receiver (Russell Smyth) |
| 57 |
- Windows Kernel Streaming support removed because it was uncompilable and incomplete |
| 58 |
|
| 59 |
v2.0.1: (26 July 2012) |
| 60 |
- small fixes for problems reported by Chris Arndt (scoping, preprocessor, and include) |
| 61 |
|
| 62 |
v2.0.0: (18 June 2012) |
| 63 |
- revised structure to support multiple simultaneous compiled APIs |
| 64 |
- revised ALSA client hierarchy so subsequent instances share same client (thanks to Dan Wilcox) |
| 65 |
- added beta Windows kernel streaming support (thanks to Sebastien Alaiwan) |
| 66 |
- updates to compile as a shared library or dll |
| 67 |
- updated license |
| 68 |
- various memory-leak fixes (thanks to Sebastien Alaiwan and Martin Koegler) |
| 69 |
- fix for continue sysex problem (thanks to Luc Deschenaux) |
| 70 |
- removed SGI (IRIX) support |
| 71 |
|
| 72 |
v1.0.15: (11 August 2011) |
| 73 |
- updates for wide character support in Windows |
| 74 |
- stopped using std::queue and implemented internal MIDI ring buffer (for thread safety ... thanks to Michael Behrman) |
| 75 |
- removal of the setQueueSizeLimit() function ... queue size limit now an optional arguement to constructor |
| 76 |
|
| 77 |
v1.0.14: (17 April 2011) |
| 78 |
- bug fix to Jack MIDI support (thanks to Alexander Svetalkin and Pedro Lopez-Cabanillas) |
| 79 |
|
| 80 |
v1.0.13: (7 April 2011) |
| 81 |
- updated RtError.h to the same version as in RtAudio |
| 82 |
- new Jack MIDI support in Linux (thanks to Alexander Svetalkin) |
| 83 |
|
| 84 |
v1.0.12: (17 February 2011) |
| 85 |
- Windows 64-bit pointer fixes (thanks to Ward Kockelkorn) |
| 86 |
- removed possible exceptions from getPortName() functions |
| 87 |
- changed sysex sends in OS-X to use MIDISendSysex() function (thanks to Casey Tucker) |
| 88 |
- bug fixes to time code parsing in OS-X and ALSA (thanks to Greg) |
| 89 |
- added MSW project file to build as library (into lib/ directory ... thanks to Jason Champion) |
| 90 |
|
| 91 |
v1.0.11: (29 January 2010) |
| 92 |
- added CoreServices/CoreServices.h include for OS-X 10.6 and gcc4.2 compile (thanks to Jon McCormack) |
| 93 |
- various increment optimizations (thanks to Paul Dean) |
| 94 |
- fixed incorrectly located snd_seq_close() function in ALSA API (thanks to Pedro Lopez-Cabanillas) |
| 95 |
- updates to Windows sysex code to better deal with possible delivery problems (thanks to Bastiaan Verreijt) |
| 96 |
|
| 97 |
v1.0.10: (3 June 2009) |
| 98 |
- fix adding timestamp to OS-X sendMessage() function (thanks to John Dey) |
| 99 |
|
| 100 |
v1.0.9: (30 April 2009) |
| 101 |
- added #ifdef AVOID_TIMESTAMPING to conditionally compile support for event timestamping of ALSA sequencer events. This is useful for programs not needing timestamps, saving valuable system resources. |
| 102 |
- updated functionality in OSX_CORE for getting driver name (thanks to Casey Tucker) |
| 103 |
|
| 104 |
v1.0.8: (29 January 2009) |
| 105 |
- bug fixes for concatenating segmented sysex messages in ALSA (thanks to Christoph Eckert) |
| 106 |
- update to ALSA sequencer port enumeration (thanks to Pedro Lopez-Cabonillas) |
| 107 |
- bug fixes for concatenating segmented sysex messages in OS-X (thanks to Emmanuel Litzroth) |
| 108 |
- added functionality for naming clients (thanks to Pedro Lopez-Cabonillas and Axel Schmidt) |
| 109 |
- bug fix in Windows when receiving sysex messages if the ignore flag was set (thanks to Pedro Lopez-Cabonillas) |
| 110 |
|
| 111 |
v1.0.7: (7 December 2007) |
| 112 |
- configure and Makefile changes for MinGW |
| 113 |
- renamed midiinfo.cpp to midiprobe.cpp and updated VC++ project/workspace |
| 114 |
|
| 115 |
v1.0.6: (9 March 2006) |
| 116 |
- bug fix for timestamp problem in ALSA (thanks to Pedro Lopez-Cabanillas) |
| 117 |
|
| 118 |
v1.0.5: (18 November 2005) |
| 119 |
- added optional port name to openVirtualPort() functions |
| 120 |
- fixed UNICODE problem in Windows getting device names (thanks Eduardo Coutinho!). |
| 121 |
- fixed bug in Windows with respect to getting Sysex data (thanks Jean-Baptiste Berruchon!) |
| 122 |
|
| 123 |
v1.0.4: (14 October 2005) |
| 124 |
- added check for status byte == 0xF8 if ignoring timing messages |
| 125 |
- changed pthread attribute to SCHED_OTHER (from SCHED_RR) to avoid thread problem when realtime cababilities are not enabled. |
| 126 |
- now using ALSA sequencer time stamp information (thanks to Pedro Lopez-Cabanillas) |
| 127 |
- fixed memory leak in ALSA implementation |
| 128 |
- now concatenate segmented sysex messages in ALSA |
| 129 |
|
| 130 |
v1.0.3: (22 November 2004) |
| 131 |
- added common pure virtual functions to RtMidi abstract base class |
| 132 |
|
| 133 |
v1.0.2: (21 September 2004) |
| 134 |
- added warning messages to openVirtualPort() functions in Windows and Irix (where it can't be implemented) |
| 135 |
|
| 136 |
v1.0.1: (20 September 2004) |
| 137 |
- changed ALSA preprocessor definition to __LINUX_ALSASEQ__ |
| 138 |
|
| 139 |
v1.0.0: (17 September 2004) |
| 140 |
- first release of new independent class with both input and output functionality |
| 141 |
|