So...Live doesn't send MIDI note off?

Discuss music production with Ableton Live.
Macrostructure
Posts: 665
Joined: Wed Dec 22, 2004 2:51 pm

So...Live doesn't send MIDI note off?

Post by Macrostructure » Tue Aug 23, 2011 9:53 pm

...or I am just being thick?

ark
Posts: 1389
Joined: Thu Feb 26, 2009 4:25 pm
Location: New Jersey, USA
Contact:

Re: So...Live doesn't send MIDI note off?

Post by ark » Tue Aug 23, 2011 10:25 pm

Why do you think it doesn't? How would it be able to control the length of a note if it didn't?

Macrostructure
Posts: 665
Joined: Wed Dec 22, 2004 2:51 pm

Re: So...Live doesn't send MIDI note off?

Post by Macrostructure » Wed Aug 24, 2011 6:43 am

If you map, for example,a send to a midi note generated on a track and play the note the send flicks to full on, but if you only play the last half of the note the send control does not return to zero, in fact nothing happens. I would have expected the note off at the end of the note to do return the send to zero.

To answer your question, it would be possible for a midi note to contain a on command and a duration to convey the note info, instead of a note off at the end. In fact this offers some operational advantages in terms of look ahead, but I dont know if this is ever done or indeed supported in the protocol.

8O
Posts: 5502
Joined: Fri Mar 28, 2008 9:29 am
Location: Berlin

Re: So...Live doesn't send MIDI note off?

Post by 8O » Wed Aug 24, 2011 6:53 am

I assume it just sends a Note On with velocity = 0 to indicate end of note...?
Image

luddy
Posts: 791
Joined: Sat Aug 08, 2009 3:36 am
Location: Beijing
Contact:

Re: So...Live doesn't send MIDI note off?

Post by luddy » Wed Aug 24, 2011 7:30 am

Macrostructure wrote:it would be possible for a midi note to contain a on command and a duration to convey the note info, instead of a note off at the end. In fact this offers some operational advantages in terms of look ahead, but I dont know if this is ever done or indeed supported in the protocol.
It's tricky to build a keyboard that knows in advance how long you are going to hold a note. :lol:

-Luddy

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

Re: So...Live doesn't send MIDI note off?

Post by chapelier fou » Wed Aug 24, 2011 8:00 am

It's just how midi works, a note is held until the 0 velocity is sent.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

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

Re: So...Live doesn't send MIDI note off?

Post by chapelier fou » Wed Aug 24, 2011 8:03 am

Macrostructure wrote:If you map, for example,a send to a midi note generated on a track and play the note the send flicks to full on, but if you only play the last half of the note the send control does not return to zero, in fact nothing happens. I would have expected the note off at the end of the note to do return the send to zero.
ha you mean you'd like a momentary mode for midi mapping with notes ? Okay sorry, i don't think it's possible, i think it's only toggle, but let me check.
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: So...Live doesn't send MIDI note off?

Post by broc » Wed Aug 24, 2011 8:24 am

chapelier fou wrote:It's just how midi works, a note is held until the 0 velocity is sent.
Actually it's a bit more complicated. The midi standard provides 2 different kinds of note off messages.

1. Note on with velocity 0

2. "True" note off message with some value > 0 for release velocity

In my experience, Live usually sends "true" note off messages with velocity 64.
Maybe this leads to unexpected behavior in some situations.

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

Re: So...Live doesn't send MIDI note off?

Post by chapelier fou » Wed Aug 24, 2011 8:52 am

broc wrote:
chapelier fou wrote:It's just how midi works, a note is held until the 0 velocity is sent.
Actually it's a bit more complicated. The midi standard provides 2 different kinds of note off messages.

1. Note on with velocity 0

2. "True" note off message with some value > 0 for release velocity

In my experience, Live usually sends "true" note off messages with velocity 64.
Maybe this leads to unexpected behavior in some situations.
Uh ! Gonna look at this. You learn everyday ! thanks
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

crumhorn
Posts: 2503
Joined: Fri Sep 26, 2008 6:04 pm

Re: So...Live doesn't send MIDI note off?

Post by crumhorn » Wed Aug 24, 2011 9:17 am

I don't think you can send a note off without first sending a note on message. When you start the clip half way through a note Live knows it has not sent the note on so it won't bother to send a note off.

<geeky>
The reason for using a note on with velocity 0 instead of a note off is because of a concept called "running status" which is designed to reduce the volume of MIDI data. The first byte of every MIDI message is called the status byte, it says which type of message it is and which channel it belongs to. If you send a lot of messages of the same type all at once (like moving a mod wheel or something) then you only need to send the status byte with the first message. Basically you only need to send a status byte when the message type is not the same as the previous message sent on the interface.

But it doesn't work very well with note data because of the tendency for note on and note off messages to alternate. By using a note on with velocity zero instead of a note off you can take advantage of running status compression.
</geeky>
"The banjo is the perfect instrument for the antisocial."

(Allow me to plug my guitar scale visualiser thingy - www.fretlearner.com)

8O
Posts: 5502
Joined: Fri Mar 28, 2008 9:29 am
Location: Berlin

Re: So...Live doesn't send MIDI note off?

Post by 8O » Wed Aug 24, 2011 10:34 am

broc wrote:In my experience, Live usually sends "true" note off messages with velocity 64.
Maybe this leads to unexpected behavior in some situations.
Yup...

Image

Now... where did I see that velocity=0 signal? hmmm...
Image

Macrostructure
Posts: 665
Joined: Wed Dec 22, 2004 2:51 pm

Re: So...Live doesn't send MIDI note off?

Post by Macrostructure » Wed Aug 24, 2011 10:35 am

luddy wrote:
Macrostructure wrote:it would be possible for a midi note to contain a on command and a duration to convey the note info, instead of a note off at the end. In fact this offers some operational advantages in terms of look ahead, but I dont know if this is ever done or indeed supported in the protocol.
It's tricky to build a keyboard that knows in advance how long you are going to hold a note. :lol:

-Luddy
I'm not talking about keyboards, I am talking about midi note data written in Live.

doghouse
Posts: 1502
Joined: Fri Aug 29, 2008 5:30 pm

Re: So...Live doesn't send MIDI note off?

Post by doghouse » Wed Aug 24, 2011 11:06 am

Macrostructure wrote:To answer your question, it would be possible for a midi note to contain a on command and a duration to convey the note info, instead of a note off at the end.
OK, how the hell can MIDI see into the future and know when a note will end? :roll:

Not to mention there is no room in the MIDI message to hold duration information :wink:

henke
Posts: 258
Joined: Fri Sep 11, 2009 7:36 am

Re: So...Live doesn't send MIDI note off?

Post by henke » Wed Aug 24, 2011 11:19 am

macrostructure is correct.
it _could_ be possible for the sequencer to send a note off message when a note end is reached, regardless if there was a note on before or not.

i guess this makes a good entry for the never ending wish list...

Robert

Piplodocus
Posts: 834
Joined: Sun Dec 30, 2007 9:48 pm
Location: Southampton, UK

Re: So...Live doesn't send MIDI note off?

Post by Piplodocus » Wed Aug 24, 2011 11:38 am

I do notice I get a fair few stuck notes sometimes. Maybe it's to do with me running clips that have a note on at the end, then run to a New clip with a note off in (if it doesn't send offs when it doesn't think it needs to). I shall investigate next time I have the hardware synth out...

Post Reply