Commit Graph

93 Commits

Author SHA1 Message Date
lathoub ecd68f842b
Update BLEMIDI_Transport.h
remove unnecessary code
2021-08-06 09:16:38 +02:00
lathoub c20062ec63
Merge pull request #34 from RobertoHE/MultiPartSysEx
Parser Upgraded
2021-08-06 06:02:36 +02:00
RobertoHE 04753598cb
Added Midi namespace 2021-08-05 23:56:19 +02:00
lathoub ee85989cd9 updated simulator
simulator using actual BLE parser, using a BLE simulator
Note: you need a manually add a path to ../src and arduino_midi_library/src
2021-08-05 23:10:17 +02:00
RobertoHE 335cad374d
Update parser
Parser is more simple now. It not evaluate the size of package twice.
Parser not check if a message is well constructed or not except first message of the package. 
Parser can transform runningStatus messages to Full Midi messages. If #define RUNNING_ENABLE is commented, parser will add data like full midi messages. 
FortySevenEffects MIDI serial parser respond identically to both method (runningStatus and Full), fortunately.
2021-08-05 21:30:44 +02:00
lathoub 99abc3ef79
Merge pull request #33 from RobertoHE/patch-1
Removed size filter and added runningStatus enable
2021-08-05 16:42:07 +02:00
RobertoHE 4a99e1e2ea
Removed size filter and added runningStatus enable
Previous size filter might add a 2-bytes full midi and other running status (other byte) like a 3-bytes full midi message wrongly. It may cause a bug depending if serial Parser accepts or not running status messages.
This commit removes that previous and unnecessary size filter but it still discriminte the size of message after this point:
2f48b0f25b/test/msvc/ConsoleApplication2.cpp (L78-L91)

If #define RUNNINGSTATUS_ENABLE is commented, it will transform all incoming runningStatus messages in full midi messages. Else, it will put in the buffer the same info that it had received (runningStatus will be not transformated).
I recommend not use runningStatus by default. Only use if parser accepts runningStatus and your application has a so high transmission rate.
2021-08-05 12:57:14 +02:00
lathoub 2f48b0f25b
Merge pull request #32 from RobertoHE/patch-1
Added runningStatus continuation in receive()
2021-08-04 17:18:57 +02:00
RobertoHE 7a3ae808e6
Added runningStatus continuation in receive()
Added runningStatus continuation after a timeStamp Low or a System message (0xF#)

I only have modificated the MSVS code, check it before you copy it to to BLEtransport.h
2021-08-04 14:01:54 +02:00
lathoub fa85454114 parser pointer types as int, not byte
increase pointer size, spec says message can have any length (quick internet search indicate packet length can be larger than 255)
2021-08-04 05:40:29 +02:00
lathoub e572f7f599 Update ConsoleApplication2.cpp
run all test data
2021-08-04 05:24:08 +02:00
lathoub 3d44ddc3a7 updated examples (SysEx with RealTime msg in the middle) 2021-08-04 05:13:53 +02:00
lathoub 20354c247c further refinement of the parser
need to further check edge cases:
- RealTime msg in the middle of a regular msg
- RealTime msg in the middle of a SysEx
2021-08-04 05:06:05 +02:00
lathoub 8904a44963
Delete Bluetooth LE MIDI Specification.url 2021-08-03 21:54:07 +02:00
lathoub 0a59a2dd04
Create BLE_MIDI_Spec.md 2021-08-03 21:53:41 +02:00
lathoub 43b6704a56 add link to BLE MIDI Spec 2021-08-03 21:51:55 +02:00
lathoub b9fd6a8d3d parser test project in MSVC2019 2021-08-03 21:46:31 +02:00
lathoub 652c390483 Update BLEMIDI_Transport.h
cleanup
2021-08-03 21:39:38 +02:00
lathoub ecd2c2bf22 check for complete sysex 2021-08-03 21:38:17 +02:00
lathoub 687676dc44 bug fix
https://github.com/lathoub/Arduino-BLE-MIDI/issues/27
2021-08-03 10:53:43 +02:00
lathoub 802f7a3c9c further cleanup 2021-08-02 22:05:04 +02:00
lathoub a76ebc82c6 cleanup 2021-08-02 21:18:33 +02:00
lathoub 5cfcf20262 Bug Fix and support for multipart SysEx 2021-08-02 19:01:59 +02:00
lathoub aa0f6bc44a added end() method, stop'ping BLE 2021-05-28 21:06:07 +02:00
lathoub e0fb12b9c0
Merge pull request #28 from per1234/mbed_nano
Add mbed_nano to list of compatible architectures
2021-05-06 09:01:21 +02:00
per1234 37ac074af7
Add mbed_nano to list of compatible architectures
In the 2.0.0 release of the Arduino Mbed OS Boards platform, the mbed architecture split into four architectures:
- mbed_edge: Arduino Edge Control
- mbed_nano: Nano 33 BLE and Nano RP2040 Connect
- mbed_rp2040: Raspberry Pi Pico
- mbed_portenta: Portenta H7

The mbed architecture should be retained for backwards support, but the new mbed_nano should also be added to avoid spurious incompatibility warnings and the library's examples being shown under the File > Examples > INCOMPATIBLE menu of the Arduino IDE when the Nano 33 BLE board is selected.
2021-05-04 02:01:20 -07:00
lathoub 0cc25e9ced
Update MidiBle.ino 2020-12-20 23:38:43 +01:00
lathoub 30d101bca6
Update MidiBle.ino 2020-12-20 23:37:03 +01:00
lathoub f4927cd4ea reworked basic demo
led comes on when connected, noteOn turns it off, NoteOff turn it back on
2020-12-20 23:10:35 +01:00
lathoub 4aee6708ca Windows connection to ESP32
Windows connection to ESP32, based on suggestion from @wakwak-koba (I get notes in the MIDIBerry input monitor using ESP32, but not using NimBLE ?? (MidiBle example)
2020-10-25 22:52:27 +01:00
lathoub cc1d4ef1e1
Merge pull request #22 from wakwak-koba/ESP32_NimBLE
Fixed not being able to pair with Windows when using NimBLE, thank you @wakwak-koba !
2020-10-25 19:13:08 +01:00
wakwak_koba d8746c2967 Revert examples 2020-10-25 06:14:46 +09:00
wakwak_koba ab02fbc108 Fixed not being able to pair with Windows when using NimBLE
and, consideration for boards that don't implement the `LED_BUILTIN` constant
2020-10-23 08:12:52 +09:00
lathoub 9b41d732ef
Update README.md 2020-10-18 07:49:50 +02:00
lathoub 71ec6db9bc
Update README.md 2020-10-11 11:49:14 +02:00
lathoub 8fd2a1904a
Delete .gitmodules 2020-10-11 11:46:37 +02:00
lathoub 5dd5e5f087 Merge branch 'master' of https://github.com/lathoub/Arduino-BLE-MIDI 2020-10-11 11:46:17 +02:00
lathoub ed82872725 Delete .development 2020-10-11 11:46:06 +02:00
lathoub a3206579e4
Update README.md 2020-10-11 11:45:28 +02:00
lathoub 56386ace3c
Update README.md 2020-10-11 11:44:25 +02:00
lathoub cec5fe3f13
Update README.md 2020-10-11 11:39:36 +02:00
lathoub f274037f81 rename BLEMIDI to BLEMIDI_Transport & cleanup
- rename BLEMIDI to BLEMIDI_Transport (avoid class name collision)
- cleanup
2020-10-11 11:37:45 +02:00
lathoub 5f8a38a5b8 cleanup 2020-10-03 17:13:12 +02:00
lathoub ba7c598a52 complete send SysEx (over multiple packets)
Test multiple packets by sending sysex11 over a buffer of 5 bytes of more (change byte mTxBuffer[Settings::MaxBufferSize];)

Interesting edge cases are with buffer len: 5,7 and 12 (with sysex11)
2020-10-03 10:02:49 +02:00
lathoub 359c9acd22 added basic sysex (1 packet) + example 2020-10-03 06:19:37 +02:00
lathoub 700159ab93 BLE-MIDI => BLEMIDI in filenames 2020-10-03 04:20:53 +02:00
lathoub b22cc18fc0 from feat/2.0.0 2020-10-03 04:11:56 +02:00
lathoub 35c5aab271
Update library.properties
consistent naming in sentence for all MID Transport layer of the MIDI library ("MIDI I/Os for Arduino")
2020-09-19 07:18:18 +02:00
lathoub 33d3c7fd11
Update README.md 2020-09-09 09:13:47 +02:00
lathoub 7505448441
Update README.md 2020-09-09 09:13:15 +02:00