makenote with variable note length?

Jan 9, 2012 at 12:53am

makenote with variable note length?

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

Thanks much in advance


Jan 9, 2012 at 1:18am

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.

Jan 9, 2012 at 6:51am


Jan 9, 2012 at 7:09am

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. –
Jan 9, 2012 at 8:10am

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.

Jan 9, 2012 at 8:16am

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




You must be logged in to reply to this topic.