XML Feeds

.

[maxmsp] Bad curve~ arguments

volker böhm vboehm at gmx.ch
Sat Oct 20 03:47:29 MDT 2007


On 20 Oct 2007, at 08:41, Adam wrote:

>
> I'm running into some sort of type casting error with the curve~  
> object. I'm building a message like "100, 200 50 0.5" through a  
> series of calculations and prepends / appends, but when I finally  
> pass it over to curve~ it spits back an error. If I print the same  
> message and paste the result into a message box and use that on  
> curve~, it works. I'm guessing the message is being treated as one  
> big symbol instead of a list of arguments? Any quick fix?
>

hm,  "100, 200 50 0.5" is not one message but actually two, separated  
by a comma.
shot in the dark: check the message box helpfile and read about max  
and commas,
or post a patch, so we can have a look at where things might go wrong.

it's a little tricky to generate messages with commas in max. but  
it's easy to avoid.
"100, 200 50 0.5" is the same as "100 0 0 200 50 0.5"

vb




More information about the maxmsp mailing list