Befaco / MIDIThing2

MIDI Thing 2 Code
10 stars 0 forks source link

Hanging gate with MPC Live when playing chord with more notes than configured voices #40

Open jjobse opened 4 days ago

jjobse commented 4 days ago

Using an MPC live in pad perform mode if I send a chord to a single voice then the gate hangs indefinitely. The only way to get it to stop is to switch to a single note and play that by itself.

This seems to happen whenever you send a chord with more notes than are configured on the midi thing. For example if I play a 5note chord with 4voices configured it will cause the hang behavior.

I found I was able to replicate this 100% of the time on the MPC Live on a midi track within the Pad Perform screen.

xustafu commented 1 day ago

Gate behavior works that it only comes down (or trigers Release stage in ADSR) when a Note OFF arrives. So if chord is infinite and/or no note OFF are sent, gate will not come down. Get a MIDI monitor on your computer and check how Note OFF are sent when overlaping notes happen or you send long ones.

jjobse commented 13 hours ago

Hey there, no problem. I have attached my logs, a screenshot, and a video.

For this test I configured the midi thing v2 to have 1 voice and 1 gate attached to that voice. From the MPC I sent a 3-note chord which resulted in a hung gate.

I can see all of the midi messages are being sent as expected. However the midithingv2 is not responding accordingly. Maybe it has to do with the timing of the note off messages being too close to each other (.001 secs apart)?

Please let me know if there is anything else I can do to assist.

mpc_chord_midi.csv

midi_thing_v2_midi_snap

https://github.com/user-attachments/assets/fb7ac1e7-a61c-40c4-867f-bb428e83579e