Skip to content

Commit fb693e7

Browse files
author
Francois Best
committed
Changed license to MIT.
1 parent c7d2ced commit fb693e7

File tree

8 files changed

+127
-87
lines changed

8 files changed

+127
-87
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,7 @@ Take a look at [the MIDI.org schematic](http://www.midi.org/techspecs/electrispe
7878
if you have any comment or support request to make, feel free to contact me: [email protected]
7979

8080
You can also get informations about bug fixes and updates on my twitter account: [@fortysevenfx](http://twitter.com/fortysevenfx).
81+
82+
## License
83+
84+
MIT © 2015 [Francois Best](http://fortyseveneffects.com)

src/MIDI.cpp

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
* @version 4.2
66
* @author Francois Best
77
* @date 24/02/11
8-
* @license GPL v3.0 - Copyright Forty Seven Effects 2014
8+
* @license MIT - Copyright (c) 2015 Francois Best
99
*
10-
* This program is free software: you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation, either version 3 of the License, or
13-
* (at your option) any later version.
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
1416
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
1919
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26+
* THE SOFTWARE.
2227
*/
2328

2429
#include "MIDI.h"

src/MIDI.h

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
* @version 4.2
66
* @author Francois Best
77
* @date 24/02/11
8-
* @license GPL v3.0 - Copyright Forty Seven Effects 2014
8+
* @license MIT - Copyright (c) 2015 Francois Best
99
*
10-
* This program is free software: you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation, either version 3 of the License, or
13-
* (at your option) any later version.
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
1416
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
1919
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26+
* THE SOFTWARE.
2227
*/
2328

2429
#pragma once

src/MIDI.hpp

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
* @version 4.2
66
* @author Francois Best
77
* @date 24/02/11
8-
* @license GPL v3.0 - Copyright Forty Seven Effects 2014
8+
* @license MIT - Copyright (c) 2015 Francois Best
99
*
10-
* This program is free software: you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation, either version 3 of the License, or
13-
* (at your option) any later version.
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
1416
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
1919
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26+
* THE SOFTWARE.
2227
*/
2328

2429
#pragma once

src/midi_Defs.h

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
* @version 4.2
66
* @author Francois Best
77
* @date 24/02/11
8-
* @license GPL v3.0 - Copyright Forty Seven Effects 2014
8+
* @license MIT - Copyright (c) 2015 Francois Best
99
*
10-
* This program is free software: you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation, either version 3 of the License, or
13-
* (at your option) any later version.
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
1416
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
1919
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26+
* THE SOFTWARE.
2227
*/
2328

2429
#pragma once

src/midi_Message.h

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
* @version 4.2
66
* @author Francois Best
77
* @date 11/06/14
8-
* @license GPL v3.0 - Copyright Forty Seven Effects 2014
8+
* @license MIT - Copyright (c) 2015 Francois Best
99
*
10-
* This program is free software: you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation, either version 3 of the License, or
13-
* (at your option) any later version.
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
1416
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
1919
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26+
* THE SOFTWARE.
2227
*/
2328

2429
#pragma once

src/midi_Namespace.h

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
* @version 4.2
66
* @author Francois Best
77
* @date 24/02/11
8-
* @license GPL v3.0 - Copyright Forty Seven Effects 2014
8+
* @license MIT - Copyright (c) 2015 Francois Best
99
*
10-
* This program is free software: you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation, either version 3 of the License, or
13-
* (at your option) any later version.
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
1416
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
1919
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26+
* THE SOFTWARE.
2227
*/
2328

2429
#pragma once

src/midi_Settings.h

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,25 @@
55
* @version 4.2
66
* @author Francois Best
77
* @date 24/02/11
8-
* @license GPL v3.0 - Copyright Forty Seven Effects 2014
8+
* @license MIT - Copyright (c) 2015 Francois Best
99
*
10-
* This program is free software: you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation, either version 3 of the License, or
13-
* (at your option) any later version.
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
1416
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
17+
* The above copyright notice and this permission notice shall be included in
18+
* all copies or substantial portions of the Software.
1919
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26+
* THE SOFTWARE.
2227
*/
2328

2429
#pragma once
@@ -45,20 +50,21 @@ BEGIN_MIDI_NAMESPACE
4550
struct DefaultSettings
4651
{
4752
/*! Running status enables short messages when sending multiple values
48-
of the same type and channel.\n
49-
Set to 0 if you have troubles controlling your hardware.
50-
*/
53+
of the same type and channel.\n
54+
Set to false if you have troubles controlling your hardware.
55+
*/
5156
static const bool UseRunningStatus = true;
5257

53-
/* NoteOn with 0 velocity should be handled as NoteOf.\n
54-
Set to 1 to get NoteOff events when receiving null-velocity NoteOn messages.\n
55-
Set to 0 to get NoteOn events when receiving null-velocity NoteOn messages.
56-
*/
58+
/*! NoteOn with 0 velocity should be handled as NoteOf.\n
59+
Set to true to get NoteOff events when receiving null-velocity NoteOn messages.\n
60+
Set to false to get NoteOn events when receiving null-velocity NoteOn messages.
61+
*/
5762
static const bool HandleNullVelocityNoteOnAsNoteOff = true;
5863

59-
// Setting this to 1 will make MIDI.read parse only one byte of data for each
60-
// call when data is available. This can speed up your application if receiving
61-
// a lot of traffic, but might induce MIDI Thru and treatment latency.
64+
/*! Setting this to true will make MIDI.read parse only one byte of data for each
65+
call when data is available. This can speed up your application if receiving
66+
a lot of traffic, but might induce MIDI Thru and treatment latency.
67+
*/
6268
static const bool Use1ByteParsing = true;
6369

6470
/*! Override the default MIDI baudrate to transmit over USB serial, to

0 commit comments

Comments
 (0)