NoteWorthy Composer Forum

Forums => Tips & Tricks => User Tools => Topic started by: Opagust on 2015-10-12 03:43 pm

Title: TransposeStaffs.og
Post by: Opagust on 2015-10-12 03:43 pm
This tool transposes the instruments (*) of all staffs up or down by the given number of semitones.
Exception: A staff with Channel = 10 will not be transposed.

(*) This involves:
 - adjusting the Staff Property Instrument Transposition value;
 - adjusting the transposition values of any instrument changes;
 - adjusting the StaffTranspose parameter of any Ottavamatic.ms objects.

See also :
Transpose a whole score (https://forum.noteworthycomposer.com/?topic=9235.msg66017;topicseen#msg66017)
Title: Re: TransposeStaffs.og
Post by: melismata on 2015-10-13 02:36 pm
I cannot get this to be seen/loaded into nwc.  All other lua scripts install and work fine and update regularly.  This one cannot be "seen" by nwc.  Am I doing something wrong ?
Title: Re: TransposeStaffs.og
Post by: Opagust on 2015-10-13 03:13 pm
I cannot get this to be seen/loaded into nwc.  All other lua scripts install and work fine and update regularly.  This one cannot be "seen" by nwc.  Am I doing something wrong ?
I don't know what you did, but this is what you should have done:
After downloading the file to your computer, start the NWC program and  open a NWC file. Then drag and drop the file over your NWC window and confirm.
Title: Re: TransposeStaffs.og
Post by: Rick G. on 2015-10-13 03:23 pm
I cannot get this to be seen/loaded into nwc.  All other lua scripts install and work fine and update regularly.  This one cannot be "seen" by nwc.  Am I doing something wrong ?
I think that you are assuming that TransposeStaffs.og is a User Object.
It is not.
TransposeStaffs.og is a User Tool.
Title: Re: TransposeStaffs.og
Post by: Flurmy on 2015-10-13 06:15 pm
As you can see it's not too easy to tell which is which.
For the occasional user it's almost impossible.

And the naming TransposeStaffs.og doesn't help either.
Often the user tools have names like adp_GlobalMod or nwsw_Unjazzify.
TransposeStaffs.og is formally reminiscent of a user object.
Title: Re: TransposeStaffs.og
Post by: Mike Shawaluk on 2015-10-13 06:50 pm
This user tool only adjusts the Staff Property Instrument Transposition value; it doesn't adjust the transposition values of any instrument changes within each staff. These changes would also be needed to keep the score sounding right.

Bonus change: if any of the staves contain Ottavamatic.ms objects, these objects need to have their StaffTranspose parameters updated by the same number of steps during a staff transpose.  Stated differently, the object's StaffTranspose parameter is generally set to the same value as the Staff Properties Instrument Transposition setting for the staff it is on.

Also, I agree with @Flurmy  about the file naming; including the NWC plugin ID in the filename will confuse some users into thinking it's a custom object.

Title: Re: TransposeStaffs.og
Post by: Opagust on 2015-10-14 07:43 am
This user tool only adjusts the Staff Property Instrument Transposition value; it doesn't adjust the transposition values of any instrument changes within each staff. These changes would also be needed to keep the score sounding right.

Bonus change: if any of the staves contain Ottavamatic.ms objects, these objects need to have their StaffTranspose parameters updated by the same number of steps during a staff transpose.  Stated differently, the object's StaffTranspose parameter is generally set to the same value as the Staff Properties Instrument Transposition setting for the staff it is on.

Also, I agree with @Flurmy  about the file naming; including the NWC plugin ID in the filename will confuse some users into thinking it's a custom object.
I included adjustments on Instrument Changes and Ottavamatic.ms objects and removed the '.og' in the file name.
Title: Re: TransposeStaffs.og
Post by: Flurmy on 2015-10-14 07:16 pm
Quote
removed the '.og' in the file name.
I'ld suggest to put "og_" at the beginning, i.e. og_TransposeStaffs.
As already stated, there is no official standard, but anyway...

Ehm... but, according to my vocabulary, the plural of "staff" should not be "staves"?
Title: Re: TransposeStaffs.og
Post by: David Palmquist on 2015-10-24 12:39 am
Ehm... but, according to my vocabulary, the plural of "staff" should not be "staves"?
In music both are correct, I think.  Usage seems to depend which side of the ocean(s) the writer comes from.