Skip to content

Setting custom Baud Rate #261

Answered by lathoub
luizjanela asked this question in Q&A
Jan 10, 2022 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Hi @luizjanela

I believe the MEGA defaults to using Serial1 and not serial as in your 2 example above (see #65).
Try replacing MIDI_CREATE_DEFAULT_INSTANCE(); with MIDI_CREATE_INSTANCE(HardwareSerial, Serial, MIDI);

When going Hairless, please consider:

/*! Override the default MIDI baudrate to transmit over USB serial, to
a decoding program such as Hairless MIDI (set baudrate to 115200)\n
http://projectgus.github.io/hairless-midiserial/

As for the a custom BaudRate, you need to override the DefaultSerialSettings in SerialMIDI.h

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@lathoub
Comment options

@lathoub
Comment options

@lathoub
Comment options

@lathoub
Comment options

Answer selected by franky47
Comment options

You must be logged in to vote
1 reply
@luizjanela
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants