[jmsl] Max instrument dimension names

jmsl at music.columbia.edu jmsl at music.columbia.edu
Sat Sep 13 12:19:16 EDT 2008


Aaah, thanks so much Nick. I was starting to lose my mind!

I'm assuming then that I can just add my custom dimensions from 5+,  
then let the built-in translator figure out the name->index mapping...  
Yes?

J.


On 13-Sep-08, at 9:16 AM, jmsl at music.columbia.edu wrote:

> Hello J
>
> Yes you can add custom dimensions to MaxInstruments, try this:
>
> myMaxInstrument.getDimensionNamespace().setDimensionName(5, "wiggle");
> myMaxInstrument.getDimensionNamespace().setLimits(5, 0, 3);
> myMaxInstrument.getDimensionNamespace().setDefault(5, 0);
> Remember to leave dimension 4 as it is alrteady defined in  
> MaxDimensionNameSpace ("eventflag")... so you should only add custom  
> dimensions from 5 on up
>
> Thanks
> Nick Didkovsky
>
> jmsl at music.columbia.edu wrote:
>> Hi All,
>>
>> I can't figure out how I'm supposed to set my Max Instrument's  
>> dimension names?? I have a custom namespace for the basic  
>> MusicShape I'm using, and I obviously need Max to understand that  
>> namespace, and use its formatting. But I can't see any direct way  
>> to other than SetDimensionNameSpace(), which appears to only take  
>> an existing DimensionNameSpace... If I could take that from my  
>> MusicShape directly, I'd be fine, but MusicShape only has a  
>> dimensionNames() method, not a "getDimensionNameSpace()" method...
>>
>> Needless to say, I'm confused.
>>
>> J.
>>
>> _______________________________________________
>> jmsl mailing list
>> jmsl at music.columbia.edu
>> http://music.columbia.edu/mailman/listinfo/jmsl
> _______________________________________________
> jmsl mailing list
> jmsl at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/jmsl



More information about the jmsl mailing list