Re: Wrong type argument

2014-09-02 Thread James

Ming,

Can you 'somehow' remove the solfege engraver for your example (keep the 
includes but just remove for the sake of testing) the references to it. 
I think the problem is in this 'Scheme' syntax.


If we can narrow it down to just that engraver then we stand a better 
chance of working out the problem.


I know that might not help you in the short term.

Jameds


On 02/09/14 00:59, MING TSANG wrote:

James:
Thank you for answering.
Now I reduce the file and copy  paste the two includes inline. The 
.ly file compiles with error.

The same file run ok in v2.19.12
Emmanuel,
Ming

Starting lilypond-windows.exe 2.19.13 [joyful-test.ly]...
Processing `C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-test.ly'
Parsing...
Interpreting music...
Interpreting music...
Interpreting 
music...C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-test.ly:37:28 
https://ca-mg6.mail.yahoo.com/neo/0: In procedure ly:pitch-notename 
in expression (ly:pitch-notename tonic-pitch):
C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-test.ly:37:28 
https://ca-mg6.mail.yahoo.com/neo/1: Wrong type argument in position 
1 (expecting Pitch): ()

Exited with return code 1.

Starting lilypond-windows.exe 2.19.12 [joyful-test.ly]...
Processing `C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-test.ly'
Parsing...
Interpreting music...
Interpreting music...
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
MIDI output to `joyful-test.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `joyful-test.ps'...
Converting to `./joyful-test.pdf'...
Success: compilation successfully completed
Completed successfully in 4.4.


On Monday, September 1, 2014 12:14:41 PM, James pkx1...@gmail.com wrote:


On 01/09/14 15:20, Phil Holmes wrote:
With your file I get
joyful-joyful-we-adore-thee.ly:23:10: error: cannot find file: 
`include_solfege-engraver.ly'
joyful-joyful-we-adore-thee.ly:107:10: error: cannot find file: 
`include_extract-music.ly'

error: unknown escaped string: `\ePU'
This is running 2.19.11
Might I suggest that following the advice in 
http://lilypond.org/website/tiny-examples.html might enable you to 
find your own problem, and would certainly help someone else.


--
Phil Holmes

- Original Message -
*From:* MING TSANG mailto:tsan...@rogers.com
*To:* lilypond-user mailinglist mailto:lilypond-user@gnu.org
*Sent:* Monday, September 01, 2014 2:58 PM
*Subject:* Wrong type argument

I uninstall v2.19.12 and install v19.13 and run a lily file and I
got the following error.  I then run convert-ly; re-run and got
the same error.
The .ly file run without error in v2.19.12.
Emmanuel,
Ming.

Starting lilypond-windows.exe 2.19.13
[joyful-joyful-we-adore-thee.ly]...
Processing
`C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-joyful-we-adore-thee.ly'
Parsing...
Interpreting music...
Interpreting music...
Interpreting music...
Interpreting music...
Interpreting

music...C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-joyful-we-adore-thee.ly:37:28
https://ca-mg6.mail.yahoo.com/neo/0: In procedure
ly:pitch-notename in expression (ly:pitch-notename tonic-pitch):

C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-joyful-we-adore-thee.ly:37:28
https://ca-mg6.mail.yahoo.com/neo/1: Wrong type argument in
position 1 (expecting Pitch): ()
Exited with return code 1.

___
lilypond-user mailing list
lilypond-user@gnu.org mailto:lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org  mailto:lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Ming,


Even if you remove the 'includes' lines you still have some variables 
referenced that are not in the email.


Doing some very basic troubleshooting I also get

test.ly:36:28: In procedure ly:pitch-notename in expression 
(ly:pitch-notename tonic-pitch):

test.ly:36:28: Wrong type argument in position 1 (expecting Pitch): ()

and this 'test.ly:36:28' refers to a line in my test.ly file with your 
code cut and paste. and this line is included in the solfege-engraver 
function.


#(define (solfege-engraver lst dir)
   (make-engraver
 (acknowledgers
  ((note-head-interface engraver grob source)
   (let* (
  (context (ly:translator-context engraver))
  (tonic-pitch (ly:context-property context 'tonic))
  (tonic-index (ly:pitch-notename tonic-pitch))  --- 
HERE IS THE LINE BEING REFERENCED!!!

  (event (ly:grob-property grob 'cause))
  (event-copy (ly:event-deep-copy event))
  (grob-pitch (ly:event-property event 'pitch))
  (grob-index 

Upbeat as full measure or not?

2014-09-02 Thread Alexander Kobel

Dear all,

I wonder whether a large partial measure should be notated as a full 
measure (rest+upbeat) or a partial measure.  More specifically, it's the 
beginning of the following piece:


- version 1, as partial

http://www3.cpdl.org/wiki/images/6/6c/Becker-albert_bleibe-abend-will-es-werden.pdf
- version 2, as full measure

http://www3.cpdl.org/wiki/images/archive/6/6c/20140721085342%21Becker-albert_bleibe-abend-will-es-werden.pdf

It's a time 4/4 { r4 c c c }-style beginning; for time 2/2 { r4 c c c }, 
or time 4/4 { r8 c c c c4 c }, I'd prefer a full measure, but here my 
intuition is gone.  What looks more sound to your eye?  Or could anybody 
consult a copy of Gould or similar?



Thanks,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Upbeat as full measure or not?

2014-09-02 Thread Malte Meyn
I think this is not a matter of engraving rules but you should follow 
the composer. (If I was the composer I would prefer a version with a 
full measure beginning with a rest in this case. But I’m not Albert 
Becker.) I’ve seen both versions in different pieces from different 
composers.


Also, your version 1 is wrong. Soprano and Tenor must have r4 r2; I’m 
pretty sure that one never writes full measure rests in a partial measure.


On 02.09.2014 12:21, Alexander Kobel wrote:

Dear all,

I wonder whether a large partial measure should be notated as a full
measure (rest+upbeat) or a partial measure.  More specifically, it's the
beginning of the following piece:

- version 1, as partial

http://www3.cpdl.org/wiki/images/6/6c/Becker-albert_bleibe-abend-will-es-werden.pdf

- version 2, as full measure

http://www3.cpdl.org/wiki/images/archive/6/6c/20140721085342%21Becker-albert_bleibe-abend-will-es-werden.pdf


It's a time 4/4 { r4 c c c }-style beginning; for time 2/2 { r4 c c c },
or time 4/4 { r8 c c c c4 c }, I'd prefer a full measure, but here my
intuition is gone.  What looks more sound to your eye?  Or could anybody
consult a copy of Gould or similar?


Thanks,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Upbeat as full measure or not?

2014-09-02 Thread Malte Meyn

Another idea if it’s unclear what the composer wanted:

The first beat of measures 6 and 40 is not the ending of the phrase 
before, but the beginning of a new one (phrases end in 5 and 39). So in 
my opinion this measure “Bleibe” doesn’t have an “upbeat character”.


On 02.09.2014 12:36, Malte Meyn wrote:

I think this is not a matter of engraving rules but you should follow
the composer. (If I was the composer I would prefer a version with a
full measure beginning with a rest in this case. But I’m not Albert
Becker.) I’ve seen both versions in different pieces from different
composers.

Also, your version 1 is wrong. Soprano and Tenor must have r4 r2; I’m
pretty sure that one never writes full measure rests in a partial measure.

On 02.09.2014 12:21, Alexander Kobel wrote:

Dear all,

I wonder whether a large partial measure should be notated as a full
measure (rest+upbeat) or a partial measure.  More specifically, it's the
beginning of the following piece:

- version 1, as partial

http://www3.cpdl.org/wiki/images/6/6c/Becker-albert_bleibe-abend-will-es-werden.pdf


- version 2, as full measure

http://www3.cpdl.org/wiki/images/archive/6/6c/20140721085342%21Becker-albert_bleibe-abend-will-es-werden.pdf



It's a time 4/4 { r4 c c c }-style beginning; for time 2/2 { r4 c c c },
or time 4/4 { r8 c c c c4 c }, I'd prefer a full measure, but here my
intuition is gone.  What looks more sound to your eye?  Or could anybody
consult a copy of Gould or similar?


Thanks,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Wrong type argument

2014-09-02 Thread MING TSANG
James  Phil:
I comment out line 421 which call solfege-engravers - both versions run ok.
Un-comment out line 421 - v2.19.12 run ok; but fails with v2.19.13.
I don't know scheme. I cannot not begin debug.
Appreciated if you can help.
Emmanuel,
Ming.


On Tuesday, September 2, 2014 5:47:18 AM, James pkx1...@gmail.com wrote:
 


Ming,

Can you 'somehow' remove the solfege engraver for your example
  (keep the includes but just remove for the sake of testing) the
  references to it. I think the problem is in this 'Scheme' syntax.

If we can narrow it down to just that engraver then we stand a
  better chance of working out the problem.

I know that might not help you in the short term.

Jameds


On 02/09/14 00:59, MING TSANG wrote:

James:
Thank you for answering.
Now I reduce the file and copy  paste the two includes inline. The .ly file 
compiles with error.
The same file run ok in v2.19.12
Emmanuel,
Ming


Starting lilypond-windows.exe 2.19.13 [joyful-test.ly]...
Processing `C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-test.ly'
Parsing...
Interpreting music...
Interpreting music...
Interpreting
music...C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-test.ly:37:28: In 
procedure ly:pitch-notename in expression (ly:pitch-notename tonic-pitch):
C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-test.ly:37:28: Wrong type 
argument in position 1 (expecting Pitch): ()
Exited with return code 1.


Starting lilypond-windows.exe 2.19.12 [joyful-test.ly]...
Processing `C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-test.ly'
Parsing...
Interpreting music...
Interpreting music...
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
MIDI output to `joyful-test.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `joyful-test.ps'...
Converting to `./joyful-test.pdf'...
Success: compilation successfully completed
Completed successfully in 4.4.



On Monday, September 1, 2014 12:14:41 PM, James pkx1...@gmail.com wrote:
 


On 01/09/14 15:20, Phil Holmes wrote:
 
With your file I get
 
joyful-joyful-we-adore-thee.ly:23:10: error: cannot find file: 
`include_solfege-engraver.ly'
joyful-joyful-we-adore-thee.ly:107:10: error: cannot find file: 
`include_extract-music.ly'
error: unknown escaped string: `\ePU'
 
This is running 2.19.11
 
Might I suggest that following the advice in 
http://lilypond.org/website/tiny-examples.html might enable you to find your 
own problem, and would certainly help someone else.

--
Phil Holmes
 
 
- Original Message - 
From: MING TSANG 
To: lilypond-user mailinglist 
Sent: Monday, September 01, 2014 2:58 PM
Subject: Wrong type argument


I uninstall v2.19.12 and install v19.13 and run a lily file and I got the 
following error.  I then run convert-ly; re-run and got the same error.
The .ly file run without error in v2.19.12.
Emmanuel,
Ming.


Starting lilypond-windows.exe 2.19.13 [joyful-joyful-we-adore-thee.ly]...
Processing
`C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-joyful-we-adore-thee.ly'
Parsing...
Interpreting music...
Interpreting music...
Interpreting music...
Interpreting music...
Interpreting
music...C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-joyful-we-adore-thee.ly:37:28:
 In procedure ly:pitch-notename in expression (ly:pitch-notename tonic-pitch):
C:/Users/Tsang/Dropbox/Lyndon/HYMN/CP_002/joyful-joyful-we-adore-thee.ly:37:28:
 Wrong type argument in position 1 (expecting Pitch): ()
Exited with return code 1.

 ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list lilypond-user@gnu.org 
https://lists.gnu.org/mailman/listinfo/lilypond-user 

Ming,

Even if you remove the 'includes' lines you still
have some variables referenced that are not in the
email.

Doing some very basic troubleshooting I also get

test.ly:36:28: In procedure ly:pitch-notename in
expression (ly:pitch-notename tonic-pitch):
test.ly:36:28: Wrong type argument in position 1
(expecting Pitch): ()

and this 'test.ly:36:28' refers to a line in my
test.ly file with your code cut and paste. and this
line is included in the solfege-engraver function.

#(define (solfege-engraver lst dir)
   (make-engraver 
 (acknowledgers
  ((note-head-interface engraver grob source)
   (let* (
  (context (ly:translator-context
engraver))
  (tonic-pitch (ly:context-property
context 'tonic))
  (tonic-index (ly:pitch-notename
tonic-pitch))  --- HERE IS THE LINE BEING
REFERENCED!!!
  (event (ly:grob-property grob 'cause))
  (event-copy 

Re: Upbeat as full measure or not?

2014-09-02 Thread Alexander Kobel

On 09/02/2014 12:36 PM, Malte Meyn wrote:

I think this is not a matter of engraving rules but you should follow
the composer. (If I was the composer I would prefer a version with a
full measure beginning with a rest in this case. But I’m not Albert
Becker.) I’ve seen both versions in different pieces from different
composers.

Also, your version 1 is wrong. Soprano and Tenor must have r4 r2; I’m
pretty sure that one never writes full measure rests in a partial measure.


Good catch, and actually the part of the question I forgot to ask... 
But I guess I like your assessment that the proper notation should 
primarily depend on the musical or upbeat character as you stated in 
your second mail:



The first beat of measures 6 and 40 is not the ending of the phrase
before, but the beginning of a new one (phrases end in 5 and 39). So
in my opinion this measure “Bleibe” doesn’t have an “upbeat
character”.



Thanks,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Upbeat as full measure or not?

2014-09-02 Thread Simon Albrecht
Furthermore, there is the rule that, if there is an upbeat, upbeat and 
last measure of the piece must add up to one full bar. I’m not sure 
where it comes from and how widely it is obeyed, but at least for a 
“classical” period in the 18th to 20th centuries it’s to be regarded as 
standard. So as the last measure of the piece referred to contains a 
whole note, I’d rather not write an upbeat, but fill it up to make the 
first measure.
What’s more, I think an upbeat of three quarter notes’ length is hard to 
grasp at first sight and thus irritates the reader.

HTH, Simon

Am 02.09.2014 um 12:43 schrieb Malte Meyn:

Another idea if it’s unclear what the composer wanted:

The first beat of measures 6 and 40 is not the ending of the phrase 
before, but the beginning of a new one (phrases end in 5 and 39). So 
in my opinion this measure “Bleibe” doesn’t have an “upbeat character”.


On 02.09.2014 12:36, Malte Meyn wrote:

I think this is not a matter of engraving rules but you should follow
the composer. (If I was the composer I would prefer a version with a
full measure beginning with a rest in this case. But I’m not Albert
Becker.) I’ve seen both versions in different pieces from different
composers.

Also, your version 1 is wrong. Soprano and Tenor must have r4 r2; I’m
pretty sure that one never writes full measure rests in a partial 
measure.


On 02.09.2014 12:21, Alexander Kobel wrote:

Dear all,

I wonder whether a large partial measure should be notated as a full
measure (rest+upbeat) or a partial measure.  More specifically, it's 
the

beginning of the following piece:

- version 1, as partial

http://www3.cpdl.org/wiki/images/6/6c/Becker-albert_bleibe-abend-will-es-werden.pdf 




- version 2, as full measure

http://www3.cpdl.org/wiki/images/archive/6/6c/20140721085342%21Becker-albert_bleibe-abend-will-es-werden.pdf 





It's a time 4/4 { r4 c c c }-style beginning; for time 2/2 { r4 c c 
c },

or time 4/4 { r8 c c c c4 c }, I'd prefer a full measure, but here my
intuition is gone.  What looks more sound to your eye?  Or could 
anybody

consult a copy of Gould or similar?


Thanks,
Alexander

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Custom time signature symbols

2014-09-02 Thread Jayaratna
Dear Lilypond experts,

I need to type a series of examples of mensural music, in which three parts
(Cantus, Altus  Bassus) contain 3 semibreves per bar, one part (Tenor)
contains three breves per bar. I am notating it using 3/1 and 6/1 fractions,
but I would like to use timesig.neomensural98 (stroked O) and
timesig.neomensural32 plus number 2 (O2) instead. 

How would you do it?

So far I have this working example, and thank you for your help.

AM


\include paper.ly
\score{   

\new StaffGroup {
\new Staff {\relative c'' { %Cantus 
\time 3/1
%\set Staff.timeSignatureFraction = 3/1
%\scaleDurations 4/1 
b2 c b c4 d e4. d8 c4 g }}


\new Staff {\relative c' { %Alto
\time 3/1
%\set Staff.timeSignatureFraction = 3/1
%\scaleDurations 2/1
\clef alto 
d2 e g4. f8 e4 d c b c d8 e }}


\new Staff {\relative c' { %Tenor
\time 3/1
\set Staff.timeSignatureFraction = 6/1
\scaleDurations 1/2 {
\clef tenor
 g\longa.} }}


\new Staff {\relative c { %Bassus
\time 3/1
\set Staff.timeSignatureFraction = 6/1
\scaleDurations 1/2 { 
\clef bass
g1 c  e2.d4 c2 b c g c b } }}


  } }




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-time-signature-symbols-tp166005.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom time signature symbols

2014-09-02 Thread Pierre Perol-Schneider
Hi Andrea,

2014-09-02 13:58 GMT+02:00 Jayaratna jayara...@gmail.com:



 I am notating it using 3/1 and 6/1 fractions,
 but I would like to use timesig.neomensural98 (stroked O) and
 timesig.neomensural32 plus number 2 (O2) instead.

 How would you do it?



Try :

\version 2.18.2
%\include paper.ly

\score{
  \new StaffGroup {

  \new Staff \with {
\override TimeSignature.stencil = #(lambda (grob)
 (grob-interpret-markup grob
   #{ \markup\musicglyph #timesig.neomensural98 #}))
  }
  {
\relative c'' { %Cantus
  \time 3/1
  %\set Staff.timeSignatureFraction = 3/1
  %\scaleDurations 4/1
  b2 c b c4 d e4. d8 c4 g
}
  }
  \new Staff \with {
\override TimeSignature.stencil = #(lambda (grob)
 (grob-interpret-markup grob
   #{ \markup\musicglyph #timesig.neomensural98 #}))
  }
  {
\relative c' { %Alto
  \time 3/1
  %\set Staff.timeSignatureFraction = 3/1
  %\scaleDurations 2/1
  \clef alto
  d2 e g4. f8 e4 d c b c d8 e
}
  }
  \new Staff \with {
\override TimeSignature.stencil = #(lambda (grob)
 (grob-interpret-markup grob
   #{
 \markup\concat {
 \musicglyph #timesig.neomensural32
 \lower #.8 \magnify #.8 \musicglyph #two
  }
   #}))
  }
  {
\relative c' { %Tenor
  \time 3/1
  \set Staff.timeSignatureFraction = 6/1
  \scaleDurations 1/2 {
  \clef tenor
  g\longa.}
}
  }
  \new Staff \with {
\override TimeSignature.stencil = #(lambda (grob)
 (grob-interpret-markup grob
   #{
 \markup\concat {
 \musicglyph #timesig.neomensural32
 \lower #.8 \magnify #.8 \musicglyph #two
  }
   #}))
  }
  {
\relative c { %Bassus
  \time 3/1
  \set Staff.timeSignatureFraction = 6/1
  \scaleDurations 1/2 {
  \clef bass
  g1 c  e2.d4 c2 b c g c b }
}
  }

  }
}

HTH,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom time signature symbols

2014-09-02 Thread Jayaratna
Dear Pierre,

thank you, it works wonderfully. I just modified the tenor like this:

\new Staff \with {
\override TimeSignature.stencil = #(lambda (grob)
 (grob-interpret-markup grob
   #{
 \markup\concat {
 \musicglyph #timesig.neomensural32
 \lower #.8 \magnify #1  2
  }
   #}))
  }
  { \relative 


For mensural proportions I prefer to have a normal text font number.

Thank you very much!
A



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-time-signature-symbols-tp166005p166010.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom time signature symbols

2014-09-02 Thread Pierre Perol-Schneider
2014-09-02 15:34 GMT+02:00 Jayaratna jayara...@gmail.com:


 thank you, it works wonderfully.


You're welcome.


 I just modified the tenor like this:

 \new Staff \with {
 \override TimeSignature.stencil = #(lambda (grob)
  (grob-interpret-markup grob
#{
  \markup\concat {
  \musicglyph #timesig.neomensural32
  \lower #.8 \magnify #1  2
   }
#}))
   }
   { \relative 


Forget \magnify #1, you do not neet it.
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom time signature symbols

2014-09-02 Thread Jayaratna
Schneidy wrote
 Forget \magnify #1, you do not neet it.
 Cheers,
 Pierre


Of course! 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-time-signature-symbols-tp166005p166013.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Upbeat as full measure or not?

2014-09-02 Thread Brian Barker

At 12:21 02/09/2014 +0200, Alexander Kobel wrote:
I wonder whether a large partial measure should be notated as a 
full measure (rest+upbeat) or a partial measure.

[...]
Or could anybody consult a copy of Gould or similar?


The one difficulty I have with Elaine Gould's otherwise splendid book 
is its index: it's often difficult to find things. I haven't found an 
answer so far; that doesn't mean it's not there. All I've found on 
the web is a reference to someone else's similar inability to locate 
this topic.


Brian Barker 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Qsynth/Fluidsynt output on MacBook/Kubuntu

2014-09-02 Thread Guy Stalnaker

Frederico,

Thanks for the reply.

Turns out the noise issues also happens on a desktop install (Debian 
Testing) with LP 2.18 and Frescobaldi 2.0.13 (the default in the Debian 
repos). Intersting. All sound still works, just not playing midi files 
from within Frescobaldi.


I *was* able to use timidity as a server with Frescobaldi. There are 
limitations (changing the soundfont is cumbersome) but it did work.


I was using the FluidGM font, which is my normal sound font for use with 
Lilypond. I attempted to use the commandline fluidsynth option you 
suggested on my desktop (for testing) rather than QSynth and that failed 
utterly. Since I use Frescobaldi, my SOP is to run Qsynth (which runs 
fluidsynth), select QSynth from the Frescobaldi Preferences Midi 
section, then it usually just works when I play a midi file using the 
Midi player tool.


When running fluidsynth from the commandline I see a synth option in 
Frescobaldi's preferences but selecting it does not product sound output 
when I play a midi file and after a few seconds Frescobaldi crashes hard.


Hmmm.

Thinking that latest versions are best, I removed the default repo 
Frescobaldi and downloaded the latest from the Frescobaldi website and 
guest what? It all works as expected.


I will do the same tonight on the laptop I originally posted about.

Guy


--

There is only love, and then oblivion. Love is all we have
to set against hatred. (paraphrased) Ian McEwan

Guy Stalnaker
jimmyg...@gmail.com

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Wrong type argument

2014-09-02 Thread Thomas Morley
2014-09-02 12:44 GMT+02:00 MING TSANG tsan...@rogers.com:
 James  Phil:
 I comment out line 421 which call solfege-engravers - both versions run ok.
 Un-comment out line 421 - v2.19.12 run ok; but fails with v2.19.13.
 I don't know scheme. I cannot not begin debug.
 Appreciated if you can help.
 Emmanuel,
 Ming.

It's more an issue with NullVoice, than with the solfege-engraver.
In NullVoice the following line returns an empty list:
  (tonic-pitch (ly:context-property context 'tonic))
Seems 'tonic is not known in NullVoice.

Can't help more, I didn't follow the discussion about NullVoice close
enough and my computer is still broken, acting as a guest on another
computer (until I've the money to buy a new one ...)

Nevertheless, here a boiled down code
(The engraver will cause some terminal-output, all other functionality
is commented)


\version 2.19.13% work on v2.19.12 but failes with v2.19.13

#(define numR➀ '(➀ ➁ ➂ ➃ ➄ ➅ ➆))

#(define (solfege-engraver lst dir)
   (make-engraver
 (acknowledgers
  ((note-head-interface engraver grob source)
   (let* (
  (context (ly:translator-context engraver))
  (tonic-pitch (ly:context-property context 'tonic))
;  (tonic-index (ly:pitch-notename tonic-pitch))
  (event (ly:grob-property grob 'cause))
  (event-copy (ly:event-deep-copy event))
  (grob-pitch (ly:event-property event 'pitch))
  (grob-index (ly:pitch-notename grob-pitch))
;  (delta (modulo (- grob-index tonic-index) 7))
;  (name (list-ref lst delta))
;  (newgrob (ly:engraver-make-grob engraver 'TextScript event-copy))
  )

  (newline)
  (display tonic-pitch)

 ;; clear 'tweaks for newgrob
   ;;  (ly:event-set-property! event-copy 'tweaks '())
; (if (string= name Hb)  (set! name B))
 ;; Give newgrob 'outside-staff-priority depending on
 ;; grob 'staff-position
; (set! (ly:grob-property newgrob 'outside-staff-priority)
;   (+ (ly:grob-property newgrob 'outside-staff-priority)
;  (* dir (ly:grob-property grob 'staff-position
; (set! (ly:grob-property newgrob 'text) name)
; (set! (ly:grob-property newgrob 'direction) dir)
 )


\layout {
  \context {
\NullVoice
\consists #(solfege-engraver numR➀ UP)
  }
}

\new Staff
  \new NullVoice
  { d'4 }



Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user