I wrote a "quick and dirty" to change each pair of 8ths to a quarter-eighth triplet while leaving code to create an 8th,Dotted 16th in comments in the following. It should be possible to come up with any ratio between 1st note and 2nd note in duration (60/40 or 70/30) in either way by doing some number crunching to determine what hidden tempo marking goes before each note in a set.
Copy the following into a text editor and save it with a name such as jazzfy.htm . You will need to open it with your browser and keep NWC open at the same time since clipboard data is shared by both.
<html>
<head>
<title>Jazzify Eighth Notes</title>
<script language="JavaScript">
function calculate() {
var i, OutText = "", measNum=0, txtSuffix, txtFirst;
var lines = new Array(), result = new Array();
lines = document.nwcform.OutputField.value.split("\n");
for (i=1; i < lines.length; i++) {
if ((lines[i].indexOf("|Dur:8th|") > 0) && (lines[i+1].indexOf("|Dur:8th|") > 0)) {
lines[i] = lines[i].replace("|Dur:8th|","|Dur:4th,Triplet=First|") //Initially these three lines are live code
lines[i+1] = lines[i+1].replace("|Dur:8th|","|Dur:8th,Triplet=End|")
i++; }
/*
lines[i] = lines[i].replace("|Dur:8th|","|Dur:8th,Dotted|") // These three lines are commented out
lines[i+1] = lines[i+1].replace("|Dur:8th|","|Dur:16th|") // but can be made live by moving the /* and its bookend to the first set
i++; }
*/
}
for (i = 0; i < lines.length; i++) {
OutText += lines[i];
if ((i + 1) < lines.length)
OutText += "\n";
}
document.nwcform.OutputField.value = OutText; //Replaces original data with what was created in OutText
document.nwcform.OutputField.select(); //Output is pre-selected, just Cntl/C to put on clipboard
}
</script>
</head>
<body>
To use this procedure <b>Save your file first</b> then,
cut to the clipboard the eighth notes you want to jazzify and paste it in the textarea. Click <b>Read</b>.
Cut from this webpage and paste back into your NWC song.<br><br>
Use Alt/tab to switch between your browser and NWC so you won't lose your cursor location in NWC.
<form name="nwcform" onSubmit="calculate();return false;">
<table width="782" height="350">
<tr>
<td colspan="4" width="1000" height="24">
<b><big>Jazzify Eighth Notes</big></b>
</td>
<td height="27" width="100"><input type="button" id="bClick2" value="Read" onclick="calculate()"></td>
</tr>
<tr>
<td colspan=5 width="1044" height="200">
<textarea name="OutputField" rows="32" cols="120"></textarea></td></tr>
</table>
</form>
<br>
Copy the above to your clipboard (it's pre-selected) and paste it into a song you have already open in <b>NoteWorthy Composer</b>.
</body>
</html>