Page 1 of 1
Life is too short - MaxMsp skills wanted
Posted: Fri Jul 30, 2010 10:40 am
by hungaristan
Hi,
I need a simple MIDI plugin, that does very similar things to a Kontakt script I developed earlier, but I'm afraid I'll have no time to learn MaxMsp. Basically it should remap incoming MIDI notes (used as remote commands) depending on the playback position in the session. Here's an example:
The incoming C4 Note should be remapped to D4 if the session is playing a verse and should be remapped to E4 if we're in the chorus. The verse/chorus distinction could be based on whether some specific clips (e.g. chords of the verse or bass clip of the chorus) are playing back or not.
Is it possible to fetch the playback state of clips and then set up conditional commands based on that value?
Re: Life is too short - MaxMsp skills wanted
Posted: Fri Jul 30, 2010 3:09 pm
by Surreal
http://www.ableton.com/schwarzonator
what you describe sounds like that. i think.
and it is VERY possible to check clip playback status. not quite trivial, but o so close to trivial. i actually think you could do it. but i will not argue that life is not 'too short'
Re: Life is too short - MaxMsp skills wanted
Posted: Fri Jul 30, 2010 8:00 pm
by Gregory Taylor
Anyone who would claim that life is too short to attempt to learn new things deserves compassion - patches may be another matter. The mileage varies on that one....

Re: Life is too short - MaxMsp skills wanted
Posted: Sat Jul 31, 2010 10:36 am
by hungaristan
Thanks, that sounds promising. So does it mean it's possible to create a plugin that does this:
The user can create an initial list of clips whose playback status will be evaluated (e.g. 3 clips (A, B and C) can be selected from a pulldown menu)
If a remote control note arrives, then
if clip A is playing then trigger clip P
if clip B is playing then trigger clip Q
if clip C is playing then trigger clip R
... and that's it.
Another important thing is that it should work for launching scenes as well.
------------
My views on how short life is has changed quite significantly in the last 46 years...
Re: Life is too short - MaxMsp skills wanted
Posted: Sat Jul 31, 2010 1:23 pm
by hungaristan
Here's another one:
I need to set up a remote command that instantly triggers the Next/Previous Scene. I discovered that Live's default launching tools can't handle this very easy task. (There's a more detailed description of what I tried in a separate thread:
http://forum.ableton.com/viewtopic.php?f=2&t=147122)
Can MaxForLive be a help in setting up two commands that
-detect the currently playing scene,
-select the next/previous one and
-instantly launch it?
Re: Life is too short - MaxMsp skills wanted
Posted: Sun Aug 01, 2010 4:32 am
by Surreal
that one is trickier if you are doing it from s strictly next/previous mindset
you can check for what scene is triggered, but not playing. this makes sense because the scene isn't really anything more than a row of slots. you could trigger specific scenes and simply have an int that you increment or decrement .... but that method wouldnt check the 'currently' playing scene.
Re: Life is too short - MaxMsp skills wanted
Posted: Sun Aug 01, 2010 8:54 am
by hungaristan
Surreal wrote:you can check for what scene is triggered, but not playing. this makes sense because the scene isn't really anything more than a row of slots.
I'm not sure I got this right, but I can set up a dummy clip for every scene that would never be triggered individually, only when the scene gets launched. The playing status of these clips would clearly indicate the currently playing scene. I hope that makes sense.
Surreal wrote:you could trigger specific scenes and simply have an int that you increment or decrement .... but that method wouldnt check the 'currently' playing scene.
If the action of incrementing/decrementing an int is linked to the last triggered scene, that would be just fine, because the scenes are launched instantly (all clips are set to a quantize value of None), so the last triggered scene is always the currently playing one, too.
Re: Life is too short - MaxMsp skills wanted
Posted: Mon Aug 02, 2010 8:22 pm
by Surreal
that does make sense and both are valid ways to do it. the upside of the dummy clip method would be that it would, in theory, be more dynamic. (i am leery of situations where mouse clicking the ui breaks the visual indicator on something else.)