add midi test readme
This commit is contained in:
1 parent
3d697b2ef3
commit
bfb90a3998
1 file changed
+60
@@ -0,0 +1,60 @@
|
||||
# MIDI Tests
|
||||
|
||||
This folder contains a small number of tests used to verify BLE MIDI features.
|
||||
|
||||
## Setup
|
||||
|
||||
First, you will need the current stable version of [Node.js][node] installed.
|
||||
|
||||
```console
|
||||
$ node -v
|
||||
v7.4.0
|
||||
```
|
||||
|
||||
Next, cd to `tools/midi_tests` and run `npm install`.
|
||||
|
||||
```console
|
||||
$ cd tools/midi_tests
|
||||
$ npm install
|
||||
```
|
||||
|
||||
## RX Test
|
||||
|
||||
1. Upload the `rx_arduino` example to your nRF52 feather.
|
||||
2. Open the serial monitor, and connect to the feather on OS X using Audio MIDI Setup.
|
||||
3. Once you are connected, navigate to the `tools/midi_tests` folder and run the `rx.js` test.
|
||||
|
||||
```console
|
||||
$ cd tools/midi_tests
|
||||
$ node rx.js
|
||||
```
|
||||
|
||||
4. The test will ask how fast you would like to send messages. The default is 100ms. Enter a number and press return.
|
||||
|
||||
```
|
||||
? Send interval (ms) 100
|
||||
```
|
||||
|
||||
5. Next, the test will ask you to select a MIDI port. Select the Bluefruit52 from the list.
|
||||
|
||||
```
|
||||
? Select port Bluefruit52 Bluetooth
|
||||
```
|
||||
|
||||
6. The test will begin sending messages at the specified interval. It will send 128 note on and 128 note off messages.
|
||||
|
||||
```
|
||||
midi on [================================================================================================================================] 128/128
|
||||
midi off [================================================================================================================================] 128/128
|
||||
```
|
||||
|
||||
7. Check the Arduino Serial monitor and confirm that you have received all 128 note on and 128 note off messages.
|
||||
|
||||
```
|
||||
note on count: 128
|
||||
note off count: 128
|
||||
```
|
||||
|
||||
If you have, the test passed.
|
||||
|
||||
[node]: https://nodejs.org/
|
||||
Reference in new issue
Block a user