Skip to content

DIN MIDI AND BLE MIDI use at the same time #310

Closed
@vamix2012

Description

@vamix2012

Discussed in #309

Originally posted by vamix2012 November 23, 2022
I use the MIDI Library with my midi controller and I am using esp32, I tried hard to achieve
DIN MIDI OUT and BLE MIDI OUT at the same time,
One is working and the second one is not, can you guide me please maybe I understood something wrong, is that even possible?

I tried to use this

MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, SERIAL_MIDI_OUTPUT);
BLEMIDI_CREATE_INSTANCE("Midi Fun", MIDI);

on the setup....

  MIDI.begin(MIDI_CHANNEL_OMNI);
  SERIAL_MIDI_OUTPUT.begin(MIDI_CHANNEL_OMNI);

and then used it in the code like this

    MIDI.sendControlChange(CC_Expression, expression, 3);
SERIAL_MIDI_OUTPUT.sendControlChange(CC_Expression, expression, 3);

The BLE works well but the serial midi is not outputting anything

can you please help me with that? maybe is something simple, I am stuck on this.

Thanks in advance
Cristian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions