Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - Warren Porter

101
General Discussion / Re: Beaming compound-time
I manually make a Noteworthy file comprising a minim then a crotchet, in a 6:8 time signature. This should strictly be shown as a dotted crotchet tied to a following quaver at the same pitch, then the crotchet, but I do it wrongly by hand. Then I export it as a MIDI file. NOTE THAT this will comprise only the time signature and note lengths and pitches. No direct beaming information will be contained in the MIDI file.
When I import the MIDI file again, using 'detect compound time'  where appropriate, Noteworthy still shows it as a minim plus a crotchet. This is fundamentally wrong.
Obviously I can edit the file and correct it by hand, but then I could have written the music score with a quill if I had wanted; doing it automatically is why I bought Noteworthy.
Importing other files from other sources demonstrates the same problem.

Could you attach a short file (or appropriate NWCTXT) to a forum post that messes up like you described. Please explain what you do/did to it and where the problem occurs. If there are other note-length combinations the NWC doesn't handle properly, please include them in that test file.  By the way, does it beam a number of quavers correctly?

I can take a shot at it along with others who have replied, but it helps to have real data with which to test.

Nwc Page
102
General Discussion / Re: Very Sad news.
His help was immeasurable, teaching me how to use JavaScript in NWC functions. His encouragement, knowledge of NWC, and useful shortcuts will be missed by all.

Pacem.
103
General Discussion / Christmas humor.
I saw this in a Music Humor group--the copyright notice gave the right to share, so I swapped out the lyrics. Don't know how to not play the refrain in verses 2 and 3 though.
105
General Discussion / Re: Is the NWC Viewer/Player available as a webpage
This is my viewer mode playback of a recent file I contributed to nwc-scriptorium.org.

Son of the Puszta

My problem is that I can't get all the notes to display when the measure is close to the right edge. Is there any trick to force NWC or NWV to advance the screen before getting to the last measure or advancing in the middle? Is it possible to convert it to another notation system that has this problem under control?  TIA

Edit: problem first popped up in bar 21.
107
General Discussion / Re: MPC
If the instrument is not percussion like a piano, this user tool can change volume and velocity on every note, allowing one note to crescendo, not just the next note will be louder. dynamic.js
108
General Discussion / Re: Text under music
Welcome to the Forums!
NWC does not have the ability to change the font for different verses of a song. You could insert a 2nd verse as text, however.  Once you select the font, size, and bold/italic, those will be the default for later text.  Leave a verse (or every other verse) blank to have room for your inserted text. Edited: Insert text for each measure after the bar line--you will need to experiment to get each word/syllable to line up.

Bienvenue sur les Forums!
NWC n'a pas la possibilité de changer la police des différents couplets d'une chanson. Vous pouvez cependant insérer un deuxième verset sous forme de texte. Une fois que vous avez sélectionné la police, la taille et le gras / italique, ceux-ci seront les valeurs par défaut pour le texte ultérieur. Laissez un verset (ou tous les autres versets) vide pour avoir de la place pour votre texte inséré.
Modifié: insérez du texte pour chaque mesure après la barre de mesure - vous devrez expérimenter pour aligner chaque mot / syllabe.
109
General Discussion / Re: Is the NWC Viewer/Player available as a webpage
Then I tried the top pick: https://www.flashbackrecorder.com/express
This is the one that I am going to stick with. I will have to edit in my video editing software, which is fine. The mouse can be highlighted in various colours, and it follows all the windows changes I make with no issue. And the express version is free.
Many thanks! Just tried it with a short file: Tallis3.mp4 I just had to remember the shortcut key for how to stop it.
110
General Discussion / Re: Converting common time to 12/8
Is this what you need?
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Bar
|Note|Dur:4th,Dotted|Pos:0
|Note|Dur:4th,Dotted|Pos:0
|Note|Dur:4th|Pos:0
|Note|Dur:8th|Pos:0
|Note|Dur:4th|Pos:0
|Note|Dur:8th|Pos:0^
|Bar
|Note|Dur:8th|Pos:0
|Note|Dur:4th|Pos:0
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End
|Note|Dur:4th|Pos:0
|Note|Dur:8th|Pos:0^
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th|Pos:0|Opts:Stem=Down,Beam=End
|Bar
!NoteWorthyComposerClip-End
Since you want everything converted to 12/8, just use the "Played (hidden) staff" option.
Triplets.htm
113
General Discussion / Is the NWC Viewer/Player available as a webpage
Quite a few years ago there was a NWC page that played the Mendelssohn Violin Concerto without the need for the user to have any NWC product installed. Is there anything like that now and, if so, how would it be directed to play the specified .nwc file?

TIA

This is how it looks on another system: score.
116
General Discussion / Re: Auto-Fill Empty Measures?
I have a pair of tools that may help NWC Tools.

  • Resting Staff takes a staff you have copied from another part and turns them into whole measure rests.
  • Multi Measure Rests converts a string of whole measure rests into an MMR or backs it out.

The MMR tool also has the options of hiding the rests and boundary collapse.
119
General Discussion / Re: 10000
Looking forward, when will 100000 be? Assuming roughly similar traffic (i.e., NWC is not going viral), some 9 times 24 = 216 years in the future, i.e., by year 2236, give or take a few (decades? centuries?).
I had hoped to find a specific date somewhere in the old posts, but there was nothing. I got the same thing Wed Apr 20 2236 06:41:57 GMT-0500 (Central Daylight Time) using MidPoint.htm.
123
User Tools / Re: Updating User tools
User tools are not part of a NWC file, they are used in composing/transcribing to help with repetitive tasks. If a tool has been updated, you would need to download it, renaming the existing tool (e.g., append ".bak")  and copy it into where an existing tool was.
127
General Discussion / Re: tempo track examples
This will definitely save time. I've been putting a lot of duplicate information in all the staves. How important is it for this tempo stave to be just one line? It it's going to be invisible, and layered, does it matter?
The ONLY thing that will show will be tempo indications and rehearsal symbols. My example from my user tip contains five lines.
You might want to install my Multi Measure Rest script from wjporter.com/nwc on the tempo track and select "Layer Hide". The MMRs from the tempo track won't appear and won't interfere when an instrument has an MMR.
130
Tips & Tricks / Guidelines for posting in Tips & Tricks
If you have a useful technique, script, function, or object  to share with other NWC users, this is the place to post it.  If you want to know "How do I ..." please put it in the General Discussion section.
TIA
134
General Discussion / Flow problem
In transcribing a minuet, the Trio consists of two repeated sections. The first part repeats with no problem but the second part goes da capo after only playing once.
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.751)
|Editor|ActiveStaff:1|CaretIndex:1|CaretPos:0
|SongInfo|Title:"Eine Kleine Nachtmusik K. 525 2 - Romanze"|Author:"Mozart"|Lyricist:""|Copyright1:""|Copyright2:""|Comments:"Transcription: Warren Porter"
|PgSetup|StaffSize:18|Zoom:4|TitlePage:Y|JustifyVertically:Y|PrintSystemSepMark:N|ExtendLastSystem:N|DurationPadding:Y|PageNumbers:1|StaffLabels:First System|BarNumbers:Boxed|StartingBar:0
|Font|Style:StaffItalic|Typeface:"Times New Roman"|Size:11.45|Bold:Y|Italic:Y|CharSet:0
|Font|Style:StaffBold|Typeface:"Times New Roman"|Size:8.18|Bold:Y|Italic:N|CharSet:0
|Font|Style:StaffLyric|Typeface:"Times New Roman"|Size:8.18|Bold:N|Italic:N|CharSet:0
|Font|Style:PageTitleText|Typeface:"Times New Roman"|Size:24|Bold:Y|Italic:N|CharSet:0
|Font|Style:PageText|Typeface:"Times New Roman"|Size:12|Bold:N|Italic:N|CharSet:0
|Font|Style:PageSmallText|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|Font|Style:User1|Typeface:"AR DECODE"|Size:72|Bold:N|Italic:N|CharSet:1
|Font|Style:User2|Typeface:"Times New Roman"|Size:5|Bold:N|Italic:N|CharSet:0
|Font|Style:User3|Typeface:"Times New Roman"|Size:5|Bold:N|Italic:N|CharSet:0
|Font|Style:User4|Typeface:"Times New Roman"|Size:5|Bold:N|Italic:N|CharSet:0
|Font|Style:User5|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|Font|Style:User6|Typeface:"Times New Roman"|Size:8|Bold:N|Italic:N|CharSet:0
|PgMargins|Left:2.54|Top:2.54|Right:2.54|Bottom:2.54|Mirror:N
|AddStaff|Name:"Conductor"|Group:"Standard"
|StaffProperties|EndingBar:Master Repeat Close|Visible:Y|BoundaryTop:10|BoundaryBottom:10|Lines:1|WithNextStaff:Layer|Color:Default
|StaffProperties|Muted:N|Volume:127|StereoPan:64|Device:0|Channel:6
|StaffInstrument|Trans:0|DynVel:10,30,45,60,75,92,108,127
|TimeSig|Signature:3/4
|Spacer|Width:125
|Tempo|Tempo:168|Text:"Allegretto"|Pos:10.5
|Rest|Dur:4th|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Bar|Style:MasterRepeatClose|XBarCnt:Y
|Bar|Style:MasterRepeatOpen|XBarCnt:Y
|Rest|Dur:4th|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Flow|Style:Fine|Pos:-8|Wide:Y
|Bar|Style:MasterRepeatClose|XBarCnt:Y
|Bar|Style:MasterRepeatOpen|XBarCnt:Y
|Text|Text:"Trio"|Font:PageTitleText|Pos:10.5
|Rest|Dur:4th|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Bar|Style:MasterRepeatClose|XBarCnt:Y
|Bar|Style:MasterRepeatOpen|XBarCnt:Y
|Rest|Dur:4th|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Whole|Visibility:Never
|Bar|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Flow|Style:DCalFine|Pos:-7|Wide:Y
!NoteWorthyComposer-End
How do I get the last section to repeat?
TIA
135
General Discussion / Reading staff symbols
I am working on a function looking for accidentals as text in StaffCueSymbols. Sometimes it is only one character, sometimes it is three high ASCII characters. When I used stdErr for debugging, I get a character looking like a lowercase m with something dragging to the right (see picture).  What is that character?  Is it possible to read and interpret the text for a special font?

In the following code saveText is the content of the quoted character(s) without spaces.
Code: [Select · Download]
	switch(saveText) {
case "e":
case "?":
case "∩üÑ":  //Natural
    saveAcc = "n";
break;
case "f":
case "∩üª":  //Flat
    saveAcc = "b";
break;
case "d":
case "∩üñ":  //Sharp
    saveAcc = "#";
break;
case "g":             // Double sharp
case "":
    saveAcc = "x";
break;
case "h":             // Double Flat
case "":
    saveAcc = "v";
break;
default:
    errMsg+= ti + "->" + saveText + "<- " + lines[i] + "\n";
    errMsg += "Couldn't find accidental in " + lines[ti], rc = 1; return lines; // change += to = when live
}
136
General Discussion / Re: Object for turns
I am starting to collect notes and looking at nwctxt to first find the turn symbol:

Code: [Select · Download]
|Text|Text:"&"|Font:StaffSymbols|Pos:8|Justify:Center|Placement:AtNextNote

However, the text either contained an empty box or three characters with the hex codes of ef 80 a6. The next line (a natural below the turn) contained hex: ef 81 a5 from StaffCueSymbols.  Is this something I need to test for or just change it when it happens?

Once the Text turn symbol is found, it should be straightforward to identify the turned note, the one before, the one after, and any accidentals to implement Rick's 2nd suggestion in post number 7.

TIA
137
General Discussion / Re: Object for turns
Rick:

My apology for using an example from something other than what I was working on. It had a note being tied into a turn and your example did an excellent job of using and implementing that. However, without that leading tie-in I am getting stumpped as to how to implement this. How can I create an 8th note B natural which will display only and be beamed to the previous G? My test so far is after the red bar line, all else is reference and your example.

TIA
138
General Discussion / Re: Object for turns
Many thanks! I've printed your example and am studying it. Hopefully I can automate its application in the near future, Eine Kleine has a bunch of them in the 2nd movement.
Again, thank you.
139
General Discussion / Re: Object for turns
Thank you, I'll be checking out BarLabel and getting a book on Lua.

Some of these may overlap, but I think these things would be needed by any programmer learning a new language.

  • What are the boiler plate items, things that must be in any nwc object?
  • Debugging tools: What can be used to display text and/or variables while working on it?
  • Communicating script failure with nwc and the user.
  • What part of the program receives control when it starts (probably included in 1.)?
  • How to add/modify things to be displayed?
  • How to add/modify what is played?
  • What must be included in the name of the script?

Thank you for looking at it.
140
General Discussion / Object for turns
I am trying to avoid adding a hidden/played staff to a 4 part piece I'm transcribing. The objects work well for trills and tremolos, but is there something to do turns?  If not, what is a good resource for writing objects in lua?

Attached is a short example.

TIA
142
General Discussion / Re: convert to/from MusicXML
I don't have experience with it, but in the upper right corner you can search the entire forum for "MusicXML"--there are several tips and tools listed in the search.
146
General Discussion / Re: Feature request: adding chord notes quickly by selecting name of the chord
(I am assuming that a user tool can determine the currently specified duration when it is run.)
You are correct. Anything with a duration will contain Dur: and it is simple to keep it intact when changing a note to a chord. On a note, Pos: will contain accidental, position (offset from center line), and tie--a chord will contain sets of these separated by (a) comma(s).  Just wish it came with tempo, time signature, key, and clef.

This is my attempt as building a chord: guitar.htm.  In the same folder doOctave.js changes a note to an octave chord.

I assume duration means half note, sixteenth note, etc., not that a note might play for 0.125 seconds.
148
General Discussion / Re: With a little help from my friends...
Quote
wscript Scripts\mmr.js <PROMPT:MMR?:=|Yes|Undo> <PROMPT:Options:=|HideAll|ShowAll|ShowBar|ShowRst|LayerHide>
Does "Scripts\xxx.js" work on other scripts? Mine looks like
Code: [Select · Download]
wscript "C:\Users\Porter Household\Documents\My Webs\javascript\mmr.js" <PROMPT:MMR?:=|Yes|Undo> <PROMPT:Options:=|HideAll|ShowAll|ShowBar|ShowRst|LayerHide>
Before adding that line, click Browse to find the file, put "wscript " at the beginning and the prompts at the end.  On mine, "wscript.exe" is in \Windows\System32.

HTH
149
General Discussion / Re: With a little help from my friends...
I put together a JavaScript tool to handle multi bar rests and collapsing staves a few years ago.  After downloading it (remember where it is), install a new tool (you will have to assign it a group and name) and browse to where you parked it. Put "wscript " before the path and, following a space, copy the two prompts from the 4th line of this script to the end of that line.

mmr.js