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
my [js] object is missing outlets...?
-
jaschanarveson
- Posts: 11
- Joined: Thu Apr 16, 2015 11:23 pm
-
stringtapper
- Posts: 6321
- Joined: Sat Aug 28, 2004 6:21 pm
Re: my [js] object is missing outlets...?
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
Re: my [js] object is missing outlets...?
This was the fault when i had a similar problem...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?
Cheers
D
-
jaschanarveson
- Posts: 11
- Joined: Thu Apr 16, 2015 11:23 pm
Re: my [js] object is missing outlets...?
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
cheers,
j