Re: transport in Denemo

2024-03-29 Thread Andreas Schneider

Hi Nathan,

You can try my daily build (of the current Denemo version 2.6.37) found
at www.denemo.org/~aschneider/daily/ -- I have just activated Jack
support in it.

Andreas

PS: Please use group reply to include the list in your replies, as
others may offer different solutions or benefit from the topic.


Am 28.03.24 um 21:37 schrieb Nathan:

Hi,

Thanks for answering.

I do not see JACK as an option under audio backend. Just PortAudio and
'none'.
Yes, I use the version that comes in the software store of Linux Mint.
Version 2.5.0.

Should I try downloading from the website instead?

Nathan





Re: transport in Denemo

2024-03-27 Thread Andreas Schneider

Hi Nathan,

Jack support is available in Denemo, however there is a chance that it
might not be compiled into the version you are using. If you go to Edit
> Change Preferences and select the tab Audio, does it show JACK as
option under Audio backend? Are you using the Denemo package shipped
with your Linux distribution, or have you obtained Denemo elsewhere?
Which version are you using?

Andreas


Am 25.03.24 um 23:59 schrieb Nathan:

Hi,

I just downloaded the app and it's great!

I have just one question...

In the mailing archive I see some informatie about transport to sync
with Xjadeo. I cannot find this option nor get Denemo working with Jack.
Is this still possible?

On Linux Mint.

Thank you!

Nathan
(Belgium)





Re: Incipit

2024-02-04 Thread Andreas Schneider

Thank you very much for improving the script and sorry that I did not
find time to look at the new version before. It is convenient to create
an incipit from a selection. Usually it is necessary to change clef
and/or time signature for the incipit (e.g. key "mensural-c1" for the
cantus in the example I posted earlier). Sometimes it is also necessary
to modify the incipit (in the example, the original has a rest before
the first notes instead of the upbeat in the transcription, so the rest
needs to be added to the incipit). To allow that, the generated Lilypond
code for the incipit may be shown to the user for possible modification.
Or do you have other ideas?

Andreas


On 23.01.24 17:02, Richard Shann wrote:

On Sun, 2024-01-21 at 12:58 +, Richard Shann wrote:

ps I haven't had a chance to investigate your script yet, I'll try to
get to it as you said there was some undesirably hard coded value in
it.

I've done some tinkering with your script for StaffIncipit. There is no
obvious way to compute how much space LilyPond will use to typeset the
incipit, but I've put in a simple heuristic in this version. And I've
taken the notes to be used in the incipit from the selection. A
suitable clef etc would need to be (temporarily) inserted to include in
the selection. Repeating the command allows you to refine the incipit
length and executing it without a selection allows you to delete it.

8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
;;;StaffIncipit
(let ((tag  "StaffIncipit")(lily "")(incipitLength 15)(indent "20.0") (indentLength 20) 
(items 0) (lengthInput "15"))
   (define (accum)
 (let ((this (d-GetLilyPond)))
   (set! items (1+ items))
   (if this
 (set! lily (string-append lily this)
   (if (d-IsInSelection)
(begin
  (SingleAndSelectionSwitcher accum)
  ;;;avoid mis-matched curly braces in lily
  (let ((open (string-count lily #\{))(close (string-count lily 
#\})))
(let loop ((count (- open close)))
  (if (> count 0)
(begin
  (set! lily (string-append lily "}"))
  (loop (1- count))
(set! lengthInput  (d-DirectiveGet-voice-data tag))
(if (not lengthInput)
(set! lengthInput (number->string (+ 5 (* 3 
items) ;;;heuristic to guess length
(set! lengthInput (d-GetUserInput (_ "Incipit")
(_ "Give incipit length for lily staff:") 
lengthInput))
(if (and (string? indent) (string->number lengthInput))
 (set! incipitLength (string->number lengthInput)))
(d-DirectivePut-voice-data tag lengthInput)
(d-DirectivePut-voice-postfix tag (string-append "\\incipit 
{ "
lily " }"))
(d-DirectivePut-layout-postfix tag (string-append "  
incipit-width
= " (number->string incipitLength) "\n"))
(set! indent (d-DirectiveGet-score-data "ScoreIndent"))
(if (and (string? indent) (string->number indent))
(begin
   (set! indentLength (string->number indent))
   (if (> incipitLength indentLength)
 (d-ScoreIndent (+ incipitLength 
indentLength))
(begin
(if (d-Directive-voice? tag)
(begin
(d-DirectiveDelete-voice tag)
(d-WarningDialog (_ "Staff Incipit Deleted")))
(d-WarningDialog (_ "Cursor not in selection"))

8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><

If there are no problems with this I could include it in the staff
menu. I'm not too sure how to explain what it is for/does - someone
just asked on the mailing list whether those special note heads
(Petrucci?) etc can be altered ...
Richard






Re: Incipit

2024-01-21 Thread Andreas Schneider

Thanks a lot, now it works as intended. Plus I have finally understood
what the postfix and prefix tags do.

Andreas


On 21.01.24 18:57, Richard Shann wrote:

On Sun, 2024-01-21 at 14:13 +0100, Andreas Schneider wrote:

Yes, that is what I tried to describe. The correct syntax would be

\new Voice = "MvmntIVoiceI" { \incipit { \clef "mensural-c1" \key g
\dorian r2 g'8 a' bes' c'' }
    \clef treble    \key d \minor    \time 2/2   \MvmntIVoiceI }

instead of

\new Voice = "MvmntIVoiceI" \incipit { \clef "mensural-c1" \key g
\dorian r2 g'8 a' bes' c'' } {
    \clef treble    \key d \minor    \time 2/2   \MvmntIVoiceI }


In the samples directory is a score
AllDenemoDirectiveOutputs.denemo
and loading this and looking in the LilyPond view you can see the
directive needed to put text there:

[..]
%Start of Staff
\new Staff = "Part 1" %{staff prefix%}
  << %{staff postfix%}

  \new Voice = "MvmntIVoiceI" %{voice prefix%}
  { %{voice postfix%}

  %{clef prefix%}
  \clef treble %{clef postfix%}
\key c \major\time 4/4   \MvmntIVoiceI
 } %End of voice

 >> %End of Staff
[...]
The one you want is marked %{voice postfix%}
the one you have is marked  %{voice prefix%}
so all you need to do is replace prefix with postfix in the procedure
call

(d-DirectivePut-voice-prefix tag (string-append "\\incipit
{ "
current " }"))

and all should be well.

Richard



that is the incipit is after the opening brace of the voice instead
before.

Andreas


On 21.01.24 13:58, Richard Shann wrote:

On Sun, 2024-01-21 at 13:31 +0100, Andreas Schneider wrote:

With my incipit script I have the problem that lyrics are not
displayed.
Looking into the lilypond code, I notice that the problem is that
the
incipit is inserted before the opening brace in the voice and not
after.
This can be seen in attached score, in which the incipit is
inserted
directly after \new Voice = "MvmntIVoiceI" while the correct
position
would be after the opening brace


where is that (in terms of the LilyPond syntax). That is, have you
worked out the LilyPond syntax you need to get what you want. You
have
to do this before you can hope to write a script that generates it
(of
course).
I used the Customize Score Layout option in the LilyPond View
(continuous typesetting off, click on the "Score Layout Options"
button) and the moved the incipit to after

\new ChoirStaff <<

and this created an extra staff. You can ask on
lilypond-u...@gnu.org
if the docs don't help.

HTH

Richard
ps I haven't had a chance to investigate your script yet, I'll try
to
get to it as you said there was some undesirably hard coded value
in
it.



   that now follows the incipit. What do I
need to change in the script to insert the incipit at the correct
place?
You find the script below.

Thanks in advance

Andreas


;;;StaffIncipit
(let ((tag  "StaffIncipit") (current "") (lengthInput "15")
(incipitLength 15) (indent "20.0") (indentLength 20) )
(set! current (d-DirectiveGet-voice-data tag))
(if (not (string? current)) (set! current ""))
(set! current (d-GetUserInput (_ "Incipit") (_ "Give incipit for
current
staff:") current))
(if (string? current)
   (begin
   (set! lengthInput (d-GetUserInput (_ "Incipit") (_ "Give
incipit
length for current staff:") lengthInput))
   (if (and (string? indent) (string->number lengthInput))
   (set! incipitLength (string->number lengthInput)))
   (d-DirectivePut-voice-data tag current)
   (d-DirectivePut-voice-prefix tag (string-append "\\incipit
{ "
current " }"))
   (d-DirectivePut-layout-postfix tag (string-append "
incipit-
width
= " (number->string incipitLength) "\n"))
   (set! indent (d-DirectiveGet-score-data "ScoreIndent"))
   (if (and (string? indent) (string->number indent))
     (begin
     (set! indentLength (string->number indent))
     (if (> incipitLength indentLength)
   (d-ScoreIndent (+ incipitLength indentLength












Re: Incipit

2024-01-21 Thread Andreas Schneider

Yes, that is what I tried to describe. The correct syntax would be

\new Voice = "MvmntIVoiceI" { \incipit { \clef "mensural-c1" \key g
\dorian r2 g'8 a' bes' c'' }
  \clef treble\key d \minor\time 2/2   \MvmntIVoiceI }

instead of

\new Voice = "MvmntIVoiceI" \incipit { \clef "mensural-c1" \key g
\dorian r2 g'8 a' bes' c'' } {
  \clef treble\key d \minor\time 2/2   \MvmntIVoiceI }

that is the incipit is after the opening brace of the voice instead before.

Andreas


On 21.01.24 13:58, Richard Shann wrote:

On Sun, 2024-01-21 at 13:31 +0100, Andreas Schneider wrote:

With my incipit script I have the problem that lyrics are not
displayed.
Looking into the lilypond code, I notice that the problem is that the
incipit is inserted before the opening brace in the voice and not
after.
This can be seen in attached score, in which the incipit is inserted
directly after \new Voice = "MvmntIVoiceI" while the correct position
would be after the opening brace


where is that (in terms of the LilyPond syntax). That is, have you
worked out the LilyPond syntax you need to get what you want. You have
to do this before you can hope to write a script that generates it (of
course).
I used the Customize Score Layout option in the LilyPond View
(continuous typesetting off, click on the "Score Layout Options"
button) and the moved the incipit to after

\new ChoirStaff <<

and this created an extra staff. You can ask on lilypond-u...@gnu.org
if the docs don't help.

HTH

Richard
ps I haven't had a chance to investigate your script yet, I'll try to
get to it as you said there was some undesirably hard coded value in
it.



  that now follows the incipit. What do I
need to change in the script to insert the incipit at the correct
place?
You find the script below.

Thanks in advance

Andreas


;;;StaffIncipit
(let ((tag  "StaffIncipit") (current "") (lengthInput "15")
(incipitLength 15) (indent "20.0") (indentLength 20) )
(set! current (d-DirectiveGet-voice-data tag))
(if (not (string? current)) (set! current ""))
(set! current (d-GetUserInput (_ "Incipit") (_ "Give incipit for
current
staff:") current))
(if (string? current)
  (begin
  (set! lengthInput (d-GetUserInput (_ "Incipit") (_ "Give incipit
length for current staff:") lengthInput))
  (if (and (string? indent) (string->number lengthInput))
  (set! incipitLength (string->number lengthInput)))
  (d-DirectivePut-voice-data tag current)
  (d-DirectivePut-voice-prefix tag (string-append "\\incipit { "
current " }"))
  (d-DirectivePut-layout-postfix tag (string-append "  incipit-
width
= " (number->string incipitLength) "\n"))
  (set! indent (d-DirectiveGet-score-data "ScoreIndent"))
  (if (and (string? indent) (string->number indent))
    (begin
    (set! indentLength (string->number indent))
    (if (> incipitLength indentLength)
  (d-ScoreIndent (+ incipitLength indentLength







Re: Incipit

2024-01-21 Thread Andreas Schneider

With my incipit script I have the problem that lyrics are not displayed.
Looking into the lilypond code, I notice that the problem is that the
incipit is inserted before the opening brace in the voice and not after.
This can be seen in attached score, in which the incipit is inserted
directly after \new Voice = "MvmntIVoiceI" while the correct position
would be after the opening brace that now follows the incipit. What do I
need to change in the script to insert the incipit at the correct place?
You find the script below.

Thanks in advance

Andreas


;;;StaffIncipit
(let ((tag  "StaffIncipit") (current "") (lengthInput "15")
(incipitLength 15) (indent "20.0") (indentLength 20) )
(set! current (d-DirectiveGet-voice-data tag))
(if (not (string? current)) (set! current ""))
(set! current (d-GetUserInput (_ "Incipit") (_ "Give incipit for current
staff:") current))
(if (string? current)
(begin
(set! lengthInput (d-GetUserInput (_ "Incipit") (_ "Give incipit
length for current staff:") lengthInput))
(if (and (string? indent) (string->number lengthInput))
(set! incipitLength (string->number lengthInput)))
(d-DirectivePut-voice-data tag current)
(d-DirectivePut-voice-prefix tag (string-append "\\incipit { "
current " }"))
(d-DirectivePut-layout-postfix tag (string-append "  incipit-width
= " (number->string incipitLength) "\n"))
(set! indent (d-DirectiveGet-score-data "ScoreIndent"))
(if (and (string? indent) (string->number indent))
  (begin
  (set! indentLength (string->number indent))
  (if (> incipitLength indentLength)
(d-ScoreIndent (+ incipitLength indentLength

http://denemo.org/xmlns/Denemo; version="8">
  

  ScoreTitles
   title = \markup \with-url #'"scheme:(DenemoSetTitles \"ScoreTitles\" 'title #t)"  {Fuggi fuggi fuggi da questo cielo}
composer = \markup \with-url #'"scheme:(DenemoSetTitles \"ScoreTitles\" 'composer #t)"  {Giuseppe Cenci († 1616)}

  Score Titles
  (list (cons 'dedication #f)(cons 'title "Fuggi fuggi fuggi da questo cielo")(cons 'subtitle #f)(cons 'subsubtitle #f)(cons 'instrument #f)(cons 'poet #f)(cons 'composer "Giuseppe Cenci († 1616)")(cons 'meter #f)(cons 'arranger #f)(cons 'tagline #f)(cons 'copyright #f)(cons 'piece #f)(cons 'opus #f) '())
  4


  VersionTagline
  tagline = \markup  {Version vom \simple #(strftime "%d. %b %Y" (localtime (current-time)))}

  
  
1
3
1
3
0
2147483647
  
  
a4
2.24
18
1
3074

  
ScoreComment
Sources
http://www.internetculturale.it/jmms/iccuviewer/iccu.jsp?id=oai%3Awww.internetculturale.sbn.it%2FTeca%3A20%3ANT%3AIFC361
12
  
  
ScoreIndent
\layout {indent = 35}

indent=35
35
4
  

  
  1
  

  1
  7
  2
  -1
  100
  100
  100
  100


  
StaffIncipit
  incipit-width = 25

  


  
120
  


  
  


  

  Cantus
  1


  
  
  

  
  

  2
  2

  


  5
  1
  0
  
  NONE
  127
  0
  0
  0
  0
  0
  0
  
Fug -- gi fug -- gi fug -- gi da que -- sto cie -- lo a -- spro~e du -- ro spie -- ta -- to ge -- lo
Tu che tut -- to~im -- pri -- gio -- ni~e le -- ghi né per pian -- to ti fran -- gi~o pie -- ghi fier ti -- ran -- no, giel del l'an -- no
fug -- gi fug -- gi fug -- gi là do -- ve~il ver -- no su le bri -- ne ha seg -- gio~e -- ter -- no.
  
  

  InstrumentName
  instrumentName = \markup {  \with-url #'"scheme:(d-GoToPosition 1 1 1 1)(let ((choice (d-PopupMenu (list (cons (_ \"Change Name\") d-InstrumentName)   (cons (_ \"Change Indent\") d-ScoreIndent)
(if choice (choice)))" "" }
  22


  ChoirStaffStart
   \new ChoirStaff 

  Choir Staff Start
  52

  
  

  StaffIncipit
  \incipit { \clef "mensural-c1" \key g \dorian r2 g'8 a' bes' c'' }
  \clef "mensural-c1" \key g \dorian r2 g'8 a' bes' c''

  


  

  Upbeat
  \partial 256*128 
  Upbeat
  

emmentaler
62
  30
  20
  15
  268435456


  BeamingOff
  \autoBeamOff
  No Beaming
  BeamingOff
  30
  -44


  Repeat
   \repeat 

Re: Incipit

2023-12-26 Thread Andreas Schneider

Thanks again for your help. Using ScoreIndent I arrive at a script that
does what I expect:

;;;StaffIncipit
(let ((tag  "StaffIncipit") (current "") (incipitLength 10) (indent
"15.0") (indentLength 15) )
(set! current (d-DirectiveGet-voice-data tag))
(if (not (string? current)) (set! current ""))
(set! current (d-GetUserInput (_ "Incipit") (_ "Give incipit for current
staff:") current))
(if (string? current)
(begin
(d-DirectivePut-voice-data tag current)
(d-DirectivePut-voice-prefix tag (string-append "\\incipit { "
current " }"))
(d-DirectivePut-layout-postfix tag (string-append "  incipit-width
= " (number->string incipitLength) "\n"))
(set! indent (d-DirectiveGet-score-data "ScoreIndent"))
(if (and (string? indent) (string->number indent))
  (begin
  (set! indentLength (string->number indent))
  (if (> incipitLength indentLength)
(d-ScoreIndent (+ incipitLength indentLength

The only deficiency I still see is that the incipit length is fixed and
hard-coded in the script, but I have no idea how to calculate it and I
can live with that. If you want, you can take over the script.

Andreas


Am 17.12.23 um 11:49 schrieb Richard Shann:

On Sat, 2023-12-16 at 21:25 +0100, Andreas Schneider wrote:

Thank you very much for your help. One more question: how can I get
the
current indent


There are two indent commands

Command: Indent
Alter the indent of the opening system for the current movement.
Location: Object Menu ▶ Movements ▶ Typesetter ▶ Print Layout
Internal Name: Indent

and

Command: Indent
Indent the first system of every movement by the given amount.
Location: Object Menu ▶ Score ▶ Typesetter ▶ Print Layout
Internal Name: ScoreIndent

The Instrument name command

Command: Instrument Name
Print Instrument name before staff at start of score,
Location: Object Menu ▶ Staffs/Voices ▶ Staff Properties
Internal Name: InstrumentName

runs the second (*) of those Indent commands, so to retrieve the value
set you need
(d-DirectiveGet-score-data "ScoreIndent")
to get that value.
The value set by InstrumentName is just a very crude guess based on the
length of the name, a proper job would require querying LilyPond about
how much space is required ...

Richard
(*) I don't know why this is so, it was a long time ago and perhaps it
would be better to do otherwise...





Re: Incipit

2023-12-16 Thread Andreas Schneider

Thank you very much for your help. One more question: how can I get the
current indent so that I can compare to the incipit length and increase
it if necessary? I'm trying the following after looking at Indent.scm,
but I always get #f

;;;StaffIncipit
(let ((tag  "StaffIncipit") (current "") (incipitLength 10) (indent
"15.0") )
(set! current (d-GetUserInput (_ "Incipit") (_ "Give incipit for
current staff:") current))
(if (string? current)
  (begin
  (d-DirectivePut-voice-prefix tag  (string-append "\\incipit { "
current " }"))
  (d-DirectivePut-layout-postfix tag (string-append "  incipit-width =
" (number->string incipitLength) "\n"))
  (set! indent (d-DirectiveGet-layout-data "Indent"))
  (disp (number? indent) (string? indent) indent)
  (if (and (string? indent) (string->number indent))
(if (> incipitLength (string->number indent))
  (d-Indent incipitLength))

Andreas



Re: Incipit

2023-12-15 Thread Andreas Schneider

On 15.12.23 21:33, Richard Shann wrote:

On Fri, 2023-12-15 at 19:48 +0100, Andreas Schneider wrote:

I'm trying to write a Scheme script for an incipit
(
https://lilypond.org/doc/v2.23/Documentation/notation/working-with-anc
ient-music-_002d-scenarios-and-solutions#incipits).
I have started from the script for instrument name and modified it to
match my needs arriving at the following:

;;;Incipit
(let ((tag  "Incipit") (current "") )
(if (string? Incipit::params)
    (begin
  (set! current Incipit::params)
  (set! Incipit::params #f)))
(set! current (d-GetUserInput (_ "Incipit") (_ "Give incipit for
current
staff:") current))
(if (string? current)
    (begin
    (d-DirectivePut-staff-prefix tag  (string-append "incipit { "
current
" }")
    (set! Incipit::params current)

Unfortunately, I get a script error


the error message ends:

(#f Unbound variable: ~S (Incipit::params) #f)
Denemo - WARNING :
The tag is

unbound-variable

Which is telling you that Incipit::params in an unbound-variable. This
variable would be created if you invoked this script via a command
called Incipt - that is each command in the menu creates a variable
named ::params when it is invoked (setting it to #f if its invoked
from a menu).


Thanks for your quick response. So I need to make a menu item out of it
in order to test it. I did that and now I proceed a little bit further
and can enter some incipit (e.g. \clef "mensural-c2" \time 3/2 d' 2 c' 1
d' 2 e' d' e'), but finally I get the error

(#f Wrong number of arguments to ~A (#) #f)
wrong-number-of-args

What do I do different than in InstrumentName?

Andreas



Incipit

2023-12-15 Thread Andreas Schneider

I'm trying to write a Scheme script for an incipit
(https://lilypond.org/doc/v2.23/Documentation/notation/working-with-ancient-music-_002d-scenarios-and-solutions#incipits).
I have started from the script for instrument name and modified it to
match my needs arriving at the following:

;;;Incipit
(let ((tag  "Incipit") (current "") )
(if (string? Incipit::params)
  (begin
(set! current Incipit::params)
(set! Incipit::params #f)))
(set! current (d-GetUserInput (_ "Incipit") (_ "Give incipit for current
staff:") current))
(if (string? current)
  (begin
  (d-DirectivePut-staff-prefix tag  (string-append "incipit { " current
" }")
  (set! Incipit::params current)

Unfortunately, I get a script error that I do not understand. Any idea
what is wrong?

Thanks in advance

Andreas



Re: templates and instruments

2023-08-31 Thread Andreas Schneider

On 31.08.23 19:03, Donald J. Stewart wrote:

I downloaded and installed Andreas' Debian packages.

I've wondered if my templates and instruments files are incomplete.

denemo->templates->instruments->

shows keyboard, percussion, plucked-strings, strings and woodwind

but no brass.

Is there a package that I could be missing?


I have compared the contents of my package to the source tree and the
instrument templates in the package appear to be complete. I don't see
brass instrument templates in the source tree. Do they exist? If not,
you are welcome to contribute some.

Andreas



Re: Gregorian Chant

2023-05-04 Thread Andreas Schneider

Hi Joe,

Attached you find an example of a Gregorian Chant that I typeset with
Denemo a couple of years ago. There was a thread about the topic in this
mailing list back then in 2016/2017.

Best wishes

Andreas

http://denemo.org/xmlns/Denemo; version="8">
  
1
3
1
3
0
2147483647
  
  
a4
18
1
1832

  
LilyPondInclude
\include "gregorian.ly"

Included LilyPond Files
'("gregorian.ly")
268435472
  

  
  1
  

  1
  2
  2
  0
  100
  100
  100
  100
  480


  

  1
  4

120
  


  


  

  Cantus
  
  1


  
  
  

  
  

  4
  4

  


  4
  1
  0
  
  NONE
  127
  0
  0
  0
  0
  0
  0
  
Da pa -- cem Do -- mi -- ne in di -- e -- bus no -- stris:
qui -- a non est a -- li -- us qui pu -- gnet pro no -- bis,
ni -- si tu De -- us no -- ster.
  
  

  VaticanaStaff
   \new VaticanaVoice = "MvmntIVoiceI" 

  VaticanaStaff
  5


  ChordVariant
  \override Staff.StaffSymbol.color = #(x11-color 'black)
  black
  black
  4

  
  

  VaticanaStaff
  

  VaticanaStaff
  5

  


  

  ClefChooser
  \clef "vaticana-fa2" 
  

Emmentaler
80
  50
  -10


  
256
1
  
  

  CadenzaTime
  \cadenzaOn 
  Cadenza
  
T
Serif
40
bold
italic
  35
  5

  


  LigatureStart
  \[  
  Ligature Start
  
[
Denemo
40
  30
  10


  
  

  ToggleMelisma
  \melisma 
  (mel
  16

  
  

  -6

  


  
  

  ToggleMelismaEnd
  \melismaEnd 
  mel)
  16

  
  

  -6

  


  LigatureEnd
  \]  
  Ligature End
  
]
Denemo
40
  30
  10


  
  

  ToggleIctus
  \ictus 
  '
  16

  
  

  -7

  


  
  

  -6

  


  
  

  ToggleIctus
  \ictus 
  '
  16

  
  

  -4

  


  
  

  -3

  


  
  

  ToggleAugmentum
  \augmentum 
  .
  16

  
  

  -4

  


  DivisioMinima
  \divisioMinima
  
❙
Denemo
20
  10
  21
  -25
  4

  
  

  
  

  ToggleIctus
  \ictus 
  '
  16

  
  

  -5

  


  
  

  -4

  


  
  

  -3
  

Re: libfluidsynth2 dependency

2023-01-13 Thread Andreas Schneider
Your installation seems to be a little messed up, thus I would recommend
to uninstall denemo first (all packages denemo, denemo-data, denemo-doc
and ttf-denemo) and then install it again. If you want to install the
daily build, install libfluidsynth before installing denemo
sudo apt install libfluidsynth2
It might be that this package is not available in your distribution. If
so, you need to compile Denemo yourself to get the newest version. In
order to do so, install libjack-jack2-dev, that shouldn't mess up your
installation.

Andreas


On 1/13/23 20:51, Donald J. Stewart wrote:
> Thanks for replying Andreas, and thanks Richard for all of your help as
> well.
>
>
> I have JACK 2 installed right now instead of JACK 1 and use the KXStudio
> repositories which bring in a number of things including Cadence,
> Claudia, and Carla -- all of which the dependencies wanted to uninstall.
>
>
> I have tried installing the Debian package again, and my downgrade
> points to 2.5, but somewhere I have something pointing to 2.6.3 now:
>
>
> *donald@donald-X*:*~*$ sudo apt-get install denemo
> [sudo] password for donald:  
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> denemo : Depends: denemo-data (= 2.5.0-1build1) but 2.6.3 is to be
> installed
>  Recommends: denemo-doc (= 2.5.0-1build1) but 2.6.3 is to be
> installed
>  Recommends: lilypond but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
> *donald@donald-X*:*~*$
>
>
>
>  On Friday, January 13, 2023 11:22:28 AM PST Andreas Schneider wrote:
>
>> Hi,
>
>>
>
>> Regarding the build dependencies, if you want to include JACK support,
>
>> you can choose between JACK 1 and JACK 2. If you want JACK 2, you can
>
>> install libjack-jack2-dev instead of libjack-dev (which is for JACK 1).
>
>> Then it doesn't want to remove jack2.
>
>>
>
>> Regarding the Debian package, did you try to install the missing
>
>> dependency via apt
>
>> sudo apt install libfluidsynth2
>
>>
>
>> Andreas



Re: libfluidsynth2 dependency

2023-01-13 Thread Andreas Schneider
Hi,

Regarding the build dependencies, if you want to include JACK support,
you can choose between JACK 1 and JACK 2. If you want JACK 2, you can
install libjack-jack2-dev instead of libjack-dev (which is for JACK 1).
Then it doesn't want to remove jack2.

Regarding the Debian package, did you try to install the missing
dependency via apt
sudo apt install libfluidsynth2

Andreas


On 1/13/23 19:27, Richard Shann wrote:
> Donald - I've just received a notification that the mailing list has
> automatically discarded your email. This is probably because I
> accidentally clicked through when letting your previous email onto the
> list (it gets moderated because you weren't subscribed) and it seems to
> default to discarding future emails (crazy as I was telling it to
> accept the first one). Anyway I *cannot* find any option to undo this,
> so I tried to subscribe you to the list, but even though it said that
> succeeded you are still not on the list, and as I say it seems to be
> discarding your emails.
> This is particularly unfortunate as I'm the least qualified person to
> answer you questions - Andreas would know, no doubt.
> Could you try subscribing
> https://lists.gnu.org/mailman/listinfo/denemo-devel
> - if it doesn't work could you try another email address? Sorry to have
> caused this mess.
>
> Richard
>
>
> On Fri, 2023-01-13 at 09:56 -0800, Donald J. Stewart wrote:
>> Sorry about the cryptic and rather useless email I first sent. I'm on
>> Kubuntu 22.04 LTS and I believe I was using the latest Ubuntu
>> repository build (2.5.0-1).
>>
>> After running into what I thought may be a bug, I tried to install
>> denemo-2.6.10 from Andreas Schneider's daily packages.
>>
>> I updated all of the dependencies that failed after trying to dpkg --
>> except the dpkg error regarding libfluidsynth2.
>>
>> I already had the latest fluidsynth so I was a bit confused as to why
>> it didn't compile and was asking for that specific file.
>>
>> Interestingly, when checking to see the dependencies from the Hacking
>> Sources page, it asks to remove/downgrade a number of programs that I
>> use including Jack2 and the kxstudio installations that I use. I do
>> have the logfile but it's very long -- here is the remove section:
>>
>> Recommended packages:
>>  qjackctl
>> The following packages will be REMOVED:
>>  cadence claudia jack-mixer jack-tools jackd jackd2 jackd2-firewire
>> kxstudio-meta-all kxstudio-meta-audio-applications ladish libjack-
>> jackd2-0 meterbridge qjackctl
>>
>>
>> On Friday, January 13, 2023 1:07:33 AM PST Richard Shann wrote:
>>> On Thu, 2023-01-12 at 16:09 -0800, Donald J. Stewart wrote:
 getting this error trying to install 2.6.10:
>>> Do you mean the install step (after configure and make) or are you
>>> referring to installing Denemo from a prebuilt package? 
>>> If the first, the list of dependencies and the command to install
>>> them
>>> is at
>>> http://denemo.org/hacking-sources/
>>>
>>> If the second which package did you download (give url)?
>>>
>>> Richard
>>>
 dpkg: dependency problems prevent configuration of denemo:
 denemo depends on libfluidsynth2 (>= 2.0.5); however:
  Package libfluidsynth2 is not installed.
 _
 D o    n a    l    d    J S  t   e w    a   r    t
    s o    u   n  d    -  X
>>
>>
>
>
>




Automated daily Denemo Debian build fails

2022-10-30 Thread Andreas Schneider

I have noticed that my automated Debian build fails since some time with
the error

core/menusystem.c: In function ‘menu_click’:
core/menusystem.c:883:3: error: format not a string literal and no
format arguments [-Werror=format-security]
  883 |   filepath2 = g_build_filename (get_user_data_dir (TRUE),
COMMANDS_DIR, "menus", myposition, NULL); g_print (filepath2);
  |   ^

The arrow points to filepath2. What is the matter there?

Andreas



Re: Error: cannot satisfy dependencies

2022-04-04 Thread Andreas Schneider
The dependencies from hacking sources are for building from source. Installing 
the libgdk-pixbuf from focal will not change anything since it does not follow 
Debian's naming (with an additional dash), so you can undo that installation. 
Have you tried my Ubuntu packages for Denemo? If it still does not work for 
you, please install with dpkg and report the exact error. Without details what 
exactly goes wrong it's impossible to help further.

Andreas

On April 5, 2022 2:52:13 AM GMT+03:00, "Donald J. Stewart" 
 wrote:
>I installed all of the Dependencies from
>
>http://denemo.org/hacking-sources/[1] 
>
>I then installed the amd64 version of libgdk-pixbuf2.0-0 from
>
>https://packages.ubuntu.com/focal/amd64/libgdk-pixbuf2.0-0/download[2] 
>
>It installed after warning about the potential security risk
>
>I then downloaded your latest version of denemo_2.6.1_amd64.deb
>
>and still get the cannot satisfy dependencies error...
>
>On Monday, April 4, 2022 11:49:20 AM PDT Andreas Schneider wrote:
>> I have built packages of the current git version of Denemo on Ubuntu
>> 20.04 and uploaded them to http://denemo.org/~aschneider/ubuntu_20.04/
>> 
>> Andreas
>> 
>> Am 04.04.22 um 19:30 schrieb Donald J. Stewart:
>> > Thanks for solving that issue. Since I used Qapt package installer, it
>> > didn't give me the dpkg information.
>> > 
>> > My other computer is running Kubuntu 21.10 and Kernel 5.13.0-39.
>> > 
>> > The Denemo version in the 21.10 repository is 2.5.0.
>> > 
>> > When I tried to install 2.6.1 from your .deb files, it gives the same
>> > error
>> > message. I was able to install guile-2-2 but libgdk doesn't exist in the
>> > repository in any version. Therefore, it doesn't seem to install in the
>> > newest version of Kubuntu either.
>> > 
>> > Also, it seems that 2.5.0 would most likely install in 20.04 LTS as
>> > well...
>> > 
>> > I'm going to write the forums and see if there is a way to install
>> > libgdk...> 
>> >  As always, thanks for all of your work putting together debian packages!
>> > 
>> > On Monday, April 4, 2022 9:30:59 AM PDT Andreas Schneider wrote:
>> >> I have just tested on Ubuntu 20.04. It complains that it needs
>> >> guile-2-2-libs and libgdk-pixbuf-2.0.0. The first one I can easily
>> >> install,
>> >> but the latter one is not available in Ubuntu; it seems that it is called
>> >> libgdk-puxbuf2.0.0 instead. So one could either create a dummy package or
>> >> build denemo from source.
>> >> 
>> >> Andreas
>> >> 
>> >> On April 4, 2022 8:50:40 AM GMT+03:00, Andreas Schneider
>> > 
>> >  wrote:
>> >>> Usually, dpkg should give details about which dependencies are missing.
>> >>> Moreover, the package should now be in broken status, and your package
>> >>> manager should give details aboyt what is wrong and suggest solutions.
>> >>> Without details about which dependencies are missing, we cannot help you
>> >>> further.
>> >>> 
>> >>> Andreas
>> >>> 
>> >>> On April 1, 2022 9:41:18 PM GMT+03:00, "Donald J. Stewart"
>> > 
>> >  wrote:
>> >>>> I'm using Kubuntu 20.04 LTS and Denemo 2.3.3
>> >>>> 
>> >>>> I'm trying to install Andreas'  2.6.1_amd64.deb via QApt Package
>> >>>> Installer
>> >>>> but getting
>> >>>> 
>> >>>> Error: cannot satisfy dependencies
>> >>>> 
>> >>>> It's not giving me any Details regarding the dependencies. Are there
>> >>>> workarounds, ie installing/updating the correct dependencies?
>
>
>
>
>[1] http://denemo.org/hacking-sources/
>[2] https://packages.ubuntu.com/focal/amd64/libgdk-pixbuf2.0-0/download


Re: Error: cannot satisfy dependencies

2022-04-04 Thread Andreas Schneider
I have built packages of the current git version of Denemo on Ubuntu
20.04 and uploaded them to http://denemo.org/~aschneider/ubuntu_20.04/

Andreas


Am 04.04.22 um 19:30 schrieb Donald J. Stewart:
> Thanks for solving that issue. Since I used Qapt package installer, it didn't
> give me the dpkg information.
>
> My other computer is running Kubuntu 21.10 and Kernel 5.13.0-39.
>
> The Denemo version in the 21.10 repository is 2.5.0.
>
> When I tried to install 2.6.1 from your .deb files, it gives the same error
> message. I was able to install guile-2-2 but libgdk doesn't exist in the
> repository in any version. Therefore, it doesn't seem to install in the newest
> version of Kubuntu either.
>
> Also, it seems that 2.5.0 would most likely install in 20.04 LTS as well...
>
> I'm going to write the forums and see if there is a way to install libgdk...
>
>  As always, thanks for all of your work putting together debian packages!
>
> On Monday, April 4, 2022 9:30:59 AM PDT Andreas Schneider wrote:
>> I have just tested on Ubuntu 20.04. It complains that it needs
>> guile-2-2-libs and libgdk-pixbuf-2.0.0. The first one I can easily install,
>> but the latter one is not available in Ubuntu; it seems that it is called
>> libgdk-puxbuf2.0.0 instead. So one could either create a dummy package or
>> build denemo from source.
>>
>> Andreas
>>
>> On April 4, 2022 8:50:40 AM GMT+03:00, Andreas Schneider
>  wrote:
>>> Usually, dpkg should give details about which dependencies are missing.
>>> Moreover, the package should now be in broken status, and your package
>>> manager should give details aboyt what is wrong and suggest solutions.
>>> Without details about which dependencies are missing, we cannot help you
>>> further.
>>>
>>> Andreas
>>>
>>> On April 1, 2022 9:41:18 PM GMT+03:00, "Donald J. Stewart"
>  wrote:
>>>> I'm using Kubuntu 20.04 LTS and Denemo 2.3.3
>>>>
>>>> I'm trying to install Andreas'  2.6.1_amd64.deb via QApt Package Installer
>>>> but getting
>>>>
>>>> Error: cannot satisfy dependencies
>>>>
>>>> It's not giving me any Details regarding the dependencies. Are there
>>>> workarounds, ie installing/updating the correct dependencies?
>
>
>
>




Re: Andreas: Update for Debian Bullseye

2022-04-04 Thread Andreas Schneider
Hi Robert,

At the moment I don't have access to a Debian 11 machine to test. When
compiled from source and packaged similarly on Debian 10, it works for
me. I'm using LXDE. Maybe someone else who has a Debian 11 machine
readily at hand can comment?

Andreas



Re: Error: cannot satisfy dependencies

2022-04-04 Thread Andreas Schneider
I have just tested on Ubuntu 20.04. It complains that it needs guile-2-2-libs 
and libgdk-pixbuf-2.0.0. The first one I can easily install, but the latter one 
is not available in Ubuntu; it seems that it is called libgdk-puxbuf2.0.0 
instead. So one could either create a dummy package or build denemo from source.

Andreas

On April 4, 2022 8:50:40 AM GMT+03:00, Andreas Schneider  
wrote:
>Usually, dpkg should give details about which dependencies are missing. 
>Moreover, the package should now be in broken status, and your package manager 
>should give details aboyt what is wrong and suggest solutions. Without details 
>about which dependencies are missing, we cannot help you further.
>
>Andreas
>
>On April 1, 2022 9:41:18 PM GMT+03:00, "Donald J. Stewart" 
> wrote:
>>I'm using Kubuntu 20.04 LTS and Denemo 2.3.3 
>>
>>I'm trying to install Andreas'  2.6.1_amd64.deb via QApt Package Installer 
>>but 
>>getting
>>
>>Error: cannot satisfy dependencies
>>
>>It's not giving me any Details regarding the dependencies. Are there 
>>workarounds, ie installing/updating the correct dependencies?
>>
>>
>>


Re: Error: cannot satisfy dependencies

2022-04-03 Thread Andreas Schneider
Usually, dpkg should give details about which dependencies are missing. 
Moreover, the package should now be in broken status, and your package manager 
should give details aboyt what is wrong and suggest solutions. Without details 
about which dependencies are missing, we cannot help you further.

Andreas

On April 1, 2022 9:41:18 PM GMT+03:00, "Donald J. Stewart" 
 wrote:
>I'm using Kubuntu 20.04 LTS and Denemo 2.3.3 
>
>I'm trying to install Andreas'  2.6.1_amd64.deb via QApt Package Installer but 
>getting
>
>Error: cannot satisfy dependencies
>
>It's not giving me any Details regarding the dependencies. Are there 
>workarounds, ie installing/updating the correct dependencies?
>
>
>


Re: Andreas: Denemo for Debian Bullseye

2022-03-26 Thread Andreas Schneider
Hello Robert,

Am 24.03.22 um 20:22 schrieb Robert Lewis:
> Just want to let you know that your .deb packages work on Debian Bullseye.
> Thanks to everyone who made that possible!

Thank you for your message. Actually, the server that runs the daily
builds has been upgraded to Debian 11 some time ago, so the build is
made on (and for) Bullseye.

> One thing, though.  Your package names say Version 2.5.7, but it does install
> Version 2.6.1.

That is because I forgot to update the Debian changelog that defines the
package version when the Denemo version was bumped. I need to update the
package version manually. I have done that now, thanks for the reminder.

Best regards

Andreas



Re: Denemo comment edit window looses focus when typing

2021-12-24 Thread Andreas Schneider
Thank you very much for the quick fix. I can confirm that the problem is
solved.

Merry Christmas!

Andreas


On 12/24/21 1:35 PM, Richard Shann wrote:
> On Fri, 2021-12-24 at 12:50 +0100, Andreas Schneider wrote:
>> In the current development version, when typing in the comment window
>> (Score > Comment), the window loses focus and gets hidden behind the
>> other Denemo windows (main window and/or print view), and the main
>> window gets the focus. This happens after each keystroke. This makes
>> typing in a comment quite inconvenient.
>
> Thanks for spotting this, it happens when continuous typesetting is on.
> I've fixed it so that the print view window is not automatically
> presented after background print. This does mean that if the Print View
> is iconized it will stay that way even though continuous typesetting is
> on and a change has been made which may affect the typeset.
>
> Richard




Denemo comment edit window looses focus when typing

2021-12-24 Thread Andreas Schneider
In the current development version, when typing in the comment window
(Score > Comment), the window loses focus and gets hidden behind the
other Denemo windows (main window and/or print view), and the main
window gets the focus. This happens after each keystroke. This makes
typing in a comment quite inconvenient.

Andreas



Re: Playback doesn't work if Jack MIDI is used

2021-10-27 Thread Andreas Schneider
Am 27.10.21 um 12:29 schrieb Richard Shann:
> On Mon, 2021-10-25 at 22:24 +0300, Andreas Schneider wrote:
>> Am 25.10.21 um 12:53 schrieb Richard Shann:
>>> On Sun, 2021-10-24 at 15:18 +0300, Andreas Schneider wrote:
>>>> If MIDI is configured to use Jack, start playback plays back two
>>>> notes
>>>
>>> are these actually audible?
>>
>> Yes, they are.
>>
>>>> and then stops. Also, the note at the cursor is changed to the
>>>> note
>>>> of
>>>> the first staff while playing back.
>>>
>>> Did you mean the cursor position changes?
>>
>> I mean that the note changes its value, e.g. in my example below the
>> c
>> changes to a g.
>
> This must be one of the most extraordinary side effects ever reported
> for Denemo! If the score is saved before you start playback does it
> become unsaved (the * appears) when the note changes value? If so,
> under gdb a break placed on the function score_status() i.e.
>
> gdb> b score_status
>
> should fire off when the note changes in value and "where" should
> reveal the route by which this happened...
There seems to be a loop in Jack. If I disconnect denemo from
midi_playback_1 in QJackCtl, the playback works normally.

Andreas



Re: Playback doesn't work if Jack MIDI is used

2021-10-25 Thread Andreas Schneider
Am 25.10.21 um 12:53 schrieb Richard Shann:
> On Sun, 2021-10-24 at 15:18 +0300, Andreas Schneider wrote:
>> If MIDI is configured to use Jack, start playback plays back two
>> notes
> are these actually audible?
Yes, they are.

>> and then stops. Also, the note at the cursor is changed to the note
>> of
>> the first staff while playing back.
> Did you mean the cursor position changes?
I mean that the note changes its value, e.g. in my example below the c
changes to a g.

>>  I can produce this behaviour e.g. by
>> creating a new score with two staffs, add a bunch of g's in the upper
>> staff and a bunch of c's in the lower staff, go to the beginning and
>> start playback with the playback control. This strange behaviour does
>> not occur if I change MIDI input to Portmidi; in the latter case
>> playback works as expected.
>
> Any idea when this last was working - was it before the real-time
> playback was introduced? (I haven't experimented with JACK in recent
> years).
I don't, sorry, I have previously used another setup.

Andreas



Re: Can not tweak objects in Debian's Version 2.5.0

2021-10-24 Thread Andreas Schneider
Hi Robert,

On Sun, 24 Oct 2021 at 16:51, Robert Lewis wrote:
> Hello Andreas -
>
> Thank you for reminding me about your .deb builds -- I have always used them
> with success.  I tried your 2.5.4 build, but there are missing libraries that
> are no longer available for Debian Bullseye -- they are:
>
> guile-2.0-libs(guile-2.2-libs in Bullseye)
> libfluidsynth1(libfluidsynth2 in Bullseye)
> libgc1c2  (libgc1 in Bullseye)
>
> I hope you can update these libraries for installation on Bullseye.
>
> Thank you.
>
> Regards,
> Robert

This is determined by the operating system of Denemo's server on which
the nightly build runs, so Jeremiah would need to update the server in
order to make the builds for Bullseye.

Andreas



Re: Can not tweak objects in Debian's Version 2.5.0

2021-10-24 Thread Andreas Schneider
On Sun, 24 Oct 2021 at 15:53, Lib Lists wrote:> I got this message:>
~/denemo$ git checkout master> Already on 'master'> Your branch is
up-to-date with 'origin/master'.> > Am I missing something?
You update your local copy of the source from remote with the command
git pull

Andreas



Playback doesn't work if Jack MIDI is used

2021-10-24 Thread Andreas Schneider
If MIDI is configured to use Jack, start playback plays back two notes
and then stops. Also, the note at the cursor is changed to the note of
the first staff while playing back. I can produce this behaviour e.g. by
creating a new score with two staffs, add a bunch of g's in the upper
staff and a bunch of c's in the lower staff, go to the beginning and
start playback with the playback control. This strange behaviour does
not occur if I change MIDI input to Portmidi; in the latter case
playback works as expected.

Andreas



Re: Can not tweak objects in Debian's Version 2.5.0

2021-10-24 Thread Andreas Schneider
You can also try the nightly builds at
http://www.denemo.org/~aschneider/daily/
(download *denemo*2.5.4*.deb)

Andreas



Re: New version denemo-2.5~rc1

2021-02-16 Thread Andreas Schneider
Hi Richard,

If you want to test under Windows, you can also use VirtualBox or a
similar virtualisation program and install a Windows 10 guest. There are
free test versions of Windows 10 Enterprise (full version for 90 days)
available at microsoft.com/evalcenter.

Andreas



Re: Using both score titles and movement titles

2021-01-24 Thread Andreas Schneider
On 1/24/21 12:53 PM, Richard Shann wrote:
> On Sun, 2021-01-24 at 09:05 +0100, Andreas Schneider wrote:
>> When using both score titles and movement titles, I get strange
>> effects
>> with duplicated entries in the print. See e.g. attached test score
>> with
>> score titles and a movement title only in the second movement.
>
> Yes, I see the same. I think you can't combine simple score titles with
> simple movement titles - the simple score titles are for the case where
> there is only one movement. For multi-movement scores you can use
> movement title in the first movement for the overall title and then
> movement subtitle for each movement's title. Attached is your example
> modified like that.
> I don't think this is explained anywhere, I just had to work it out
> myself just now :(

The Lilypond documentation at
http://lilypond.org/doc/v2.18/Documentation/notation/creating-titles-headers-and-footers
suggests that this is intended behaviour, although I found it quite
unexpected. I have now fixed my problem by inserting an additional empty
MovementTitles block as shown in attached score.
By the way, is there a possibility to remove an entry of MovementTitles
or ScoreTitles once set other than editing the fields in the Low Level
Denemo Directive Edit dialog?

Andreas

http://denemo.org/xmlns/Denemo; version="8">
  

  ScoreTitles
   dedication = ##f
 title = \markup \with-url #'"scheme:(DenemoSetTitles \"ScoreTitles\" 'title #t)"  {Score title}
 subtitle = ##f
 subsubtitle = ##f
 instrument = ##f
 poet = ##f
 composer = \markup \with-url #'"scheme:(DenemoSetTitles \"ScoreTitles\" 'composer #t)"  {Score composer}
 meter = ##f
 arranger = ##f
 tagline = ##f
 copyright = ##f
 piece = ##f
 opus = ##f

  Score Titles
  (list (cons 'dedication #f)(cons 'title "Score title")(cons 'subtitle #f)(cons 'subsubtitle #f)(cons 'instrument #f)(cons 'poet #f)(cons 'composer "Score composer")(cons 'meter #f)(cons 'arranger #f)(cons 'tagline #f)(cons 'copyright #f)(cons 'piece #f)(cons 'opus #f) '())
  4

  
  

  PrintAllHeaders
  
print-all-headers = ##t


  
  
1
3
1
3
0
2147483647
  
  
a4
2.18
18
1
102
  
  1
  

  1
  1
  0
  0
  100
  100
  100
  100


  
MovementTitles
 dedication = ##f
 title = ##f
 subtitle = ##f
 subsubtitle = ##f
 instrument = ##f
 poet = ##f
 composer = ##f
 meter = ##f
 arranger = ##f
 tagline = ##f
 copyright = ##f
 piece = ##f
 opus = ##f

Movement Titles
(list (cons 'dedication #f)(cons 'title #f)(cons 'subtitle #f)(cons 'subsubtitle #f)(cons 'instrument #f)(cons 'poet #f)(cons 'composer #f)(cons 'meter #f)(cons 'arranger #f)(cons 'tagline #f)(cons 'copyright #f)(cons 'piece #f)(cons 'opus #f) '())
4
  


  

  1
  4

120
  


  


  

  Part 1
  1


  
  
  

  
  

  4
  4

  


  5
  1
  0
  
  NONE
  127
  0
  0
  0
  0
  0
  0


  

  
  

  0

  


  
  

  1

  


  
  

  2

  


  
  

  3

  

  
  

  
  

  4

  


  
  

  2

  


  
  

  -1

  


  
  

  0

  

  

  

  
  

  1
  1
  0
  0
  100
  100
  100
  100


  
SuppressTitleRepeats
title = ##f
instrument = ##f

  
  
MovementTitles
 dedication = ##f
 title = ##f
 subtitle = ##f
 subsubtitle = ##f
 instrument = ##f
 poet = ##f
 composer = ##f

Using both score titles and movement titles

2021-01-24 Thread Andreas Schneider
When using both score titles and movement titles, I get strange effects
with duplicated entries in the print. See e.g. attached test score with
score titles and a movement title only in the second movement.

Andreas

http://denemo.org/xmlns/Denemo; version="8">
  

  ScoreTitles
   dedication = ##f
 title = \markup \with-url #'"scheme:(DenemoSetTitles \"ScoreTitles\" 'title #t)"  {Score title}
 subtitle = ##f
 subsubtitle = ##f
 instrument = ##f
 poet = ##f
 composer = \markup \with-url #'"scheme:(DenemoSetTitles \"ScoreTitles\" 'composer #t)"  {Score composer}
 meter = ##f
 arranger = ##f
 tagline = ##f
 copyright = ##f
 piece = ##f
 opus = ##f

  Score Titles
  (list (cons 'dedication #f)(cons 'title "Score title")(cons 'subtitle #f)(cons 'subsubtitle #f)(cons 'instrument #f)(cons 'poet #f)(cons 'composer "Score composer")(cons 'meter #f)(cons 'arranger #f)(cons 'tagline #f)(cons 'copyright #f)(cons 'piece #f)(cons 'opus #f) '())
  4

  
  

  PrintAllHeaders
  
print-all-headers = ##t


  
  
1
3
1
3
0
2147483647
  
  
a4
2.18
18
1
102
  
  2
  

  1
  1
  0
  0
  100
  100
  0
  0


  

  1
  4

120
  


  


  

  Part 1
  1


  
  
  

  
  

  4
  4

  


  5
  1
  0
  
  NONE
  127
  0
  0
  0
  0
  0
  0


  

  
  

  0

  


  
  

  1

  


  
  

  2

  


  
  

  3

  

  
  

  
  

  4

  


  
  

  2

  


  
  

  -1

  


  
  

  0

  

  

  

  
  

  1
  1
  0
  0
  100
  100
  0
  0


  
SuppressTitleRepeats
title = ##f
instrument = ##f

  
  
MovementTitles
 dedication = ##f
 title = ##f
 subtitle = ##f
 subsubtitle = ##f
 instrument = ##f
 poet = ##f
 composer = ##f
 meter = ##f
 arranger = \markup \with-url #'"scheme:(d-GoToPosition 2 1 1 1)(DenemoSetTitles \"MovementTitles\" 'arranger #t)" {Movement arranger}
 tagline = ##f
 copyright = ##f
 piece = ##f
 opus = ##f

Movement Titles
(list (cons 'dedication #f)(cons 'title #f)(cons 'subtitle #f)(cons 'subsubtitle #f)(cons 'instrument #f)(cons 'poet #f)(cons 'composer #f)(cons 'meter #f)(cons 'arranger "Movement arranger")(cons 'tagline #f)(cons 'copyright #f)(cons 'piece #f)(cons 'opus #f) '())
4
  


  

  1
  4

120
  


  


  

  Part 1
  1


  
  
  

  
  

  4
  4

  


  5
  1
  0
  
  NONE
  127
  0
  0
  0
  0
  0
  0


  

  
  

  0

  


  
  

  1

  


  
  

  2

  


  
  

  3

  

  
  

  
  

  4

  


  
  

  5

  

 

Re: now no denemo

2020-09-06 Thread Andreas Schneider
Actually, I don't understand what you are doing. The change in the
package is that the manual is now at /usr/share/denemo/manual (the
application's default location) instead of /usr/share/doc/denemo-doc
(Debian's default location). Thus, Denemo can find it in the location
coded into the source (i.e. if you click on Help > Browse Manual).

Andreas


On 2020-09-06 14:07, aaron mehl wrote:
> Oh, I don't think it will help since I just did a copy and paste so that
> when I click help it opes the docs, so I won't see any difference
> Please advise me what I should do.
> Aaron
>
> On Sep 6 2020, at 5:53 am, Andreas Schneider  wrote:
>
> Debian has a specific location for the docs which is different from the
> application default. They have a patch to change the directory hardcoded
> in the source when choosing Help > Browse Manual in the menu. Since I am
> using the latest source from git and don't want to patch it, I have
> changed the build scripts to use the application's original path. I have
> uploaded new packages. Please test.
>
> Andreas
>
>
> On 2020-09-03 01:15, aaron mehl wrote:
> > Hi again,
> > For some reason the docs didn't install in the expected directory
> when I
> > click on help firefox can't find it.
> > Thanks,
> > Aaron
>




Missing entries in POTFILES.in

2020-09-06 Thread Andreas Schneider
After the newest commit 'make check' complains:

The following files contain translations and are currently not in use.
Please consider adding these to the POTFILES.in file, located in the po/
directory.
actions/menus/MainMenu/Educational/AuralTraining/Intervals/2nds-and-3rds.xml
actions/menus/MainMenu/Educational/AuralTraining/Intervals/3rds-and-4ths.xml
actions/menus/MainMenu/Educational/AuralTraining/Intervals/4ths-and-5ths.xml
actions/menus/MainMenu/Educational/AuralTraining/Intervals/5ths-and-6ths.xml
actions/menus/MainMenu/Educational/AuralTraining/Intervals/6ths-and-7ths.xml
actions/menus/MainMenu/Educational/AuralTraining/Intervals/7ths-and-8ths.xml
If some of these files are left out on purpose then please add them to
POTFILES.skip instead of POTFILES.in.

Can you please add those entries? (The Debian builds fail if make check
fails.)

Thanks

Andreas



Re: now no denemo

2020-09-06 Thread Andreas Schneider
Debian has a specific location for the docs which is different from the
application default. They have a patch to change the directory hardcoded
in the source when choosing Help > Browse Manual in the menu. Since I am
using the latest source from git and don't want to patch it, I have
changed the build scripts to use the application's original path. I have
uploaded new packages. Please test.

Andreas


On 2020-09-03 01:15, aaron mehl wrote:
> Hi again,
> For some reason the docs didn't install in the expected directory when I
> click on help firefox can't find it.
> Thanks,
> Aaron



Re: now no denemo

2020-09-02 Thread Andreas Schneider
On 2020-08-31 13:56, aaron mehl wrote:
> libfluidsynth2 version 2.1.1-2
> Aaron

libfluidsynth2 is not available in Debian stable, only in Debian testing
(codenamed bullseye). Thus I have set up an installation of Debian
testing on my local computer to build Denemo packages. I have uploaded
the resulting packages to http://denemo.org/~aschneider/bullseye/ Please
test if those work for you.

Andreas



Re: now no denemo

2020-08-31 Thread Andreas Schneider
Can you please look up which packages the denemo from the distribution
depends on? To install/run, you don't need any dev package, that is only
needed if you want to compile yourself.

Andreas


On 2020-08-31 13:24, aaron mehl wrote:
> Hi all,
> I see from a different thread that the compile issue is fixed.
> I need to know what package contains libfluidsynth  is it fluid synth or
> the dev package?
> Isn't there anyone out there with a respository of bleeding edge debs
> that could include denemo?
> Anyways I did get 2.2.0 back from my distro. I  hesitant to install the
> latest and greatest it was a big waste of my time.
> I may however put it on my windows laptop possibly...
> Thanks,
> Aaron
>
> Sent from Mailspring <https://getmailspring.com/>, the best free email
> app for work
> On Aug 31 2020, at 3:26 am, Andreas Schneider  wrote:
>
> On 2020-08-30 22:47, aaron mehl wrote:
> > Hi,
> > Yeah I used your packages and part of the issue seems to be it wanting
> > older versions of dependencies as well
> > Building dependency tree  
> > Reading state information... Done
> > Note, selecting 'denemo' instead of './denemo_2.4.0_amd64.deb'
> > Some packages could not be installed. This may mean that you have
> > requested an impossible situation or if you are using the unstable
> > distribution that some required packages have not yet been created
> > or been moved out of Incoming.
> > The following information may help to resolve the situation:
> >
> > The following packages have unmet dependencies:
> >  denemo : Depends: libfluidsynth1 (>= 1.1.6-4~) but it is not
> installable
> >   Recommends: denemo-doc (= 2.4.0) but 2.4.2 is to be
> installed
> > E: Unable to correct problems, you have held broken packages.
> >  but doing this from a repository would make this so much easier.
> >
> > Thanks for your help,
> > Aaron
>
>
> Which version of libfluidsynth do you have available in your package
> manager? I am building on the current stable version of the Debian
> distribution.
>
> Andreas
>




Re: Compile error

2020-08-31 Thread Andreas Schneider
On 2020-08-31 10:24, Richard Shann wrote:
> On Sat, 2020-08-15 at 12:30 +0200, Andreas Schneider wrote:
>> Since 4th August, the automated Debian builds fail. I get the error
>>
>> core/importxml.c: In function ‘parseSetupInfo’:
>> core/importxml.c:1675:11: error: format not a string literal and no
>> format arguments [-Werror=format-security]
>>    g_warning (msg);
>>    ^
>> core/importxml.c:1687:11: error: format not a string literal and no
>> format arguments [-Werror=format-security]
>>    g_warning (msg);
>>    ^
>> cc1: some warnings being treated as errors
>>
>> The same happens when I try to build locally.
>> The mentioned lines have been changed in commit 8731b0d594 and
>> 7f93490598, respectively.
>
> Sorry to have missed this email - I've fixed the problem now.

Thanks a lot. Can you please commit the same fix for line 1687? With
that I can compile again.

Andreas



Re: now no denemo

2020-08-31 Thread Andreas Schneider
On 2020-08-30 22:47, aaron mehl wrote:
> Hi,
> Yeah I used your packages and part of the issue seems to be it wanting
> older versions of dependencies as well
> Building dependency tree  
> Reading state information... Done
> Note, selecting 'denemo' instead of './denemo_2.4.0_amd64.deb'
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  denemo : Depends: libfluidsynth1 (>= 1.1.6-4~) but it is not installable
>   Recommends: denemo-doc (= 2.4.0) but 2.4.2 is to be installed
> E: Unable to correct problems, you have held broken packages.
>  but doing this from a repository would make this so much easier.
>
> Thanks for your help,
> Aaron


Which version of libfluidsynth do you have available in your package
manager? I am building on the current stable version of the Debian
distribution.

Andreas



Re: now no denemo

2020-08-30 Thread Andreas Schneider
As I wrote to this list on 15th August, my automated Debian builds fail
since 4th August due to a compiler error. It looks like that this has
been introduced by a commit on 3rd August. Richard, do you have a
suggestion how to solve that issue?
However, the last build from 3rd August does work for me. What error do
you encounter?

Andreas


On 2020-08-30 19:36, aaron mehl wrote:
> I used the .deb pacakges to install the latest denemo but something is
> broken/wrong. Now no Denemo :(
> Is there a repository I can add?
> I am using the latest Linux Mint.
> But any debian  should do the trick.
> Aaron



Re: recalculate measures

2020-08-28 Thread Andreas Schneider
On 2020-08-26 22:39, aaron mehl wrote:
> Hi all,
> I  quickly add notes with the same note value and then when I went back
> and changed the note values it kept them all in the same measure. How do
> I get Denemo to auto recalculate the measures?

You can use the command
 Movements > Adjust the Measure Lengths
with the option Rebar-Merge underfull, split overfull bars.
Alternatively, you can split/merge measures by hand via
 Measures > Split Measure at Cursor
and
 Measures > Merge with Next Measure.
I have set up short cuts for the last two as I use them quite often.

Andreas



Compile error

2020-08-15 Thread Andreas Schneider
Since 4th August, the automated Debian builds fail. I get the error

core/importxml.c: In function ‘parseSetupInfo’:
core/importxml.c:1675:11: error: format not a string literal and no
format arguments [-Werror=format-security]
   g_warning (msg);
   ^
core/importxml.c:1687:11: error: format not a string literal and no
format arguments [-Werror=format-security]
   g_warning (msg);
   ^
cc1: some warnings being treated as errors

The same happens when I try to build locally.
The mentioned lines have been changed in commit 8731b0d594 and
7f93490598, respectively.

Andreas



Re: Comments in lyrics

2020-06-27 Thread Andreas Schneider
On 2020-06-27 17:46, Richard Shann wrote:
> On Sat, 2020-06-27 at 14:10 +0200, Andreas Schneider wrote:
>> Since the lyrics are directly lilypond-interpreted, it is possible to
>> write comments (i.e. text starting with %) in the lyrics pane. This
>> works nicely in the print, but the Denemo window shows the comment
>> under
>> the notes. Is there an easy fix to not show lyric comments in the
>> Denemo
>> window?
>
> Well no easy user-fix, but I have just committed a fix to git that
> ignores the rest of the line in lyrics when a syllable starts with %.
>
> Please let me know if it's ok - especially does everything else lyric-
> wise still work - as I haven't any tests for lyrics.
>
> This is now Denemo Version 2.4.1
>
> Richard

Thanks a lot for implementing that, that's very handy. Everything I
tested works fine.

Andreas



Comments in lyrics

2020-06-27 Thread Andreas Schneider
Since the lyrics are directly lilypond-interpreted, it is possible to
write comments (i.e. text starting with %) in the lyrics pane. This
works nicely in the print, but the Denemo window shows the comment under
the notes. Is there an easy fix to not show lyric comments in the Denemo
window?

Andreas



Re: deb

2020-05-10 Thread Andreas Schneider
Hi Aaron,

you can use the daily Debian builds on
http://www.denemo.org/~aschneider/daily/
You'll have to install those packages by hand.

Andreas


On 2020-05-10 16:39, Aaron Mehl wrote:
> Hi everyone,
>
> I was wondering if there is a .deb available for the new release.
>
> Even better would be a repository where to install from.
>
> Thanks,
>
> Aaron



Re: Starting playback in the middle of a movement

2020-01-06 Thread Andreas Schneider
On 2019-12-21 13:27, Richard Shann wrote:
> On Wed, 2019-12-18 at 23:24 +0100, Andreas Schneider wrote:
>> On 2019-12-18 11:22, Richard Shann wrote:
>>> On Mon, 2019-12-16 at 19:39 +0100, Andreas Schneider wrote:
>>>> [...]
>>>
>>> I've been looking at the code and I see a promising place for the
>>> trouble to lie - I've made a change which may even fix the problem
>>> you
>>> are having. Meanwhile - does the "loop" button work for you? And,
>>> if
>>> you have "Listening to Notes" set, can you hear yourself play while
>>> the
>>> big pause is happening?
>>
>> I have built the latest version from git and it still shows the same
>> behaviour.
>
> I don't know whether you have tested earlier versions of Denemo, but I
> have just reverted the bit of code that I suspect is causing JACK
> trouble to the version that Dominic Sacré wrote. Perhaps you can test
> this (the reversion is only for _HAVE_JACK_ but my limited testing
> shows it working for portaudio too).
> I'll forward this email if it doesn't get delivered to you, until it
> does.

Sorry for taking so long to respond, I was on holiday and thus could not
test. With the new version, the problem is fixed, playback again works
as expected. Thanks for investigating and fixing.

Andreas



Re: Starting playback in the middle of a movement

2019-12-18 Thread Andreas Schneider

On 2019-12-18 11:22, Richard Shann wrote:

On Mon, 2019-12-16 at 19:39 +0100, Andreas Schneider wrote:

[...]


I've been looking at the code and I see a promising place for the
trouble to lie - I've made a change which may even fix the problem you
are having. Meanwhile - does the "loop" button work for you? And, if
you have "Listening to Notes" set, can you hear yourself play while the
big pause is happening?


I have built the latest version from git and it still shows the same
behaviour. I guess that with "Listening to Notes" you refer to the
option "Play back entered notes immediately" under Preferences > Audio?
I have that set, and I hear the sound when entering notes during the
pause during playback. The loop button works, but there is a pause
between the repeated playbacks when the playback start marker is not at
the beginning.

Andreas



Re: Starting playback in the middle of a movement

2019-12-16 Thread Andreas Schneider

On 2019-12-16 10:23, Richard Shann wrote:

On Sat, 2019-12-14 at 20:14 +0100, Andreas Schneider wrote:

>> [...]

Can you see therein what the problem may be?


No, this Ctrl-C has just interrupted some uninteresting part of the
loop - did you try it a few times to see if you could catch it doing
something else? If so I'll look into the code to find a few places to
try breaking in and finding whereabouts the long pause comes.


I have tried it a few times, but haven't seen anything interesting.

Example:

#0  0x75392819 in __GI___poll (fds=0x571b5470, nfds=3,
timeout=9)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x76269136 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x762694c2 in g_main_loop_run ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x76a60b15 in gtk_main ()
at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#4  0x555ea26f in  ()
#5  0x77e24753 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#6  0x77ed4250 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#7  0x77ea616e in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#8  0x77ede563 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#9  0x77efd896 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#10 0x77e2f1ab in scm_call_4 ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#11 0x77ed40a6 in scm_catch_with_pre_unwind_handler ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#12 0x77ed4328 in scm_c_catch ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#13 0x77e245a2 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#14 0x77e2486b in scm_c_with_continuation_barrier ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#15 0x77ed101c in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
--Type  for more, q to quit, c to continue without paging--
#16 0x77d53ef5 in GC_call_with_stack_base ()
at /usr/lib/x86_64-linux-gnu/libgc.so.1
#17 0x77ed1105 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#18 0x77ed1145 in scm_with_guile ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#19 0x5557bd5a in main ()

As it's random when Ctrl-C is pressed, it is maybe easier to build on
what we know. For instance, it is striking that the output always states
that playback starts at 0.0. Can you recommend a place to set a
breakpoint to debug that further?

Andreas



Re: Re: Starting playback in the middle of a movement

2019-12-14 Thread Andreas Schneider

On 2019-12-14 12:27, Richard Shann wrote:

On Wed, 2019-12-11 at 11:34 +, Richard Shann wrote:

I get these two messages immediately when clicking playback start.
The
sound starts considerably later.


independent of where the playback start marker is. Playback
ends
with
the message

Here endeth a scripted playback


Are you using JACK or Alsa?


I am using JACK.


Mmm, that's something that I have even less experience with - does it
allow you to ask for messages to indicate when it does things - when
it
gets input? Did you upgrade to the latest Debian Stable? I haven't
done
that yet, which could account for the difference we are seeing.
This is contingent on the old versions of Denemo showing the same
behaviour (see below).


When writing that reply I was not thinking clearly enough: if you are
getting a long delay when starting in the middle of a movement and *not
*at the end then it must be that Denemo is doing something during that
delay. What might work is to run it under the debugger and use Control-
C to interrupt it during the long pause and then the command "where" to
find out which function it is in at the time (then "continue" and
interrupt it again). Doing this a few times may show up some loop in
the Denemo code (there will be more sophisticated ways of doing this
I'm sure but this may do ...

Thank you for the suggestion. This is what I get:

#0  0x75393819 in __GI___poll (fds=0x55e5baa0, nfds=3,
timeout=10)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x7626a136 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7626a4c2 in g_main_loop_run ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x76a61b15 in gtk_main ()
at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#4  0x555ea26f in  ()
#5  0x77e25753 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#6  0x77ed5250 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#7  0x77ea716e in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#8  0x77edf563 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#9  0x77efe896 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#10 0x77e301ab in scm_call_4 ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#11 0x77ed50a6 in scm_catch_with_pre_unwind_handler ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#12 0x77ed5328 in scm_c_catch ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#13 0x77e255a2 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#14 0x77e2586b in scm_c_with_continuation_barrier ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#15 0x77ed201c in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#16 0x77d54ef5 in GC_call_with_stack_base ()
at /usr/lib/x86_64-linux-gnu/libgc.so.1
#17 0x77ed2105 in  () at
/usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#18 0x77ed2145 in scm_with_guile ()
at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#19 0x5557bd5a in main ()

Can you see therein what the problem may be?

Andreas



Re: Titles

2019-12-14 Thread Andreas Schneider

By default Denemo creates a tagline "[filename] on [date]".
1) Is it possible to configure that, e.g. to have "Version from [date]"
instead, or is the text hard-wired?
2) When setting simple score titles (Score > Titles > Simple
Titles > Set Titles), the default tagline mentioned above is not shown
any more, even when not setting the tagline. That is due to the script
setting those entries not set decidedly to ##f. Is there an option to
select whether the default tagline shall be still printed or not?

Andreas



Re: Starting playback in the middle of a movement

2019-12-11 Thread Andreas Schneider
On 12/11/19 11:09 AM, Richard Shann wrote:
> On Mon, 2019-12-09 at 20:28 +0100, Andreas Schneider wrote:
>> On 2019-12-08 21:36, Richard Shann wrote:
>>> On Sun, 2019-12-08 at 20:51 +0100, Andreas Schneider wrote:
>>>> When moving the playback start marker away from the beginning of
>>>> a
>>>> piece
>>>> (using the playback control), I encounter the new behaviour that
>>>> after
>>>> stating playback it takes quite a while until the actual playback
>>>> starts, or more precisely it seems that it plays back silently
>>>> from
>>>> the
>>>> beginning of the movement and starts producing sounds when it
>>>> arrives
>>>> at
>>>> the playback start marker. At least I guess that from the time it
>>>> takes
>>>> to start playing. I assume that this is a bug?
>>>
>>> I am not seeing that behaviour, and I don't think anything has
>>> changed
>>> for a long time in that area of the program. Are you seeing the
>>> messages announcing the starting and ending of playback on the
>>> console?
>>> I just did a few tests
>>>
>>> Denemo - MESSAGE : Starting playback
>>> Denemo - MESSAGE : Starting playback at 28.005368
>>> Here endeth a scripted playbackstarting audio playback at 56.010664
>>> Denemo - MESSAGE : Starting playback
>>> Denemo - MESSAGE : Starting playback at 56.010664
>>> Here endeth a scripted playbackDenemo - MESSAGE : Using channel 0
>>> prognum 0
>>> Denemo - MESSAGE : Using channel 1 prognum 0
>>> starting audio playback at 54.010402
>>> Denemo - MESSAGE : Starting playback
>>> Denemo - MESSAGE : Starting playback at 54.010402
>>> Here endeth a scripted playback
>>>
>>> I was setting the start place via the Playback Control green "|"
>>> button
>>> but I am getting the same immediate response with Ctrl-F5 and with
>>> Ctrl-Alt-Drag of the start playback marker followed by F5
>>
>> When starting playback, I get the messages
>>
>> Denemo - MESSAGE : Starting playback
>> Denemo - MESSAGE : Starting playback at 0.00
>
> Do you get these two promptly when you start playback, or are they
> delayed until playback actually starts?

I get these two messages immediately when clicking playback start. The
sound starts considerably later.

>> independent of where the playback start marker is. Playback ends with
>> the message
>>
>> Here endeth a scripted playback
>
> Are you using JACK or Alsa?

I am using JACK.

>> Do you have a suggestion how to debug?
>
> Are you able easily to run an old version of Denemo to check that it is
> something external and not some difference within your Denemo binary?

Yes, I can just install some old Debian packages or build an old
version. Is there a specific version you have in mind?

Andreas



Titles

2019-12-09 Thread Andreas Schneider

Is there a documentation of the DenemoSetTitles directive? I couldn't
find it in the manual. Actually, I want to use Lilypond commands in
titles, which I couldn't manage to do with Score > Titles > Simple
Titles > Set Titles, because everything is escaped and thus displayed as
typed.

Andreas



Re: Starting playback in the middle of a movement

2019-12-09 Thread Andreas Schneider

On 2019-12-08 21:36, Richard Shann wrote:

On Sun, 2019-12-08 at 20:51 +0100, Andreas Schneider wrote:

When moving the playback start marker away from the beginning of a
piece
(using the playback control), I encounter the new behaviour that
after
stating playback it takes quite a while until the actual playback
starts, or more precisely it seems that it plays back silently from
the
beginning of the movement and starts producing sounds when it arrives
at
the playback start marker. At least I guess that from the time it
takes
to start playing. I assume that this is a bug?


I am not seeing that behaviour, and I don't think anything has changed
for a long time in that area of the program. Are you seeing the
messages announcing the starting and ending of playback on the console?
I just did a few tests

Denemo - MESSAGE : Starting playback
Denemo - MESSAGE : Starting playback at 28.005368
Here endeth a scripted playbackstarting audio playback at 56.010664
Denemo - MESSAGE : Starting playback
Denemo - MESSAGE : Starting playback at 56.010664
Here endeth a scripted playbackDenemo - MESSAGE : Using channel 0
prognum 0
Denemo - MESSAGE : Using channel 1 prognum 0
starting audio playback at 54.010402
Denemo - MESSAGE : Starting playback
Denemo - MESSAGE : Starting playback at 54.010402
Here endeth a scripted playback

I was setting the start place via the Playback Control green "|" button
but I am getting the same immediate response with Ctrl-F5 and with
Ctrl-Alt-Drag of the start playback marker followed by F5


When starting playback, I get the messages

Denemo - MESSAGE : Starting playback
Denemo - MESSAGE : Starting playback at 0.00

independent of where the playback start marker is. Playback ends with
the message

Here endeth a scripted playback

Do you have a suggestion how to debug?

Andreas



Starting playback in the middle of a movement

2019-12-08 Thread Andreas Schneider

When moving the playback start marker away from the beginning of a piece
(using the playback control), I encounter the new behaviour that after
stating playback it takes quite a while until the actual playback
starts, or more precisely it seems that it plays back silently from the
beginning of the movement and starts producing sounds when it arrives at
the playback start marker. At least I guess that from the time it takes
to start playing. I assume that this is a bug?

Andreas



Re: [Denemo-devel] Looking for fermata (hold symbol) in Denemo entry screens

2019-10-24 Thread Andreas Schneider
Notes/Rests > Markings > Articulations > Fermata (Off/On)
keyboard shortcut A f

You can also search for commands in the command center (View > Command
Center).

HTH

Andreas


On 10/24/19 8:07 AM, Howard Ballinger wrote:
> Not found in the Help PDF.
>
> Thank you in advance!

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


Re: [Denemo-devel] Vertically centred common lyrics

2019-10-15 Thread Andreas Schneider
On 10/11/19 9:39 AM, Richard Shann wrote:
> On Wed, 2019-10-09 at 22:36 +0200, Andreas Schneider wrote:
>> What is the best way to input vertically centred common lyrics (see
>> http://lilypond.org/doc/v2.18/Documentation/snippets/vocal-music#voca
>> l-music-vertically-centered-common-lyrics)
>> in Denemo? I used the Score > Lilypond Definition feature to define
>> commands dropLyrics and revertLyrics similar as in the snippet,
>>
>> dropLyrics = {
>>   \override LyricText.extra-offset = #'(0 . -1.5)
>>   \override LyricHyphen.extra-offset = #'(0 . -1.5)
>>   \override LyricExtender.extra-offset = #'(0 . -1.5)
>> }
>> revertLyrics = {
>>   \revert LyricText.extra-offset
>>   \revert LyricHyphen.extra-offset
>>   \revert LyricExtender.extra-offset
>> }
>>
>> and used those commands in the lyrics pane, but I wonder whether
>> there
>> is a better way to do that?
>
> That looks like a question that may get a better response from the lily
> pond-u...@gnu.org mailing list. Unless the question is about how to
> insert the syntax from that example into a Denemo score

The question was what is the best way to insert it in Denemo.

> on that I
> think you have it right - you could elaborate it into a command in the
> Lyrics menu that automatically creates the definitions at the head of
> the file and inserts the invocations (\dropLyrics etc) in the text
> (there are many examples in the Lyrics menu of inserting stuff using
>
> d-InsertTextInVerse
>
> but perhaps none that create a definition - one command that does that
> is TrillsPlus which I see uses
>
> d-LilyPondDefinition
>
> which I see takes a pair (cons "name" "definition"))

So that is something like this:

;InsertDropLyrics
(let ((tag "InsertDropLyrics"))
((d-LilyPondDefinition (cons "dropLyrics" "\\override
LyricText.extra-offset = #'(0 . -1.5)\\override LyricHyphen.extra-offset
= #'(0 . -1.5)\\override LyricExtender.extra-offset = #'(0 . -1.5)"))
(d-InsertTextInVerse "\\dropLyrics")
(d-SetSaved #f)))

If you have an even number of verses, this can be used to drop the
chorus lyrics half a verse (e.g. in the second verse if you have four
verses). If you have an odd number of verses, no such script is needed,
as you can just insert the chorus lyrics in the centre verse.

>  If you are asking on lilypond-user perhaps it would be good to ask if
> the lines
> leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup 
> #"brace240" }
> rightbrace = \markup { \rotate #180 \leftbrace }
> in that snippet are a mistake ... they don't seem relevant.

I guess those are used to draw brackets to indicate that common text is
following, such as in this extension of the snippet from the Lilypond
documentation:

\include "english.ly"
leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup
#"brace120" }
rightbrace = \markup { \rotate #180 \leftbrace }

dropLyrics =
{
\override LyricText.extra-offset = #'(0 . -4)
\override LyricHyphen.extra-offset = #'(0 . -4)
\override LyricExtender.extra-offset = #'(0 . -4)
}

raiseLyrics =
{
\revert LyricText.extra-offset
\revert LyricHyphen.extra-offset
\revert LyricExtender.extra-offset
}

skipFour = \repeat unfold 4 { \skip 8 }

lyricsA = \lyricmode { The first verse has \dropLyrics
\markup{\rightbrace the} com -- mon
__ \markup{words\leftbrace} \raiseLyrics used in all four. }
lyricsB = \lyricmode { In stan -- za two, \skipFour al -- so ap -- pear. }
lyricsC = \lyricmode { By the third verse, \skipFour are get -- ting dull. }
lyricsD = \lyricmode { Last stan -- za, and \skipFour get used once more. }

melody = \relative c' { c4 d e f g f e8( f) d4 c e d c }

\score
{
<<
\new Voice = m \melody
\new Lyrics \lyricsto m \lyricsA
\new Lyrics \lyricsto m \lyricsB
\new Lyrics \lyricsto m \lyricsC
\new Lyrics \lyricsto m \lyricsD
>>
}

Unfortunately, I couldn't get rid of the extra vertical space between
first and second verse which is inserted when adding the markup for
\rightbrace. Furthermore, the definition of \leftbrace depends on the
number of verses, as that determines the size of the bracket; thus, a
Scheme script would have to check that.

Andreas

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


[Denemo-devel] Vertically centred common lyrics

2019-10-09 Thread Andreas Schneider
What is the best way to input vertically centred common lyrics (see
http://lilypond.org/doc/v2.18/Documentation/snippets/vocal-music#vocal-music-vertically-centered-common-lyrics)
in Denemo? I used the Score > Lilypond Definition feature to define
commands dropLyrics and revertLyrics similar as in the snippet,

dropLyrics = {
  \override LyricText.extra-offset = #'(0 . -1.5)
  \override LyricHyphen.extra-offset = #'(0 . -1.5)
  \override LyricExtender.extra-offset = #'(0 . -1.5)
}
revertLyrics = {
  \revert LyricText.extra-offset
  \revert LyricHyphen.extra-offset
  \revert LyricExtender.extra-offset
}

and used those commands in the lyrics pane, but I wonder whether there
is a better way to do that?

Andreas

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


Re: [Denemo-devel] Proof-reading Denemo Scores

2019-10-02 Thread Andreas Schneider
Hi Richard,

I use a tablet for this purpose, because I can put it on the music stand
of my piano or take it to a practice room. I just transfer the exported
PDF to the tablet. I haven't tried Denemo's PDF proof reading feature
yet, though I guess that will be handy. Probably, you can use your page
turner on a tablet as well, and other products exist decidedly designed
for tablets (either by Bluetooth or USB), though I haven't tried any yet.

Andreas

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


Re: [Denemo-devel] Packages for Ubuntu

2019-05-25 Thread Andreas Schneider
I have made a build on the old Debian distribution, Jessie, which may be
more suitable for your old version of Ubuntu. You find it on
http://denemo.org/~aschneider/jessie/ Does that work for you? You
probably still have to install some dependencies, but I hope these
packages do exist on Ubuntu 16.04.

Andreas


On 5/25/19 3:13 PM, Satoru Honda wrote:
> Thank you Amdreas for make packages.
>
> I try to installing Denemo from the packages.
> But there are another dependency issues.
>
> There are no latest version of lib on Ubuntu xenil APT package
>  libfftw3-double3 (>= 3.3.5)
> libfluidsynth1 (>= 1.1.6-4~)
> libgtk-3-0 (>= 3.21.5)
> libsmf0
>
> Do you have any idea about this kind of issue?
>
> Satoru Honda
>
> ```
> blackcat@blackcat:~/denemo$ sudo dpkg -i *denemo*2.2*_amd64.deb
> *denemo*2.2*_all.deb
> (Reading database ... 494560 files and directories currently installed.)
> Preparing to unpack denemo-dbgsym_2.2.11_amd64.deb ...
> Unpacking denemo (2.2.11) over (2.2.11) ...
> Preparing to unpack denemo_2.2.11_amd64.deb ...
> Unpacking denemo (2.2.11) over (2.2.11) ...
> Preparing to unpack denemo-data_2.2.11_all.deb ...
> Unpacking denemo-data (2.2.11) over (2.2.11) ...
> Preparing to unpack denemo-doc_2.2.11_all.deb ...
> Unpacking denemo-doc (2.2.11) over (2.2.11) ...
> Preparing to unpack ttf-denemo_2.2.11_all.deb ...
> Unpacking ttf-denemo (2.2.11) over (2.2.11) ...
> More than one copy of package denemo has been unpacked
>  in this run !  Only configuring it once.
> dpkg: dependency problems prevent configuration of denemo:
>  denemo depends on guile-2.0-libs; however:
>   Package guile-2.0-libs is not installed.
>  denemo depends on libaubio5; however:
>   Package libaubio5 is not installed.
>  denemo depends on libfftw3-double3 (>= 3.3.5); however:
>   Version of libfftw3-double3:amd64 on system is 3.3.4-2ubuntu1.
>  denemo depends on libfluidsynth1 (>= 1.1.6-4~); however:
>   Version of libfluidsynth1:amd64 on system is 1.1.6-3.
>  denemo depends on libgtk-3-0 (>= 3.21.5); however:
>   Version of libgtk-3-0:amd64 on system is 3.18.9-1ubuntu3.3.
>  denemo depends on libsmf0 (>= 1.3); however:
>   Package libsmf0 is not installed.
>
> dpkg: error processing package denemo (--install):
>  dependency problems - leaving unconfigured
> Setting up denemo-data (2.2.11) ...
> Setting up denemo-doc (2.2.11) ...
> Setting up ttf-denemo (2.2.11) ...
> Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
> Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
> Processing triggers for mime-support (3.59ubuntu1) ...
> Processing triggers for man-db (2.7.5-1) ...
> Processing triggers for doc-base (0.10.7) ...
> Processing 1 changed doc-base file...
> Registering documents with scrollkeeper...
> Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
> Errors were encountered while processing:
>  denemo
> ```

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


Re: [Denemo-devel] [Fwd: Re: Denemo manual]

2019-05-24 Thread Andreas Schneider
Hi,

You could either build the package yourself or try to install the
libaubio5 package from a newer version of Ubuntu, but I guess that the
latter would not be so easy since you probably will have to fix a lot of
dependency issues.

The easiest solution would probably be building Denemo without libaubio.
I can try to build such Denemo Debian packages during the weekend.

Andreas


On 5/23/19 6:02 PM, Satoru Honda wrote:
> Hi Andreas.Thank you for hepling.I want to use your pacage from
> http://www.denemo.org/~aschneider/daily/
> My OS is Ubuntu Studio 16.0.4 Xenial and cpu is AMD 64.
> I'm trying to install dependency use
>
> ```
> sudo apt-get install libaubio5 libfftw3-double3 libfluidsynth1 libgtk-3-0
> ```
> but is seems to be no built binary on repo.
>
> my terminal message is this
> ```
> Package libaubio5 is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package 'libaubio5' has no installation candidate
> ```
> Do you how to install libaubio5 on Xenial ?
>
> Satoru Honda
>
> 2019年5月23日(木) 23:14 Andreas Schneider :
>>
>> What happens, if you try to install the missing dependencies with the
>> command
>>
>> sudo apt-get install libaubio5 libfftw3-double3 libfluidsynth1 libgtk-3-0
>>
>> (all in one line, in case the mail program inserts a line break)?
>> You don't need the package denemo-dbgsym.
>>
>> Andreas

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


Re: [Denemo-devel] [Fwd: Re: Denemo manual]

2019-05-23 Thread Andreas Schneider
What happens, if you try to install the missing dependencies with the
command

sudo apt-get install libaubio5 libfftw3-double3 libfluidsynth1 libgtk-3-0

(all in one line, in case the mail program inserts a line break)?
You don't need the package denemo-dbgsym.

Andreas

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


Re: [Denemo-devel] Paste Lilypond notes

2019-03-14 Thread Andreas Schneider
On 3/14/19 9:32 AM, Richard Shann wrote:
> On Wed, 2019-03-13 at 23:29 +0100, Andreas Schneider wrote:
>> On 3/13/19 9:36 AM, Richard Shann wrote:
>>> On Tue, 2019-03-12 at 21:30 +0100, Andreas Schneider wrote:
>>>> On 3/12/19 10:00 AM, Richard Shann wrote:
>>>>> On Mon, 2019-03-11 at 20:54 +0100, Andreas Schneider wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Edit > Paste Lilypond notes does not work for me. After
>>>>>> answering
>>>>>> yes
>>>>>> to
>>>>>> the question "Paste from Selection",
>>>>>
>>>>> What is in the Denemo Display when you get this dialog? It
>>>>> should
>>>>> be
>>>>> showing a new, (*Untitled), tab containing just the notes that
>>>>> you
>>>>> have
>>>>> tried to paste from the system clipboard (not, of course,
>>>>> Denemo's
>>>>> own
>>>>> clipboard of Denemo Objects). (I expected it to show them
>>>>> already
>>>>> selected, but they appear un-selected, however, they do then
>>>>> get
>>>>> copied
>>>>> and pasted into the original tab if you respond with "Yes" to
>>>>> the
>>>>> dialog. Which means the wording of the dialog is bad :( ...)
>>>>
>>>> Attached you find two screenshots of a simple test. The first
>>>> shows
>>>> the
>>>> test file before I Paste Lilypond notes. The second one shows
>>>> what it
>>>> looks like directly after invoking the command, and after
>>>> selecting
>>>> yes
>>>> from the dialog it goes back to the first screenshot. The text in
>>>> the
>>>> clipboard was "f2" (without the quotes).
>>>
>>> What is being output to the terminal? The first time I used it I
>>> got a
>>> lot of stuff from the Guile interpreter commenting on the compiling
>>> of
>>> the script into bytecode (I'm running Guile version 2) but
>>> subsequent
>>> use gives this output:
>>>
>>> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8
>>>> <8>
>>> Using existing lexer file
>>> Using existing lexer file
>>> Using existing lexer file
>>> Using existing lexer file
>>>
>>>  Parser Start ::
>>> ((x_CHORD (x_NOTE ("d" . 0) "" "" "" "" "") . ""))
>>>
>>>  Parser Finished ::
>>>
>>> = Here is the final list =
>>> = == =
>>> ((x_MOVEMENT
>>>    (((x_SEQUENTIAL
>>>    (x_CHORD (x_NOTE ("d" . 0) "" "" "" "" "") . ""))
>>>
>>> = == =
>>>
>>> Now to execute the creation script
>>>
>>> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8
>>>> <8>
>>>
>>> This is with "d" on the system clipboard.
>>>
>>> What do you have?
>>
>> With "f4" on the clipboard, I get the following:
>>
>> <8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>
>> <8>
>> Lex error:
>> /usr/share/denemo/actions/notes.l:1:
>> 2: white space expected.
>
> Can you post your file
> /usr/share/denemo/actions/notes.l
> it should be a copy of
>
> http://git.savannah.gnu.org/gitweb/?p=denemo.git;a=blob_plain;f=actions/notes.l;hb=HEAD
>
> which does have whitespace at line 1 column 2.

The file /usr/share/denemo/actions/notes.l is identical to the one
downloaded from the online git at the given link. It contains a tab at
line 1 column 2.

>> Lex error:
>> /usr/share/denemo/actions/quote.l:1:2: white space expected.
>>
>> Lex error:
>> /usr/share/denemo/actions/block.l:1:2: white space expected.
>>
>> Lex error:
>> /usr/share/denemo/actions/incl.l:1:2: white space expected.
>>
>> ;;; Stat of /home/andreas/.denemo-2.2.11/actions/notes.l.scm failed:
>
> presumably the Lex failure meant it didn't create 
>
> /home/andreas/.denemo-2.2.11/actions/notes.l.scm
>
> and so nothing came of it all.
>
> If you get up the Scheme Script Window and put 
>
> (version)
>
> in the CLI and hit  it should output to the terminal the Guile
> version you are running inside Denemo. (Not that there is any reason
> Guile 1.8 shouldn't be just fine as that was the version this LilyPond
> importer was last developed with).

=> 2.0.13

> If the notes.l file is not corrupt I'll have to dig down into the
> script that reads it (things like actions/lalr.scm ...)

If you want to debug with my Debian build, you know where to find the
packages ...

Andreas

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


Re: [Denemo-devel] Paste Lilypond notes

2019-03-13 Thread Andreas Schneider
On 3/13/19 9:36 AM, Richard Shann wrote:
> On Tue, 2019-03-12 at 21:30 +0100, Andreas Schneider wrote:
>> On 3/12/19 10:00 AM, Richard Shann wrote:
>>> On Mon, 2019-03-11 at 20:54 +0100, Andreas Schneider wrote:
>>>> Hi,
>>>>
>>>> Edit > Paste Lilypond notes does not work for me. After answering
>>>> yes
>>>> to
>>>> the question "Paste from Selection",
>>>
>>> What is in the Denemo Display when you get this dialog? It should
>>> be
>>> showing a new, (*Untitled), tab containing just the notes that you
>>> have
>>> tried to paste from the system clipboard (not, of course, Denemo's
>>> own
>>> clipboard of Denemo Objects). (I expected it to show them already
>>> selected, but they appear un-selected, however, they do then get
>>> copied
>>> and pasted into the original tab if you respond with "Yes" to the
>>> dialog. Which means the wording of the dialog is bad :( ...)
>>
>> Attached you find two screenshots of a simple test. The first shows
>> the
>> test file before I Paste Lilypond notes. The second one shows what it
>> looks like directly after invoking the command, and after selecting
>> yes
>> from the dialog it goes back to the first screenshot. The text in the
>> clipboard was "f2" (without the quotes).
>
> What is being output to the terminal? The first time I used it I got a
> lot of stuff from the Guile interpreter commenting on the compiling of
> the script into bytecode (I'm running Guile version 2) but subsequent
> use gives this output:
>
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>
> Using existing lexer file
> Using existing lexer file
> Using existing lexer file
> Using existing lexer file
>
>  Parser Start ::
> ((x_CHORD (x_NOTE ("d" . 0) "" "" "" "" "") . ""))
>
>  Parser Finished ::
>
> = Here is the final list =
> = == =
> ((x_MOVEMENT
>    (((x_SEQUENTIAL
>    (x_CHORD (x_NOTE ("d" . 0) "" "" "" "" "") . ""))
>
> = == =
>
> Now to execute the creation script
>
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>
>
> This is with "d" on the system clipboard.
>
> What do you have?

With "f4" on the clipboard, I get the following:

<8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>
Lex error:
/usr/share/denemo/actions/notes.l:1:2: white space expected.

Lex error:
/usr/share/denemo/actions/quote.l:1:2: white space expected.

Lex error:
/usr/share/denemo/actions/block.l:1:2: white space expected.

Lex error:
/usr/share/denemo/actions/incl.l:1:2: white space expected.

;;; Stat of /home/andreas/.denemo-2.2.11/actions/notes.l.scm failed:
;;; ERROR: In procedure stat: No such file or directory:
"/home/andreas/.denemo-2.2.11/actions/notes.l.scm"
Denemo - WARNING :
   A script error for file/script (lyimport::load-file
"/home/andreas/.denemo-2.2.11/" "denemopaste.ly"); the throw arguments are

(open-file ~A: ~S (No such file or directory
/home/andreas/.denemo-2.2.11/actions/notes.l.scm) (2))
Denemo - WARNING :
   The tag is

system-error

Log level set to 287
<8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>

With "d" on the clipboard, the result is the same.

Andreas

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


[Denemo-devel] Paste Lilypond notes

2019-03-11 Thread Andreas Schneider
Hi,

Edit > Paste Lilypond notes does not work for me. After answering yes to
the question "Paste from Selection", nothing is inserted, even when
trying with something very simple such as f2 to insert one single note.
What am I missing?

Andreas

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


[Denemo-devel] Insert file as new movement

2019-02-18 Thread Andreas Schneider
Hi,

there used to be a command to insert a Denemo file as a new movement in
the current score, but I can't find it any more, neither in the menu nor
in the command center. What am I missing?

Andreas

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


Re: [Denemo-devel] Denemo edit view empty

2018-12-07 Thread Andreas Schneider
On 12/7/18 12:35 PM, Richard Shann wrote:
> On Fri, 2018-12-07 at 10:17 +, Richard Shann wrote:
>> On Fri, 2018-12-07 at 10:03 +, Richard Shann wrote:
>>> On Fri, 2018-12-07 at 08:47 +0100, Andreas Schneider wrote:
>>>> Thank you for the fix, now Denemo does launch. However, the edit
>>>> view
>>>> remains empty, see attached screenshot. Even when, e.g., adding
>>>> new
>>>> staffs, the edit view remains empty, although everything is shown
>>>> correctly in the print preview.
>>>
>>> I can't reproduce this -
>>
>> I was just running the AppImage as a new user (in order to look into
>> the key shortcuts problem Gerard is reporting) and I have reproduced
>> this problem. It doesn't happen when I run the same AppImage from my
>> own user account.
>> I'll investigate further ...
> 
> I think that's fixed now - a very weird side-effect of not having a
> file to start with. In git, and a new AppImage uploaded.

Thank you very much for investigating and fixing this issue. Now
everything works again as normal.

Andreas

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


[Denemo-devel] Denemo edit view empty (was: Denemo crash on startup)

2018-12-06 Thread Andreas Schneider
Thank you for the fix, now Denemo does launch. However, the edit view
remains empty, see attached screenshot. Even when, e.g., adding new
staffs, the edit view remains empty, although everything is shown
correctly in the print preview.

Andreas


On 12/6/18 9:54 AM, Richard Shann wrote:
> That is the bit that was causing the crash - in the absence of recently
> opened files it crashes :(
> I've fixed it now in git.
> 
> Richard
___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


[Denemo-devel] Denemo crash on startup

2018-12-05 Thread Andreas Schneider
Hi,

after updating to the newest version from git, Denemo crashes with a
segmentation fault on startup (after having said No to the question
whether to re-use existing commands, shortcuts, etc.), see the traceback
below. Do you have an idea what might cause that? My OS is Debian
Stretch (9.6).

Andreas


(gdb) run
Starting program: /usr/bin/denemo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Denemo data expected in /usr/share/denemo/
[New Thread 0x7fffdae40700 (LWP 19606)]
[New Thread 0x7fffda63f700 (LWP 19607)]
[New Thread 0x7fffd9e3e700 (LWP 19608)]
[New Thread 0x7fffd963d700 (LWP 19609)]
[New Thread 0x7fffd8e3c700 (LWP 19610)]
[New Thread 0x7fffd863b700 (LWP 19611)]
[New Thread 0x7fffd7e3a700 (LWP 19612)]
[New Thread 0x7fffd6d08700 (LWP 19613)]
[New Thread 0x7fffd6507700 (LWP 19614)]
Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged.
Denemo - WARNING : No syntax highlighting for LilyPond
Denemo - MESSAGE : Audio driver is 'portaudio'
Denemo - MESSAGE : Initializing Fluidsynth
Denemo - MESSAGE : The default fluidsynth soundfont has been loaded
Denemo - MESSAGE : Initializing PortAudio backend
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
[New Thread 0x7fffd4c91700 (LWP 19743)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for
4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for
4294967295, skipping unlock
[Thread 0x7fffd4c91700 (LWP 19743) exited]
Denemo - MESSAGE : Opening output device 'ALSA: default'
[New Thread 0x7fffc7fff700 (LWP 19744)]
Denemo - MESSAGE : MIDI driver is 'portmidi'
Denemo - MESSAGE : Initializing PortMidi backend
[New Thread 0x7fffc77fe700 (LWP 19745)]
Denemo - MESSAGE : Opening input device 'ALSA: Midi Through Port-0'
Denemo - MESSAGE : Opening output device 'ALSA: Midi Through Port-0'
[New Thread 0x7fffc6ffd700 (LWP 19746)]
Denemo - MESSAGE : Denemo version 2.2.10
Denemo - MESSAGE : Loaded keymap /home/src/denemo/actions/Default.commands
switching pagenum 0
switching pagenum 0
switching pagenum 0

Thread 1 "denemo" received signal SIGSEGV, Segmentation fault.
0x555e33aa in ?? ()
(gdb) where
#0  0x555e33aa in ?? ()
#1  0x556084ed in ?? ()
#2  0x555ec39a in ?? ()
#3  0x77a5cadc in ?? ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#4  0x77b0ce36 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#5  0x77adeca0 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#6  0x77b174f3 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#7  0x77b37f08 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#8  0x77a675ab in scm_call_4 ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#9  0x77b0cc8c in scm_catch_with_pre_unwind_handler ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#10 0x77b0cf0e in scm_c_catch ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#11 0x77a5c92b in ?? ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#12 0x77a5cbf4 in scm_c_with_continuation_barrier ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
---Type  to continue, or q  to quit---
#13 0x77b09bea in ?? ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#14 0x777913c2 in GC_call_with_stack_base ()
   from /usr/lib/x86_64-linux-gnu/libgc.so.1
#15 0x77b09cd3 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#16 0x77b09d13 in scm_with_guile ()
   from /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#17 0x5557c58a in main ()
(gdb)

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


Re: [Denemo-devel] Staff to Voice directive

2018-08-11 Thread Andreas Schneider
On 08/11/18 16:19, Andreas Schneider wrote:
> I have noticed that the StaffToVoice directive (at Staffs/Voices >
> Voices > Staff to Voice) does not work any more. Looking at the Scheme
> code of the directive, I see that the part doing the actual work seems
> to be missing, only a check is present.

Well, the scheme script is okay and did not change, but the built-in
directive (d-StaffToVoice) does not work, as can be checked with a
simple example creating two staffs with some notes and applying the command.

Andreas

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


[Denemo-devel] Staff to Voice directive

2018-08-11 Thread Andreas Schneider
I have noticed that the StaffToVoice directive (at Staffs/Voices >
Voices > Staff to Voice) does not work any more. Looking at the Scheme
code of the directive, I see that the part doing the actual work seems
to be missing, only a check is present.

Andreas

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


Re: [Denemo-devel] FW: shaped notes

2018-05-09 Thread Andreas Schneider
Do you mean this notation:
http://lilypond.org/doc/v2.18/Documentation/snippets/pitches#pitches-applying-note-head-styles-depending-on-the-step-of-the-scale
?

Andreas


On 05/09/2018 12:16 PM, Richard Shann wrote:
> On Wed, 2018-05-09 at 13:47 +1000, Brad Eberly wrote:
>>  
>> Dear Sirs:
>> I was looking over the manual for your music writing program. I am
>> quite interested although I had a question about it. I was wondering
>> if it is possible to set it up so that I can write music using shaped
>> notes as that is the primary form in which I would write music. Thank
>> you so much for your time!
> 
> Denemo is only a "front end" to the music typesetter LilyPond, that is,
> it is just a program to allow you to enter music visualizing it as you
> go. So your question would have to sent to the LilyPond mailing list 
> lilypond-u...@gnu.org
> asking is there is some LilyPond syntax available for creating shaped
> notes. It will help a lot if you include a small picture of what
> typeset shaped notes look like in print.
> If you can create what you want with LilyPond then Denemo could ease
> entering the music into the computer to generate that typesetting (i.e.
> it could "remember" the required LilyPond syntax for you, and save you
> typing so much).
> 
> HTH
> 
> Richard

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


Re: [Denemo-devel] series of snippets in one file?

2018-02-02 Thread Andreas Schneider
Am 02.02.2018 um 08:00 schrieb Bric:
> is there an easy way to write multiple score snippets in one denemo
> file, perhaps with some quick commentary text or arbitrary labels  next
> to or above each snippet?

What exactly do you mean by snippet? You can work with movements and
create one movement per snippet. I'm not sure whether I understand
correctly what you want, though.

Andreas

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


Re: [Denemo-devel] latest linux binary?

2018-01-27 Thread Andreas Schneider
You should be able to install the build-depend packages manually. Maybe
you have to solve some dependency problems by hand, but at the end you
should be there.
Alternatively, you can install the Denemo binary amd64 Debian packages
which I provide. However, I just see that
http://www.denemo.org/~aschneider/ is not found on the server.
@Jeremiah: Can you please fix that? Thank you!

Andreas

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


Re: [Denemo-devel] Building Denemo on Debian stable (ie Debian 9, Stretch)

2017-12-15 Thread Andreas Schneider
On 12/15/2017 01:34 PM, Richard Shann wrote:
> On Mon, 2017-12-11 at 20:39 +, Richard Shann wrote:
>> On Mon, 2017-12-11 at 20:58 +0100, Andreas Schneider wrote:
>>
>>> So I have no idea why it does not work at your machine. Does
>>> config.log
>>> contain a hint?
>>
>> Ah, thanks, I see in config.log a reference to the guile-1.8 that I
>> was
>> picking up from a LilyPond installation. Getting the PATH clean it
>> now
>> complains about having no guile-1.8. It builds and runs ok if I
>> ./configure --enable-guile_2_0, though the start up is slower then.
>>
>> I will have to build guile-1.8 from scratch on this machine I
>> think...
> 
> I have found another problem - it seems that installing portaudio19-dev 
> conflicts with other things in Debian Stretch (well, backport of Denemo
> and a recent (?) Wine package at least).
> Did you have to build portaudio19-dev separately or something to work
> around that for your Stretch builds, or do you just not have any
> packages installed that conflict?

I have no package installed which conflicts with portaudio19-dev, so I
did not have this problem.

Andreas

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


Re: [Denemo-devel] Building Denemo on Debian stable (ie Debian 9, Stretch)

2017-12-11 Thread Andreas Schneider
When I run the configure script on my machine, I get the following output:

[...]
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
[...]

It looks like all these are in the gettext package:
$ dpkg -S /usr/bin/msgfmt
gettext: /usr/bin/msgfmt
$ dpkg -S /usr/bin/msgfmt
gettext: /usr/bin/msgfmt
$ dpkg -S /usr/bin/xgettext
gettext: /usr/bin/xgettext
$ dpkg -S /usr/bin/msgmerge
gettext: /usr/bin/msgmerge
$ dpkg -l gettext
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  gettext0.19.8.1-2   amd64GNU Internationalization
utilitie

So I have no idea why it does not work at your machine. Does config.log
contain a hint?

Andreas

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


Re: [Denemo-devel] Building Denemo on Debian stable (ie Debian 9, Stretch)

2017-12-11 Thread Andreas Schneider
That's exactly the system I'm running. I don't recall exactly, but I
think I had to install both packages gettext and intltool to make it
work, if I remember correctly.

Andreas


On 12/11/2017 04:27 PM, Richard Shann wrote:
> I have upgraded to the Debian stable that came out in the Summer and
> have a problem at ./configure
> 
> Despite having the gettext package installed:
> 
> 
> rshann@debian:~/git-denemo/denemo$ which xgettext
> /usr/bin/xgettext
> rshann@debian:~/git-denemo/denemo$ which msgfmt
> /usr/bin/msgfmt
> 
> The ./configure step stops with a complaint that gettext tools aren't
> found. Here is the tail of the output:
> 
> checking for msgfmt... no
> checking for gmsgfmt... :
> checking for xgettext... no
> checking for msgmerge... no
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking whether NLS is requested... yes
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking whether ln -s works... yes
> checking for intltool >= 0.35.0... 0.51.0 found
> checking for intltool-update... /usr/bin/intltool-update
> checking for intltool-merge... /usr/bin/intltool-merge
> checking for intltool-extract... /usr/bin/intltool-extract
> checking for xgettext... (cached) :
> checking for msgmerge... (cached) :
> checking for msgfmt... (cached) :
> checking for gmsgfmt... (cached) :
> configure: error: GNU gettext tools not found; required for intltool
> 
> Can anyone suggest what may be going wrong? (its Amd64 architecture)...
> 
> Richard
> 
> 
> ___
> Denemo-devel mailing list
> Denemo-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/denemo-devel
> 

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


Re: [Denemo-devel] Playback asynchronous

2017-08-13 Thread Andreas Schneider
Am 13.08.2017 um 10:10 schrieb Andreas Schneider:
> Am 12.08.2017 um 20:33 schrieb Richard Shann:
>> On Sat, 2017-08-12 at 19:07 +0200, Andreas Schneider wrote:
>>> Working on a score in which some measures are still without notes, I
>>> encounter an asynchronous playback, i.e. during playback some staffs lag
>>> one measure behind the others. This is illustrated in the attached
>>> screenshot. Notes from one measure sound together with notes from the
>>> next measure from other staffs, which is not so good for checking it.
>>
>> The problem is that the first measure is not empty - it contains the
>> repeat start directive, so it is *not* filled with a space, as Denemo
>> does not know what that directive is doing. Empty measures must be truly
>> empty if you want Denemo to tacitly insert a whole measure rest. If you
>> put a whole measure rest in the first measure, all is well.
> 
> What does that mean in general? That Denemo plays back as the music is
> exported, e.g., to lilypond? I had expected Denemo to play back as shown
> in the editor, not taking into account directives that might skip or
> fill anything for the print output. Moreover, as Joe showed, the
> playback can also be brought out of sync by incomplete measures. This
> may not be what an average user expects, but is in accordance to how
> such music is shown in the print output. That behaviour can also be
> handy, e.g. for ancient music where notes may extend into the next
> "measure", resulting in an overfull and a following underfull measure in
> the Denemo editor, but a correctly typeset score in the print and a
> correctly sounding playback. The question is: Which behaviour is best
> for the majority of use cases?

Our mails have crossed in the ether, Richard has answered most questions
already in his last post.

Andreas

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


Re: [Denemo-devel] Playback asynchronous

2017-08-13 Thread Andreas Schneider
Am 12.08.2017 um 20:33 schrieb Richard Shann:
> On Sat, 2017-08-12 at 19:07 +0200, Andreas Schneider wrote:
>> Working on a score in which some measures are still without notes, I
>> encounter an asynchronous playback, i.e. during playback some staffs lag
>> one measure behind the others. This is illustrated in the attached
>> screenshot. Notes from one measure sound together with notes from the
>> next measure from other staffs, which is not so good for checking it.
> 
> The problem is that the first measure is not empty - it contains the
> repeat start directive, so it is *not* filled with a space, as Denemo
> does not know what that directive is doing. Empty measures must be truly
> empty if you want Denemo to tacitly insert a whole measure rest. If you
> put a whole measure rest in the first measure, all is well.

What does that mean in general? That Denemo plays back as the music is
exported, e.g., to lilypond? I had expected Denemo to play back as shown
in the editor, not taking into account directives that might skip or
fill anything for the print output. Moreover, as Joe showed, the
playback can also be brought out of sync by incomplete measures. This
may not be what an average user expects, but is in accordance to how
such music is shown in the print output. That behaviour can also be
handy, e.g. for ancient music where notes may extend into the next
"measure", resulting in an overfull and a following underfull measure in
the Denemo editor, but a correctly typeset score in the print and a
correctly sounding playback. The question is: Which behaviour is best
for the majority of use cases?

Andreas

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


[Denemo-devel] Playback asynchronous

2017-08-12 Thread Andreas Schneider
Working on a score in which some measures are still without notes, I
encounter an asynchronous playback, i.e. during playback some staffs lag
one measure behind the others. This is illustrated in the attached
screenshot. Notes from one measure sound together with notes from the
next measure from other staffs, which is not so good for checking it.
Has anyone else encountered this problem? I could not reproduce it with
very simple scores with two staffs.
@Richard: I can send you the score by pm for debugging purposes.

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


Re: [Denemo-devel] First Time Denemo [Mac] User - "LilyPond count not typeset this score"

2017-05-10 Thread Andreas Schneider
When Denemo is launched for the first time, it creates some files on
your hard disk to store personal settings. The files created by the
broken build of Denemo may cause problems. Thus it is a good idea to
remove them in order to start afresh. Richard pointed you to where these
files are located. You can remove them either via the Terminal with the
command Richard wrote, or with your file manager. This has nothing to do
with launching Denemo itself, it is just a cleaning step before
launching the new build of Denemo.

Andreas


On 05/10/2017 03:24 PM, Tony Ventura wrote:
> Richard,
> 
> Sorry for my stupidity, but I'm really not sure what you're referring
> to. All I'm doing is double-clicking on the Denemo icon to launch.
> Should I be following some other procedure.
>  
> Kind regards,
> Tony Ventura
> www.tonyventura.com
> 
> 

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


Re: [Denemo-devel] First Time Denemo [Mac] User - "LilyPond count not typeset this score"

2017-05-10 Thread Andreas Schneider
On 05/10/2017 02:33 PM, Richard Shann wrote:
> That is to say a directory whose name starts ".denemo-" followed by a
> version number. It is created in your home directory when you run a
> version of Denemo for the first time. It holds your preferences, which
> will be picked up when you try out a new binary from Jeremiah.
> From previous emails it would seem your home directory
> is /Users/anthonyventura
> 
> if so
> 
> rm -rf /Users/anthonyventura/denemo-*
> 
> would remove all the old ones created by Denemo.

Did you forget the dot in front of the denemo directory, i.e. should it be

rm -rf /Users/anthonyventura/.denemo-*

or is the leading dot omitted under MacOS/ ?

Andreas

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


Re: [Denemo-devel] Lyrics pane does not open

2017-02-21 Thread Andreas Schneider
Am 21.02.2017 um 11:20 schrieb Richard Shann:
> I had that problem of pulling open the lyrics pane when I opened it -
> this time it *seemed* as if dragging the pane open from the right hand
> end of the pane worked. If you have that problem and can find a pattern
> please let me know - I guess it is a Gtk bug, so maybe you don't see it.

I have the problem that the lyrics pane does not appear quite often.
Mostly, it helps to move the Denemo cursor to a different staff
(preferably without lyrics) and back again to bring the lyrics pane
back, but I few times I had to close a score and re-open it to be able
to edit the lyrics. I once had a score that had the problem each time I
opened it (at least the handful of times I tested), but I could not
reproduce that from an new score.

Andreas

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


Re: [Denemo-devel] Lyrics Manual

2017-02-20 Thread Andreas Schneider
Am 20.02.2017 um 16:42 schrieb Richard Shann:
> On Mon, 2017-02-20 at 12:52 +, joeandang...@btinternet.com wrote:
>> I'm curios to know what a .lyn file looks like.
> 
> http://git.savannah.gnu.org/gitweb/?p=denemo.git;a=blob;f=docs/denemomanual.lyx;h=4a63d7c1d354da4f1edcd2119f9c01958ef36046;hb=HEAD
> 
> is the current value - got from browsing
> 
> http://git.savannah.gnu.org/gitweb/?p=denemo.git;a=tree
> 
> under subdirectory "docs"
> 
>>  I assume it is the file from which some tool generates .html
>> and .pdfs versions of the manual. 
> 
> yes, something called lyx in my Debian distribution.

LyX is a document processor that uses LaTeX as backend, but hides the
coding from the user with a front end, similar to what Denemo does for
Lilypond. See www.lyx.org.

Andreas

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


Re: [Denemo-devel] Lyrics Manual

2017-02-19 Thread Andreas Schneider
Looking through the lyrics section in the manual, I found some
paragraphs that can be improved, e.g. minor inconsistencies. Can I edit
the lyx file and send you an updated version?

Andreas

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


Re: [Denemo-devel] Denemo crash

2017-02-08 Thread Andreas Schneider
Am 08.02.2017 um 10:09 schrieb Richard Shann:
> On Tue, 2017-02-07 at 23:40 +0100, Andreas Schneider wrote:
>>> is that a parameter to the configure script? That might well turn
>> off
>>> the optimizer too.
>>
>> Yes, I meant an additional parameter to the configure script
> 
> So it probably turned off the optimizer, which then perturbed the code
> generation, which then (fortuitously) worked.
> 
> The plain ./configure without the --enable-debug option is what you need
> - it generates the debug information and uses the default optimization.
> 
>  You just need to use the binary before the symbols are stripped.
> It should then behave exactly as the stripped executable, but when it
> crashes you will get better information about where it was when it
> crashed and will be able to set breakpoints. 
> 
> But first, check that voices can have lyrics typeset on them since if
> not we have a version-confusion problem.

I did this check and saw that the debugging version did typeset the
second lyrics line, but the crashing version did not typeset the second
lyrics line. Looking closer I saw that by mistake I had installed the
2.0.19 package still lurking around instead of the 2.0.21 package that I
had just built. After installing the correct package, everything works
fine. I'm very sorry for the noise, mea culpa.

Andreas

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


Re: [Denemo-devel] Denemo crash

2017-02-07 Thread Andreas Schneider
Am 07.02.2017 um 23:10 schrieb Richard Shann:
> On Tue, 2017-02-07 at 21:30 +0100, Andreas Schneider wrote:
>>> Could you make the following check:
>>>
>>> start the version of the program that crashes when trying to delete
>> the
>>> last verse. Create a voice to a staff and add a verse to it. Typeset
>> the
>>> score and see if the verse that is attached to the voice is typeset.
>>
>> Do you mean Staffs/Voices > Voices > Add Voice?
> 
> Does it always do this? That is if you start with an empty score?

No, Denemo does not crash when applying Add Voice to an empty score.

Andreas

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


Re: [Denemo-devel] Denemo crash

2017-02-07 Thread Andreas Schneider
Am 07.02.2017 um 23:11 schrieb Richard Shann:
> On Tue, 2017-02-07 at 21:34 +0100, Andreas Schneider wrote:
>> The difference is that I compiled with the additional flag
>> --enable-debug 
> 
> is that a parameter to the configure script? That might well turn off
> the optimizer too.

Yes, I meant an additional parameter to the configure script

Andreas

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


Re: [Denemo-devel] Denemo crash

2017-02-07 Thread Andreas Schneider
Am 07.02.2017 um 10:33 schrieb Richard Shann:
> [...]
>
> I guess you have to have the flag set for debug symbols for the
> breakpoint to get set (IIRC the flag is -B for gcc).
> 
> ... and reading a later email, you turned on debug symbols and the
> program didn't crash. This *really* shouldn't happen - the actual
> executing code is supposed to be completely unchanged with or without
> debug information included - it's like getting a car with or without a
> user's manual, the car is supposed to be identical. This would be a gcc
> bug, but I would check that you didn't do something else at the same
> time as turning on debug symbols (e.g. change -O2 )

The difference is that I compiled with the additional flag
--enable-debug and that the scripts for building the packages did not
run (which, e.g., strip the binary).

Andreas

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


Re: [Denemo-devel] Denemo crash

2017-02-07 Thread Andreas Schneider
Am 07.02.2017 um 11:19 schrieb Richard Shann:
> On Sun, 2017-02-05 at 22:02 +0100, Andreas Schneider wrote:
>> Thread 1 "denemo" received signal SIGINT, Interrupt.
>> 0x71fb754d in poll () at ../sysdeps/unix/syscall-template.S:84
>> (gdb) b select.c:1176
>> Make breakpoint pending on future shared library load? (y or [n])
> 
> So the other crash that you tested failed to stop for the same reason -
> the breakpoint was never set on anything gdb knew about.
> 
> Could you make the following check:
> 
> start the version of the program that crashes when trying to delete the
> last verse. Create a voice to a staff and add a verse to it. Typeset the
> score and see if the verse that is attached to the voice is typeset.

Do you mean Staffs/Voices > Voices > Add Voice? The program crashes when
I activate that command. See attached log.

> The point of this is that if this fails to typeset the verse on the
> voice then the version you are compiling is not the latest git
> development, as typesetting verses on voices was fixed after the
> crash-on-deleting-last-verse was fixed.

GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from denemo...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/denemo 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdb3e7700 (LWP 1787)]
[New Thread 0x7fffdabe6700 (LWP 1788)]
[New Thread 0x7fffda3e5700 (LWP 1789)]
[New Thread 0x7fffd9be4700 (LWP 1790)]
[New Thread 0x7fffd93e3700 (LWP 1791)]
[New Thread 0x7fffd8be2700 (LWP 1792)]
[New Thread 0x7fffd83e1700 (LWP 1793)]
[New Thread 0x7fffd72f7700 (LWP 1794)]
[New Thread 0x7fffd7276700 (LWP 1795)]
Denemo - MESSAGE : Loading preference file: /home/andreas/.denemo-2.0.21/denemorc
Denemo - MESSAGE : Audio driver is 'jack'
Denemo - MESSAGE : Initializing JACK audio backend
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect name = jack_sem.2000_default_denemo
Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = denemo refnum = 2
Jack: JackClient::Activate
Jack: JackPosixThread::StartImp : create non RT thread
[New Thread 0x7fffd71e3700 (LWP 1796)]
Jack: JackPosixThread::ThreadHandler : start
Jack: JackClient::kBufferSizeCallback buffer_size = 1024
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 2
Jack: JackClient::kActivateClient name = denemo ref = 2 
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Denemo - MESSAGE : The default fluidsynth soundfont has been loaded
Jack: JackClient::PortRegister ref = 2 name = denemo:in_1 type = 32 bit float mono audio port_index = 5
Jack: JackClient::PortRegister ref = 2 name = denemo:out_1 type = 32 bit float mono audio port_index = 6
Jack: JackClient::PortRegister ref = 2 name = denemo:out_2 type = 32 bit float mono audio port_index = 7
Jack: JackClient::Connect src = denemo:out_1 dst = system:playback_1
Jack: JackClient::Connect src = denemo:out_2 dst = system:playback_2
[New Thread 0x7fffd6879700 (LWP 1797)]
Denemo - MESSAGE : MIDI driver is 'portmidi'
Denemo - MESSAGE : Initializing PortMidi backend
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
[New Thread 0x7fffd5e65700 (LWP 1798)]
[New Thread 0x7fffd4ff2700 (LWP 1799)]
[New Thread 0x7fffcb188700 (LWP 1800)]
Denemo - MESSAGE : Opening input device 'ALSA: Midi Through Port-0'
Denemo - MESSAGE : Opening output device 'ALSA: Midi Through Port-0'
Denemo - MESSAGE : Denemo version 2.0.21
Denemo - MESSAGE : Loaded keymap /home/andreas/.denemo-2.0.21/actions/Default.commands
Denemo - MESSAGE : Reading history file /home/andreas

Re: [Denemo-devel] Denemo crash

2017-02-05 Thread Andreas Schneider
Am 06.02.2017 um 08:45 schrieb Andreas Schneider:
> Am 05.02.2017 um 22:02 schrieb Andreas Schneider:
>> Am 03.02.2017 um 17:47 schrieb Richard Shann:
>>> On Thu, 2017-02-02 at 23:33 +0100, Andreas Schneider wrote:
>>>> Am 01.02.2017 um 22:48 schrieb Richard Shann:
>>>>> yes, but it could be a bug in Denemo that happens not to be
>>>> triggered. 
>>>>> Can you try executing
>>>>> (d-IncreaseGuard) in the Scheme window or CLI and then seeing if it
>>>>> crashes? d- IncreaseGaurd will turn off the undo, and this will
>>>> indicate
>>>>> that the problem is with the Snapshot done before adding the staff.
>>>>
>>>> After executing (d-IncreaseGuard), the Denemo does not crash any more
>>>> when inserting a staff.
>>>
>>> Well, I've gone over the snapshotting code and done some cleaning and
>>> re-coding, commenting and protected against a condition that shouldn't
>>> arise. This is now in git.
>>> If, with this new version inserting/deleting a staff from that score (I
>>> guess it is any score with lyrics) is still crashing it is going to be
>>> quite tricky to debug.
>>> If you *do* have the current git source code crashing under gdb you
>>> could create a breakpoint at line 1176 of select.c which is where the
>>> snapshot code ends (you do a Ctrl-C to suspend the program, issue
>>>
>>> b select.c:1176
>>>
>>> to insert the break and then the command
>>>
>>> c
>>>
>>> to continue the program).
>>>
>>> Then it should stop on that line when you try to add/delete a staff.
>>>
>>> If it does stop then issuing 
>>>
>>> call call_out_to_guile ("(d-Save \"/home/aschneider/JUNKNAME.denemo\")")
>>>
>>> at the gdb prompt will save the score under the name JUNKNAME.denemo and
>>> this may the hold a clue.
>>
>> Hmm, it seems not to reach that point. I did as you recommended, yet
>> after inserting a new staff Denemo crashes before it reaches the
>> breakpoint. Or did you mean I should do that after executing
>> (d-IncreaseGuard)?
> 
> Oops, I forgot that the package building script automatically strips
> binaries, so the executable did not contain debug informations. After
> building by hand executing the local denemo binary, I was able to save
> the file as recommended. I send it to you in a private mail.

I have now seen that the version with debug informations does not crash.
So it might have something to do with the optimisation?

Andreas

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


Re: [Denemo-devel] Denemo crash

2017-02-05 Thread Andreas Schneider
Am 05.02.2017 um 22:02 schrieb Andreas Schneider:
> Am 03.02.2017 um 17:47 schrieb Richard Shann:
>> On Thu, 2017-02-02 at 23:33 +0100, Andreas Schneider wrote:
>>> Am 01.02.2017 um 22:48 schrieb Richard Shann:
>>>> yes, but it could be a bug in Denemo that happens not to be
>>> triggered. 
>>>> Can you try executing
>>>> (d-IncreaseGuard) in the Scheme window or CLI and then seeing if it
>>>> crashes? d- IncreaseGaurd will turn off the undo, and this will
>>> indicate
>>>> that the problem is with the Snapshot done before adding the staff.
>>>
>>> After executing (d-IncreaseGuard), the Denemo does not crash any more
>>> when inserting a staff.
>>
>> Well, I've gone over the snapshotting code and done some cleaning and
>> re-coding, commenting and protected against a condition that shouldn't
>> arise. This is now in git.
>> If, with this new version inserting/deleting a staff from that score (I
>> guess it is any score with lyrics) is still crashing it is going to be
>> quite tricky to debug.
>> If you *do* have the current git source code crashing under gdb you
>> could create a breakpoint at line 1176 of select.c which is where the
>> snapshot code ends (you do a Ctrl-C to suspend the program, issue
>>
>> b select.c:1176
>>
>> to insert the break and then the command
>>
>> c
>>
>> to continue the program).
>>
>> Then it should stop on that line when you try to add/delete a staff.
>>
>> If it does stop then issuing 
>>
>> call call_out_to_guile ("(d-Save \"/home/aschneider/JUNKNAME.denemo\")")
>>
>> at the gdb prompt will save the score under the name JUNKNAME.denemo and
>> this may the hold a clue.
> 
> Hmm, it seems not to reach that point. I did as you recommended, yet
> after inserting a new staff Denemo crashes before it reaches the
> breakpoint. Or did you mean I should do that after executing
> (d-IncreaseGuard)?

Oops, I forgot that the package building script automatically strips
binaries, so the executable did not contain debug informations. After
building by hand executing the local denemo binary, I was able to save
the file as recommended. I send it to you in a private mail.

Andreas

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


Re: [Denemo-devel] Denemo crash

2017-02-05 Thread Andreas Schneider
Am 03.02.2017 um 17:47 schrieb Richard Shann:
> On Thu, 2017-02-02 at 23:33 +0100, Andreas Schneider wrote:
>> Am 01.02.2017 um 22:48 schrieb Richard Shann:
>>> yes, but it could be a bug in Denemo that happens not to be
>> triggered. 
>>> Can you try executing
>>> (d-IncreaseGuard) in the Scheme window or CLI and then seeing if it
>>> crashes? d- IncreaseGaurd will turn off the undo, and this will
>> indicate
>>> that the problem is with the Snapshot done before adding the staff.
>>
>> After executing (d-IncreaseGuard), the Denemo does not crash any more
>> when inserting a staff.
> 
> Well, I've gone over the snapshotting code and done some cleaning and
> re-coding, commenting and protected against a condition that shouldn't
> arise. This is now in git.
> If, with this new version inserting/deleting a staff from that score (I
> guess it is any score with lyrics) is still crashing it is going to be
> quite tricky to debug.
> If you *do* have the current git source code crashing under gdb you
> could create a breakpoint at line 1176 of select.c which is where the
> snapshot code ends (you do a Ctrl-C to suspend the program, issue
> 
> b select.c:1176
> 
> to insert the break and then the command
> 
> c
> 
> to continue the program).
> 
> Then it should stop on that line when you try to add/delete a staff.
> 
> If it does stop then issuing 
> 
> call call_out_to_guile ("(d-Save \"/home/aschneider/JUNKNAME.denemo\")")
> 
> at the gdb prompt will save the score under the name JUNKNAME.denemo and
> this may the hold a clue.

Hmm, it seems not to reach that point. I did as you recommended, yet
after inserting a new staff Denemo crashes before it reaches the
breakpoint. Or did you mean I should do that after executing
(d-IncreaseGuard)?

Andreas
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from denemo...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/denemo 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdb3e6700 (LWP 1898)]
[New Thread 0x7fffdabe5700 (LWP 1899)]
[New Thread 0x7fffda3e4700 (LWP 1900)]
[New Thread 0x7fffd9be3700 (LWP 1901)]
[New Thread 0x7fffd93e2700 (LWP 1902)]
[New Thread 0x7fffd8be1700 (LWP 1903)]
[New Thread 0x7fffd83e0700 (LWP 1904)]
[New Thread 0x7fffd72f6700 (LWP 1905)]
[New Thread 0x7fffd7275700 (LWP 1906)]
Denemo - MESSAGE : Loading preference file: /home/andreas/.denemo-2.0.21/denemorc
Denemo - MESSAGE : Audio driver is 'jack'
Denemo - MESSAGE : Initializing JACK audio backend
Jack: JackClient::SetupDriverSync driver sem in flush mode
Jack: JackPosixSemaphore::Connect name = jack_sem.2000_default_denemo
Jack: JackPosixSemaphore::Connect sem_getvalue 0
Jack: Clock source : system clock via clock_gettime
Jack: JackLibClient::Open name = denemo refnum = 2
Jack: JackClient::Activate
Jack: JackPosixThread::StartImp : create non RT thread
[New Thread 0x7fffd71e2700 (LWP 1907)]
Jack: JackPosixThread::ThreadHandler : start
Jack: JackClient::kBufferSizeCallback buffer_size = 1024
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 2
Jack: JackClient::kActivateClient name = denemo ref = 2 
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Jack: JackClient::ClientNotify ref = 2 name = denemo notify = 18
Denemo - MESSAGE : The default fluidsynth soundfont has been loaded
Jack: JackClient::PortRegister ref = 2 name = denemo:in_1 type = 32 bit float mono audio port_index = 5
Jack: JackClient::PortRegister ref = 2 name = denemo:out_1 type = 32 bit float mono audio port_index = 6
Jack: JackClient::PortRegister ref = 2 name = denemo:out_2 type = 32 bit float mono audio port_index = 7
Jack: JackClient::Connect src = denemo:out_1 dst = system:playback_1
Jack: JackClient::Connect src = denemo:out_2 dst = system:playback_2
[Ne

Re: [Denemo-devel] Gregorian palette

2017-01-31 Thread Andreas Schneider
Attached you find my palettes.xml with the new version of the Gregorian
palette. Can you please have a look at the display glyph of the
DivisioMaxima and Finalis commands? I did not know how to adjust it so
that it spans the staff correctly. Moreover, I did not know how to use
the Denemo font in the palette button label for DivisioMaior.

Andreas


  







  
  
















  
  










  
  






  
  













  
  









  
  













  
  








  
  






















  
  
















  
  







  
  








  
  










  
  
















  
  







  
  





  
  



  
  












  
  










  
  




  
  




















  
  




  
  




























  
  




















  

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


Re: [Denemo-devel] The Lyrics documentation in the manual

2017-01-31 Thread Andreas Schneider
Am 31.01.2017 um 20:56 schrieb Richard Shann:
> For some reason, I didn't find the section on Lyrics in the manual when
> I did a search and so I wrote some stuff and pasted a few bits from
> emails people have sent in. So now we have two sections in the manual
> and they need amalgamating and (no doubt correcting).
> I'm pasting the text here in the hope someone will volunteer to re-write
> it. (Please say if you would like to do this, so that two people don't
> do it at the same time).
> You can see the current state of the manual here
> http://git.savannah.gnu.org/gitweb/?p=denemo.git;a=blob_plain;f=docs/denemomanual.pdf;hb=HEAD
> 
> and here is the text of two of the sections:

Some small suggestions below (you are welcome to rephrase it as you are
the native speaker):

> 3.6.11 Lyrics
> 
> To add lyrics to a staff move the cursor onto the staff and choose Add
> Lyric Verse. You need to have the Lyrics View visible (see View menu).
> Each verse has a separate tab, with the current verse for the current
> staff being visible at any one time.
> 
> This means that you will see the lyrics for the current staff disappear
> from the Display Window when you switch staffs, which can be
> disconcerting, but saves space in the display.
> 
> The Lyric pane shows only a few lines initially, but you can drag it
> upwards if you need to see more. Lyrics are entered as a syllables
> separated by spaces or new lines (which have no other meaning).

Hyphenation signs separating syllables of one word are typeset with --
(two dashes separated by spaces). A melisma can be indicated by a single
underscore separated by spaces, but please be aware that slurs and
manual beams automatically insert melismata so that you don't need
underscores in this case.

> The full possible syntax is given in the LilyPond documentation, but
Denemo
> provides you with menu items for inserting the most useful extras such
> as stanza numbers, font selection and skips.
> 
> You can switch to the lyrics pane with Ctrl-l, Ctrl-l, and you can
> switch back from editing the lyrics to editing the music with the Ctrl-l
> (or Esc or Tab keys). You can change verses with Ctrl-PgUpl/PgDn keys
> and change staffs with Ctrl-up/down, and save with Ctrl-s.
> 
> Stanza numbers can be entered as well as font-changing commands. Use the
> MelismataMelismata command to extend syllables over more notes. A
> selection of notes that have no lyrics can be skipped using the Skip
> Syllables in Selection command. The lyrics menu also contains a command
> “Edit Lyric at Cursor” (Ctrl-l, Ctrl-l) which finds the place in the
> lyrics corresponding to the cursor position allowing you to edit the
> syllable that underlies the current note. 
> 
> Verses can be typeset in columns at the end by using command Typeset
> Verses at End which can use an externally provided Encapsulated
> Postscript file, or can invoke the external Inkscape (or other) vector
> graphics editor (see preferencesPreferences to select this).
> 
> 
> 18.10 Lyrics
> Vocal music can be typeset using the commands in the Lyrics menu.
> 
> 18.10.1 Overview of Lyrics
> 
> Lyrics in Denemo are handled as verses of text that can be freely edited
> in text editors that appear in the tabs of a notebook that appears when
> you execute Add Lyric Verse (Ctrl-l a). The syllables are not attached
> to the notes, so you can edit the notes freely without affecting the
> lyrics.
> 
> Note that the lyrics for a staff are only shown when the cursor is in
> the staff concerned - this saves space in the display, but can be
> disconcerting when they vanish from the display as you move to another
> staff!
> 
> While simply typing or pasting the text in will be enough for simple
> pieces, special indications can be included are available for more
> complex tasks, these follow the rules given in the following section and
> in detail in the LilyPond documentation.
> 
> In a verse extra spaces and new lines can be used freely without
> affecting how the syllables are placed under the notes. Special syntax
> inserted for things like alignment beneath noteheads should be on a line
> by itself, so that Denemo knows not to display it under the notes of the
> display.
> 
> 18.10.2 Syllabification
> 
> Dashes (“-” hyphens), double dashes (“--”), underscores “_” and double
> underscores “__” and double quotes (the typewriter ones) all have a
> special meaning.

[Here I would omit the quotes “” because they confuse the user who asks
himself whether to include or exclude them. Instead, I would use a
typewriter font to mark what has to be inserted. What is the meaning of
a single dash?]

> Typewriter double quotes "" can group together separate words to be sung
> to a single note, or enclosing a space " " can skip a note.

[Comment: A syllable can also be skipped with "".]

> Syllable skips can be made for an entire selection of notes.
> 
> Usually dashes are typeset with -- . For instance: The Lord is com --
> pas -- sion and love, slow to 

Re: [Denemo-devel] Gregorian Chant status

2017-01-30 Thread Andreas Schneider
Going over the scripts of the Gregorian palette, I saw that the script
for DivisioMaior starts with the following lines:
(d-ShowPalettes "Gregorian Chant" #t)
(d-SelectPalette "Gregorian Chant")
(d-NextRhythm)(let ((tag "DivisioMaior"))
I guess this is erroneous and should start with (let ((tag
"DivisioMaior")) ?

Andreas

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


Re: [Denemo-devel] Emailing: Psalm102(103)7TheSunA.zip

2017-01-29 Thread Andreas Schneider
Am 29.01.2017 um 20:56 schrieb Richard Shann:
> On Sun, 2017-01-29 at 17:58 +, Joe Wilkinson wrote:
>> Hi Richard,
>> I can't change the initial time signature in this (edited version of 
>> previous file)
>> I have just duplicated the single movement from the previous version and 
>> copied across some lyrics and deleted the skip syllables.
>>
>> Movement 1 seems OK - just a single response line.
>> Having removed all the notes associated with the skips in Movement 2 - 
>> the verses - I have then removed the empty measures.
>> Then I have tried, three times to change the initial time signature, and 
>> Windows10 has reported an error and closed Denemo.
> 
> I've looked over this file and it seems quite innocuous, and indeed I
> can change the initial time signatures just fine. I enclose the result
> of doing just that just so you can see.
> I think you must have a dodgy build of Denemo. I have come across a bug
> in the handling of lyrics with Undo, so try tomorrow's build.

I have noticed that in the lyrics you did not use the Lilypond syntax
for dashes. Usually dashes a typeset with -- . For instance for your
first line:
The Lord is com -- pas -- sion and love, slow to an -- ger and rich in
mer -- cy.
Moreover, there is a convention for vocal music that eight notes (and
sixteenth etc.) are typeset with beams if there is a melisma and without
beams if you sing separate syllables. Following this convention, the
eight notes in bars 8 and 11 of the second movement should be typeset
without beams. I usually use the Stop Beaming directive (under
Directives > Typesetter) for vocal music and do manual beaming where
melismata are present.
Attached you find a version of your score where I have applied these
changes. Might it be that also some of the lyrics are mapped to the
wrong notes?

Andreas

http://denemo.org/xmlns/Denemo; version="8">
  
1
3
1
3
0
2147483647
  
  
a4
18
1
3231
  
  2
  

  1
  1
  0
  0
  100
  100
  100
  100
  480


  
SuppressTitleRepeats
title = ##f
instrument = ##f

  


  

  1
  4

120
  


  


  

  Part 1
  1


  
  
  

  
  

  4
  4

  


  5
  1
  0
  
  NONE
  127
  0
  0
  0
  0
  0
  0
  
The Lord is com -- pas -- sion and love, slow to an -- ger and rich in mer -- cy.
  


  

  Upbeat
  \partial 256*64 
  Upbeat
  

emmentaler
62
  30
  20
  15
  268435456


  
  

  1

  

  
  

  
  

  6

  


  
  

  6

  


  
  

  6

  

  
  

  
  

  7

  


  
  

  6

  


  
  

  5

  

  
  

  
  

  4

  


  
  

  1

  


  
  

  1

  

  
  

  
  

  2

  


  
  

  7

  


  
  

  7

  

  
  

  
  

  6

  


  
  

  5

  

  
  

  

Re: [Denemo-devel] Gregorian Chant status

2017-01-29 Thread Andreas Schneider
Am 29.01.2017 um 13:59 schrieb Richard Shann:
> On Sun, 2017-01-29 at 13:31 +0100, Andreas Schneider wrote:
>> I can reproduce this the following way:
>> * delete my .denemo-2.0.21 directory
>> * launch denemo and decide not to take over my old settings
>> * View > Palettes > Select a palette to show > Gregorian Chant
>> * Click New on the palette
>> * Click Do1 on the palette
>> * insert notes with the PC keyboard, e.g. d e d c
>> * With each notes, a flexa is inserted as well.
> 
> oh! I see, due to debris at the start of some of the clef-changing
> scripts the prevailing snippet *was* being advanced! Sorry I must not
> have noticed. I've deleted it now and the palettes.xml should now be
> working properly.

Thanks for fixing this, it it works perfectly.

Andreas

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


Re: [Denemo-devel] Flexa

2017-01-29 Thread Andreas Schneider
Am 29.01.2017 um 12:24 schrieb Richard Shann:
> On Sun, 2017-01-29 at 11:00 +0100, Andreas Schneider wrote:
>> I have written a new version of the flexa script. It is based on
>> Richard's script that creates a flexa from two selected notes. I have
>> added a toggle behaviour, i.e. if you activate it where a flexa is
>> already present, it is deleted. The script saves in the data field where
>> the beginning and the end of the flexa is. Here is the code:
> 
> A couple of suggestions:
> 
> since you are just needing a boolean in the data field I suggest you
> store a value only for the flexa start, and delete the line
> 
> 
> (d-DirectivePut-chord-data tag "End") 
> 
> so then the bit of your script:
> 
> (if (string=? (d-DirectiveGet-chord-data tag) "Start") ; if it's thestart of 
> a flexa
> 
> can become simply:
> 
> (if (d-DirectiveGet-chord-data tag); if it's thestart of a flexa
> 
> Also, it will be more conventional to use 
> 
> (d-DirectivePut-chord-data tag "'start")
> 
> rather than "Start" when creating the flexa start directive.
> It makes no difference what the string is, as long as it is not white
> space, but as this field is designated as holding Scheme data then
> storing a symbol there looks good.

Thank you for your suggestions. I have updated my script accordingly:

(let ((tag "Flexa"))

(if (d-Directive-chord? tag)
(begin ; a flexa directive already exists -> delete it
(if (d-DirectiveGet-chord-data tag) ; if it's the start of a flexa
(begin
(d-DirectiveDelete-chord tag)
(d-NextChord)
(d-DirectiveDelete-chord tag))
(begin ; if it's the end of a flexa
(d-DirectiveDelete-chord tag)
(d-PrevChord)
(d-DirectiveDelete-chord tag
(begin ; no Flexa directive exists yet -> create a flexa
(if (and (not (d-HasSelection)) (d-PrevChord))
(begin
(d-SetMark)
(d-NextChord)
(d-SetPoint)))
(if (MoveToSelectionBeginningInThisStaff)
(begin
(d-DirectivePut-chord-prefix tag "\\[ ")
(d-DirectivePut-chord-postfix tag "\\flexa ")
(d-DirectivePut-chord-display tag "fl--")
(d-DirectivePut-chord-override tag 16)
(d-DirectivePut-chord-data tag "'start")
(if (d-NextChord)
(begin
(d-DirectivePut-chord-postfix tag "\\]  
")
(d-DirectivePut-chord-display tag "--]")
(d-DirectivePut-chord-override tag 16)))
(d-MoveCursorRight)
(d-SetSaved #f))
(d-WarningDialog (_ "You must select two notes"))

If this is okay, I would create a similar script for pes.

Andreas

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


Re: [Denemo-devel] Gregorian Chant status

2017-01-29 Thread Andreas Schneider
I can reproduce this the following way:
* delete my .denemo-2.0.21 directory
* launch denemo and decide not to take over my old settings
* View > Palettes > Select a palette to show > Gregorian Chant
* Click New on the palette
* Click Do1 on the palette
* insert notes with the PC keyboard, e.g. d e d c
* With each notes, a flexa is inserted as well.

Andreas


Am 29.01.2017 um 13:02 schrieb Richard Shann:
> On Sun, 2017-01-29 at 10:56 +0100, Andreas Schneider wrote:
>> I see this behaviour is only for the Do1 and Do3 clefs.
> 
> I'm afraid you top-posted here, I thought perhaps to the wrong email.
> But in any case I don't understand - changing clef doesn't change the
> prevailing duration ...
> 
> Richard
> 
>>
>> Andreas
>>
>>
>> Am 29.01.2017 um 10:19 schrieb Andreas Schneider:
>>> Thank you for all your work with the Gregorian palette. Currently I am
>>> trying to improve it. When start a chant with New on the palette and
>>> then insert notes with the keyboard, flexae are automatically inserted
>>> as well. Why is that? This is not very helpful. I am also writing
>>> improved scripts for some other palette icons.

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


[Denemo-devel] Flexa

2017-01-29 Thread Andreas Schneider
I have written a new version of the flexa script. It is based on
Richard's script that creates a flexa from two selected notes. I have
added a toggle behaviour, i.e. if you activate it where a flexa is
already present, it is deleted. The script saves in the data field where
the beginning and the end of the flexa is. Here is the code:

(let ((tag "Flexa"))

(if (d-Directive-chord? tag)
(begin ; a flexa directive already exists -> delete it
(disp "Deleting existing flexa ...")
(disp "Cursor is at flexa " (d-DirectiveGet-chord-data tag))
(if (string=? (d-DirectiveGet-chord-data tag) "Start") ; if it's the
start of a flexa
(begin
(disp "Deleting felxa from start")
(d-DirectiveDelete-chord tag)
(d-NextChord)
(d-DirectiveDelete-chord tag)
)
(begin ; if it's the end of a flexa
(disp "Deleting flexa from end")
(d-DirectiveDelete-chord tag)
(d-PrevChord)
(d-DirectiveDelete-chord tag
(begin ; no Flexa directive exists yet -> create a flexa
(disp "Creating a flexa ...")
(if (and (not (d-HasSelection)) (d-PrevChord))
(begin
(d-SetMark)
(d-NextChord)
(d-SetPoint)))

(if (MoveToSelectionBeginningInThisStaff)
(begin
(d-DirectivePut-chord-prefix tag "\\[ ")
(d-DirectivePut-chord-postfix tag "\\flexa ")
(d-DirectivePut-chord-display tag "fl--")
(d-DirectivePut-chord-override tag 16)
(d-DirectivePut-chord-data tag "Start")
(if (d-NextChord)
(begin
(d-DirectivePut-chord-postfix tag "\\]  
")
(d-DirectivePut-chord-display tag "--]")
(d-DirectivePut-chord-override tag 16)))
(d-DirectivePut-chord-data tag "End")
(d-MoveCursorRight)
(d-SetSaved #f))
(d-WarningDialog (_ "You must select two notes"))


It still contains some debug output which you can remove.

Andreas

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


  1   2   3   4   >