NoteWorthy Composer Forum

Forums => Tips & Tricks => Object Plugins => Topic started by: Mike Shawaluk on 2015-10-13 10:47 am

Title: Hairpin.ms (1.2)
Post by: Mike Shawaluk on 2015-10-13 10:47 am
This object draws a crescendo or decrescendo hairpin at a specified location on the score. The gaps at both
ends, line type and weight are user adjustable, as well as the horizontal and vertical positions of the end points.
This object is ornamental only, and does not affect playback.

Paste the following snippet into NWC 2.75, then go to Tools > Manage Objects to install the object.

Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|User|Hairpin.ms|Pos:-8.5|Span:5
|Note|Dur:4th|Pos:-6
|Note|Dur:4th|Pos:-5
|Note|Dur:4th|Pos:-4
|Note|Dur:4th|Pos:-3
|Note|Dur:4th|Pos:-2
!NoteWorthyComposerClip-End
For details on the object's parameters, refer to the context-sensitive help on object's properties page.
Title: Re: Hairpin.ms (1.1)
Post by: Mike Shawaluk on 2015-11-28 06:49 pm
The Hairpin.ms user object has been updated, with the following changes:


Mike
Title: Re: Hairpin.ms (1.1)
Post by: SEBC on 2020-06-17 03:44 pm
Hi Mike

I'm not convinced that my regular hairpins actually affect my playback. Perhaps I am not doing something correctly. By using a hidden dynamic, I move my hairpins up and down as needed. What other tricks could I learn from this plug-in of yours?

All the best,
SEBC
Title: Re: Hairpin.ms (1.1)
Post by: David Palmquist on 2020-06-17 11:01 pm
Regular hairpins will work on playback if you enter dynamics before and after them, hidden or not.
Title: Re: Hairpin.ms (1.1)
Post by: Mike Shawaluk on 2020-06-18 12:45 am
As stated at the top of the topic, Hairpin.ms is an ornament only, and has no effect on playback.  I created it as an alternative to the native hairpins, since it offers more control over the shape, line thickness and position. However, if you want to use Hairpin.ms in place of the native hairpins, you can insert "cresc." and "decresc." commands between dynamics, but make them invisible. (I'm not aware of a way to enter a native hairpin that is not visible, other than putting it on a hidden staff)
Title: Re: Hairpin.ms (1.1)
Post by: David Palmquist on 2020-06-19 01:24 am
As stated at the top of the topic, Hairpin.ms is an ornament only, and has no effect on playback.  I created it as an alternative to the native hairpins, ...
Sorry, Mike, I was writing about the native hairpin in response to SEBC.  I should have been clearer. 
Title: Re: Hairpin.ms (1.1)
Post by: SEBC on 2020-06-19 09:37 am
In what circumstances would I want something different than the native tool?
Title: Re: Hairpin.ms (1.1)
Post by: Richard Woodroffe on 2020-06-19 01:08 pm
In what circumstances would I want something different than the native tool?

There are many circumstances.

Here are a few.
You need to have the hairpin at a different vertical height to the last dynamic.
You need a hairpin  that is immediately after a dynamic not to collide with the dynamic.
You need a sloping hairpin.
You need to start a new hairpin (of the same direction), immediately after the last one - no gaps inbetween.
You need to have two different hairpins for different voices on an SATB or even the Grand staff.
 
There are probably a few more.

R.





Title: Re: Hairpin.ms (1.1)
Post by: hmmueller on 2020-06-19 02:59 pm
Can I have one additional feature? - namely an "opening gap": In older scores, long hairpins wrapping over line breaks would start on subsequent lines already somewhat open ... Yes, a rare thing, but seems simple, and would make for a complete feature.

H.M.
Title: Re: Hairpin.ms (1.1)
Post by: Mike Shawaluk on 2020-06-19 05:04 pm
The Hairpin.ms user object has been updated, with the following changes:


Mike

Title: Re: Hairpin.ms (1.2)
Post by: Mike Shawaluk on 2020-06-19 05:07 pm
Note that the existing "Gap Height" parameter is renamed to "Open Gap Height" and the new parameter is called "Closed Gap Height". I chose these names, rather than "left gap" and "right gap" so that backward compatibility will be maintained.

Let me know if you encounter any issues with the updated object, as my testing was fairly brief (but then, the change was relatively simple)
Title: Re: Hairpin.ms (1.2)
Post by: hmmueller on 2020-06-19 07:04 pm
Nice - now I can do something like in the attachment (prints nicely on A4 format; don't know about American page formats).

One small suggestion: Provide an explicit keyboard shortcut for the Closed Gap; the implicit C does not work (it is used by NWC's Class selector).

H.M.
Title: Re: Hairpin.ms (1.2)
Post by: Mike Shawaluk on 2020-06-19 07:57 pm
One small suggestion: Provide an explicit keyboard shortcut for the Closed Gap; the implicit C does not work (it is used by NWC's Class selector).
Fixed. I noticed there were two shortcuts using X, so I changed one of them. (I cheated and did not update the version number)
Title: Re: Hairpin.ms (1.2)
Post by: hmmueller on 2020-06-19 08:11 pm
Perfect! Thanks.