From 0d436da5fc3efce9d565c362e9f7b16e4564329d Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 29 Sep 2014 23:10:23 +0300 Subject: [PATCH 1/3] PlatformIO-based manifest file Web: http://platformio.ikravets.com/#!/lib/show/Arduino-MIDI Docs: http://docs.platformio.ikravets.com/en/latest/librarymanager/index.html --- library.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 library.json diff --git a/library.json b/library.json new file mode 100644 index 0000000..0c503f0 --- /dev/null +++ b/library.json @@ -0,0 +1,18 @@ +{ + "name": "Arduino-MIDI", + "keywords": "midi", + "description": "This library enables MIDI I/O communications on the Arduino serial ports", + "author": + { + "name": "Francois Best", + "email": "francois.best@fortyseveneffects.com", + "url": "http://fortyseveneffects.com" + }, + "repository": + { + "type": "git", + "url": "https://github.com/FortySevenEffects/arduino_midi_library.git" + } + "include": "src", + "examples": "res/Examples/*/*.ino" + } From 96cdd3366229e99dbcff23aa6cae7608ea00b50a Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 29 Sep 2014 23:11:15 +0300 Subject: [PATCH 2/3] Fix comma --- library.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.json b/library.json index 0c503f0..a3b6065 100644 --- a/library.json +++ b/library.json @@ -12,7 +12,7 @@ { "type": "git", "url": "https://github.com/FortySevenEffects/arduino_midi_library.git" - } + }, "include": "src", "examples": "res/Examples/*/*.ino" } From 3eb65db1a4d84fc50b9aa9736d31f5e87f70a244 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Fri, 27 Feb 2015 14:54:04 +0100 Subject: [PATCH 3/3] Fixed #30 --- src/MIDI.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MIDI.hpp b/src/MIDI.hpp index 7e79d3c..b24a575 100644 --- a/src/MIDI.hpp +++ b/src/MIDI.hpp @@ -279,7 +279,7 @@ template void MidiInterface::sendPitchBend(double inPitchValue, Channel inChannel) { - const int value = inPitchValue * MIDI_PITCHBEND_MAX * Settings::Toto; + const int value = inPitchValue * MIDI_PITCHBEND_MAX; sendPitchBend(value, inChannel); }