Back to index   NoteWorthy Composer Scriptorium
NWC2 Scripts


Clef Change
Author: Bryan Creer. Comments to noteworthy.nwcbeta newsgroup or The NoteWorthy Forum.
Download: v1.01 21/01/09
(Rightclick and Save Target As... to your NWC2 Scripts folder as kbsc_clef_change.php)
Briefly: Change the clef of a staff and adjust the note positions to sound the same.
Usage: php scripts\kbsc_clef_change.php "/clef= <PROMPT: Select Clef:=|help|Treble|Bass|Alto|Tenor|Percussion|>" "/octave=<PROMPT:Select Octave Shift:=|None|Octave Up|Octave Down|>"
Note - make sure that the above is copied as one line
Parameters:
clef
New clef - Treble, Bass, Alto, Tenor, Percussion
octave
New octave shift - None, Octave Up, Octave Down
Additional Help :
Invocation Instructions   This is a pdf document
Comments: Changing the clef symbol in the normal way leaves the note positions unchanged and hence changes their values
This User Tool changes the clef and adjusts the note positions to keep the same pitch values.
It can be applied to the whole of a staff or a selected portion which must contain a clef.
Processing is carried out from the first clef found to the end of the selection, end of staff or next clef whichever comes first
History: 1.01 Improvements to code as suggested by Rick G and Lawrie Pardy


If you have any problems with this site, please e-mail