Re: [Denemo-devel] Fwd: microtonal accidentals - buttons

2018-04-10 Thread Richard Shann
On Tue, 2018-04-10 at 14:59 -0400, Freeman Gilmore wrote:
> > > How do I remove the scheme script that I have saved? 
> > 
> > Ctrl-A, Ctrl-X will delete all the Scheme script in the Scheme
> > window.
> 
> I can delete the what is in the scheme window
> > .
> > >   Is this a separate file just for the user? 
> > 
> > It is not in a file it's on the screen. 
> 
> I save each one I interred and I do not want to confuse things so I
> want to clear the saved scheme scraped? Do not want the correct
> script to be confused with tie old.

There is something here that has confused people before, I should
perhaps put a warning in the Scheme window itself. 

You can use File->Save if you want to keep a copy of some Scheme script
you have created for your own purposes but that's not the usual thing
you want to do. Instead you want to store it as the script for a
palette button or for a menu command or even store it when saving a
Score so that it will be executed every time you open that score. 

To save it as a script for some command you right click on the palette
button or menu item and use the menu you get to store whatever script
is currently in the Scheme window as the script to be executed when you
click that button/menuitem.

 You can store it in several places if need be, or store it under one
button, modify it and store it under another button.

HTH

Richard



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Fwd: microtonal accidentals - buttons

2018-04-10 Thread Freeman Gilmore
​

On Tue, Apr 10, 2018 at 12:25 PM, Richard Shann 
wrote:

> On Tue, 2018-04-10 at 11:31 -0400, Freeman Gilmore wrote:
> > Buttons, 3 things:
> >
> > How do I remove the scheme script that I have saved?
>
> Ctrl-A, Ctrl-X will delete all the Scheme script in the Scheme window.
>

​I can delete the ​what is in the scheme window

> ​.​
>
> >   Is this a separate file just for the user?
>
> It is not in a file it's on the screen.
> ​
>
​I save each one I interred and I do not want to confuse things so I want
to clear the *saved* scheme scraped?​​

​Do not want the correct script to be confused with tie old.​


>
>
>
> >I did find a scheme file but did not see the script that I
> > saved.   Having some problems, all my buttons print the same thing
> > “k”.
>
> You have saved them all with the same line:
>
​looks like yes and no​


>
>
> ​​
> (d-DirectivePut-note-postfix tag "k")
>
​yes​


>
> instead save them with
>
​yes​


>
>  (d-DirectivePut-note-postfix tag "b")
>
> and so on for all the others. You would want to change the line
>
> (d- DirectivePut-note-graphic tag "accidentals.sharp.
> slashslashslash.stem")
>


> otherwise they will all display the same glyph in the Denemo Display
> (they will typeset correctly because the LilyPond output is changed to
> "b" etc).
>

​​yes for all.  Where do I get the names for the tag?​
​That is where I went wrong, I used the sane line for all.  They are not
in the Lilypond table for Turkish.  This is what is in the table for -k =
kucuk mucenneb
​.   O I just saw on a paper that I copied from the notation book, (same
book I got the Turkish table) table labeled Accidental glyphs, has the same
name you used.  Looks like this should work I will give it a try.   If I
did the whole table were would I get the remaining  syntax to that is past
to Lilypond (like the "k" in line ​(d-DirectivePut-note-postfix tag "k")?
They may be scattered in the example I will check..

With the names I can make the buttons 0k. I would like to put the
​​glyph on the buttons next.

Thank you, ƒ

HTH
>
>
___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Fwd: microtonal accidentals - buttons

2018-04-10 Thread Richard Shann
On Tue, 2018-04-10 at 17:58 +0100, Richard Shann wrote:
> There is no simple Scheme command to move the notes around in the
> display, you can use Measures->Display Effects->Widen Measures to
> widen
> (all) the measures which will stop smaller notes crashing into the
> accidental.

I was forgetting that you can assign more room for the Denemo Directive
via the minpixels field, eg:

(d-DirectivePut-note-gx tag 100)

would be the call to add to the Scheme script I gave you to set it at
100 pixels

Richard


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Fwd: microtonal accidentals - buttons

2018-04-10 Thread Richard Shann
On Tue, 2018-04-10 at 12:46 -0400, Freeman Gilmore wrote:
> 
> 
> On Tue, Apr 10, 2018 at 12:19 PM, Richard Shann  com> wrote:
> > On Tue, 2018-04-10 at 11:31 -0400, Freeman Gilmore wrote:
> > > For a 16th note the accidental over rights the earlier note, need
> > to
> > > have scheme move the note forward to make room for the
> > accidental. 
> > 
> > It is the line
> > 
> >  (d-DirectivePut-note-gx tag -10)
> > 
> > that is controlling the position of the accidental graphic in the
> > x-
> > direction. You could make them closer by shifting less than 10
> > pixels.
> > You could even move an individual one to make the display clearer
> > (double click on the note and choose Object Editor and choose
> > "Advanced" from the buttons for the "makam" directive. Then change
> > the
> > value of the gx field. 
> 
> It just does not look neat.   Because there is not enough room
> between the two notes moving the accidental does little. A scheme
> code would be nice to move the note forward, same the sharped or
> flatted note, when the second accidental is used.   I would not know
> how to do this!

There is no simple Scheme command to move the notes around in the
display, you can use Measures->Display Effects->Widen Measures to widen
(all) the measures which will stop smaller notes crashing into the
accidental. The display is a pretty crude typesetter, only managing
enough to let you see the music reasonably clearly.

Richard


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Fwd: microtonal accidentals - buttons

2018-04-10 Thread Freeman Gilmore
​

On Tue, Apr 10, 2018 at 12:19 PM, Richard Shann 
wrote:

> On Tue, 2018-04-10 at 11:31 -0400, Freeman Gilmore wrote:
> > For a 16th note the accidental over rights the earlier note, need to
> > have scheme move the note forward to make room for the accidental.
>
> It is the line
>
>  (d-DirectivePut-note-gx tag -10)
>
> that is controlling the position of the accidental graphic in the x-
> direction. You could make them closer by shifting less than 10 pixels.
> You could even move an individual one to make the display clearer
> (double click on the note and choose Object Editor and choose
> "Advanced" from the buttons for the "makam" directive. Then change the
> value of the gx field.
> ​
>
​It just does not look neat​.   Because there is not enough room between
the two notes moving the accidental does little. A scheme code would be
nice to move the note forward, same the sharped or flatted note, when
the second accidental is used.   I would not know how to do this!

> ​
>
>
> >I need to check this, but I recall that if you have an #A and hit
> > a button the new accidental will over right the #.
>
> yes it is putting the accidental where an accidental would go, if you
> want both to be visible in the Display you would choose a different gx
> (or even move it vertically with gy). The output LilyPond would be the
> syntax for both accidentals, which is not likely to be what you want.
>
> Remember: that this has nothing to do with what you will see typeset -
> it is just to help you see clearly what music you have put in.
>
​I know this is separate. ​


>
> Richard
>
>
___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Fwd: microtonal accidentals - buttons

2018-04-10 Thread Richard Shann
On Tue, 2018-04-10 at 11:31 -0400, Freeman Gilmore wrote:
> Buttons, 3 things:
> 
> How do I remove the scheme script that I have saved? 

Ctrl-A, Ctrl-X will delete all the Scheme script in the Scheme window.

>   Is this a separate file just for the user? 

It is not in a file it's on the screen.

>    I did find a scheme file but did not see the script that I
> saved.   Having some problems, all my buttons print the same thing
> “k”. 

You have saved them all with the same line:

 (d-DirectivePut-note-postfix tag "k")

instead save them with

 (d-DirectivePut-note-postfix tag "b")

and so on for all the others. You would want to change the line

(d- DirectivePut-note-graphic tag "accidentals.sharp.slashslashslash.stem")

otherwise they will all display the same glyph in the Denemo Display
(they will typeset correctly because the LilyPond output is changed to
"b" etc).

HTH


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Fwd: microtonal accidentals - buttons

2018-04-10 Thread Richard Shann
On Tue, 2018-04-10 at 11:31 -0400, Freeman Gilmore wrote:
> For a 16th note the accidental over rights the earlier note, need to
> have scheme move the note forward to make room for the accidental. 

It is the line 

 (d-DirectivePut-note-gx tag -10)

that is controlling the position of the accidental graphic in the x-
direction. You could make them closer by shifting less than 10 pixels.
You could even move an individual one to make the display clearer
(double click on the note and choose Object Editor and choose
"Advanced" from the buttons for the "makam" directive. Then change the
value of the gx field.

>    I need to check this, but I recall that if you have an #A and hit
> a button the new accidental will over right the #.

yes it is putting the accidental where an accidental would go, if you
want both to be visible in the Display you would choose a different gx
(or even move it vertically with gy). The output LilyPond would be the
syntax for both accidentals, which is not likely to be what you want.  

Remember: that this has nothing to do with what you will see typeset -
it is just to help you see clearly what music you have put in.

Richard


___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] Fwd: microtonal accidentals - buttons

2018-04-10 Thread Richard Shann
On Tue, 2018-04-10 at 11:31 -0400, Freeman Gilmore wrote:
> I am using windows 10 and the work pallet is on top of other windows
> except for the button pallet which stays on top.   Hear is the
> problem I open the scheme window, it opens on top, but as soon as I
> go to the work window the scheme window goes under; I go to the
> windows task bar it shows there but I click it and it stays under the
> work pallet.   I should bring it to the top.   The work around is to
> move the work pallet off screen.  

This happens a lot on Windows particularly the more modern ones. You
may find other workarounds mentioned on this list from time to time.
You will benefit greatly from more screen space - I use two screens
(for Main Display, Source PDF, Print View, Scheme Window, LilyPond
Window ...) though many will be iconized as well.

Richard

___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel