Giter VIP home page Giter VIP logo

Comments (5)

copych avatar copych commented on August 24, 2024

@hugoescalpelo default settings for Hairless are 115200, no flow control. It's in the "Getting started" section of the page you supplied. Also turn all debugging off.

from aciduino.

midilab avatar midilab commented on August 24, 2024

Which are the baud, data bits, parity and stop bits of USB-MIDI in Aciduino V2?

For ESP32 family devices, there is native USB/MIDI support available for those that have TynUSB out-of-the-box support. However, Looks like your ESP32 does not have native support, you'll need to use a Hairless bridge, which it seems you are currently attempting to do.

The Aciduino V2 initializes the MIDI interface to be used as a real MIDI port, based on the Arduino MIDI library, in the file 1_uctrl.ino, line 28 on last git commit:

... #else MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI1); ...

So in this case you need to make sure the usb port of your ESP32 is Serial1, otherwise just change to the correct one.

After confirming the correct Serial port, you'll need to change the baud rate, which is automatically set by the MIDI library to 31250 (MIDI Standard definition), to match the one you intend to use on your computer. If you are working with Hairless, you can set it to 115200.

To do this, add the following line to the very end of your setup() function in the AciduinoV2.ino file:

Serial1.begin(115200);

Make sure Serial1 is the one on usb port side of your ESP32, otherwise change it accordly, and make sure that you're adding this line to the very end of setup() call on file AciduinoV2.ino.

Hope it helps! let me know!

from aciduino.

hugoescalpelo avatar hugoescalpelo commented on August 24, 2024

It worked!

Sorry for the delay, executive disfunction attacked. I just tried adding the Serial.begin(115200); at release commit b7aa2ee (sep 4) and it worked. Hairless MIDI does not send any more errors :D

I will try to connect to Ableton Live and then with commit daa7b40, I think that's the one you mentioned. I'll keep you posted.

Do you want yo see my circuit? I hope you like it: link

Thank You!

from aciduino.

midilab avatar midilab commented on August 24, 2024

Looks great! any songs or jams made on this one?

from aciduino.

hugoescalpelo avatar hugoescalpelo commented on August 24, 2024

Yes! I have this demonstration!!

https://www.instagram.com/reel/C0nAs_hujp8/?utm_source=ig_web_copy_link&igshid=MzRlODBiNWFlZA==

from aciduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.