|
NWC2 Scripts |
|
Tripletise |
|
| Author: |
Andrew Purdam. Mods (rests) by Gennaro Granito. Comments to noteworthy.nwcbeta newsgroup. |
| Download: |
v1.1.1
2/12/04
(Rightclick and Save Target As... to your NWC2 Scripts folder as tripletise.php) |
| Briefly: | Convert messy looking imported triplets to normal NWC triplet notation. |
| Usage: | php tripletise.php <t> <r1> <r2> <r3>... |
| Parameters: |
|
| Additional Help : |
|
| Comments: |
I chose to use this generic format to provide greater flexibility for
differing import granularity and differing triplet types. Examples of
common triplet imports are: d16 d16 16 (eighth note triplets imported on default settings) 16 32 32 (16th notes triplets imported on default settings) d8 16t d16 8t 32 (quarter notes, imported on default settings) d8 16t 16 d8 (quarter notes imported on 16th notes granularity) 16 8 16 (eighth note triplet imported on 16th note granularity) As a check, tripletise adds these together to ensure that they make double the <t> parameter eg tripletise.php 8 16 8 16 means convert 16+8+16 into triplets of eighth notes, which total a quarter. |
| History: | 1.1.1 Added handling of no notes selected in input stream |
|
|
|
| If you have any problems with this site, please e-mail | |