ascii output to Live

Jun 11, 2007 at 9:17am

ascii output to Live

did a quick search, didnt find anything…
Noob here, really enjoying MAX… Basically im trying to use MAX to replace Bomes Midi Translator. So Max will be taking in a MIDI note or cc and send out an ascii character(s) to Ableton Live. Does anyone know how this could be done, or Could anyone point me in the direction of an object that can output ascii characters to Live. Thanks in advance…

#32405
Jun 11, 2007 at 10:49am

On 11 juin 07, at 11:17, !include wrote:

> did a quick search, didnt find anything…
> Noob here, really enjoying MAX… Basically im trying to use MAX to
> replace Bomes Midi Translator. So Max will be taking in a MIDI note or
> cc and send out an ascii character(s) to Ableton Live. Does anyone
> know how this could be done, or Could anyone point me in the direction
> of an object that can output ascii characters to Live. Thanks in
> advance…

On OSX, it is possible with Applescript, I recently did a small Max
patch to trig an “undo” in Live with a MIDI pedal:

osascript -e ‘tell application “”System Events”" to tell process “Live”
to keystroke “z” using {command down}’

But Bomes Midi Translator is for windows, so I suppose you want a
windows solution.

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://users.skynet.be/crfmw/max

#106518
Jun 11, 2007 at 11:01am

Hello Patrick,

May i kindly ask if you want to share this patch?

Best,
Chris

Patrick Delges schrieb:
>
> On 11 juin 07, at 11:17, !include wrote:
>
>> did a quick search, didnt find anything…
>> Noob here, really enjoying MAX… Basically im trying to use MAX to
>> replace Bomes Midi Translator. So Max will be taking in a MIDI note or
>> cc and send out an ascii character(s) to Ableton Live. Does anyone
>> know how this could be done, or Could anyone point me in the direction
>> of an object that can output ascii characters to Live. Thanks in
>> advance…
>
> On OSX, it is possible with Applescript, I recently did a small Max
> patch to trig an “undo” in Live with a MIDI pedal:
>
> osascript -e ‘tell application “”System Events”" to tell process “Live”
> to keystroke “z” using {command down}’
>
> But Bomes Midi Translator is for windows, so I suppose you want a
> windows solution.
>
>
> _____________________________
> Patrick Delges
>
> Centre de Recherches et de Formation Musicales de Wallonie asbl
> http://users.skynet.be/crfmw/max

#106519
Jun 11, 2007 at 12:54pm

Still the best thing seems to be to have Max send MIDI to your MIDI translator program. On Mac, I’ve been doing the same thing with OSCulator, but sending the data from Max via OSC. OSCulator then sends keystrokes to my choice of application. That is, until someone creates an object to send keystrokes to another app.

Tim

#106520
Jun 11, 2007 at 1:20pm

#106521
Jun 11, 2007 at 8:46pm

Patrick-

sorry if im not too MAX savy yet, but i tried copying your code into a max patcher and couldnt paste, im using the current max demo, on os x tiger. Im mostly using windows for audio these days, but id really like to switch over to OSX, maybe this will help me make the transition. Thanks for the assistane and the code.

#106522
Jun 12, 2007 at 7:38am

On 11 juin 07, at 22:46, !include wrote:

> sorry if im not too MAX savy yet, but i tried copying your code into a
> max patcher and couldnt paste, im using the current max demo, on os x
> tiger.

I just tried to paste the code I sent to this list, and it works for me.
You may try to paste in a text editor (TextWrangler for instance), save
and open the file in Max.

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://users.skynet.be/crfmw/max

#106523
Jun 12, 2007 at 9:53am

Quote: Patrick Delges wrote on Tue, 12 June 2007 01:38
—————————————————-
>
> On 11 juin 07, at 22:46, !include wrote:
>
> > sorry if im not too MAX savy yet, but i tried copying your code into a
> > max patcher and couldnt paste, im using the current max demo, on os x
> > tiger.
>
> I just tried to paste the code I sent to this list, and it works for me.
> You may try to paste in a text editor (TextWrangler for instance), save
> and open the file in Max.
>
> _____________________________
> Patrick Delges
>
> Centre de Recherches et de Formation Musicales de Wallonie asbl
> http://users.skynet.be/crfmw/max
>
>
—————————————————-

wierd, using camino max wouldnt take the code, switched over to safari and it works fine. thanks again.

Also, thanks to all the others who replied.

Peace,
Mike

#106524
Jan 15, 2014 at 7:23am

Hello,

There is no more link on this page to your patch, Patrick (post #106521 empty).
Could you please tell me if I can find it somewhere ? I would like to send keystrokes to applications, and it seems that your work do it. (I’m on OSX).

Thank you !

#278286
Jan 15, 2014 at 8:02am

A lot of posts disappeared form the forum… always the one you need :-)

I suppose this is what I posted:

<code>

– Pasted Max Patch, click to expand. –

</code>

You’ll need the shell object.

If you’re under X.9, maybe you’ll have to change some settings in the Security&Privacy/Privacy/Accessibility pref pane.
I strangely didn’t need to – maybe I found a security hole.
midiStroke can be if some use too.

#278291
Jan 16, 2014 at 1:45am

Thanks a lot Patrick !
That’s it.

Thanks for midistroke also :)

Actually what I’m trying to do is a “background” Max patch (combined to Mira), allowing me to make basic operations on my OS and on some software, such as “Zoom In/Out in Word” or in Max ; like a remote control for most commonly used software.

Works perfect for Word !

But for Max, I always have a quick “white blinking screen” when I press the “Zoom In” button in my patch : Zoom is made, then a blink (or blink before the zoom… :) anyway, what I want is made, with an extra blink. This blink is not there for Word).
Do you know why this blink appears, and if it is possible to remove it ?

Here is the code generating the blink.

Thanks !

#278348

You must be logged in to reply to this topic.