Merge remote-tracking branch 'origin/Franky47-patch-1' into dev
This commit is contained in:
commit
8a856e1f9d
|
|
@ -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"
|
||||||
|
}
|
||||||
|
|
@ -279,7 +279,7 @@ template<class SerialPort, class Settings>
|
||||||
void MidiInterface<SerialPort, Settings>::sendPitchBend(double inPitchValue,
|
void MidiInterface<SerialPort, Settings>::sendPitchBend(double inPitchValue,
|
||||||
Channel inChannel)
|
Channel inChannel)
|
||||||
{
|
{
|
||||||
const int value = inPitchValue * MIDI_PITCHBEND_MAX * Settings::Toto;
|
const int value = inPitchValue * MIDI_PITCHBEND_MAX;
|
||||||
sendPitchBend(value, inChannel);
|
sendPitchBend(value, inChannel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue