kslider limitations?

Sep 19, 2013 at 6:20am

kslider limitations?

Hi all,

I’m using kslider as a gui object to display scales. However everytime i try to write the message [chord $1 80 $2 80 $3 80 $4 80 $5 80 $6 80 $7 80 $8 80 $9 80 $10 80 \$11 80 \$12 80]

Max automatically adds in a \ before $11 and $12, thus these wont show up. Have i hit ksliders limit of inputs?

Whats a work around?

Yes each scale has only 7 notes, however, I’ve had to place each note in sequential order form the root for my chords gui’s to show up in the right positions. EG: for C major: [chord 60 80 0 80 62 80 0 80 65 80 ETC....]

Any ideas?

#265717
Sep 19, 2013 at 8:25am

$n only works with n from 1 to 9. You could do something like this:

<code>

– Pasted Max Patch, click to expand. –

</code>

#265730
Sep 20, 2013 at 7:16am

This comes up so often, it bears underscoring (EJ said the basic thing, but the extent may be easy to overlook).

It’s not a kslider limit. It’s a general limit to anywhere you want to write $-digit or #-digit. The clue is in the word “digit.” I’m not sure that this is still the exact wording in the Max documentation, but it certainly used to be, even in places where the cutoff of $9/#9 is not explicitly mentioned.

Thing is, “$10″ isn’t dollar-sign-followed-by-a-digit. It’s two digits. That won’t work.

#265798

You must be logged in to reply to this topic.