Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using midiflow for bridge wifi ble midi #2

Open
Yui-Huang opened this issue Jan 6, 2022 · 16 comments
Open

using midiflow for bridge wifi ble midi #2

Yui-Huang opened this issue Jan 6, 2022 · 16 comments

Comments

@Yui-Huang
Copy link

Hi I'd like to use the midiflow app to bridge the wifi and ble midi

https://www.midiflow.com/

but I could not find the ESP32's ble which named as "Spark 40 BLE"

the midiflow only search the MIDI uuid and Characteristic

MIDI UUID "03B80E5A-EDE8-4B33-A751-6CE34EC4C700"
MIDI Characteristic "7772E5DB-3868-4112-A1A9-F2669D106BF3"

could you add the MIDI uuid and characteristic to SparkMIDI?

Thanks you

@paulhamsh
Copy link
Owner

paulhamsh commented Jan 6, 2022 via email

@Yui-Huang
Copy link
Author

https://www.facebook.com/groups/241616417119881/permalink/447462786535242/

I use midiflow to bridge the pg bt4 padel

https://help.positivegrid.com/hc/en-us/articles/207044463-BT-4-Pedal-User-Guide

the flow control as below
PG BT4 —secure BLE--> BT Padel editor APP -> midiflow APP -> ESP32 BLE as Spark 40 BLE -> Spark APP

I wish to use SparkMIDI replace the ESP32 part

@paulhamsh
Copy link
Owner

paulhamsh commented Jan 6, 2022 via email

@paulhamsh
Copy link
Owner

paulhamsh commented Jan 6, 2022 via email

@Yui-Huang
Copy link
Author

it only control the spark app, no spark amp,
I try to connect to them together, but it is not stable, always crash. so I wish to use two ESP32 and serial by uart.
but iI’m become very busy, so just pendding it.

I need to check old computer for the code

@Yui-Huang
Copy link
Author

sorry, my old pc’s ssd is broken, i have no code

@paulhamsh
Copy link
Owner

paulhamsh commented Jan 8, 2022 via email

@Yui-Huang
Copy link
Author

thanks for your help :)

@paulhamsh
Copy link
Owner

Try the latest version (v7) - I've made it advertise as a MIDI BLE device and it currently processes the MIDI received - CC50 -53 change the hardware preset.
Tested with MIDI Wrench on IOS.

Please try it and let me know if it works for you.

@Yui-Huang
Copy link
Author

Hi, I test it the cc50-53 work fine, I could use the padel control the AMP and the APP.
but the pedal BT-4 setting to cc will latch the LED, I wish to use pc to change preset. But it have no luck with pc. do you test the pc?

@paulhamsh
Copy link
Owner

paulhamsh commented Jan 11, 2022 via email

@Yui-Huang
Copy link
Author

I test the

0xC0 0x00
0xC0 0x01
0xC0 0x02
0xC0 0x03

as the FCB1010 using in your code.

but with no luck

@paulhamsh
Copy link
Owner

paulhamsh commented Jan 12, 2022 via email

@paulhamsh
Copy link
Owner

I think I may know - my midi code expects 3 bytes per message in serial, 5 bytes in ble midi and I think 3 for usb midi - and a PC is two. I've read the ble midi spec and I need to code for that, it seems a bit complex, and I need to check how serial and usb midi really work - I had copied code and it makes the assumptions above.
Interestingly the fcb worked for me but not sure if that was serial midi or usb - probably serial.

@paulhamsh
Copy link
Owner

Updated MIDI8 to check for the two-byte C0 and D0 messages (in Serial/DIN midi)- can you try that.
USB Host and Serial/DIN should now cope with C0 and D0 - I will take some time to sort BLE midi - it seems a bit complex.
Also this doesn't cope with running MIDI for Serial/DIN (or BLE).

@paulhamsh
Copy link
Owner

Updated again to sort BLE MIDI. Probably need to harmonise the code into a MIDI class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants