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 - hmmueller

1
General Discussion / Re: Seeking arranger for new musical
... very quickly scrolling through it, four observations:

a) Beaming is wrong at a number of places (which is of course not ok, because it kills the visual representation of beats); one example is on p.1066, but there are at least 10 more. In arrangements of mine, I would, for a final run, remove all beams for all notes; and let NWC rebeam them (Alt-T-B). But this will produce un-nice beams at some places which would have to be modified manually each time one does that - which I mark with my EditMark.hmm objects so that I can find them later (one can also use a "remark" staff that is never printed, or things alike).

b) Also, stem orientation is sometimes inconsistent. That's much less of a problem than a), but if it happens inside a measure (which I saw), it also makes quick recognition of identical notes harder, especially with octaves (which I saw differently oriented at places) or chords.

c) In the very last piece, "Curtain Call", too much is wrong:
c1) There are no instruments;
c2) only the piano and whatever is above it (cimbalon?) are notated in the "key" of c flat, although all the e-flats are then all "naturalized".
c3) In the line above (vibraphone?), what is notated as a-sharp and g-sharp should be b-flat and a-flat. Similar problems are in the viola(?) and the second instrument from above.
c4) In the violin(?), in the 4th measure, the notated d-sharp should be an e-flat; likewise, in the clarinet(?) above, e-sharp should be f-flat.
c5) "poco a poco (tempo)" makes no sense. Is it "poco a poco accel."? and is the indicated tempo the start tempo? - "poco a poco accel. from (tempo)" would make more sense to me.

Although I have millions of things to do, it's itching me to give this a try. I'd like to have the NWC files for it, for running various tools (like my RangePitchMarker.hmm for range and note tests); or maybe some heuristics for enharmonics spelling checking (like c3) and c4) above).

d) You would have to create another few hundred pages of voices for this. Do you have a plan (organization and NWC-wise) for that?

I'll crazily think about it ...

H.M.
2
User Tools / Re: Beat Count
Like this?
(layered staff, with stemless notes with blank noteheads; and a lyrics line for the beat numbers, which I put above so that it does not conflict with the lyrics to be sung).

H.M.
3
Object Plugins / Re: About Object Plugins
Hm ... I just tried it with a copy of my "PrintConfiguration" object, which has two User Tools; and where the if-nwcut section ends with
Code: [Select · Download]
  score:save()
  return
I copied it to "fakePrintConfiguration" and tried it. It did work (i.e. save); the only thing is, I always got that popup that showed me STDIN, STDOUT, STDERR. But OKing that, it worked (when saving the score, the NWCTXT file actually changed as expected). Only if you Cancel that popup (e.g. with Esc), nothing happens. (I have a 2.75a.2)

H.M.
5
General Discussion / Re: Violin harmonics
... the second finger (2) is on the E string on the G position and the fourth finger (4) touches lightly the string on the C position so as to create the harmonic.
If I didn't miscalculate, the latter generates a G two octaves higher... but I'm asking for confimation!
Elaine Gould, on p. 420, second entry ("perfect fourth"), says so!

H.M.
6
User Tools / Re: NWCCONVERTOR
Absolutely a million thanks for this! - a few repair actions, and then - practice  :D

H.M.
7
User Tools / Re: NWCCONVERTOR
Isn't it possible to correct the Musescore file, so it matches the scanned score and then export it as a mxl file and use that one as input for NWCCONVERTOR?
Mhm ... well ... yeah ... Actually, I tried to learn MuseScore - I'm not bright enough, it seems. For correcting those rests, I actually asked there (https://musescore.org/en/comment/1246588#comment-1246588), but the answers are essentially "write it anew". For this one measure - ok (although it would take me, a MuseScore dummy, a minute?); but not for many more of such "shifting rests". I tried to load the MusicXML into Capella, with which I can work more or less ... but as the MusicXML is in itself partly broken (Audiveris seems to create such things), and Capella is worse than MuseScore in figuring out such broken files, this didn't work either. Maybe a tool chain Audiveris -> MuseScore (to repair) -> Capella (to edit) -> NWCConvertor -> NWC would work ... but you see what I get at?:

An NWCConvertor which is more forgiving would be a great help for me ... please! But I understand that this is not what you want to do - "prepping" NWCConvertor for arbitrarily broken files.

(In the end, I might rewrite the whole thing in NWC from scratch - now that would be quick :-) ).

H.M.
8
User Tools / Re: NWCCONVERTOR
A wish: Could NWCCONVERTOR replace rests and notes of lengths in the MusicXML which it does not understand with a "nearby length"? Examples:

- replace notes and rests with 3 or more dots with 2 dots;
- replace rests and notes that are shorter than 1/64th with a 64th;
- replace rests and notes that are longer than a whole note with a whole note?
- all this also in triplets
- ignore quintuplets etc.

Scanned music coming from Audiveris via e.g. MuseScore or Capella often contains spurious notes and rests to "make measures and time signatues fit". NWCCONVERTOR, if I understand it correctly, fails when it encounters them. It would be helpful it the (already garbled up) file just becomes a little more garbled up on output to NWCTXT, where I then would have to repair all the wrong things anyway.
In the attachment is an MXL file (inside the ZIP) which fails right now - I have added both the mxl file and the MuseScore file, maybe this is helpful; and an example of a measure with such "padding rests" that I would have to edit out.

Thank you!
Harald
9
Tips & Tricks / Re: Select All Staves - How To?
Do you really want to delete them?
==> then simply press Ctrl-D and PageDown alternately ... see here ("Next" in the video means "Page Down"): https://youtu.be/Jmtq7BQghD0

Or do you want to hide them? i.e., they are still in the score, and can also be heard (unless you mute them):
==> then go to Page Setup (Alt-F G) --> tab contents --> under "Visible Parts", select what you want to see.

Viewing the piece in a "paged view" (i.e. it looks as if you are turning paper pages) is not possible in NWC. One can combine tools like a PDF a viewer, a specialized MIDI listener and some more in a complicated way to do this; but it is hard work.
I present all my scores on youtube with NWC viewer, recorded with OBS (and Reaper an the background as sound engine) - this seems to be helpful for many in our choir. Here is an example: https://www.youtube.com/watch?v=etbe_r1PotQ

H.M.
10
General Discussion / Re: Script Bug Challenge
Nice  :D. Word boundaries are always helpful.

(Incidentally, I created practice files of that type for a friend who wants to "sight-transpose" with her Bb trumpet. I used a simple AWK script to generate a random sequence of muted/visible + playing/invisible note pairs. Youtube example).

H.M.
11
Object Plugins / Re: PrintConfiguration (0.7)
There was a significant bug (or, rather, omission) in this object: It did not save font sizes. I always thought it did, but ... hm. But from version 0.7 onwards, it does. Also, the online documentation now spells out precisely what is saved.

H.M.
12
General Discussion / Re: Just a weekend story
In short: You must manually install Java 17.

Background: Java versions are essentially different softwares, each with its own update path/history. You won't get from one to the other automatically. There are a few "LTS" = "long term support" Java versions, namely:
  • 8 - also written as 8u411 or 1.8.0-411 (411 is the build number, which will change with each upgrade)
  • 11
  • 17 - also written as 17.0.10... or the like
  • 21
"LTS" means that these versions will get security and bug fixes for a maybe decade or even longer. Thus, you have "the latest version 8" installed; but there will not be an automatic jump from 8 to 17.

(I think it's the same with e.g. Windows versions: You can have "the newest version of Windows 10" - i.e., with all the latest fixes -; but you won't be automatically upgraded to e.g. Windows 11; and other "more complex" software products, like database systems, IDEs, etc.etc.)

H.M.
13
General Discussion / Just a weekend story
TL;DR: Life without NWC and NWCConvertor (a BIG shoutout for Opagust!) wouldn't be life - with a healthy dose of support by Audiveris. Here's my story of this weekend:

At hand:
- The full printed 72-page score ("score F") for a small orchestra (strings, winds, harp [with important segments], percussion) of a modern mass for SATB choir;
- also, a printed 40-page condensed score ("score P") for piano and SATB;
- finally, 40-page choir's score (only) in our own modified version for SSAB choir, written with Capella score editor ("score C"). This was created painstakingly and slowly by a colleague, reviewed and edited multiple times by our conductor, formatted by me to get a somewhat professional layout; thus, it deviates from the previous scores at quite a lot of places.

Todo - overdue, i.e. quickly:
- A full score for instruments strings and piano and our SSAB voices; and a piano score.

The idea is that the piano plays the voices from score F except the strings. Maybe half of it will come from the harp, some segments also from clarinets and flutes, rest "as necessary"; much copy-and-paste should be nice to get a rough result quickly.

First idea: Capella Scan (music scanning software for Capella) to scan both scores F and P, then append the string and harp and a few wind staves from score F to the existing Capella score C. Scans with Capella Scan looked good; but copying of full staves betwen scores crashed (the most uptodate version) Capella, and line-by-line copying of 72 pages times 4...5 staves = more tha 300 copy-pastes, with probably more thana handful of pasting errors thrown in, is not what I had in mind for just creating the raw version.

What did work, starting on Saturday morning:

1. Scanning scores F and P into PDFs.
2. Run the PDFs through Audiveris unattended and saving as MusicXML (but the lyrics got lost - I did not succeed in installing the necessary Tesseract OCR files).
3. Import into MuseScore 4 and re-export as MusicXML roughed out many many edges.
4. NWCConvertor then created NWCTXT files ready to be edited without a hitch.
5. A good text editor (I use UltraEdit) and some regular expression magic converted or removed many funny things (mostly invisible rests that came from Audiveris and MuseScore to even out measure lengths) in the NWCTXT files (I LOVE a line-based text format ... for this sort of jobs)
6. Copy-paste of the lyrics out of Capella did work; however, the text editor and its regexps were needed again to replace Capella's somewhat weird lyrics formatting to get simple NWC-like lyrics.

From there on, I did direct editing in NWC: Copy-pasting staves (all the strings, harp!) or parts of staves (clarinets!), and then also writing of a few hundred new measures. On Saturday evening, I attended another choir's concert. On Sunday at 9am, I continued; and at noon, I was done with writing out the notes. The standard process of adding sound and listening to the voices revealed quite a few missing clefs and accidentals - but by 3pm or so all sounded fine. Formatting for nice page boundaries took another two hours, and at 5pm, I sent out the full director's score.

Creating the piano scores from the same NWC score files took a few hours today - I use my PrintConfiguration.hmm objects extensively: It's really easy to quickly create voice scores (in this case, for piano with a cue staff) as well as re-create the full scores (because, of course, I found quite a few more quirks during this).

I'm now waiting for review remarks from the conductor and the piano player. After maybe two or at most three more turnovers, we can then print and bind the 70 pages for the conductor; and print the 15 piano pages.

H.M.
14
General Discussion / Re: Buona Pasqua
Happy Easter to all of you!

Holy Week: 5 services behind me, 3 coming up; 9 or 11 rehearsals, I don't remember; and a number of 3-voiced choral settings written; one of them in 12 minutes (friend in car was coming, so I had to hurry) - including lyrics and nice formatting, of course using NWC. Wouldn't know any other music editor where I could do that. See attachment.

H.M.
15
General Discussion / Re: Funny notation
Better (or rather, correctly) like that:

Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Note|Dur:8th|Pos:2|Opts:Stem=Down,Beam=First
|Note|Dur:8th|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:2|Opts:Stem=Down,Beam,BeamGrp
|Note|Dur:8th,Dotted|Pos:5|Opts:Stem=Down,Beam=End
!NoteWorthyComposerClip-End

H.M.
16
Object Plugins / Re: TremoloSingle.ms (2.1)
Mike, I think you are right. In the attachment are three excerpts from Bruckner's 7th symphony (two at the very beginning, one almost at the end); where one can see that the tremolo markers on the eighths have two beams, whereas the tremolos on longer notes have three beams. Of course, the tremolo speed is the same everywhere in a phrase.

Elaine Gould implicitly, by examples and by implying that the notation is (also) used for "measured tremolos", implies the same on pp.222-225 of "Behind Bars".

H.M.
 
17
General Discussion / Re: Very long half note
In the attachment is my version of the tenors - simply written on two staves, with melismatic.nw.

And here is a Youtube of NWC's + Reaper's rendition of it, using Olympus Micro Choir in Kontakt Player (see attached PNG). First, I press F11 so that the two staves are shown as a single one; then I play it - I think one can hear all the notes of the voices quite distinctly.

H.M.
19
General Discussion / Re: NWC bug
My 2.75a.2 is "even wronger" - when I do what you say I get a completely impossible thing  :o  :P  :'( - see the attached images!!
But after saving and reloading it's actually as you show it.
Ok - a bug, or maybe two :)

H.M.
20
General Discussion / Re: NWC bug
Not sure why this should be a bug: A b-flat is different from a b-natural, so they cannot be tied. What do I overlook?

But there is an obvious bug in NWC, to be seen here:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Clef|Type:Treble
|Note|Dur:4th|Pos:b0^
|Bar
|Clef|Type:Bass
|Note|Dur:4th|Pos:0
!NoteWorthyComposerClip-End
These two should not be tied.

H.M.
22
User Tools / Re: NWCCONVERTOR
Or you may move the time signature before the RangePitchMarkers?
I hesitate to do this, for two reasons ...

a) I have all the "fixed things" on the left (which includes the RangePitchMarkers), and then start with the piece (which includes the time sig).
b) The key signature goes before the time signature, so the key signature would be before the RangePitchMarkers, and then those would need full accidentals ... which, thinking about it, wouldn't be too bad anyway ...

... those staff headers anyway got too chaotic, so I might want to clean them up; and then see whether the (or - aha! - some (maybe invisible)!) time signature could go before them. More "clerical work" to do, instead of writing music ;-)

Thanks!
H.M.
23
User Tools / Re: NWCCONVERTOR
Mhm. Seems I need to change my templates - these are RangePitchMarkers I use now at many places ... or I delete them manually (using GroupOps) to create specific "convertor nwctxt files"; that's probably what I'll do.

Thanks!
H.M.
24
User Tools / Re: NWCCONVERTOR 1.0.7.2
Trouble with a score ... this one says with ERROR. I do have a time signature in "P2, voice 1" as far as I can see. What's wrong?

(In case you ask about that spacer-filled staff: It is for somewhat more smooth playing in the Viewer, like so).

Thank you!
H.M.
25
General Discussion / Re: Finished Software?
Are there any significant bugs in the released version that haven't been fixed? I am aware of one minor user-object-related bug that was fixed in 2.8 beta 1, but I also recall that the beta introduced a different change of behavior that broke several user tools.
Didn't we have a list somewhere? The one bug that bugs me is that slurs with an invisible marker are shown visibly after the next line break after a repeat bar (the workaround is to plaster in multiple invisible slur markers; so yes, it's only a nuisance and nothing "significant" :-).

H.M. 
26
General Discussion / Re: Una corde
If you mean by "do this"
  • "how to notate" this - just write, as in the original score, "una corda" (ok, that's probably obvious);
  • "how to make it sound like that", then the question is, first, of course: "What is that una corda sound?" - I have not played too many upper-class pianos, but as I understand it it's a more mellow sound, and typically also with less volume (although you could hit the keys very hard in an una corda passage). Possibility 1: Typical piano soundfonts get more mellow when playing with less velocity; so reduce the velocity (with a dynamic with suitably chosen velocity) until you get the sound you want; and then adjust the channel volume (with an MPC) so that is as loud as you want. Possibility 2: If you find a piano sound font with an una corda bank, you can switch to that bank (with an Instrument Change).

H.M.
28
Object Plugins / Re: TremoloSingle.ms (2.1)
Would something like the following work, for line 157?
Code: [Select · Download]
	local fini = idx:sppOffset() + nwcplay.calcDurLength(idx:durationBase(t.Which == 'bottom' and 1 or idx:noteCount())) - 1
At least, it seems to play both the attached scores correctly ...

H.M.
29
Object Plugins / Re: Beam.hmm (0.91)
I've quickly added a "Beam width" property in version 0.91. 1 is the default width. An example file is in Reply #1 near the top of the thread. I hope I have not introduced any (new) errors - if so, please notify me!

H.M.
30
User Tools / Re: NWCCONVERTOR
Thank you!

- First item  :)) .
- Second, I had not installed MS3 on my new laptop - did it, it worked (well enough), thank you for trying and telling me!
- Third, I do not need correct playback - it's just that a certain website requires a MusicXML to be added, so I needed one. For actual listening, I have a youtube link to a playback with NWC Viewer (and Reaper + some soundfonts for the actual sound).

H.M.
31
User Tools / Re: NWCCONVERTOR
... also, here is an nwctxt file which after conversion crashes MuseScore 4.1.1. Maybe you can figure out the problem?

Thx!
H.M.
32
User Tools / Re: NWCCONVERTOR
Very good tool - but the first dialog opens at weird places. Now, after having converted 5 or 6 files, it opens almost fully outside my screen - see attachment. So I cannot click on it, and the standard keyboard bindings seem not to apply (Y or J for yes; N for no; Enter for the standard button) - game over  :D

Edit: Ah, could open it by reducing screen enlargement from 125% to 100% - see second attachment. However, one can see that the window is ridiculously large. I have attached the nwctxt input file producing this.

Edit 2: 26 staves - a large wind band - seem to be listed from left to right - see one more attachment ...

H.M.
34
General Discussion / Re: Elementary question - complicated answer?
Here is high level attempt to start(!) to answer your question(s) - and maybe reveal that I myself do not yet understand many aspects  ::) .

In the attachment, there is a diagram that shows some important objects.

On the left, there are a few NWC staves, with assigned MIDI channels. Multiple staves can send to the same MIDI channel - typically if they "are" the same instrument (e.g. left and right hand of piano). Often, one does that if the channels just sound the same (e.g. soprano and alto of a choir), but this limits more advanced possibilities (like having differing volumes of the sopranos and altos).

On the right, there is a "Playback Device" or "Synthesizer" or "DAW" or "Instrument Container" or ... many other names for this. Such a thing has typically 16 MIDI input channels (but it might be a software that, on the outside "looks like multiple playback devices", each which its own 16 channels ... so if you need more than 16 sounds to be controlled ... ok, later).

Inside, there are multiple "Instruments" or "Players". There are, in a vast generalization, two sorts of them:
  • Some are "specific instruments" - like "a violin", "a piano", "a choir". So, at least in a first setup, they are not controlled from the score, but directly in some GUI (except for the notes and the volume - these will always come from NWC).
  • Some are "general purpose players", like e.g. "soundfont player" (sfz, sfz+) or, in a kind of Russian doll hierarchy, "instrument containers" that are again like a Playback Device (Kontakt Player, for example). If they are loaded with a single sound font (e.g. from the "Sonatina Symphonic Orchestra" collection) or instrument (e.g. a single choir), they are like the "instrument above"; but if they are loaded with a "general soundfont" (most important, a General MIDI Soundfount; like FluidR3 or Chorium), someone must tell it from the outside which sound to play! - and this is where the "Send Patch" comes in (on MIDI level, this is accomplished via  a "Program Change Event" - all this is highly confusing: Why isn't it called "Patch Send Event"??). The grey circle in the middle diverts the incoming MIDI events (for notes) now to the right "patch" - or "program" or "sound" -, and all is fine. Typically, your Digital Instrument remembers the last Program Change, and the Playback Device remembers all its instruments and what they remember - therefore, after you have sent a "Program Change/Send Patch", you will not have to send it again ... ... unless some other score sends another "Program Change" over the same MIDI channel - then the earlier one is forgotten.

    ... and yes, NWC's Send Patch GUI logic seems somewhat too complex. As I understand it (and use it), if the "Send Patch" checkbox is enabled and there is a number in the patch field, a Program Change Event will be sent (either when NWC starts playing, for a staff; or when it encounters an Instrument Change while playing along). Nowadays, I know the numbers I need (Ocarina = 79, for simulating a small barrel organ!), so I ignore the "Predefined instruments". But even if I use them, I look at the checkbox and the patch number to check whether a Program Change will be sent.

    Next complication (there are millions): I made it look like an instrument listens on a single channel (1, or 2, or ...). But almost all instrument can also "listen on all channels", and then inside them do a distribution of channels to patches. This even more blurs the distinction between devices/containers and instruments/players, and sometimes drives one crazy if some program change switches over something in a completely unexpected instrument ... It pays off to have a "simple standard assignment here" - I try to avoid such "omni-channel" settings as much as possible.

    Last thing, re the banks: A "sound", as in "soundfont" or in "(real) instrument", is, of course and unfortunately, too coarse:  At the simplest level, a violin can be played with the bow or pizzicato, a choir can sing with male or female or mixed voices - but one can go much farther here: There are different makes of pianos, and different sharpnesses of voices, and different whatevers of whatever. So, a single "patch" might provide an additional selector for selecting these "sub-sounds" - those would be the banks. I have not yet come around to need that in my layman sound creations attempts, so I always a rigidly leave Send Bank Select disabled - but it's there, for the brave and whoever needs it.

Ok - I stop here, for the moment ... might be too confusing, and even wrong, already. Any help?

(Of course, what's missing is the "sound pipeline" that is coming out of the playback device - don't think that that's easy! And, on the left side, one may use "virtual MIDI cables" to make it easier, or more versatile and more difficult, to assign MIDI outputs (like from NWC) to playback devices. So, there's much more where one can fail ...).

H.M.
35
General Discussion / Re: Elementary question - complicated answer?
A very very very reasonable request - however ... ... (a) it is, again and again, hard work to set up an audio rendering pipeline - then, suddenly, everything works - and one instantly loses every inclination to write down what went wrong and why it works now; and (b), everyone has his or her own pet tool landscape, and many try to describe or, on the other side, want to only understand it for their environment: So, a times b times c ... descriptions (a: number of MIDI connectos; b: number of rendering engines; c: number of sound fonts/instruments etc.etc.) want to be written and read. That, of course, never happens.

Ok, after that general whining, I think I want to try a little what's happening with that patch thingy ... exactly because I do not understand it also (but ... it works ... hm).

H.M.
36
General Discussion / Re: Development of Rubato User Tool
Hm. Just so that the problem space is clear, I made a little youtube video of a score I have attached below. It consists of four sections, all with the same notes and the same tempo indications.

  • Section A just plays eighths with tempo 100, then with tempo 200.
  • Section B has the same tempo indications, but now, there is a "accel" some time after the 100; and a "rit." after the 200. And now NWC, just so, actually starts to accelerate at the "accel." and reaches a tempo of 200 at that mark; and slows down again from the "rit." to the 100 mark. That's just simple out-of-the-box NWC behaviour
  • Section C shows that NWC actually does not care whether you write "accel." or "rit." - both mean to it only "slowly modify tempo to reach tempo shown at next tempo indicator" - that's just for fun info.
  • In Section D, I tried the rubato tool on the items marked red; i.e., I selected that range (which includes the leading 100 tempo and the 200 tempo at the end), selected "5" as the parameter for the tool ... and presto, something had happened. You can see the effect in the image I have also added below - I actually do not understand what this result means. I would have guessed, from the comment in the tool, that it would do what NWC does, but with some randomization, i.e., it would select other tempi in that range going up and down a little. "quarter=4" is, however, quite far from anything specified, as you can also hear in the video (which I stopped after 3 eighths ...).

@Francois: I'm not sure what you want to accomplish. It seems to me that you only want to have simple linear tempo changes, i.e., what NWC can do with accel./rit. - is that true, or what did I overlook?

@all: I'm not sure what the Rubato tool is supposed to do, and what it actually does - anyone knows it (before someone delves into the code ...)?

H.M.


37
Object Plugins / Re: GroupOp.hmm 0.5
Version 0.5 contains a small bugfix with Lyric=Never notes; and updates to the documentation, including a link to this thread.

H.M.
38
Object Plugins / Re: GroupOp.hmm 0.4
And ... 0.4, with some support for more easily expanding repeats with endings. Here is an explanation with a few pictures; I have attached the four respective scores below.

Let's say I have notated the following (how can I make the images to show? they have https: links, what else is amiss?):

<Image Link>

... and we now want to "expand the repeat", i.e. notate this without master repeats and endings. For this, I first mark the part to be copied with Start and End and put an Insert just before the final repeat:

<Image Link>

Below the score, I have shown in red the "How to handle flow" properties of the three GroupOps; they will control whether master repeats and endings vanish ("Remove"), or whether master repeats are replaced with something else ("Single" bar, in this case).

Running now the Copy tool, we get the following, somewhat cluttered result:

<Image Link>

Finally, after running the Reset tool the score looks like this:

<Image Link>

Note that quite some cleanup is still necessary. Especially the lyrics need to be converted to a single line, but also some dynamics are certainly superfluous. Still, with a larger score (4 voices SATB, some instruments), this should be quite helpful in some cases.

H.M.
 
39
Object Plugins / Re: GroupOp.hmm 0.3
I repaired the two bugs, and updated the "complex lyrics example" above to include
  • grace notes with Lyric=Always; and
  • lyrics with " and newlines that are deleted (and hence moved into string fields of a GroupOp-Insert object).

I am unsure about the following code:
Code: [Select · Download]
item.Opts.Opts and item.Opts.Opts.Lyric == 'Always'
Does this work over all (newer) versions of NWC, i.e., do they all have this doubled Opts? (I seem to remember that with .Text, it is sometimes necessary to check both .Text and .Text.Text). Is there a more idiomatic way to write the access to the Lyric field?

H.M.
40
Object Plugins / Re: GroupOp.hmm 0.5
I have now, in a major upgrade, added lyrics handling: The Copy tool copies the relevant sections of lyrics, the Delete tool deletes the relevant lyrics section and saves them in the Insert object it creates - this might be helpful if the delete was not what was intended so that the text can be resurrected (but before using these tools, backuping the file and then not overwriting the backup is strongly recommended).

I wonder why I haven't written such a gadget long ago - as a choral arranger and composer, I have done so many "repetition unwindings", with manual lyrics copying around, that I would have saved hours with such a tool - whether mine or @Opagust's. Should teach me something ...

Up to now, I've tested the new version only on a few test files and one large choral score. But I'm sure more scores will follow, so bugfixes, in case I find something, will come.

For those interested in development: The logic of when a note, or chord, or restchord, or rest does accept a lyrics syllable is not simple; if someone is interested, I have added a score with many (all?) possible hiccups in it; running the Delete tool must remove exactly the b's in the first lyrics line and the spaces (underscores) in the second. Along the way, I found two bugs in NWC, namely (a) that ties go over clefs to notes at the same position, instead of the same sounding note; and (b) nwcPlayContext.Slur is broken - it never returned true in my attempts.

@Opagust, I looked at your code in CopyPasteMeasures.og.lua and learned a little bit; but tried to do it "my way"  :D

Edit: Ah, there is a bug in my code: If there are grace notes with Lyrics set to 'Always', the lyrics counting misses a step or two. I will repair that in a few days - probably not the most important problem ...
And since I'm still running with 2.75a.2 (the last non-development build, AFAIK), nwcut.encodeText() is not yet available. I currenlty append the raw text to the Insert's properties in the Delete tool, but this will stumble with " chars, new lines and maybe more - also to be repaired.
- repaired in 0.3.

Edit: I have added an example of a note with Lyric=Never that led to a misstep of the lyric calculation that has been fixed in 0.5.

H.M.
41
Object Plugins / Re: TremoloSingle.ms (2.0e)
Not only are split chords stepchilds (but still useful; even more so with rest chords with invisible rests) and hence tremolos on them of medium importance, I don't know of any instrument that would (more or less easily) be able to play differently long tremolos - yes, of course one can do this with two hands on a piano or harp, and with very versatile fingers maybe even with one hand ... but ... who, when, where? I'd suggest to live with the limitations.

H.M.
42
General Discussion / Re: The contents of the Meta Data (File info)
Two ideas (not yet solutions), from a programming guy:

(a) Save every file as nwctxt file - this, you would have to do manually (but see (b)). Then, someone (you?) can write a simple program to replace all those Copyrights (I would write an AWK script; but any programming language will do).

(b) There is a tool called AHK - AutoHotKey -, which allows to automate keypresses (and mouse moves, but NWC can be almost perfectly controlled from the computer keyboard). With it, one can write a script to edit those copyrights.

Edit:
AHK can be downloaded at https://www.autohotkey.com/download/2.0/. The download page is very long; what you want right now is the setup file AutoHotkey_2.0.10_setup.exe, way down on the page.

I have attached an AHK script (inside a .zip file, as this forum does not allow upload of .ahk files) that changes the copyrights of an open file and then saves and closes the file. To use it:
1.  Install AHK
2.  Save my script somewhere (by downloading and extracting the ZIP file)
3. Install ("run") the script, by double-clicking it
4. Open NWC and open a .NWC file in it (use a new test file, please)
5. Press "Alt"+"Windows"+C (that's what the !#C in the script means)
- -> the script will change the copyrights, save the file and close NWC.

To modify the copyright texts inserted by the script, edit the SendText lines in the .ahk file (e.g. with notepad). Then, do again steps 3...5. above (you will be asked whether the script should be replaced - just hit enter).
Maybe this is helpful as a starting point.

It is possible to write e.g. loops over files in AHK to fully automate what you want (but I don't know [yet] how to do that). However, I would do it manually file by file, even over hundreds of files - just to be sure that I handle the right files. The process would be:

a. copy all your NWC files to a temporary "working folder" (dont work on the originals ...);
b. mark the first file (by pressing space)
c. hit enter - this opens NWC with the file
d. hit Alt+Win+C - this changes the copyrights and closes NWC; you are now back in the folder view
e. hit space (this marks the next file; for some reason Windows advances the mark to the next file, which is nice for opening all the files one after the other  :D)
... and repeat from c.!
It's really quick - I tried it; about 2 seconds per file.

H.M.
43
Object Plugins / GroupOp.hmm 0.7
The name of this Plugin sounds strange - this is so because it is only a "support object" for copying and deleting larger "groups of items" on multiple staves. NWC cannot do "vertical selection" over multiple staves, yet sometimes it is necessary to copy a segment on all staves to some other score position. Typical scenarios are
  • expanding of verses notated with repeat marks, when later in arranging differences between the verses should be notated precisely (e.g. when the syllable counts differ; or when, for playback, different note lengths - slurs etc. - are desired);
  • during arranging, when a part that has been expanded from a particell or the like should be copied to a repeat.
From version 0.2 onwards, the tools for copying and deleting also handle lyrics correctly, which should greatly improve their usefulness.

With GroupOps, one would do the copying as follows:
  • place a pair of 'Start' and 'End' GroupOps on each staff around the segment to be copied;
  • place an 'Insert' GroupOp one each staff at the target place of the copying;
  • execute the plugin's user tool 'Copy'

Typically, the 'Start', 'End', and 'Insert' GroupOps on the staves will be lined up vertically, but this is not required. Only one 'Start', 'End', and 'Insert' GroupOp should be present on each staff; the 'Copy' tool will ignore all after the first, but it might also produce chaotic output of there are more GroupOps of a type on a staff. The 'Insert' GroupOp can be after, before or even inside the segment to be copied.
The copied result will be shown between dashed GroupOps.

The two attachments BeforeCopy.PNG and AfterCopy.PNG show the setup of a copy and the score after executing the GroupOp.hmm:Copy user tool.

Since 0.4, there is some support for expanding repeat sections with master repeats and endings; for an explanation and an example how to do this, see Reply #9 below.

With the plugin's 'Delete' user tool, it is possible to delete segments, delimited by 'Start' and 'End', on multiple staves. Also here, the 'Start' and 'End' GroupOps will typically be aligned vertically over the staves, but this is not required.
The deletion locations will be shown by newly inserted 'Insert' GroupOps.

Finally, there is a 'Reset' user tool to remove all GroupOps. This is useful if another 'Copy' or 'Delete' is done to make sure that not left-over GroupOps play havoc with the score. The example AfterReset.PNG shows the Copy example form above after the GroupOp.hmm:Reset user tool is executed.

In effect, this user plugin replaces the PHP user tools I have published in this old thread.

H.M.
44
General Discussion / Re: Pending???
I bought a new license a week or so ago for my new laptop, and it installed immediately - ok, no upgrade .... hm.

H.M.
45
General Discussion / Re: Is this new version designed by Satan or what?????
Well, then ...

First, you should have a backup copy of your installer around, or the original CD.
Second, you could use this webpage of NWC.
Third, maybe someone can give you a copy of his - I dont think many people still need their V1.

However, let me point out that NWC 1.75 and earlier do, to the best of my knowledge, not run on a 64-bit Windows; whereas laptops nowadays are only supplied with 64-bit processors and OSes. So you might have to install a virtual machine that runs an older Windows version for that version 1 NWC.

Still, and finally, I'd bet a complete license price of that version 1 that also then, there'll be problems running the software on the new laptop. There's something else amiss here ...

H.M.
46
General Discussion / Re: Is this new version designed by Satan or what?????
Hm. I bought (again) the newest 2.75a version two days ago, installed it on my new laptop, and everything runs as smoothly as ever.

What do you mean by "getting stuck"? - when editing, when playing, when saving?

Have you opened Task-Manager and watched its performance tab (especially its CPU and Disk graphs) during these bad experiences with NWC? Maybe they help to find whether e.g. a virus scanner, or a hard disk at its limit makes NWC stumble ...

On the whole, NWC uses the most standard Windows input and output methods of any music editor I know; and AFAIK not much has changed from 1 to 2 there. I am quite convinced that falling back to version 1 will not help you - there's something else going on.

H.M.
 
49
General Discussion / Re: Importing a MIDI with Lyrics
3rd posting on this - not nice what's going on in this world (only talking about MIDI  ;) ). I have found a way to put Spanish letters into lyrics and then have them showing up in Van Basco ... but it's not at all nice. Maybe someone else here can improve on it ...

First, here are two things I tried that did not work:
- Saving the music as NWCTXT, converting this from UTF-8 to ANSI (e.g. with Notepad++), reading that in with NWC and exporting as MIDI. NWC gets confused by the non-UTF-8 lyrics and exports ... well, nothing usable.
- Exporting from a MusicXML to MIDI via MuseScore (MuseScore does not save any lyrics in MIDIs).

What works is a chain via Reaper:

1. First, work around the "first syllable not shown" problem of Van Basco (or Karaoke files in general?):
- Add a rest at the very beginning of the NWC file (I use a whole rest);
- Select it, open Properties (e.g. Alt-Enter) and change "Lyrics" to "Always"; press ok.
- Add a first syllable to the lyrics (I use a single period)
==> see attached SpanishLetters1.jpg and SpanishLetters.nwctxt.

2. Export MIDI file from NWC.

3. Import it in Reaper (open new project, drag MIDI file in [hit OK on "Import ... tempo map] - creates a new track)
(For the Reaper DAW software, see reaper.fm website; there's download link somewhere there. Reaper is a huge software - I know only 1 % of it; but no need to get scared  8). It's only free for 60 days IIRC; for me, it was worth the 50 or so $$. Maybe all this here also works with Audacity? - which is free ... edited: No, it doesn't :( - lyrics show up as UTF-8 encodings)
==> see attached SpanishLetters2.jpg

4. Export from Reaper via "File->Export ..."; select a good filename (I take the original one and add _ViaReaper. In the example, that would be SpanishLetters_ViaReaper.mid).
==> see attached SpanishLetters3.jpg

Reaper, who could read in the UTF-8 lyrics from the NWC-exported MIDI, exports the lyrics now in "ANSI encoding", which can be read by Van Bosco.

5. Load the exported file into Van Basco.
==> see attached SpanishLetters4.jpg

It works (mostly; once I only saw a copyright message in Van Basco). But it's cumbersome, error-prone, what-have-you ...

H.M.
50
General Discussion / Re: Importing a MIDI with Lyrics
...How do I edit a MIDI then? Can somebody tell me exactly how to import the MIDI with lyrics correctly so that they end up in the Lyrics 1 tab?
Oh, I see: As far as I can see, the lyrics end up on a separate "layered" staff which has only "rhythmic notes" in it, where the lyrics are attached - see the attached image of my re-imported file.
You can go to that staff with "Page Down" (it will become highlighted - see second attached image), and after pressing Ctrl-L you can now edit the lyrics.

A second related problem is to export the NWC file into a MIDI file, and the Spanish accented letters would show correctly. áéíóú ÁÉÍÓÚ and ñÑ¿¡. Any help people? I am like a month trying to figure out how to do this and nothing.
Oh. After installing VanBasco, it seems that it cannot handle "UTF-8" characters - it shows them as some garbled letters (3rd attached image). Hm. Two possible solutions - but both need a little more research:
  • Use another karaoke player that can handle "UTF-8 lyrics";
  • Convert the MIDIs to "local Windows codepage" with Spanish symbols.

I'll look a little into it ...

H.M.