From 32f21831365ca4a6a70be9897bac4f8e955c491f Mon Sep 17 00:00:00 2001 From: Robert Bendun Date: Sat, 8 Oct 2022 13:09:11 +0200 Subject: [PATCH] Recognizing rtmidi creators contributions --- README.md | 3 +++ musique/main.cc | 1 + musique/midi/rt_midi.cc | 6 ++++++ 3 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 1a6b7cf..d1dfd68 100644 --- a/README.md +++ b/README.md @@ -92,3 +92,6 @@ Skopiuj katalog [etc/editor/musique-vscode](etc/editor/musique-vscode) do folder - Creator of [tl::expected](https://github.com/TartanLlama/expected) - [Sy Brand](https://sybrand.ink/) - Creator of [bestline](https://github.com/jart/bestline) - [Justine Tunney](https://justinetunney.com/) +- Creator of [rtmidi](https://github.com/thestk/rtmidi/) - [Gary P. Scavone](http://www.music.mcgill.ca/~gary/) + +and all contributors that created libraries above. diff --git a/musique/main.cc b/musique/main.cc index 2e5e424..2d57a21 100644 --- a/musique/main.cc +++ b/musique/main.cc @@ -76,6 +76,7 @@ static T pop(std::span &span) "Thanks to:\n" " Sy Brand, https://sybrand.ink/, creator of tl::expected https://github.com/TartanLlama/expected\n" " Justine Tunney, https://justinetunney.com, creator of bestline readline library https://github.com/jart/bestline\n" + " Gary P. Scavone, http://www.music.mcgill.ca/~gary/, creator of rtmidi https://github.com/thestk/rtmidi\n" ; std::exit(1); } diff --git a/musique/midi/rt_midi.cc b/musique/midi/rt_midi.cc index ed824c1..ac9adb5 100644 --- a/musique/midi/rt_midi.cc +++ b/musique/midi/rt_midi.cc @@ -1,6 +1,12 @@ #include #include +// Copyright notice for RtMidi library +__asm__(R"license(.ident "\ +RtMidi: realtime MIDI i/o C++ classes\ +Copyright (c) 2003-2021 Gary P. Scavone" +)license"); + void midi::Rt_Midi::list_ports(std::ostream &out) const try { RtMidiIn input;