Repository navigation
Simultaneous Bluetooth MIDI from SongBook+ and M-VAVE Chocolate #470
Replies: 52 comments 17 replies
|
Hi. This case would need the ESP to be running as a "dual-role device" (which is central + peripheral at the same time.) Note also, I've just got USB Midi going, which allows a Tonex pedal and a Chocolate pedal to be connected to a USB hub, which leaves the Bluetooth free. This is not released yet but is available on the "P4 development" branch. So far for me it works OK. |
|
Thank you for the detailed explanation. The USB MIDI solution on the P4 development branch sounds very interesting and could be exactly what I need. My goal is to have:
If I understand correctly, with the new USB MIDI implementation I could connect the TONEX ONE and the Chocolate to a USB hub connected to the ESP32, while keeping Bluetooth available for the Teclast/SongBook+. Could you please tell me:
I would be very interested in testing the P4 version for this project. Thank you! |
|
Ciao, Grazie mille per l'aiuto e per aver dedicato del tempo a spiegarmi tutto. Sei stato estremamente gentile e disponibile. Spero di non risultare troppo insistente con le mie domande. Vorrei davvero completare questo progetto e il tuo TonexOneController me lo sta rendendo possibile. La soluzione P4 sembra perfetta per ciò che voglio realizzare. Se sei disposto a fornirmi la build alpha, sarei molto felice di testarla. Potresti anche indicarmi il modello esatto (o il codice SKU) del Waveshare 4.3B attualmente supportato? Così potrò assicurarmi di acquistare quello giusto. La mia configurazione finale sarebbe questa: Teclast + SongBook+ → Bluetooth MIDI → ESP32 Sarei molto felice di testare il sistema e segnalare eventuali problemi riscontrati. Grazie ancora per la pazienza e per il lavoro svolto su questo progetto! |
|
Thank you very much for your help and for your kindness. I now have all the information I need. I will wait for your P4 alpha build and your update when it is ready. I really appreciate the work you are putting into this project. I’m looking forward to testing it and finally completing my setup. Thank you again! |
|
Buongiorno, domani mi arriva finalmente l' ESP32-S3 con display LCD e non vedo l'ora di fare i collegamenti, hai già qualcosa di pronto del tuo alpha per il P4 ? Vorrei iniziare a fare le prove di funzionamento e spero tutto in bene. Buona giornata |
|
Hi. I will create a build for you soon. |
|
Ciao, non vedo l'ora di averlo :) Grazie |
|
Hi. Here is an alpha build for the 4.3B with USB hub support. |
|
Hi! First of all, I would like to thank you very much for providing the alpha build and for all the time and effort you have dedicated to helping me with my project. I also apologize for not thanking you earlier. I was on holiday with my family and couldn't follow up sooner. I really appreciate your kindness and your work on TonexOneController. I'm looking forward to testing the build and completing my setup. I hope I can count on your advice and collaboration if I encounter any difficulties during the installation or configuration. Of course, I understand that you have your own commitments, and I don't want to be a burden. Thank you again for your generosity and for sharing your work with the community! Best regards |
|
Hi! Thank you again for providing the alpha build. I have a MacBook, and I have encountered my first difficulty while trying to install it. The ZIP archive contains Could you please advise me on the correct procedure to install the P4 alpha firmware on my Waveshare ESP32-S3-Touch-LCD-4.3B-BOX using macOS? In particular, I would like to know:
I would prefer to follow the procedure you recommend for this particular build rather than risk using the wrong firmware or flashing method. Thank you for your patience and support. I really appreciate your help, and I am looking forward to getting the controller working. Best regards |
|
Hi! I have installed I would like to connect my Teclast Android tablet to the controller via Bluetooth MIDI, using SongBook+ to send MIDI commands. The controller boots correctly, but it does not appear in the tablet's Bluetooth device list. Does this alpha firmware support Bluetooth MIDI in Peripheral/Server mode? If so, how can I enable it without reflashing the firmware? Thank you for your help! |
|
Hi! First of all, thank you very much for your time, your help, and your willingness to support me with this project. I really appreciate it. We have made good progress so far, and I would really like to continue rather than stop now, as I feel we are getting close to making everything work. I have successfully installed My Teclast Android tablet now connects successfully to the controller via Bluetooth, and SongBook Pro recognizes The Bluetooth connection remains active, but the MIDI command does not seem to have the expected effect. Could you please let me know whether this alpha build supports receiving Program Change messages from SongBook Pro on Android in Peripheral mode, or whether there is a known issue or a specific setting I should check? I would be very happy to continue testing and help identify the problem. I hope we can get it working, as I believe we are quite close. Thank you again for your patience and support! |
|
Hi! Thank you for your help so far. I would like to explain the issues we are experiencing and clarify the final setup we are trying to achieve. Hardware and firmware
1. SongBook Pro Bluetooth MIDI preset changes The Waveshare controller starts correctly, and the tablet can connect to its Bluetooth device, We configured Bluetooth mode as Peripheral, enabled the MIDI functionality in SongBook Pro, and selected We then created a Program Change event in SongBook Pro and tested it using the Test button. We tried Program Change 0 and Program Change 1 on MIDI Channel 1, but the TONEX ONE preset did not change. Following your suggestion, we checked the MIDI channel configuration in the web interface. The channel was set to 1. The available values start at 1, so channel 0 cannot be selected. We then tried setting the controller's MIDI Channel to 2, but Program Change 1 on Channel 1 still did not change the preset. We have not enabled MIDI CC because we are currently testing Program Change. Wired MIDI remains disabled. Could the issue be related to the Bluetooth MIDI message format sent by SongBook Pro 26.0.2, or to the way this alpha firmware handles Bluetooth MIDI messages? Is there a particular MIDI channel or Program Change numbering convention we should use with this build? 2. Using the M-VAVE Chocolate at the same time Our final goal is to use SongBook Pro to select presets when we open a song, while also using the Chocolate foot controller to change presets during a song. We understand that Bluetooth Client/Central mode is used to connect to the Chocolate, whereas Peripheral mode allows the Android tablet to connect to the controller. We are unsure whether this firmware can receive MIDI from SongBook Pro and the Chocolate simultaneously. Is simultaneous operation supported by the current P4 alpha firmware? If not, is there a recommended configuration or connection method that would allow both functions to work? 3. Recommended next step Before changing more settings or flashing another firmware build, could you please recommend the most useful diagnostic test for the Program Change problem? We appreciate your work and do not want to ask you to repeat tests unnecessarily. We would simply like to establish whether the current build supports our intended setup and, if possible, get both SongBook Pro and the Chocolate working with the TONEX ONE. Thank you again for your time and for developing this project. |
|
Hi! Thank you again for your help and for offering to test the Bluetooth MIDI combination. I'm currently waiting for the equipment I've ordered to complete the connections and carry out the tests properly. At the moment, I can only power the Waveshare from my computer, so I cannot connect the TONEX ONE at the same time. With the current setup, swiping left or right on the touchscreen does not change the presets on the TONEX ONE. These are the presets that were loaded during the firmware installation. The USB-C cable I'm currently using is the same one I used to flash the firmware, so I believe it supports data transfer, although I haven't yet been able to verify the complete setup with the TONEX ONE connected. My ideal setup would be to dedicate the Waveshare's Bluetooth connection exclusively to SongBook Pro on my Teclast tablet, while exploring whether a USB hub could allow me to connect both the TONEX ONE and the M-VAVE Chocolate. Having everything working together this way would be the complete solution for my project. While waiting for the remaining equipment to arrive — including the 9V power supply, cables, jack sockets and other connectors — I'm working on designing and 3D-printing the enclosure for the pedalboard. As soon as I have everything connected, I'll carry out the tests you suggested and let you know the results. Thank you again for your time, support and for developing this project. I really appreciate it! |
|
Thank you for the information. Everything looks OK there. I think the best thing here is that I write some more code that can show more detailed information on screen (special for debug.) |
|
Thank you very much for your time, your patience, and all the work you are putting into this project. I really appreciate your commitment to investigating this issue and developing additional debugging tools to help us understand what is happening. Hopefully, we will soon get everything working successfully! If we manage to achieve the desired result, I would be very happy to help put together a clear, step-by-step guide documenting the entire process and the configurations that worked. I believe this could be very useful to other guitar enthusiasts who would like to use the TONEX ONE, Chocolate pedal, SongBook Pro and Waveshare display together. It would be a pleasure to share our experience and help other musicians benefit from your excellent work. Thanks again for your dedication and for making this project possible! |
|
Salve! Ho effettuato diversi test prima di fornirvi il mio riscontro. Attualmente sto utilizzando la versione di debug che mi avete inviato ieri. Purtroppo, l'ultima build inviata in seguito non è stato possibile scaricarla, poiché il link al file ZIP restituiva l'errore "Not Found". Ecco i risultati dei miei test: Configurazione iniziale:
Sul display appare:
Successivamente, collego il Chocolate: Quando accendo il Chocolate, il suo LED lampeggia, ma non avviene la connessione. Sul display non compare la scritta Se scollego e ricollego fisicamente il cavo USB — a volte è necessario ripetere l'operazione più volte, accendendo e spegnendo il Chocolate — alla fine appare il messaggio Una volta visualizzato questo messaggio, tutto funziona correttamente: sia SongBook Pro che il Chocolate sono in grado di controllare il TONEX ONE. Ho eseguito ulteriori prove: Senza scollegare il cavo USB, ho provato a utilizzare esclusivamente l'interruttore di accensione del Chocolate. A volte la connessione avviene immediatamente; altre volte, invece, devo accendere e spegnere il dispositivo più volte prima che compaia Di conseguenza, la connessione USB MIDI risulta intermittente e dipende dalla sequenza di avvio o da tentativi ripetuti. La mia domanda è: perché il Chocolate non si connette in modo affidabile quando lo accendo, specialmente se SongBook Pro è già collegato? Ho registrato un video che mostra questo comportamento: Spero che questo possa aiutarvi a individuare il problema. Grazie per il vostro supporto! |
|
Hi! First of all, I want to thank you very much for your outstanding work, your patience and all the time you are dedicating to this project. I truly appreciate your commitment and your continuous efforts to help me solve these issues. I have now assembled my pedalboard and I can say that everything is working very well overall! There are still two issues, however:
Once the display shows I have recorded a video showing the behaviour with my assembled pedalboard: If you can fix these two remaining bugs — completely eliminating the Chocolate's Bluetooth connection and making its USB MIDI connection reliable — the result will be absolutely perfect! Thank you again for your incredible work. Your dedication and support are truly appreciated. I am very happy with the progress we have made, and I hope we are now very close to the final solution. Best regards! |
|
Hi. I will need a little more time to work out the next steps. I will try to do exactly as you do in the video, and see if I can see the issues. |
|
Thank you for the update. I will still work on making the USB devices detected properly. |
|
I have added an icon on screen for the Midi USB device. I am starting to see some issues like you where the Chocolate pedal is not always detected. I am debugging that now, then will give you a new build. |
|
Please try this one. I fixed some bugs in the ESP USB component. For me this now works reliably. |
|
Hi Greg, I just wanted to thank you again for all your help, support, and dedication to this project. I really appreciate the time and effort you have put into it. I've made a video about the project and would be very happy if you could take a look! Here's the link: Thanks again, Greg! Best regards |













Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am planning to build a controller based on your TonexOneController project and I would like to ask if the following configuration is technically possible.
Hardware:
What I would like to achieve:
SongBook+ sends MIDI Program Change messages via Bluetooth MIDI to the ESP32-S3.
The ESP32-S3 receives these MIDI commands and changes the TONEX ONE preset accordingly.
At the same time, the M-VAVE Chocolate remains connected via Bluetooth MIDI to the same ESP32-S3.
The Chocolate can be used to manually change presets during the performance.
SongBook+ can also send MIDI commands at specific times during a song, for example:
The 4.3" display would show the current song/preset and possibly the next preset.
I understand that the current project supports Bluetooth Client mode for the Chocolate and Bluetooth Server mode for a tablet/phone, but that these two modes cannot currently be used simultaneously.
My main question is:
Could the firmware be modified so that the ESP32-S3 can simultaneously receive Bluetooth MIDI from both the M-VAVE Chocolate and an Android tablet running SongBook+?
If this is possible, would the existing TonexOneController architecture be suitable for implementing it?
I would be very interested in contributing/testing this configuration if needed.
Thank you for your work on this project.
All reactions