On 1 Nov 2023 as I do recall,
Jean-Michel wrote:
> Bonjour Harriet
> In message <
b73e52fc5...@bazleyfamily.co.uk>
> Harriet Bazley <
har...@bazleyfamily.co.uk> wrote:
>
> > Does anyone happen to know how you obtain one-bar repeat symbols in
> > Philip Hazel's !PMS for RISC OS?
>
> >
https://dictionary.onmusic.org/terms/4804-repeat
>
> > I've done my best to scour the manual, but I've discovered before that
> > the feature I wanted did in fact exist somewhere buried in the
> > documentation and/or examples, but not under the name by which I was
> > expecting it!
> I didn't find it in the !PMS examples.
> I found an item Repeated bars page 136/148 in the PVM 4.12 manual, but I
> haven't been able to put it into practice.
I got it working; you just put a figure in square brackets before the
bar you want to be repeated that number of times, e.g.
[4] dd |
will generate four 2/4 bars of two crotchet Ds each. The problem from
my point of view is that the 'repeat' feature will actually create
duplicate bars instead of simply marking them to be repeated by the
player - and the other problem is that you cannot, for example, start a
hairpin between two repeated bars, or add any other text or dynamic over
one but not the others. Those four bars are generated all as a single
unit.
I could not, however, get the feature in section 41.18 to work, which is
supposed to move rests up or down the stave; I had to use an [rlevel
-10] to stop the rest in one part from colliding with the notes above it
in the other part. :-(
(Edit: I just worked it out. The option uses the *letter* 'l' rather
than the *figure* '1' -- unfortunately the example given is shown in the
Corpus font where the two characters are identical! So the option
r\l-10\ will affect that *specific* rest as I wanted, rather than
affecting every subsequent rest, which is what the [rlevel] command
does.)
> The repeat character exists in PMS fonts
I can't find it - though I did discover that if I switch XChars to
'Default' encoding instead of Latin-1, the PMS-Alpha and PMS-Music fonts
display a lot of extra characters. But not that one!
The PMS manual has an entire appendix - "Chapter 49 The PMW musical
font" which lists every character that supposedly exists, including some
very obscure extra components to be used for building up notes: quaver
tails or special longer vertical stems for using with cross noteheads as
opposed to normal noteheads, for example... I'm guessing that the
combination needed is characters 143 and 144 of the PMS.Music
font overprinted on one another, a thick diagonal line and a pair of
black dots on the opposite diagonal. But the manual doesn't give a
text description for these characters as it does for many of the others,
so I have no idea what !PMS calls them if they are ever referred to.
> Note: Rhapsody4 uses the same fonts with permission from Richard Hallas,
> and the bar repeat is displayed correctly.
Yes, Rhapsody definitely has the required feature, which displays and
plays back correctly. I assumed that PMS would as well, but if it has I
can't find it!
> > I could probably attempt to draw one using the drawing functions, but
> > then of course you would have the problem of getting the bar count and
> > playback to reflect the symbol....
So far as I can make out, I would probably need to encode it as a blank
bar filled by an invisible rest, and then output character 143, then
overprint it with character 144. This would not have the right effect
on playback, but that's not really an important issue in this case, as
what I need to do is produce PDFs/printout for distribution among my
fellow players. So provided it *looks* all right, they won't know the
difference...
Edit: OK, defining PMS.Music as 'extra font 1' and then printing
character 143 followed by 144, *in that order*, will output the required
symbol below the stave, which is not where I want it but which is a
start.
Textfont extra 1 "PMS.Music"
[stave 1] "\x1\\144\\143\"
>
> It's a shame that the PMS output functionality that was planned is not
> implemented in Rhapsody4.
Yes - the Info file released with the Iyonix-era version of the software
(circa 2007) states that Rhapsody 4 and SharpEye can both generate PMS
output, but presumably this was based on the Rhapsody 4 manual's claim
that it did so. :-(
>
> Perhaps building the latest versions of Philip Hazel, the program is
> maintained.
>
Apparently there was a July 2023 release:
http://quercite.dx.am/pmw.html
--
Harriet Bazley == Loyaulte me lie ==
It is easier to fight for one's principles than to live up to them.