Forums > MaxMSP

SCRIPTING AUDIO OBJECTS…..The old way arrrrrrrrrrrggggggggghhhhhhhhhhh

September 20, 2012 | 10:34 pm

Why does this work? none audio:
script newobject * %f, script class mult_%ld * %f, script offset mult_%ld %ld 50

AND THIS NOT? audio:

script newobject *~ %f, script class mult_%ld *~ %f, script offset mult_%ld %ld 50

Ecstasy lies in the true answer or….am I doomed to loneliness?


September 20, 2012 | 11:15 pm

maybe you could just use [script newobject newobj @text "*~"....] ?

(or is that not the ‘old way’ you’re referring to?)


September 20, 2012 | 11:33 pm

Looks like *~ is not happy with %f as an arg

script newobject *~ 1.

-A


September 20, 2012 | 11:43 pm

^Hey look! It’s everyone’s favorite Kiwi! :D

– Pasted Max Patch, click to expand. –

^what’s wrong with doing it that way?

Wheeeeeeeee!


October 7, 2012 | 10:46 pm

Thanks guys. I didn’t get notifications of your posts but appreciate your help. sorted. p


Viewing 5 posts - 1 through 5 (of 5 total)