Makenote not working with plugsync~
Jan 15 2021 | 7:22 am
Hey, I am trying to create a M4L patch that takes a midi note and outputs a very short (10ms) midi note whenever it starts or ends. I want the patch to create a small note when Ableton playback stops, so i created a plugsync~ device that sends pitch and velocity info to a makenote object, which gets packed and then goes into midiformat, then to midi out. Makenote works when the note starts and ends, but it does not create a note when playback is stopped in the middle of a sustained midi note. Here is my patch:
- Jan 15 2021 | 9:14 amSimplify the midi flow, and you will see the solution. I am taking it that you want playback stop to trigger last received midi noteCheck 2 repeat modes in makenote help file to choose right one for your needs
- Jan 18 2021 | 12:37 amThanks for providing that picture. In the original post, I meant to say that I want to activate the makenote object when playback stops in the middle of a midi note, which was not happening. I can already make makenotes activate at the beginning and ends of midi notes, but no midi notes are generated when I stop Live in the middle of the duration of a midi note in a clip.ALSOI isolated just the plugsync~ part of the patch, so that when I stop live it activates the makenote object, and all that happens is a faintly audible pop sound, and no indication of midi even being sent. I removed the change object, and then a million midi notes exploded endlessly into the midi piano I was using.
- Jan 18 2021 | 8:05 amchange object must remain there. Then, the picture I posted must remain exactly as is, if you try to modify something, without knowing what that causes, than it probably won't work. I mean that velocity argument must remain there as only pitch is being sent to makenote.Another thing is that Live is not allways doing what one thinks it should, it could also be that one can't trust that transport stop, which might cause CPU or whatever spikes, would not mess midi output ... I don't use Live at all, In my eyes it is a toy, but the patch above if copied as is should work. You could try to insert something like pipe or delay which in Max world would lift the message to higher priority , but I have no idea if Live would take any notice of that.
- Jan 18 2021 | 8:40 amHonestly, yeah Live is pretty OK at best. I wanna switch to Bitwig at some point, it's just more practical and not as overly contended. But thanks for your help. I did copy your patch exactly and it did not work, so I will try the objects you suggested, and then if that doesn't work I am literally going to use the Monome Teletype to fix this issue. Thanks again.
- Jan 18 2021 | 8:48 amYou are welcome, here is what I meant, you could try few miliseconds instead of 0 in delCould it be that live would not allow sending of repeated note On without it being turned Off first ? Now that comes back from the memory - Live sends note Off before resending note On. Maybe that is your problem, timing of notes. I would try to capture Midi Output to verify that
- Jan 18 2021 | 12:31 pmHi, so everything works great, except I only want the makenote to be created when playback stops AND the playhead is in the middle of a midi note. How it's setup currently, a note plays whenever I stop playback anywhere, even if a MIDI note was not playing. After trying a billion other ways to do this myself to no avail, I a feeling kind of stuck. If you could help me with this last part of the problem, that would be much appreciated. Thanks.
- Jan 18 2021 | 1:09 pmTo make sure - you want transport stop to make a short note only for notes currently held, right ? Or is it only to avoid hanging notes ? How about polyphony ? I don't know what Live does to held notes when transport stops - turns them off ? check this :bag is used here to keep only held notes when transport stops it first bangs into bag to dump any currently stored notes, and clears it
- Jan 18 2021 | 10:08 pmI tried the patch, and it didn't work. It just played the MIDI note like it usually would without any M4L stuff. This seems so simple to do, it's like it's forbidden knowledge. I noticed the bang object works exactly how I would want this patch to when it it gets note on / off data. It bangs whenever you stop the midi note, and it bangs whenever it starts or ends. I just can't get this into MIDI notes.
- Jan 19 2021 | 7:01 amNvm I used the Eurorack to fix this issue. Thanks for your help again.
- Jan 19 2021 | 8:27 amI have asked someone to check what live does when transport stops - it turns all currently held notes off. And it does it before plugsync~ reports it. Which means that bag gets emptied before transport stop executes bang. You would have to delay midi input to bag. If you want to use such stuff in the future, you must find out about this things.this patch is verified to work, only delay time in pipe - currently 20 maybe needs to be adjusted, it could depend on CPU load and other ongoings in live.
- Jan 20 2021 | 8:17 amWorks great with the rest of the patch added, and I learned some cool Max objects along the way! I appreciate you taking time to help me achieve this, thank you.
- Jan 20 2021 | 9:25 amyou are welcome, glad it worked at the end. Usually Max object are predictable, but Live is unknown land for me.