hathach / tinyusb

An open source cross-platform USB stack for embedded system

Home Page:https://www.tinyusb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MIDI Program Change broken in TinyUSB commit 42326428 (0.17.0 WIP) as used by the Pi Pico SDK 2.0.0?

xoblite opened this issue · comments

commented

Operating System

Others

Board

Raspberry Pi Pico 2 (RP2350)

Firmware

Pico SDK 2.0.0, which per its release notes includes TinyUSB commit 4232642 (0.17.0 WIP).

What happened ?

uint8_t midi_program_change[2] = { 0xc0 | channel, program};
tud_midi_stream_write(MIDI_cable, midi_program_change, 2);

This seems to change the program, but immediately after reverting back to program #0, possibly repeatedly (?) (i.e. getting stuck in some kind of loop doing so).

How to reproduce ?

See above.

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

See above.

Screenshots

No response

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.