MODIFYPART

From MusiCAD

MODIFYPART is a template function you can use in a layout template to apply a part modification.

Syntax:

  MODIFYPART( ID );

You can choose edits from:

C → A Transposition from sounding to A instruments (A clarinet)
C → Bb Transposition from Sounding to Bb Instruments (Bb Clarinet, Trumpet)
C → Eb Transposition from sounding to A instruments (Eb clarinet, alto saxophone)
C → F Transposition from sounding to F instruments (alto recorder, sopranino)
Bb → A Transpose from Bb instruments to A instruments
Bb → C Transpose from Bb instruments to C instruments (piano, violin)
Bb → Eb Transposition from Bb Instruments to Eb Instruments
Eb → A Transposition from Eb Instruments to A Instruments
Eb → C Transposition from Eb Instruments to Sounding
Eb → Bb Transposition from Eb Instruments to Bb Instruments
A → C Transposition from A instruments to C instruments (sounding)
A → Bb Transpose from A instruments to Bb instruments
A → Eb Transpose from A instruments to Eb instruments
F → C Transpose from F Instruments to C Instruments
Treble → Alto Change treble clef to treble clef
Treble → Tenor Change treble clef to tenor clef
Treble → Bass Change treble clef to bass clef
Alto → Treble Change alto clef to treble clef
Alto → Tenor Change alto clef to tenor clef
Alto → Bass Change alto clef to bass clef
Tenor → Treble Change tenor clef to treble clef
Tenor → Alto Change tenor clef to alto clef
Tenor → Bass Change tenor clef to bass clef
Bass → Treble Change bass clef to treble clef
Bass → Alto Change bass clef to alto clef
Bass → Tenor Change bass clef to tenor clef
Remove-EnharmonicExchange Remove all enharmonic exchange from the part
Remove-Shift Remove all manual shifts from the part
Remove-ManualClustering Remove all manual note clusterings from the part
Remove-Combinotes Remove all secondary notes from the part
Remove-Graces Remove all decorations from the part
Remove-Bindings Remove all ties from the part
Remove-Whitespaces Remove all hard whitespace from the part
Remove-Signs Remove all signs (Segno/Coda/etc) from the part
Remove-Hardpages Remove all page breaks from the part
Remove-HardBarlines Remove all hard line breaks from the part
Remove-ReduceRests2 Reduce short rests to half notes whenever possible
Remove-ReduceRests4 Reduce short rests to quarter notes whenever possible
Remove-ReduceRests8 Reduce short rests to eighth notes whenever possible
Remove-Dynamics Remove dynamics from the part
Remove-Colors Remove explicit color-changes from the part
Remove-Tempo Remove tempo changes from the part
Remove Chords Remove chord symbols from the part
Remove-Text-All Remove all lyrics from the part
Remove-Text-Lyrics-All Remove lyrics from the part
Remove-Text-Lyrics-1 Remove lyrics-1 from the part
Remove-Text-Lyrics-2 Remove lyrics-2 from the part
Remove-Text-Lyrics-3 Remove lyrics-3 from the part
Remove-Text-Lyrics-4 Remove lyrics-4 from the part
Remove-Text-Info-All Remove all musical cues from the part
Remove-Text-Info-1 Remove Musical Clues-1 from the part
Remove-Text-Info-2 Remove Musical Clues-2 from the part
Remove-Text-Info-3 Remove Musical Clues-3 from the part
1 → 2 Make all note durations twice as long
2 → 1 Make all note durations twice as short
2 → 3 Make all note durations one and a half times longer (punctuation)
3 → 2 Shorten all note durations by a third (triplets)
+24 Increase by two octaves
+12 Increase by an octave
-24 Lower by two octaves
-12 Lower by an octave
RecombineRests Take rests together whenever possible
ExpandMultiRests Replace multirest with regular rests
RemoveLowvoice Remove lowest part in two part part
RemoveHighvoice Remove highest part in two-part part

The name in the first column (ID) can be used in layout templates with the function MODIFYPART( ID );

Examples

The template that splits a two-part part looks like this:

 SETPART( sVoicename, UpperVoice );
 ADDPART( COPY1 );
 SETPART( sVoicename, LowerVoice );
 MODIFYPART( RemoveHighvoice}} );
 SELECTPART( sVoicename, UpperVoice );
 MODIFYPART( RemoveLowvoice );