Live's master "stop button" causing weird bug in my device

Learn about building and using Max for Live devices.
Post Reply
cyclone975
Posts: 25
Joined: Sun May 31, 2015 7:22 am

Live's master "stop button" causing weird bug in my device

Post by cyclone975 » Mon Nov 16, 2015 12:31 am

Hey all,
I was wondering if anyone can shed some light on this bug in my MfL Device.

Essentially, when I hit the stop button, MIDI feeding through my device no longer triggers the release envelope of the instrument it is controlling, making everything sound short. The only way to repair this is to drag a new instance of my device into the chain, or sometimes I have to restart Live.

Does anyone know what exactly is going on when you hit the stop button at the top of Live in terms of Midi tracks and instruments?

It seems really strange and I haven't got a clue where to even begin troubleshooting.

I've noticed that the stop button has the power to abruptly end the release envelope of a Live instrument, so I'm wondering if the message Live is sending goes through my device when I hit "stop" and is getting hung up by my device and repeated thereafter for every note-off, or something. That's just my first intuition. The MIDI data looks identical before and after I hit stop, but the instrument behaves very differently until I essentially re-load my device or restart live, even while simply monitoring MIDI from a keyboard.

Any insight you can offer into this bug would be much, much appreciated!

chapelier fou
Posts: 6263
Joined: Mon May 15, 2006 12:15 pm

Re: Live's master "stop button" causing weird bug in my device

Post by chapelier fou » Mon Nov 16, 2015 7:39 am

As far as i know, when you hit stop, live sends a note off message for all notes on.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

cyclone975
Posts: 25
Joined: Sun May 31, 2015 7:22 am

Re: Live's master "stop button" causing weird bug in my device

Post by cyclone975 » Mon Nov 16, 2015 5:39 pm

If it was a simple note-off, it would trigger the release envelope of the instrument, but it actually cuts off the release envelope (i.e., all notes that are ringing are truncated). That's why I'm thinking it's something else.

chapelier fou
Posts: 6263
Joined: Mon May 15, 2006 12:15 pm

Re: Live's master "stop button" causing weird bug in my device

Post by chapelier fou » Mon Nov 16, 2015 7:21 pm

Well, it does the same with native devices, doesn't it ?
Try using the 'stop all clips' button instead.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Live's master "stop button" causing weird bug in my device

Post by broc » Mon Nov 16, 2015 7:26 pm

I've found that Live at stop sends an All-Notes-Off message (CC123).

cyclone975
Posts: 25
Joined: Sun May 31, 2015 7:22 am

Re: Live's master "stop button" causing weird bug in my device

Post by cyclone975 » Tue Nov 17, 2015 7:17 pm

I should also clarify that my device only processes MIDI, and the instruments I'm using are Live instruments.

Also, thanks, broc. I will check into the possibility that that CC message could break my device.

cyclone975
Posts: 25
Joined: Sun May 31, 2015 7:22 am

Re: Live's master "stop button" causing weird bug in my device

Post by cyclone975 » Thu Nov 19, 2015 8:10 am

broc wrote:I've found that Live at stop sends an All-Notes-Off message (CC123).
Broc, thank you so much!! This totally pointed me in the right direction. My patch does some super dumb MIDI routing stuff and the 176, 123, 0 message was getting stuck in the pipes and spewed out into every MIDI signal from there on. I unclogged them and the bug is gone. Yay, thanks everyone!

chapelier fou
Posts: 6263
Joined: Mon May 15, 2006 12:15 pm

Re: Live's master "stop button" causing weird bug in my device

Post by chapelier fou » Thu Nov 19, 2015 3:23 pm

nice
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

Post Reply