key object only working when patch is selected

Learn about building and using Max for Live devices.
Post Reply
poof
Posts: 56
Joined: Sun Oct 10, 2010 8:34 pm

key object only working when patch is selected

Post by poof » Fri Oct 29, 2010 1:52 am

I have a key object whose first port connects to a select object with the ascii code for spacebar connected to a toggle, connected to another object that acts like a universal noteoff (along with abletons default stop). If i click out of the patch, or shift-tab over to the clip view it ceases to work. It seems like the only way for it to respond is if its visible and selected. Im not sure this is the sort of thing a tutorial can help me with, any thoughts?

zalo
Posts: 999
Joined: Sat Jun 27, 2009 9:10 pm

Re: key object only working when patch is selected

Post by zalo » Fri Oct 29, 2010 4:43 am

if you dont have aka.keyboard, its time to download it

----------begin_max5_patcher----------
543.3ocoUssbaBCD8Y7WACO65An9RReq82HSFOxVqsUMrhQZw0tYx+dEBIrr
C3RZeAg1qm8Hwg2lDkrQdFzIweK9k3nn2lDEYM0XHxsOJojcdaASaCKoDzZ1
dHYZqOBNSV6GgKwye1admDIjUBVWeWIXEw+PVv8tw5RYMU.jslYNqBtMb4le
9kE9HaCitTAsfLII90fdnE+15HKcVpybEi1dPf6WqfsTaRyyVZbGm8bdyx7L
6FiotRYvi.8vIuw16Slz7X5HYkBwIX1lZhjnG4mXpNFnG2+UJX0HnfJEnAjX
jPhAya97lIr8Y1B+yqY0CCk9jMr4ClSPmBA7MLWVWCTlIm.0Z.YaJfPeZ1If
ulQjRXHD35aZG8532FBrnFj67l81CKulfJadtC+65ccoiwj61kL0rfcT2sQd
tRhloyhyY8UqZTPZ5haT5KhRy8ggyuzvRVb1qW+YadO9DlNa97IfI6qB5CRE
8fqa2UxSBs3AUqTx8SS9pdQLCQo6ZWWW6qUERb+XgUSWeDKUHviM0R+HXK4C
NUBbmbPfJUbPMTl1S+ASUWA.uPXuqk151pd3W9jRIH7Kym+ePekcjMynwtQx
T7+IU1zOJwrL4yKk5zV9pUJcUqbwSCIklEL+1HL2Av6+eisKM1ukTzxZ0Vuj
mSPL9Ze3flDXmdzKc+2HHlCBNGvvguTvqjBjbPH90dOfFKhVLBDs7+.QlMuO
4OfcTRNr
-----------end_max5_patcher-----------

midi map the live button to a momentary button on a controller

connect the live button to whatever other function that you want the press to complete

poof
Posts: 56
Joined: Sun Oct 10, 2010 8:34 pm

Re: key object only working when patch is selected

Post by poof » Fri Oct 29, 2010 7:25 am

Thanks for the tip zalo, but those externals are mac only, doesnt do me much good.

Ive tried it with a key ableton doesnt use, b, and its still exhibiting the same behavior, so the problem isnt that ableton gets total control over a key, its that maxforlive doesnt work well with key triggers, which means that if your patch isnt completely automatic then your sol.

zalo
Posts: 999
Joined: Sat Jun 27, 2009 9:10 pm

Re: key object only working when patch is selected

Post by zalo » Fri Oct 29, 2010 5:32 pm

dont use key watching in your patch, use a live button and key map it, there are some windows versions of aka.keyboard

the reason i am suggesting this is because it seems like you are looking for a way for a button to stop/start live and send a universal note off

(which i thought ableton does anyway when you hit the space bar)

anyway, key watching the space bar wont work so if you midi map a momentary button (keyboard keys act as toggles always) to a live button that triggers a space bar press and a universal note off

you could also use the LOM to control the start stop

poof
Posts: 56
Joined: Sun Oct 10, 2010 8:34 pm

Re: key object only working when patch is selected

Post by poof » Sat Oct 30, 2010 1:34 am

zalo wrote:there are some windows versions of aka.keyboard

link? Google isnt of much help.

zalo
Posts: 999
Joined: Sat Jun 27, 2009 9:10 pm

Re: key object only working when patch is selected

Post by zalo » Sat Oct 30, 2010 3:30 am

poof wrote:
zalo wrote:there are some windows versions of aka.keyboard

link? Google isnt of much help.
sorry, misread the other forums, nothing is windows ready yet, you might want to look into the LOM or invest in Bomes

poof
Posts: 56
Joined: Sun Oct 10, 2010 8:34 pm

Re: key object only working when patch is selected

Post by poof » Sat Oct 30, 2010 8:09 pm

You mean LOM the gypsy ethnic group or LOM the town in northwestern bulgaria?

zalo
Posts: 999
Joined: Sat Jun 27, 2009 9:10 pm

Re: key object only working when patch is selected

Post by zalo » Sat Oct 30, 2010 9:12 pm

poof wrote:You mean LOM the gypsy ethnic group or LOM the town in northwestern bulgaria?
the Live Object Model

poof
Posts: 56
Joined: Sun Oct 10, 2010 8:34 pm

Re: key object only working when patch is selected

Post by poof » Sun Oct 31, 2010 6:38 am

Thanks!

Post Reply