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
Joe
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.
Unless there's some context for this question that I'm not understanding, can't you just use the duration input to makenote?
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.
I ended up using wetterberg's solution, tho sprintf will also work
Thanks
Joe