denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Custom Barlines


From: NagyMusic
Subject: Re: [Denemo-devel] Custom Barlines
Date: Fri, 22 Sep 2017 16:56:58 +0000

Thanks, Richard. I did what you suggested but still don't seem to have luck with inserting the dotted barline when there's a system break. Here's the breakdown of my process:

:: Every time when there's a system break (e.g. between mm. 8 and 9), the pre-defined (Directives => Inserting Barlines) or custom-made (thick) barline reappears at the beginning of the new system below, right after the clef. This doesn't happen when I insert another pre-defined (e.g., double) barline from the Inserting Barlines menu.

:: In order to insert a pre-defined (e.g., double) or custom-made barline (e.g. dotted), I place the green cursor on the given barline between two measures (e.g., 8 and 9). Once there, the cursor turns red. At this point, I click to Directives => Menu of Objects to Insert, when the custom barline is successfully placed in the score, except that the same barline is printed again at the beginning of the new system that follows below.

:: Per your suggestion, I tried inserting a different symbol in step 2 (appearance when the barline is at the beginning) when creating a custom-barline, but that created an error message informing me that Lilypond can't typeset the music.

Might it be possible to create pre-defined (built in) buttons to insert various Lilypond barlines in the next Denemo release, in addition to other barlines that Denemo comes with at the moment?

THANK YOU!

P.S. Multi-measure rests are working great. Thanks!

On Fri, Sep 22, 2017 at 11:59 AM Richard Shann <address@hidden> wrote:
On Fri, 2017-09-22 at 13:42 +0000, NagyMusic wrote:
> I also wanted to ask, if I may, how to best go around producing a
> violin part in the given score? While I can view the typeset part in
> Denemo Print View (=> Part), the empty measure rests are not
> compressed. I tried using Multi-Measure Rests command found in
> Notes/Rests, but with no success.

Did you find the Help text that comes with that command?

Command: MultiMeasureRests

Information:
Creates a multi-measure rest from the whole measure rests after the
cursor, or inserts the number of rests you specify after the cursor,
making them a multi-measure rest. Multi-measure rests will be typeset as
individual whole measure rests if any other part being typeset has music
during them.

There was a typo in that text which I have now fixed ("if" was "in").
You didn't describe what happened when you used this command - the
command is working as described...

Richard


> I welcome your advice. Thank you!
>
>
> On Fri, Sep 22, 2017 at 9:08 AM NagyMusic <address@hidden> wrote:
>
>         I was able to successfully customize and modify the barline
>         behavior. However, once a custom barline is introduced (e.g.,
>         dotted), it is repeated at the beginning of a new system. What
>         would be the best way to avoid that? When regular (default)
>         barline is used, the barline is not repeated at the beginning
>         of a new system. I attached my practice score and Denemo file
>         for your reference.
>
>
>         Thank you for your help!
>
>
>         On Thu, Sep 21, 2017 at 4:30 AM Richard Shann
>         <address@hidden> wrote:
>
>                 On Wed, 2017-09-20 at 19:36 +0000, NagyMusic wrote:
>                 > While I was able to successfully create a custom
>                 barline (I gave it a
>                 > name and inserted the Lilypond symbol four times as
>                 prompted), I can't
>                 > seem to find a way to insert this newly created
>                 barline in music
>                 > without using Directives->Insert LilyPond. Any
>                 advice? In other words,
>                 > where can one find the command to insert the newly
>                 created custom
>                 > barline?
>
>                 Directives->Menu of Objects to Insert
>
>                 this is an empty menu until you have created a custom
>                 barline. More
>                 generally, if you create a Score->LilyPond Definition
>                 then you can
>                 insert it via this command.
>
>                 Otherwise as I wrote before:
>
>
>                      1. Move the cursor onto the Denemo Directive
>                 created in step 4
>                         above (it is marked as a line with a blob on
>                 top)
>                      2. Right click on it and choose "Create button
>                 for clone"
>                      3. Select a palette from the list or create a new
>                 one
>                      4. Type a label for the button
>                      5. The button now appears in the palette you
>                 chose, clicking it
>                         inserts a clone of the Denemo Directive object
>                 that inserts the
>                         LilyPond syntax.
>
>                 You can also turn the script that the button runs into
>                 a menu item...
>
>                 Via that route you could eventually arrive at a
>                 command with a single
>                 keyboard shortcut that would insert your barline. (If
>                 you were doing all
>                 that you would probably improve the way the barline
>                 displays itself in
>                 the Denemo Display, so that you could recognize it
>                 more easily).
>
>                 Richard
>
>                 >
>                 >
>                 > Thank you!
>                 >
>                 >
>                 > On Sun, Sep 17, 2017 at 5:52 AM Richard Shann
>                 > <address@hidden> wrote:
>                 >
>                 >         On Sun, 2017-09-17 at 00:47 +0000, NagyMusic
>                 wrote:
>                 >         > Hello,
>                 >         >
>                 >         >
>                 >         > As a new user of Denemo with extensive
>                 Lilypond experience,
>                 >         I'm
>                 >         > writing to ask how to create custom
>                 barlines (e.g., dashed,
>                 >         dotted,
>                 >         > etc.) in line with all available Lilypond
>                 options:
>                 >         >
>                 http://lilypond.org/doc/v2.19/Documentation/notation/bars
>                 >         >
>                 >         >
>                 >         > I tried creating a custom barline tool
>                 found in the Barline
>                 >         tab, but
>                 >         > it didn't seem to work.
>                 >
>                 >         That would be this command I guess:
>                 >         >
>                 >         Command: Custom Barline
>                 >         Create a custom barline.
>                 >         These can be named, or can simply override a
>                 standard LilyPond
>                 >         bar line
>                 >         type.
>                 >         A bar line is defined by four forms, which
>                 describe 1) the
>                 >         appearance
>                 >         normally (during a line),
>                 >         2) appearance when the barline is at the
>                 beginning or
>                 >         3) end of a line , and
>                 >         4) what to show when joining staffs together
>                 as with a Piano
>                 >         Staff.
>                 >         Barline forms are made of characters
>                 including |,:,.,[,],:
>                 >         and others in the LilyPond documentation.
>                 >         Location: Object Menu ▶ Score ▶ Typesetter
>                 >         Internal Name: CustomBarline
>                 >
>                 >
>                 >         I just tried it, taking all the default
>                 responses. It created
>                 >         this
>                 >         syntax (in the LilyPond window)
>                 >
>                 >         \defineBarLine "|-A" #'("|" "|" "|")
>                 >         BarA = \bar "|-A"
>                 >
>                 >         I tried it out by inserting the LilyPond
>                 syntax "\BarA"
>                 >         between two
>                 >         notes (using Directives->Insert LilyPond)
>                 and got this
>                 >
>                 >          f'2 f'4 \BarA   \tuplet 3/2 { f'8 f' f' }
>                 >         >
>                 >         So it seems the help for this command is
>                 inadequate, and in
>                 >         any case it
>                 >         would seem to be a good idea if the command
>                 created a command
>                 >         to insert
>                 >         the newly-created type of barline. I have
>                 submitted a bug
>                 >         report about
>                 >         this.
>                 >
>                 >         Thank you for reporting this bug. If you
>                 need help creating a
>                 >         particular
>                 >         barline please ask.
>                 >
>                 >         Richard
>                 >
>                 >
>                 >
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]