Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - Opagust

351
General Discussion / Re: Imported MIDI file in NWC - unable to change volume or instrument of staves
Thanks you a lot.
I'll try to understand how the MakeReharsal works, and to use it.
In the mean time, I've understood the reason of the problem: each staff was mapped on the same MIDI channell, so it was impossible for NWC to play a different instrument or volume on the same channel. Probably it coud be obvious, by I still don't know enough about the program.
Again, thank you for your suggestion
.
  • I consider to update the tool to add a check on duplicate midi-channels.
352
General Discussion / Re: Imported MIDI file in NWC - unable to change volume or instrument of staves
Hi Marcoruf,

I can't tell you what causes the problem, I never experieced that.
But I'm also a choir member and I think this user tool I wrote could be useful for you:
Make Rehearsal File

It not only sets the volumes, but also the stereo pan, and alters the dynamics to have constant velocity and varying volume (in order to accomplish a crescendo or diminuendo also on held notes). You will find more details in the link above.
355
General Discussion / Re: crescendos on held notes
If you just swap the velocity and volume settings, why do you want to use An MPC? A simple hairpin does the job too.

Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|Tempo|Tempo:30|Pos:6
|Dynamic|Style:mp|Opts:Velocity=127,Volume=60|Pos:-8
|Note|Dur:Whole|Pos:0|Opts:Crescendo
|Dynamic|Style:f|Opts:Velocity=127,Volume=92|Pos:-8
!NoteWorthyComposerClip-End
356
General Discussion / Re: Transposing help!
Hi Warren,

I'm not sure if you're asking about a UT for positioning the dynamics or for transposing.

For positioning the dynamics, one might be handy, but it's not that hard, thanks to the Find function.  All you need to do is search for one dynamic, change it, copy it to the clipboard and press F3 F3 until you find the same dynamic later on the staff, then hit Control-V.  F3 F3 again and repeat the process until you reach the end, bypassing any hit that isn't the particular dynamic you're changing.  Then go back, F3 for the next dynamic type, and repeat the exercise.  I think 8 passes gets you through all the dynamics [ppp pp p mp mf f ff fff] so it only takes a couple of minutes per staff. 

You also have to look out for vertical positioning of hairpins, which are affected by the height of the closest preceding dynamic or dynamic variance.

User tool for moving dynamics: see https://forum.noteworthycomposer.com/?topic=9408
357
User Tools / Move Dynamics
User tool to move dynamics.

Via the dialog, you can specify
* Part of the score to be processed :
    - your selected items
    - the active staff
    - the visible staves
    - all staves
  * How to move the dynamics :
    - place at a given position
    - move up (positive value) or down (negative value)
    - place relative to highest note position (negative, zero or positive value)
    - place relative to lowest note position (negative, zero or positive value)
    - move to the position of the first dynamic
  * The value to use for the movement (accept if you chose the last movement option)

REMARK: moving dynamics will also move the crescendo and diminuendo hairpins.
359
User Tools / Re: Dialog based Global Modification Tool: GlobMod.og
A new functionality has been added: save the parameters and reuse them on another staff or file.
In the original version, if you wanted to do the same global modification on another staff or file, you would have to go through the whole dialog again. That wasn't very user friendly.
So now you have the opporunity to save your parameters and reuse them.
To do so I created a new User Object 'GlobModParms.og', that you can download here:  https://forum.noteworthycomposer.com/?topic=9385..
If you choose to save your parameters, such an object is inserted by the User Tool in front of your clip input, with a description text you specify. You can then copy it and paste it elsewhere.
If the tool is run with on or more User Objects 'GlobMod.Parms' in the clip input, you'll have the choise for each of them: process that User Object or not. If none is to be processed, you'll have to specify new parameters.
So you can create your own favorite 'globmodparms' and store them in a template file. Or you could place them in a custom selector on your toolbar, like I did, see attachment.
A short description of my favorites:
- Visible flows : 5 globmods:
   - 4 for changing the color to red for repeat bar lines;
   - 1 for flow directions (Segno, AlCoda,...): make them red, wide, always visible and on position 0.
- Red Dynamics
- Crescendo diminuendo Color: Green for crescendo, magenta for decrescendo.

Note: The custom selector files are stored in the Config Files folder and have names from 100.nwc for selector 1 onto 10f.nwc for selector 16. I've put mine in selector 14.
360
Object Plugins / GlobModParms.og
The User Object 'GlobModParms.og' is a container for parameters to use in the User Tool 'GlobMod.og' https://forum.noteworthycomposer.com/?topic=9383
This script is only used for drawing the user object. You shouldn't create one via 'Insert/User Object...'.
The description text can be moved up or down with the + and - key.

Creation is done by the user tool 'GlobMod.og': after specifying the parameters for a global modification, you have the possibility to store them in a user object.
The same user tool can then be used to process the user object, avoiding the need to enter again the parameters.


363
User Tools / Dialog based Global Modification Tool: GlobalMod.og
This tool is inspired by the 'Global Modification (adp) tool from the User Tool Starter Kit. The purpose is identical: search for certain objects with certain properties within a staff or a selection and do some 'global' modifications (are remove them).
But here you don't need to know how to construct a global modification expression. It's completely dialog driven.
You'll be asked for a type and then you can specify 0 or more conditions and the desired action(s): delete or do 1 or more modifications.
No knowlegde is required of how an object or property is represented within NWC. Just select what you want from the selection lists.

Limitations:
- no modification possible on individual notes in chords and restchords;
- multi-point controller and instrument change are not supported.

Installation:Download the attached file and drag and drop it upon any open NWC file
Any suggestions or bug reports are welcome!

21/10/2016: Bug fix (An error occured when processing an object with empty conditions).

Gust

07/07/2016: replaced by new version (1.1), using nwc.txt where possible, as suggested by NoteWorhy Online.

12/07/2016: Replaced by new version(1.2): A new functionality has been added: save the parameters and reuse them on another staff or file.

After specifying your parameters, you have the opporunity to save and reuse them.
To do so I created a new User Object 'GlobModParms.og', that you can download here: https://forum.noteworthycomposer.com/?topic=9385.
If you choose to save your parameters, such an object is inserted by the User Tool in front of your clip input, with a description text you specify. You can then copy it and paste it elsewhere.
If the tool is run with on or more User Objects 'GlobMod.Parms' in the clip input, you'll have the choise for each of them: process that User Object or not. If none is to be processed, you'll have to specify new parameters.

01/03/2017: Version 1.2.2 (see reply #8 for more details)
26/03/2017: Version 1.2.3 (see reply #16 for more details)
07/09/2017: Version 1.2.4 (see reply #17 for more details)
364
User Tools / Re: (a) Tool to create single voices from chords? (b) Class model of NWC2ClipItem
Hello Harald,
Here are some useful links if you want to go for Lua:

In my tools I prefer to use level2 (see https://lua.noteworthycomposer.com/nwcut.html##(nwcut).setlevel), wich is the most expanded representation of a NWC text line.
In attachment you find a little tool 'ShowCliptext'. If you select a part of a staff and run this tool, it shows the internal representation in level 2.
368
General Discussion / Re: Mind the accidentals when deduplicating multivoice staffs.
My original post was not about not showing an accidental. Maybe I wasn't clear enough.
I'll try it agian:
  • In the original score, the Tenor II en Bass parts were shown on 1 staff.
  • It contained 1 b flat for the tenors at the start of a measure and 2 b's for the basses at the end of the measure.
  • Since they were in the same staff, the flat accidental counted also for the basses.
  • I decided to create 2 separate staves for tenors en basses, and copied the notes as they were on the original score.
  • That was a mistake, because I should have inserted an accidental before the first b in the bass staff.
So my point was: do not make the same mistake, mind the accidentals when deduplicating a multivoice staff.
369
General Discussion / Re: Mind the accidentals when deduplicating multivoice staffs.
I think what Warren was suggesting was a way to notate the flatted note on the layered staff so that it would play the B♭ correctly without displaying a redundant ♭ symbol on the printed layered score. (Unless you have no need to print it.)

Mike
In my case this is not applicable, because I want 'my voice' on a separate staff. But indeed, when you want to layer 2 voices, this is the way to do it. Thanks, Warren.
370
General Discussion / Re: Mind the accidentals when deduplicating multivoice staffs.
Perhaps something like this?!?:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|Clef|Type:Bass
|Note|Dur:32nd,Grace,Slur|Pos:b5|Opts:Muted|Visibility:Never
|Note|Dur:8th|Pos:5|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:5|Opts:Stem=Down,Beam=End
!NoteWorthyComposerClip-End
That sounds right, but the accidental is not visible.
Since I duplicated the staff into 2 seperate staves, I just had to add the accidental:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|Clef|Type:Bass
|Note|Dur:8th|Pos:b5|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:5|Opts:Stem=Down,Beam=End
!NoteWorthyComposerClip-End
371
General Discussion / Mind the accidentals when deduplicating multivoice staffs.
The lower staff of the attachment is to be sung by two voice groups.

But I like to have seperate staffs,  which makes it easier to see the notes I have to sing, and also for playing 'my' staff only when studying.
So I made two seperate staffs in my NWC file of this song. In the upper staff I've put in this measure:  a half b flat, a quarter  rest and and 2 eighth d's, in the lower staff: a half f,  a quarter  rest and and 2 eighth b's.

And then, to prepare myself for the rehearsal of our choir, I played the lower staff several times with my earphone plugged in.
But when singing it with the choir, the director noticed that there was someone of the basses that didn't sing the b's flat correctly. Then I realized that my NWC file was not correct: I should have put 2 b's flat in stead of two natural b's, because in the original score, there were preceded by a b flat in the same measure!

Conclusion: when deduplicating a multivoice staff: mind the accidentals!
376
User Tools / Re: TransposeStaffs.og
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.
377
User Tools / Re: TransposeStaffs.og
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.
379
User Tools / TransposeStaffs.og
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
382
Object Plugins / Re: PageTxtMaestro.nw
Great improvements!
Nevertheless, I miss 1 option: I'd also like to set Page Display Control to 'first page only'
And please can you define 'PageNumRaw'  and 'PageNumFrom,1 ? When I use these, there value = the value of 'PageNum'.
384
User Tools / Re: Help with Global_Mod
Okay, I have looked at the PHP code a bit, and I think this might work:

User|Arpeggio.ms Speed=8
But it is only an educated guess, since I can't actually run it to try it yet.
I did try and it doesn't work.

I looked at the help text and found:
Quote
NB: If <opt> is <opts>.<subopt> it will deal with subopt as a subtype of opt.
eg Dur.Dotted or Opts.VertOffset>=0
So maybe the script handles it as if 'ms' is a <subopt>  of the <opt> 'Arpeggio'

P.S. Some time ago I started to write a Lua script to do global modifications, using a dialog to specify conditions and action. But I abandoned it after a while. Maybe I will take it up again. No promise though.
385
User Tools / Re: Help with Global_Mod
You may try: 'User,Speed Speed=8'
It will modify only objects that have a 'Speed' parameter. :)
Unfortunately >:( , as a consequense, the arpeggio objects with a default 'speed' will not be modified, because they don't have that parameter.
386
Object Plugins / Re: Melismatic.nw
Quote from Mike:
Quote
Can you post an example clip or screen shot that shows what you are trying to do?

The example is in the last measure of your clip. On has to sing the last note until the end of the measure. So I inncluded another  grace note in the last measure and thet did the job! I found the slur is not really necessary.
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.7498,Single)
|User|Melismatic.nw|Pos:0|Class:StaffSig
|Clef|Type:Treble
|TimeSig|Signature:4/4
|Note|Dur:Whole|Pos:-1^
|Bar
|Note|Dur:Whole|Pos:-1
|Bar
|Note|Dur:Whole|Pos:-1^
|Bar
|Note|Dur:Whole|Pos:-1
|Note|Dur:8th,Grace|Pos:-1|Opts:Muted|Visibility:Never
|Bar
!NoteWorthyComposerClip-End

Quote
Perhaps Melismatic can be coaxed to do what you are asking, by using a hidden muted grace note
That would be nice!
387
Object Plugins / Re: Melismatic.nw
I'm now working on a song with in one staff many long ooh's and aah's, ending in a single whole note, with in another staff many syllabs and eight notes per measure.
So I have one small change request for the melismatic object: is it possible to extend the extender line so it spans right until just before the next note/chord/rest or bar, like a crescendo or decrescendo?

Thanks
390
User Tools / Re: ScoreAnalysis.og
You might want to add the following line to the top of your user tool:

Code: (Lua) [Select · Download]
-- $NWCUT$CONFIG: FileText $
I supposed this would automatically set the button 'File Text' ,when installing the tool by dragging it over a NWC window.
I tried it and indeed it did. But I can't find it in the documentation.  Is it documented? Are there some more 'config' settings?
Also, in order to support file samples, line 651/2 can be changed to:

Code: (Lua) [Select · Download]
nwcut.writeline("File name:"..(nwcut.getprop('FileName') or ''))
I tried it on the sample 'Carmen' and found 2 errors:
- One in my tool: miscalculating measure numbers when a staff starts with 2 bars;
- After correcting this and looking at the Analysis report, I found that the staff 'Cymbal' had only 52 measures instead of 53. This is caused by a missing bar in measure 47
I attach the new version in the original post
391
User Tools / ScoreAnalysis.og
This tool is inspired by the NWC menu command 'Tools/Score Review...', but gives a little bit more info.
It creates an analysis report, which is divided in several groups. Each group contains several group items.
It's shown either with the staffs in colums (Orientation 'Landscape') or with the group items in colums ('Portrait').

The default settings for the orientation, groups and group items are:
Orientation:Portrait
Groups:General,Visual,Midi,Instrument,Metrics,Contents
General:Label,LabelAbbr,Group,EndingBar
Visual:Visible,BoundaryTop,BoundaryBottom,Layered
Midi:Volume,StereoPan,Muted,Channel,Device
Instrument:Instrument,DynVel,TransPose
Metrics:Measures,Duration
Contents:Dynamic,TimeSig,BarStyle,Ending,Flow,User

These settings can be modified via parameters in the command line and/or the dialog option 'Settings'.
If you do so, the modified settings are included in the report, so you can copy and paste them as parameters in the command line for future use.
A parameter mustn't contain spaces, and the parameters must be seperated by one or more spaces.
If you provide a parameter 'SkipHelp', the help window isn't shown.

Hint: since the output window is limited, you may want to copy and past it in a word processor or text editor.

I attached also 2 output reports, the first with teh default settings, the 2nd with modified settings.

If you find any bugs are have some suggestions for improvement, please let me know.
395
General Discussion / Re: NWC viewer - starting at measure #
Hello Guido,
Use the slider to position so that the measure you want to start is on the left of the screen.
Then push 'play' .
To restart at the same position: puch 'stop' (not 'pause') and 'play'.

398
User Tools / Re: ! Error in lua documentation (nwcut.askbox) !
Thanks for the report. This has been updated with correct info.

I don't see any correction yet
Quote
nwcut.askbox(msg, msgtitle, flags)
nwcut question box.
Prompts the user with a standard message box. The user is given the opportunity to answer the question, or cancel the user tool.
Parameters

msg : the message text to issue to the user
msgtitle : the title for the message box (optional)
#number flags : assigns the default action, 1 for Yes (default), and 2 for No
Return value

#number: the answer, 1 for Yes, and 2 for No