Skip to main content

Topic: User function to play grace notes before the beat. (Read 49 times) previous topic - next topic

User function to play grace notes before the beat.
There are no prompts or parms in this new function.  Remove ".txt" from its name when you download it.  Installation instructions are on the first few lines.

Replaced attachment
  • Last Edit: 2017-10-12 11:19 am by Warren Porter
Since 1998

Re: User function to play grace notes before the beat.
Reply #1
Line 28 of your script is:
Quote
var NoteLengths = [ "Whole", "Half", "4th", "8th", "16th", "32nd", "64th", "128th", "256th", "512th", "1028th" ]
Shouldn't the final string be "1024th" ?

(Actually I did not think that NWC could create notes or rests shorter than 64th, but perhaps you were just "future proofing" your script.)

Re: User function to play grace notes before the beat.
Reply #2
Must have been thinking about the cube of 12 rather than 2^10.  I don't know the reason, but at the time it made sense that the 64th was not the last item in the array from the script I copied it from.
Since 1998