my [js] object is missing outlets...?

Learn about building and using Max for Live devices.
Post Reply
jaschanarveson
Posts: 11
Joined: Thu Apr 16, 2015 11:23 pm

my [js] object is missing outlets...?

Post by jaschanarveson » Wed Nov 04, 2015 3:14 pm

I have a js object in a M4L device which is *had* 4 outlets until I started working on it – now it has only 1.

The code still specifies 4 outlets with "outlets = 4;" up at the top, but three of them have just gone missing.

I’ve tried quitting-and-restarting a couple of times, I've verified that the .js file is where it should be, and that the M4L device is in the same directory as its .js file - all seems well, but my outlets are still missing.

Advice?

– jascha

MacBook Pro mid-2010 | OSX 10.10.5 | Ableton Live 9.2.2 | Max 7.0.6

stringtapper
Posts: 6321
Joined: Sat Aug 28, 2004 6:21 pm

Re: my [js] object is missing outlets...?

Post by stringtapper » Wed Nov 04, 2015 5:40 pm

Just a shot in the dark here because I haven't worked with [js] objects but could you perhaps have more than one copy of the object in your search path?
Unsound Designer

S4racen
Posts: 5987
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: my [js] object is missing outlets...?

Post by S4racen » Wed Nov 04, 2015 7:36 pm

stringtapper wrote:Just a shot in the dark here because I haven't worked with [js] objects but could you perhaps have more than one copy of the object in your search path?
This was the fault when i had a similar problem...

Cheers
D

jaschanarveson
Posts: 11
Joined: Thu Apr 16, 2015 11:23 pm

Re: my [js] object is missing outlets...?

Post by jaschanarveson » Thu Nov 05, 2015 12:09 pm

Ok, mea culpa: it was a very small syntax error in my js code that I just wasn't seeing at the time, breaking the program and the object. Totally my fault, I'm glad to say!

cheers,

j

Post Reply