NoteWorthy Composer Forum

Forums => Tips & Tricks => Object Plugins => Topic started by: Lloyd on 2015-09-26 03:04 pm

Title: TupletMarks.fso (version 0.1)
Post by: Lloyd on 2015-09-26 03:04 pm
This plugin draws a Tuplet mark. Only for ornamental purposes.

To make it work just insert it before the first note of the tuplet, then set the span of the mark and the number of the tuplet.

OPTIONS:
Span: Sets how many notes or rests are included in the mark. Grace notes doesn't count. This option can be directly modified in the editor with +/- keys.
Staff Position: Indicates if the mark will be used at the top or at the bottom of the staff. 'Auto' mode changes between 'Top' and 'Bottom'when the mark is above or bellow the middle line.
Style: Defines the pen style of the mark.
Line Weigth: Sets the thickness of the pen style.
Gap: Modifies the space for the number. It can also be set to 0.
Number (or Text): The number (or text) typed here will appear on the mark. It will always be Italic.
Opaque: Makes the number (or text) cover any other object.
Font Style: Sets the font used in the number (or text).
Text Scale (%): Modifies the number (or text) size.
Text Vertical Offset: Modifies the position of the number (or text).

The following clip will show a little more and, as always, feedback are welcome  :D

Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|Clef|Type:Treble
|TimeSig|Signature:2/4
|User|TupletMarks.fso|Pos:-13|span:6|number:6
|User|TupletMarks.fso|Pos:6.5
|Note|Dur:8th,Grace|Pos:-3
|Marker|Pos:-5.5|Target:Triplet|Visibility:Never
|Note|Dur:8th,Triplet=First|Pos:-2|Opts:Stem=Down,Beam=First
|Note|Dur:8th,Triplet|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th,Triplet=End|Pos:2|Opts:Stem=Down,Beam=End
|User|TupletMarks.fso|Pos:6.5
|Note|Dur:8th,Grace|Pos:-3
|Marker|Pos:-5.5|Target:Triplet|Visibility:Never
|Note|Dur:8th,Triplet=First|Pos:-2|Opts:Stem=Down,Beam=First
|Note|Dur:8th,Triplet|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th,Triplet=End|Pos:2|Opts:Stem=Down,Beam=End
|Bar
|TimeSig|Signature:6/8
|User|TupletMarks.fso|Pos:6.5|number:2|Gap:0.7
|Note|Dur:8th|Pos:-6|Opts:Stem=Up,Beam=First
|Rest|Dur:16th|Visibility:Never
|Note|Dur:8th|Pos:-2|Opts:Stem=Up,Beam=End
|Rest|Dur:16th|Visibility:Never
|User|TupletMarks.fso|Pos:10|span:15|number:"play quickly"|Pen:Dash|Gap:0|Font:PageText|Scale:50|yText:2|Weight:1
|User|TupletMarks.fso|Pos:5|span:5|number:5
|Note|Dur:32nd|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:32nd|Pos:-1|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-2|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-3|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-4|Opts:Stem=Down,Beam=End
|User|TupletMarks.fso|Pos:5|span:5|number:5
|Note|Dur:32nd|Pos:-5|Opts:Stem=Down,Beam=First
|Note|Dur:32nd|Pos:-4|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-3|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-2|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-1|Opts:Stem=Down,Beam=End
|User|TupletMarks.fso|Pos:5|span:5|number:5
|Note|Dur:32nd|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:32nd|Pos:-1|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-2|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-3|Opts:Stem=Down,Beam
|Note|Dur:32nd|Pos:-4|Opts:Stem=Down,Beam=End
|Bar
|Boundary|Style:NewSystem|NewPage:Y
!NoteWorthyComposerClip-End
Title: Re: TupletMarks.fso (version 0.1)
Post by: scriabin53 on 2016-02-06 02:11 pm
Thank you for developing this feature! Do you think it would be possible to develop this feature such that it actually affects the notes' duration and playback? Alternatively, is there a way to hide the triplet marks in a score? Usually when I really want, say a 17 tuplet, I end up writing a bunch of 32nd notes, some of which are tripleted and some of which aren't; when I really want a quintuplet, I write a duplet and a triplet. If there were a way to hide the triplet notation and then just group the whole series of  notes with a tuplet object, it would make the scores look much cleaner (but wouldn't necessarily help with playback realism).  Thanks!
Title: Re: TupletMarks.fso (version 0.1)
Post by: Mike Shawaluk on 2016-02-06 02:32 pm
Alternatively, is there a way to hide the triplet marks in a score? ...
You can hide the native triplet markings in a score using the new Marker object. There are checkboxes to allow it to control slurs, triplets and/or articulations. Look here (https://noteworthycomposer.com/nwc2/help/MNU_ADDMARKER.htm) for more information about this new feature of NWC 2.75.
Title: Re: TupletMarks.fso (version 0.1)
Post by: Lloyd on 2016-02-06 08:40 pm
Hi scriabin53,
as Mike said to hide the NWC triplets you can use markers. Unfortunately, the other question you made doesn't have such a positive answer  :(  I've developed this object only for ornamental purposes, sorry.
Title: Re: TupletMarks.fso (version 0.1)
Post by: Peter Edwards on 2017-09-06 07:19 am
It would be useful to be able to specify a vertical offset for the end point of the line so that it can slope.
Title: Re: TupletMarks.fso (version 0.1)
Post by: Lloyd on 2017-09-06 08:02 am
Hi Peter,
lasts months I've been working a lot, but as soon as I get some time I'll take a look into it ;)
...please, be patient O:)
Title: Re: TupletMarks.fso (version 0.1)
Post by: Peter Edwards on 2017-10-16 01:44 pm
Could I suggest a small alteration. On a modified note the left hand vertical should line up with the note head, and not the accidental.
Title: Re: TupletMarks.fso (version 0.1)
Post by: Mike Shawaluk on 2017-10-16 02:28 pm
Could I suggest a small alteration. On a modified note the left hand vertical should line up with the note head, and not the accidental.
Likewise, if the final note in the tuplet is dotted, the right hand vertical should probably be aligned with the note head edge, and not the dot, as is done for native triplets:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Note|Dur:4th,Triplet=First|Pos:b4|Opts:Stem=Down
|Note|Dur:8th,Triplet|Pos:4|Opts:Stem=Down
|Note|Dur:4th,Dotted,Triplet=End|Pos:4|Opts:Stem=Down
!NoteWorthyComposerClip-End
Title: Re: TupletMarks.fso (version 0.1)
Post by: Warren Porter on 2017-10-16 11:42 pm
Thank you for developing this feature! Do you think it would be possible to develop this feature such that it actually affects the notes' duration and playback? Alternatively, is there a way to hide the triplet marks in a score? Usually when I really want, say a 17 tuplet, I end up writing a bunch of 32nd notes, some of which are tripleted and some of which aren't; when I really want a quintuplet, I write a duplet and a triplet. If there were a way to hide the triplet notation and then just group the whole series of  notes with a tuplet object, it would make the scores look much cleaner (but wouldn't necessarily help with playback realism).  Thanks!
Have you checked this User Tip (https://forum.noteworthycomposer.com/?topic=2326.0) on various Tuples?  I haven't experimented with adding TupletMarks to this yet.