Looper's Delight Archive Top (Search)
Date Index
Thread Index
Author Index
Looper's Delight Home
Mailing List Info

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Date Index][Thread Index][Author Index]

Re: OT(?): utility to map Midi Note to PC messages?



Hi Zoe -

Maybe MIDIPipe will work for you:
http://www.versiontracker.com/dyn/moreinfo/mac/16154

Among other things, you can trigger applescripts that can interact  
with System Events. applescript can introduce some latency, but not  
too bad on intel macs :-)

Below I've included an example of a script to trigger events in Live.

Cheers,
Craig

--------------------------------------------

-- convert midi notes into Live compatible keyboard strokes, created  
by dbudde
on runme(message)
        tell application "System Events"
                tell process "Live"
                        set frontmost to true
                end tell
                
                -- Space bar - play stop toggle (note = 0)
                if (item 1 of message = 176) and (item 2 of message = 79) 
then tell  
process "Live"
                        keystroke space
                end tell
                
                -- Clip record/play (control change = 70)
                if (item 1 of message = 176) and (item 2 of message = 70) 
and (item  
3 of message = 127) then tell process "Live"
                        keystroke return
                end tell
                
                -- Clip play/next/record (control change = 70 off)
                if (item 1 of message = 176) and (item 2 of message = 70) 
and (item  
3 of message = 0) then tell process "Live"
                        keystroke return
                        keystroke «data utxt001D» -- right
                        keystroke return
                end tell
                
                -- clip left (note = 2)
                if (item 1 of message = 144) and (item 2 of message = 2) 
and (item  
3 of message > 0) then tell process "Live"
                        keystroke «data utxt001C» -- left
                end tell
                
                -- clip down (note = 3)
                if (item 1 of message = 144) and (item 2 of message = 3) 
and (item  
3 of message > 0) then tell process "Live"
                        keystroke «data utxt001F» -- down
                end tell
                
                -- clip right (note = 4)
                if (item 1 of message = 144) and (item 2 of message = 4) 
and (item  
3 of message > 0) then tell process "Live"
                        keystroke «data utxt001D» -- right
                end tell
                
                -- clip delete (note = 6)
                if (item 1 of message = 144) and (item 2 of message = 6) 
and (item  
3 of message > 0) then tell process "Live"
                        keystroke "h" using control down -- delete
                end tell
                
                -- undo (note = 7)
                if (item 1 of message = 144) and (item 2 of message = 7) 
and (item  
3 of message > 0) then tell process "Live"
                        keystroke "z" using command down
                end tell
                
                -- clip up (note = 8)
                if (item 1 of message = 144) and (item 2 of message = 8) 
and (item  
3 of message > 0) then tell process "Live"
                        keystroke «data utxt001E» -- up
                end tell
                
                -- Reset (note = 9)
                if (item 1 of message = 144) and (item 2 of message = 9) 
and (item  
3 of message > 0) then tell process "Live"
                        keystroke "a" using command down -- select all
                        keystroke "h" using control down -- delete all
                        keystroke «data utxt001C» -- go to top-leftmost 
clip
                end tell
                
        end tell
end runme

On Sep 29, 2006, at 11:31 AM, Zoe Keating wrote:

> WAAHHH WWIINDOOWSSSS NNNOOOO!!!
>
> Whoa, sorry there, I was overcome, and Per and Fabio thanks for  
> your thoughtful responses!
>
> I have a desktop Mac with Windows installed that I use for QA  
> testing (non-music related). I just can't stand it.
>
> There's GOT to be another way (I like Bernard's suggestion of a Max  
> patch). But I'll keep this in mind though for a last resort.
>
> I've got to go to lie down, my heart rate went right up...
>
>
>
> On Sep 29, 2006, at 2:40 AM, Per Boysen wrote:
>
>> Yes, I agree with Fabio - although Zoe didn't tell what system  
>> she's running on that intel mac. Bome is cool if you first buy a  
>> Windows XP license and install it in a partition of its own (not  
>> "shared" because that's too louse for use in real-time audio  
>> work). If my memory serves me right here, Zoe, you are also using  
>> Ableton Live and that license will let you install either on OSX  
>> or Windows XP. Ableton looks and works almost the same, so if Bome  
>> is a need XP wold be a cool audio system for you (then you may  
>> also poke around in Mobius if you like...). Did you look around at  
>> http://www.bigbluelounge.com - it's an OSX audio forum with many  
>> knowledgeable Mac audio nerds.
>>
>> Speaking OSX, I'm afraid I don't know about any such gadgets (MIDI  
>> note --> MIDI program change) yet converted for the intel  
>> processors. I was using Control Aid for Mac - http://www.charlie- 
>> roberts.com/ - but I see no message on Charlie's page that it  
>> should be UB compatible by now. This means the application will  
>> have to use the bad (for audio) workaround utility Rosetta to fit  
>> in with the intel processor OSX box. And Rosetta has proven way to  
>> lazy for real-time audio processing.
>>
>> per
>>
>>
>> On 29 sep 2006, at 11.23, Fabio Anile wrote:
>>
>>> Sorry,  that's the right link: http://www.bome.com/midi/translator/
>>>
>>> Fabio
>>> http://xoomer.alice.it/eterogeneo
>>>
>>>
>>> ----- Original Message ----- From: "Zoe Keating"  
>>> <cello@zoekeating.com>
>>> To: <Loopers-Delight@loopers-delight.com>
>>> Sent: Friday, September 29, 2006 1:41 AM
>>> Subject: OT(?): utility to map Midi Note to PC messages?
>>>
>>>
>>>> Hi loopers,
>>>> Anyone know of a good software utility for mapping midi notes to  
>>>> pc  messages? To run on an intel mac....
>>>> thank ye! Zoe
>>>>
>>>
>>
>