problem creating newobject buffer~ js

Jack Montgomery's icon

Hi guys,

I've run into a problem with a project I'm currently working on. I want to create a series of buffers using js and name them (buffer1, buffer2 etc) . However, I've run into a problem during my first step, while the code I'm using works for toggles (I'm hacking this together from one of the Delicious tutorials so forgive me), if I try and change the object name to buffer~ it doesn't work. I get an error message "Does not understand buffer~".

Can anybody help a brother out? While I'm very familiar with the Max environment my coding skills...lack.

I've uploaded my code to the forum.

Cheers,

JM

Max Patch
Copy patch and select New From Clipboard in Max.

Jack Montgomery's icon

problem solved.

i'm a dunce.