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

2
User Tools / Re: Very basic help with User Tools required, please
Hi Opagust - I hope you're well - and it was lovely to hear from you again!

I've sort of pieced together some of what you have to do when running a User Tool - though there still isn't a complete guide to how to do that. I had to trawl around to find any reference to Group, because the User Tool dialogue didn't explain what it found unacceptable in my attempt to use it.  Someone, somewhere, talked about renaming the .txt file to the php type; someone else said rename it to .js - again, no concerted authoritative source for that puzzle.

Then I ran your CopyVolVel in various modes, and all of them crashed with 'Command process failed'.  I have absolutely no idea where to turn now....

I looked again at my 'installation instructions' and I have to admit they are not as clear as I thought they were when I wrote them.

So here's a new version, which I hope is more intelligible (but you're the one to judge).

Installation instructions:
   - Change the extension of this file into '.js'.
   - Remember the folder where you saved the file, it has to be used in the command line,
      see below.
   - In NWC, choose 'Tools/User Tool...'.
   - Press the button 'New...' and fill the fields:
      - Group: Choose one of the ecisting groups or create a new one.
      - Name: Enter a name.
      - Command Line: Wscript YourScriptsFolder\CopyVolVel.js <PROMPT:Copy:=|Volume|Velocities|Both> <PROMPT:Act upon:=|Visible_Staffs|All_Staffs> <PROMPT:Execution Mode:=|Modify|Show|Help>
         * Change 'YourScriptFolder' in the name of the folder where you save this file.
      - Input Type: Choose 'File Text'
      - Options: Check 'Returns File text'


Note that the double apostrophes in the command line are no longer there. I have found that these can be the cause of 'Command process failed'.


If  you can confirm that these instructions are clear, I will put a new version of the file on the forum.
3
User Tools / Re: NWCCONVERTOR
Hi HM,

If invisible notes are ingnored, should they be replaced by rests?
An example file with such invisible cue notes should also be helpful.

I noticed you used them in the previous files you provided.
Aside of being invisible, they're also grace notes and muted.
So maybe I should add a checkbox 'Convert invisible muted grace notes' in the 'Options' (default unticked)?
4
User Tools / Re: NWCCONVERTOR
b) And would it be possible that invisible notes are not emitted into the MusicXML file? I use especially invisible cue notes for some purposes which should not be visible anywhere - but MusicXML files transport them as normal visible notes, and then they turn up in e.g. MuseScore.
This could of course also be a checkbox in the "Options", e.g. "Ignore invisible notes".

If invisible notes are ingnored, should they be replaced by rests?
An example file with such invisible cue notes should also be helpful.
5
User Tools / Re: NWCCONVERTOR
Hi HMM,

Can you send me a nwctxt file that creates a file that causes this error in Musiscore 4.1.1. ?
6
User Tools / Re: Very basic help with User Tools required, please
Hello Jonathan,

I suppose you're referring to my user tool 'copyvolvel' from 9 years ago, see https://forum.noteworthycomposer.com/?topic=8923.

I thought I included installation instructions on the forum, but obviously I didn't.

This tool was written in javascript, hence it needs extension '.js' to run. But files with that extension can't be uploaded on the forum, so I used the extension '.txt'.
This means the first thing you have to do after downloading is changing the extension from '.txt' to '.js'.

Next you can install it via 'Tools/User Tools.../New...'.
For filling in the command line and the options, I did include installation instructions in the first lines of the tool, I quote:
Installation instructions:
  
Quote
Command Line: "Wscript YourScriptsFolder\CopyVolVel.js <PROMPT:Copy:=|Volume|Velocities|Both> <PROMPT:Act upon:=|Visible_Staffs|All_Staffs> <PROMPT:Execution Mode:=|Modify|Show|Help>"
   Input Type: File Text
   Under 'Options: Check 'Returns File text'


(Replace 'YourscriptsFolder' into the folder where you downloaded the tool.)

There are 3 execution modes : 'Modify', 'Show' and 'Help'. 'Modify' is the normal mode, 'Show' shows the generated output in stdout (without modifying your file), 'Help' shows the help text.

7
User Tools / Re: NWCCONVERTOR
And again a new version, after bug report from Lawrie Pardie.
1.0.7.2:
- ignoring group symbols that are not supported in Noteworthy ('square' and 'line'), instead of crashing.
- bug fix for ending and starting orchestral bracket and grand staff brace.

see https://www.opagust.be/content/nwcconvertor
9
User Tools / Re: Number notation tool
And another new bug detected by FrankSit:

Corrected version  in original post: whole note translates to number + dot instead of 2 numbers
10
User Tools / Re: Number notation tool
New version in original post.
- Some positional finetuning.
- Correction of bugs that caused an error.
- Chords and restchords are now permitted, but when they are present, a warning is shown that only one note of the chord gets a number in the number staff.

With thanks to FrankSit who tested and commented on various intermediate versions.
12
User Tools / Re: Number notation tool
I had to do some extra changes in order to correct an issue reported by FrankSit.
Thank you Gust, the number note now works as I expected, the only thing maybe you can still fix is the slurs and tie in the nomral note were not shown in the number note.

Again thank you very much, it helps our church choir  learn the songs.

Frank

New version which shows slurs and ties available in original post. (User object 'slur.ms' needs to be installed)
13
User Tools / Re: Number notation tool
Gust, just for curiosity and to save me to reinstall 2.75a.2, what are the differences you discovered?

It's about the internal object representation (when you use nwcut.setlevel(2)) in the Lua API, for items with a 'Text' property. (staff name, staff label, text item, ...).

Example: in versions before 2.8 Beta 1, the staff name of the first staff was accessible as 'Staves[1].AddStaff.Opts.Name.Text'; in 2.8 Beta 1 it's 'Staves[1].AddStaff.Opts.Name'.

See also: https://forum.noteworthycomposer.com/?topic=9867.msg70615#msg70615
14
User Tools / Re: Number notation tool
Gust, just for curiosity and to save me to reinstall 2.75a.2, what are the differences you discovered?

It's about the internal object representation (when you use nwcut.setlevel(2)) in the Lua API, for items with a 'Text' property. (staff name, staff label, text item, ...).

Example: in versions before 2.8 Beta 1, the staff name of the first staff was accessible as 'Staves[1].AddStaff.Opts.Name.Text'; in 2.8 Beta 1 it's 'Staves[1].AddStaff.Opts.Name'.

15
User Tools / Re: Number notation tool
Hi Lawrie,

I've been using version 2.8 Beta 1 also, but reinstalled 2.75a.2 to test the changes I made to solve FrankSit's problem. But it seems these changes now cause problems in 2.8 Beta 1 (your error1).

So now, after investigating it, I made the changes that are ment to work in both versions.
And I tested it successfully in both versions.

As for your error2: this is caused by a restchord, which has no 'Pos' field, only a 'Pos2'.
But the original post says: 'Remark: Chords are not supported.'
(A 'normal' (not rest)chord doesn't cause any error, but only one note is being handled.)
So now I added a check: if there's any chord or restchord, it will cause an error with the massage "Sorry, chords are not supported.".



 
17
User Tools / Re: Number notation tool
In older versions of NWC, text items (such as staff name, label, ... are stored in a different way, which caused an error when trying to change it.
I made some changes to deal with both methods.
See original post for the latest version

I had to do some extra changes in order to correct an issue reported by FrankSit.
19
General Discussion / Re: Number note
Hi Gust,

I do not understand, I tried in the 2nd song, and the third, there is no more additional texts hiding the notes, but it still hides the normal note and it's staff.

The 2nd problem, it works only in the first staf, of we run again the 2nd staff it won't work, it shows erro message like the attached.

Thank you

Frank

Hi Frank,

Thanks for sending me your file.

- About the additional text: it seems to occur when there is a natural accidental. I investigated my code, but with base = '1=C', a natural accidental should be ignored.
And when I ran the tool myself on the same staff, there was no additional text.
- About the second problem: as I see on the attached image, you ran it on the second staff indeed, but that is the original first staff. The third staff should be the original second.
  If you had given your staves a label, you should see the same label in the first (number) staff and the second (originally first). The number staff is created from a copy of the original, with the notes being hidden. They are necessary to keep the numbers aligned with the original staff.
But it shouldn't give you this error. It seems to me you ran the old version of the tool. Did you download the new version? Or perhaps you have 2 versions in different folders?
20
General Discussion / Re: Number note

Thank you Gust for your new file that I can download. My version is 2.75a.2. Was it old?. Actually now it works for me but my question are as follows:
1. Why there is a words that says " Visibilty is Alwasy" it hides the number notes (see attached)
2. I already chose not to hide the original staff, but it still hides. How can we make it  to place exacty at the top of the staff, and all the non number notes are shown exactly below the number note, so when we play it it still can see the non number notes are highlighted.
3. How can I change the command path not from the "C\Situmorang\documen\download\thename of your file

Thank you
Frank

Hi Frank
1. About the 'Visibility Always' words: that's weird, I can't imagine where they come from. Maybe you can send me the file? I will give you my email address in a personal message.
2. Is the original staff really hidden?. By running the tool the lyrics are placed above the staff so maybe that's why it seems that the staff is hidden.
3. In the window from 'Tools/User Tools', there is a button 'Edit...'. When you press it you can change the command.
21
General Discussion / Re: Number note

It didn't work for me because the error code as in the attached. Is it because the file name is wrong?

Thank you
Frank

I think you have an older version of NWC, where text items such as the staff name are stored in a different way, which caused this error when trying to change it.
So I made some changes to deal with both methods.
You can download the new version here
I couldn't test this changes myself, since with my version of NWC is newer, so I hope the problem is solved now.

Gust
22
User Tools / Re: Number notation tool
In older versions of NWC, text items (such as staff name, label, ... are stored in a different way, which caused an error when trying to change it.
I made some changes to deal with both methods.
See original post for the latest version
23
General Discussion / Re: Number note
Thank you Opagust, I already installed it, then the next step, I need more explanation on how to key in the number, expecially if the note is slured or tied.

Thank you

Frank
You don't have to key in the numbers yourself. Just position your cursor on the staff for which you want to have numbers, then select 'Tools/User Tools...', select the tool 'NoteNumbers.og' and press Run.
You will see a dialog box, with two choises: 'Insert note numbers' or Help.

I suggest that you choose 'Help' the first time and you will see a window with explanation how the tool works.

If you choose 'Insert note numebers, you'll have to choose two other options. After running the tool, a new 'number staff' will be created. Choose 'Viewer mode' or 'Print review' to see how it will look like on your printed score.
24
General Discussion / Re: Number note

Hi Opagust,

How can I use it, because I tried to go to User tool, there is no menu for number user tool.

Thank you,

Frank

Hi Frank,

You will have to download and install the tool first. The simplest way to do this:
- Start NWC and open a song file.
- Then go to
'Number Notation Tool'
and download the attached file 'NoteNumbers.og.lua'
- Drag and drop the downloaded file onto your NWC window
- You'll get a popup where you can confirm
- Then The 'User Tool' window appears, where you can see the tool in the right column
- Click 'Run' to execute it.
From now on, it will be permanently present in the User Tool window, which you can open with 'Tools/User Tool...' or Alt+F8
25
General Discussion / Re: Number note
Hi Frank,

If you want the numbers in the lyric line, I don't think you can add the dashes and dots.
But a few years ago I wrote this user tool:
Number Notation Tool

It creates a separate staff with the number notation. The result doesn't look readable in edit mode so you have to switch to view mode or do a print preview to see the result.
You can choose 'Help' in the dialog box to see how it works and what it does. But if you have any problems or questions, don't hesitate to communicate them.
27
Object Plugins / Re: PageTxtMaestro.nw
Hi,

Although I have set Page Display Control set to "All" for the title, it's only printed on the first and the last page.

Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|User|PageTxt.nw|Pos:-4|XLoc:Center|CY:-10|Text:%Title%|PgStyle:TopCenter|Fnt:PageTitleText|YLoc:Top|PgCtrl:All
!NoteWorthyComposerClip-End

See complete file in attachment.
29
User Tools / Re: NWCCONVERTOR
Version 1.0.6.9 is available at
https://www.opagust.be/content/nwcconvertor

    - bug fix concerning multirest.
    - bug fix concerning assigning part-group symbol to staff.
    - corrected calculation of note position for percussion clef.
    - changing text color for warnings from red to black.
    - changing text for warning 'InvalidChord Error' into 'Chord with same duration and position.
    - adding warning for note lengths not supported by NWC.
30
User Tools / Re: NWCCONVERTOR
Opagust,
I'm not sure the problem is all in your convertor, but I get various errors converting the attached file.
It was generated by MuseScore and, I know, there are some odd notes (MIDI value around 100) in channel 10.
In case you're interested to investigate...

Hi Flurmy,

The 'Batteria' staff of the input file contains, in a number of measures,  chords of 2 notes  with same position and same duration (but with different instruments), see example in code snippet below. This is impossible in NWC: each element in a chord must have different position or different duration. So the Warnings frame shows a 'InvalidChordError' in these cases. But this is no 'fatal error', nwcconvertor just removes the double position. (And in this case with 2 instrument change objects, but of course the second overrules the first one.

So, because it's not a fatal error, you can click 'SAVE' and get a valid nwctxt file.
Maybe I should not call it 'error' in the warnings frame (and print it in black instead of red)?

But then there were two other things I noticed in the output file:
1) The bars in the piano staves didn't line up correctly after measure 45. The reason was the presence of rests and notes with a duration of a 128th (see 2nd code snippet), which is not possible for NWC (nor for many pianists I guess). NWC removes the duration part in the nwctxt line, which results in a quarter note or rest.
2) The calculation of the positions for a percussion clef was wrong (12 positions to high).

Code: [Select · Download]
      <note dynamics="92.22">
        <unpitched>
          <display-step>F</display-step>
          <display-octave>5</display-octave>
          </unpitched>
        <duration>48</duration>
        <instrument id="P5-I25"/>
        <voice>1</voice>
        <type>eighth</type>
        <stem>up</stem>
        <beam number="1">begin</beam>
        </note>
      <note dynamics="64.44">
        <chord/>
        <unpitched>
          <display-step>F</display-step>
          <display-octave>5</display-octave>
          </unpitched>
        <duration>48</duration>
        <instrument id="P5-I70"/>
        <voice>1</voice>
        <type>eighth</type>
        <stem>up</stem>
        </note>

Code: [Select · Download]
      <note>
        <rest/>
        <duration>3</duration>
        <voice>5</voice>
        <type>128th</type>
        <staff>2</staff>
        </note>
      <note dynamics="84.44">
        <pitch>
          <step>B</step>
          <octave>3</octave>
          </pitch>
        <duration>3</duration>
        <tie type="start"/>
        <voice>5</voice>
        <type>128th</type>
        <stem>up</stem>
        <staff>2</staff>
        <beam number="1">begin</beam>
        <beam number="2">begin</beam>
        <beam number="3">forward hook</beam>
        <beam number="4">forward hook</beam>
        <beam number="5">forward hook</beam>
        <notations>
          <tied type="start"/>
          </notations>
        </note>

Conclusion:
I will soon publish a new version with:
- corrected positions for the percussion clef
- text 'InvalidChordError' replaced by 'Chord with duplicate positions ans same duration'
- warnings printed in black instead of red.
- print a warning in case of a 128th duration.
32
User Tools / Re: NWCCONVERTOR
A small request: allowing the drag & drop of the nwctxt file?
I'm hard to please.  :)
I found out that it's possible just by using Windows:
- Open the folder of your nwctxt file in Windows Explorer
- Open in another Window Explorer window the folder where you stored nwcconvertor.
- Drag and drop the file onto the nwcconvertor program name or icon (depending on your Explorer setttings).
34
User Tools / Re: NWCCONVERTOR
Version 1.0.6.8 is available at
https://www.opagust.be/content/nwcconvertor

    - bug fix in xml to nwctxt conversion: 64th notes converted as quarter notes.
    - checking for missing Time Signature.
    - bug fix concerning transpose instrument.

A small request: allowing the drag & drop of the nwctxt file?
I'm hard to please.  :)

Sorry, Flurmy, that's to hard for me to please you. The Gui application I use  (PySimpleGui) doesn't support it. You will still have to use click & click.
35
General Discussion / Re: Final variant
Here are the results
res. 1. from staves
res. 2. from the print preview
I couldn't get the wording "variant ad libitum" to stay more to the left, even if I inserted it in two lines. That is land of the gap and woe to penetrate it!
Well so too! I worked with Opagust's markup composer (thanks!) to create the copy/paste and then in the properties for later, small adjustments.
Grazie!
Lorenzo

Maybe you can try to place  "variant ad libitum" where you want it with the markup composer too?
36
User Tools / Re: NWCCONVERTOR
Hi Lawrie,

I just downloaded the latest version myself and let it scan by my antivirus software Mcafee. No virus found.

As for the transposing problem, if you send me the input file, I could investigate it. I'll send you a personal message with my email address.

Gust
37
User Tools / Re: MUSICXML TO NOTEWORTHY CONVERTER
Hi David,

I think the problem is the space after the equal sign in 'measure number = "1"''.
You may try to download and run my NWCCONVERTOR program.

I wrote this  program after MXML2NWC and it can convert both ways.
NwcConvertor has had several updates, but MXML2NWC is no longer maintained.

I tried myself to run NwcConvertor with a XML file where I put spaces around the equal sign and it ran without any error. 

I hope this will solve your problem, otherwise please let me know.

Gust 
38
General Discussion / Re: Oblique lines between two staves
I also suffer from music theory ignorance, so I can't answer your question about the meaning of these lines.

But I know in nwc they can be produced by the markup.rg user plugin.
This user plugin was created by the late NWC virtuoso Rick G.
It's very powerful but also very obscure.

So 6 months ago I wrote a dialog based user tool to compose a markup object:
https://forum.noteworthycomposer.com/?topic=10207.msg73592#msg73592

Maybe this can be helpful.

Hope your 1st question will be answered soon by 1 of the music theory experts in the forum.

Gust
40
User Tools / Re: NWCCONVERTOR
Thanks for continuing to update this tool.
I've tried to log in to download, but am in a loop of "bad password, click here to reset" and then "you're trying a reset link that has expired."
I assume they don't really expire within a minute of issue - perhaps the 6 hour time difference from US to Belgium?
I didn't want to post this here, but I can't find a contact option on your site.

btw - my user name there is Charlie

Hi Charlie,

I notice a user account for 'Charlie' and one for 'cvb', both with different email addresses.
I will sent a mail to these addresses.
43
User Tools / Re: NWCCONVERTOR
A new version 1.0.6.6 is available in https://www.opagust.be/content/nwcconvertor

It seems that I forgot to announce the previous version 1.0.6.5 on 20/09/2022.

20/09/2022: 1.0.6.5
- bug fix: the positions of the notes in a restchord are in the field 'Pos2', not in 'Pos'.
- removing '<Name>' from author and copyright1 fields in the file info, since this would be
interpreted as a musicxml tag.

1/12/2022: 1.0.6.6
- text with font 'StaffCueSymbols' caused a fatal error.
- crescendo and diminuendo ending in last note of a staff was not converted.
- error in stereopan conversion formula.
- characters '<' and '>' are represented by '&lt;' and '&gt;' in a musicxml file.
- undoing removing '<Name>' (from 1.0.6.5)
46
General Discussion / Re: Note in number
Opagust.
I play yours and it comes to my mind we put different instrument for each voice. Do you know what is the name of instrument that we can assign for Soprano, and different instrument for Alto.. and so forth, so that they can listen and follow their voices easily.
Thank you.

Frank
Our choir is a men's choir, so we don't have soprano nor alto. Most of our songs have 4 voices Tenor1, Tenor 2, Bariton and Bass.
In this file all staves have the instrument 'Flute', but that depends on each individual song, which I think sounds the best.
But since I'm just a moderate singer and have no musical education, I can't give you good advise.
For personal rehearsal purposes, I create different files for each voice and usually set one voice instrument to 'Choir Aahs', and  stereo pan = 0(left),  and then stereo pan = 127 for the other voices, and use the head phones to listen and sing along.
47
General Discussion / Re: Note in number
Thank you Opagust. It is good. How can you make the color of the active staff and how can we make it singing the whole verses. Is there any facility to highlight only the active staff one?.

Frank

You can change the color of a staff by going to the 'Staff Properties' dialog (F2nafter positioning on the Staff), clicking the tab 'Visual' and choosing the color in the 'Color' box.

I don't know what you mean by 'how can we make it singing the whole verses'.
48
General Discussion / Re: Note in number
Hello Frank,

Five years ago a wrote this number notation tool, which might solve your problem.

I just ran it on the third (green) staff of the song 'Joy to the world', which is a song we sing in our choir.
You can see the result in the attachment.
It looks messy in edit mode, so you have to select 'Viewer mode' (F11) or Print Preview.
49
User Tools / Re: Number notation tool
I haven't used this tool myself for a long time, but when i did today, I discovered some bugs.
You can find a new version in the original post.