Skip to content

Commit dc4ecee

Browse files
author
Francois Best
committed
Merge branch 'release/4.2' into dev
2 parents e31d0a1 + cfa634f commit dc4ecee

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#Arduino MIDI Library v4.1
1+
#Arduino MIDI Library v4.2
22

33
This library enables MIDI I/O communications on the Arduino serial ports.
44
The purpose of this library is not to make a big synthetizer out of an Arduino board, the application remains yours. However, it will help you interfacing it with other MIDI devices.
55

6-
Download the latest version [here](https://github.com/FortySevenEffects/arduino_midi_library/releases/download/4.1/Arduino_MIDI_Library_v4.1.zip).
6+
Download the latest version [here](https://github.com/FortySevenEffects/arduino_midi_library/releases/latest).
77

88
### Features
99
* Compatible with all Arduino boards (and clones with an AVR processor)
@@ -18,6 +18,7 @@ Download the latest version [here](https://github.com/FortySevenEffects/arduino_
1818

1919

2020
#### Changelog
21+
* 11/06/2014 : Version 4.2 released. Bug fix for SysEx, overridable template settings.
2122
* 16/04/2014 : Version 4.1 released. Bug fixes regarding running status.
2223
* 13/02/2014 : Version 4.0 released. Moved to GitHub, added multiple instances & software serial support, and a few bug fixes.
2324
* 29/01/2012 : Version 3.2 released. Release notes are [here](http://sourceforge.net/news/?group_id=265194)
@@ -26,7 +27,7 @@ Download the latest version [here](https://github.com/FortySevenEffects/arduino_
2627
* 14/12/2009 : Version 2.5 released.
2728
* 28/07/2009 : Version 2.0 released.
2829
* 28/03/2009 : Simplified version of MIDI.begin, Fast mode is now on by default.
29-
* 08/03/2009 : Thru method operationnal. Added some features to enable thru.
30+
* 08/03/2009 : Thru method operational. Added some features to enable thru.
3031

3132

3233

@@ -35,9 +36,10 @@ Download the latest version [here](https://github.com/FortySevenEffects/arduino_
3536

3637
### What do I need to do?
3738

38-
* Download the library ([link](https://github.com/FortySevenEffects/arduino_midi_library/releases/download/4.1/Arduino_MIDI_Library_v4.1.zip))
39+
* Download the library ([link](https://github.com/FortySevenEffects/arduino_midi_library/releases/latest))
3940
* Follow the installation instructions there: http://arduino.cc/en/Guide/Libraries
4041
* Include the library in your sketch using the menu in the IDE, or type `#include <MIDI.h>`
42+
* Create the MIDI instance using `MIDI_CREATE_DEFAULT_INSTANCE();` or take a look at the documentation for custom serial port, settings etc..
4143

4244
You are now ready to use the library. Look at the reference page to learn how to use it, or the examples given. Just don't forget to enable the I/O communications with MIDI.begin...
4345

@@ -46,9 +48,6 @@ You are now ready to use the library. Look at the reference page to learn how to
4648

4749
See the extended reference [here](http://arduinomidilib.fortyseveneffects.com) ([Mirror](http://fortyseveneffects.github.io/arduino_midi_library/)).
4850

49-
To know how to use the callback feature, see the dedicated page [here](http://playground.arduino.cc/Main/MIDILibraryCallbacks).
50-
51-
5251
### Using MIDI.begin
5352

5453
In the `setup()` function of the Arduino, you must call the `MIDI.begin()` method. If you don't give any argument to this method, the input channel for MIDI in will be set to 1 (channels are going from 1 to 16, plus `MIDI_CHANNEL_OMNI to listen to all channels at the same time).
@@ -78,4 +77,3 @@ Take a look at [the MIDI.org schematic](http://www.midi.org/techspecs/electrispe
7877
if you have any comment or support request to make, feel free to contact me: francois.best@fortyseveneffects.com
7978

8079
You can also get informations about bug fixes and updates on my twitter account: [@fortysevenfx](http://twitter.com/fortysevenfx).
81-

doc/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ EXAMPLE_PATH = ../res/Examples
871871
# *.h) to filter out the source-files in the directories. If left blank all
872872
# files are included.
873873

874-
EXAMPLE_PATTERNS = *
874+
EXAMPLE_PATTERNS = *.ino
875875

876876
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
877877
# searched for input files to be used with the \include or \dontinclude commands

doc/midi_DoxygenMainPage.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
\example MIDI_Bench.ino
3838
\example MIDI_DualMerger.ino
3939
\example MIDI_Input.ino
40+
\example MIDI_SimpleSynth.ino
4041
*/
4142

4243
// -----------------------------------------------------------------------------

res/keywords.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
MIDI KEYWORD1
1010
MIDI.h KEYWORD1
1111
MidiInterface KEYWORD1
12+
DefaultSettings KEYWORD1
1213

1314
#######################################
1415
# Methods and Functions (KEYWORD2)
@@ -106,7 +107,6 @@ SameChannel LITERAL1
106107
DifferentChannel LITERAL1
107108
MIDI_CHANNEL_OMNI LITERAL1
108109
MIDI_CHANNEL_OFF LITERAL1
109-
MIDI_BAUDRATE LITERAL1
110-
MIDI_SYSEX_ARRAY_SIZE LITERAL1
111-
MIDI_CREATE_INSTANCE LITERAL1
112-
MIDI_AUTO_INSTANCIATE LITERAL1
110+
MIDI_CREATE_INSTANCE LITERAL1
111+
MIDI_CREATE_DEFAULT_INSTANCE LITERAL1
112+
MIDI_CREATE_CUSTOM_INSTANCE LITERAL1

res/packaging.command

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ zip -r Arduino_MIDI_Library.zip MIDI
3737

3838
# Generate doc
3939
cd "$root/doc"
40-
doxygen .
40+
doxygen

src/midi_Defs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ typedef uint8_t byte;
3434

3535
BEGIN_MIDI_NAMESPACE
3636

37+
// -----------------------------------------------------------------------------
38+
3739
#define MIDI_CHANNEL_OMNI 0
3840
#define MIDI_CHANNEL_OFF 17 // and over
3941

0 commit comments

Comments
 (0)