Forums > MaxMSP

makenote with variable note length?

January 9, 2012 | 12:53 am

How could I do this? append n would leave a space between the N and the input, no?

Thanks much in advance

Joe


January 9, 2012 | 1:18 am

if you’re referring to the list of note-values going in from the menu, those are the only values accepted.
I’d simply control that list with integers coming in.


January 9, 2012 | 6:51 am

   


January 9, 2012 | 7:09 am

Unless there’s some context for this question that I’m not understanding, can’t you just use the duration input to makenote?

– Pasted Max Patch, click to expand. –

January 9, 2012 | 8:10 am

chris, I’m fairly certain OP is talking about the duration input – he wants to append n’s to get "4n" "8n" etc. And while that might be enticing, it won’t work for "7n" et al.

That’s where I recommend simply controlling the menu that’s already in the help file with all the properly formed durations.


January 9, 2012 | 8:16 am

I ended up using wetterberg’s solution, tho sprintf will also work

Thanks

Joe


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