1
Trying to enter some of Bartok's transcriptions, I came across this:
Slurs from grace notes go into either grace notes or non-grace notes.
Slurs from non-grace notes go into non-grace notes and not grace notes.
This can be demonstrated by:
!NoteWorthyComposerClip(2.0,Single)
|Note|Dur:8th,Slur|Pos:0
|Note|Dur:8th,Grace,Slur|Pos:0
|Note|Dur:8th,Grace,Slur|Pos:0
|Note|Dur:8th|Pos:0
!NoteWorthyComposerClip-End
I'm not sure how it should work.
The main workaround I've found involves layering:
First Staff:
!NoteWorthyComposerClip(2.0,Single)
|Note|Dur:8th,Slur|Pos:1
|Note|Dur:8th|Pos:1|Opts:Stem=Up,Muted|Visibility:Never
!NoteWorthyComposerClip-End
Second Staff:
!NoteWorthyComposerClip(2.0,Single)
|Rest|Dur:8th,Dotted|Visibility:Never
|Note|Dur:8th,Grace|Pos:1
!NoteWorthyComposerClip-End
Changing the value of the hidden rest changes the position of the grace note. This workaround obviously affects playback.
Any ideas?
4
This is a basic parser for the .nwctxt file format in the scripting language python.
#pyNWC-a .nwctxt syntax parser in python
#Created by forum user kahman.
#Use it however you please. Feel free to modify it, but please return all modifications to the forum.
#Known bugs:
# *Cannot import lyrics that have line-breaks in them.
def parsefile(_file):
"parse one file"""
_file=_file.split('\n') #split the file by line
for x in range(len(_file)): #for each remaining line,
_file[x]=parseline(_file[x]) #parse it seperately
while 1: #until error occurs
try:
_file.remove(None) #remove a None from the list
except ValueError: #if there is no None,
break #break
return _file
def parseline(line):
output=[]
if line=='': #if line is blank,
return None #destroy it
elif line[0]=='#': #or if it's a comment,
return None #destroy it
elif line[0]=='!': #or if it's start/end marker,
return None #destroy it
line=line.split('|') #split the line by |
output.append(line[1]) #set what object it is
output.append({})
for x in line[2:]: #then for each property/value
y=(x.split(':')) #split it into property and value
output[1][y[0]]=y[1] #and add these to the dictionary
return output
See the code for known bugs.
If you want to "translate" it into another computer language, feel free to do so. If you want to modify it, feel free to do so.
Basically, what it does is you can give it a line of code and it will process it by | and :, so |Note|Dur:4th|Pos:0 becomes the line of code ['Note', {'Dur': '4th', 'Pos': '0'}]
If anyone makes any modifications, post them here.
At some point, someone should write a converter to/from MXML...sigh.
Oh, and at some point, I'll work on a program to convert from this back to NWCTXT.
If you find a bug, please post it here.
6
In a piece I am working on, I am utilizing chords based of of 2nds a lot. In one where the two notes have different dynamic values (one is a dotted 4th, the other is a half), the dot for the dotted 4th note is placed across the half note.
Here is the offending chord:
|Chord|Dur:4th,Dotted|Pos:b-4o|Opts:Stem=Up|Dur2:Half|Pos2:b-5o|Color:0|Visibility:Default
8
A piece that I'm currently working on has this figure repeated:
!NoteWorthyComposerClip(2.0,Single)
|Chord|Dur:16th|Pos:n1|Opts:Stem=Up,Beam=First|Dur2:8th|Pos2:-5,-2
|Note|Dur:16th|Pos:#1|Opts:Stem=Up,Beam=End
!NoteWorthyComposerClip-End
If I beam it, the 16th notes at the top are beamed, and the 8th notes are unbeamed. I'm not sure if this is musically correct or if this is a bug.
10
In the NWC2 page setup box, there is a checkbox for "Extend Last System". That, however, simply adds a large amount of space to the end of the piece instead of stretching the last system. These instructions will show you how to extend the last system by stretching it.
1. In "Staff Properties", go to the "General" tab. Under "Ending Bar", choose "Open (Hidden)"
2. At the end of the first staff, go to Insert-Decorated Bar Line, or b. Choose whichever type of barline you like, and select "Force System Break" (Top Staff Only)
Or, you can use:
|Bar|Style:SectionClose|XBarCnt:N|SysBreak:Y|Color:0|Visibility:Default
There will be no line after, and the last line will be stretched.
15
In a piece I'm working on, I have some flutter-tounging in the flute part. I use Boxmarks for the the characters, but I can't figure out how to have the middle of the character in the staff.
The best I could get was Best Fit, which had it like so:
!NoteWorthyComposerClip(2.0,Single)
|Text|Text:"o"|Font:User1|Pos:2
|Note|Dur:Half,Dotted|Pos:6^|Opts:Muted
!NoteWorthyComposerClip-End
Is there a way that I can absolutely position it?
17
How do you make a Glissando in NWC2? I don't mean something like !NoteWorthyComposerClip(2.0,Single)
|Note|Dur:64th|Pos:6|Opts:Stem=Up,Beam=First
|Note|Dur:64th|Pos:5|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:4|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:3|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:2|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:1|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:0|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-1|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-2|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-3|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-4|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-5|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-6|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-7|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-8|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-9|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-10|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-11|Opts:Stem=Up,Beam
|Note|Dur:64th|Pos:-12|Opts:Stem=Up,Beam=End
!NoteWorthyComposerClip-End
, I mean the written diagonal tilde with the gliss.
19
I've found an annoyance that occurs when you have a triplet at any time. You select 3 notes that can be barred, and you click triplet (or press ctrl-t) and it just triplets them, like so:
!NoteWorthyComposerClip(2.0,Single)
|Note|Dur:8th,Triplet=First|Pos:0
|Note|Dur:8th,Triplet|Pos:0
|Note|Dur:8th,Triplet=End|Pos:0
!NoteWorthyComposerClip-End
If you want them to be barred (which happened automatically in v1.75b) you have to click barr (or press ctrl-b) to get them barred like the following:
!NoteWorthyComposerClip(2.0,Single)
|Note|Dur:8th,Triplet=First|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:8th,Triplet|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th,Triplet=End|Pos:0|Opts:Stem=Down,Beam=End
!NoteWorthyComposerClip-End
Is it because it's easier to program? Is it a bug? Is it a feature?
20
I have a notated trill which is notated as the following:
|Text|Text:"tr~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"|Font:StaffItalic|Pos:7|Wide:N|Justify:Left|Placement:BestFit|Color:0|Visibility:Default
I have a triple repeat, and whenever I scroll to the right, it magically extends into the second ending, but when I scroll past that a bit, it goes back to where it should be.