Re: Hiring for boredom and profit. I need help copying parts.

2013-03-28 Thread Ezequiel Birman
You may also find me on #lilypond as deselby.

-- 
Ezequiel Birman


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


Re: DiceWaltz-1.2

2013-03-28 Thread wjm

Hi Martin,
You wrote:-
+++
I have updated/re-written my Python implementation of Mozart's Musical 
Dice Game

http://imslp.org/wiki/Musikalisches_W%C3%BCrfelspiel,_K.516f_%28Mozart,_Wolfgang_Amadeus%29
+++
I found the program DiceWaltz interesting and amusing. Many thanks!
However, when I open the generated file in Frescobaldi and run it, to 
produce the pdf and midi files, Frescobaldi produces the following error 
message:-

+++
Parsing.../usr/local/lilypond/usr/share/lilypond/current/ly/articulate.ly:446:13: 
In procedure map in expression (map (lambda # #)):
/usr/local/lilypond/usr/share/lilypond/current/ly/articulate.ly:446:13: 
Wrong number of arguments to #

Exited with return code 1.
+++
Commenting out the references to articulate.ly in the generated file 
cause the error message to go away.
If I make a simple musical example including articulate.ly there is no 
problem.

Can you cast any light on this strange behaviour?
Regards
Bill
Here follows an example with the 'simple' bit commented out...

\version "2.17.0"
\pointAndClickOff
\include "articulate.ly"
\header {
  dedication = "Musikalisches Würfelspiel K.V. Anhang 294d (516f), Wien 
1778"

  title = "WALZER"
  composer = \markup {\epsfile #X #20 #"signature.eps"}
  copyright = "Auto-created using DiceWaltz 1.2 (20130327)"
}

\paper {
  #(set-paper-size "a4")
  top-margin = 2\cm
}

%DICE: 9, 10, 4, 7, 5, 4, 8, 7, 6, 7, 5, 10, 6, 6, 5, 6
%TABLE DE MUSIQUE: 119, 142, 158, 167, 161, 55, 21, 91, 25, 71, 7, 82, 
76, 136, 52, 93

DiceWaltz = {
  \new PianoStaff <<
\new Staff = "RH acoustic grand" {\clef treble  \time 3/8 
\key c \major  \tempo  4. = 45

   %beginning of rh music
 %  { a8 b c  } }
 %%{
 \repeat volta 2 {
e''16 c'' g'' e'' c''' g'' |
c''8 g' e'' |
b'8 d''16 b' a' g' |
c''8 c''16 d'' e''8 |
8   |
g''8 b'' d'' |
c''16 e'' g'' d'' a' fis'' |
  }
  \alternative {
{ 4 r8 } { 4 r8 }
  }
  \repeat volta 2 {
d'16 fis' a' d'' fis'' a'' |
g''16 b'' d''' b'' g''8 |
e''16 c'' e'' g'' c''' g'' |
d''16[ b' g'8] g'' |
c'''16 b'' c''' g'' e'' c'' |
c'''16 b'' c''' g'' e'' c'' |
d''16( cis'') d'' f'' g' b' |
c''4 r8 |
  }
} % end of right hand %}
\new Staff = "LH acoustic grand" {
  \clef bass  \time 3/8  \key c \major
  %beginning of lh music
   %   { a8 b c  } }
  %%{
   { \repeat volta 2 {
4 r8 |
4 r8 |
g,4 r8 |
4 r8 |
c8 c c |
4 r8 |
c8 d d, |
  }
  \alternative {
{ g,8 g16 f! e d } { g,8 b16 g fis e }
  }
  \repeat volta 2 {
d4 c8 |
4 8  |
4 r8 |
4 8 |
4 8 |
4 r8 |
f4 g8 |
c8 g, c, |
  }
} %end of lh music
} %end of left hand %}
  >>
}

\score {
 % \articulate
 <<
  \DiceWaltz >>
  \layout { }
}
%%{

\score {
  \unfoldRepeats
  \articulate
  <<
\DiceWaltz
  >>
  \midi {%\tempo 8=150}
}
}
%}


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


Re: Hiring for boredom and profit. I need help copying parts.

2013-03-28 Thread Ezequiel Birman
Just to clarify, you'd have to copy only from the parts not the
reduction which is more reliable but very difficult to read. I'll deal
with it later. (Actually, I am actually using git to manage two
branches: parts and reduction. The final master branch shall be my
edited, final, playable version).

-- 
Ezequiel Birman


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


Use proportional spacing for a section in a score

2013-03-28 Thread James Harkins
What is the magical incantation to turn on proportional spacing in the
middle of a score, and then turn it off again?

The following is not successful in lp 2.16. Two measures are produced,
and they both use classical spacing. I would have expected the spacing
to be visibly different after setting the proportional spacing
properties.

\version "2.16.1"
music = \relative c'' { \repeat unfold 2 { c4 c16 c c c } }

\score {
  \new Staff {
\music
\newSpacingSection
\set proportionalNotationDuration = #(ly:make-moment 1 16)
\override Score.SpacingSpanner #'uniform-stretching = ##t
\override Score.SpacingSpanner #'strict-note-spacing = ##t
\music
  }
}

One section of my current piece features aleatoric cadenza-like
passages for two instruments, and the classical spacing does not look
good here. But classical spacing is exactly right for the rest of the
piece.

Thanks.
hjh

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


Re: Use proportional spacing for a section in a score

2013-03-28 Thread James Harkins
On Thu, Mar 28, 2013 at 6:50 PM, James Harkins  wrote:
> What is the magical incantation to turn on proportional spacing in the
> middle of a score, and then turn it off again?

For a variation on the theme: I did manage to get proportional spacing
to take effect in my test score. But, spacing is proportional
throughout, including the bars at the beginning that should not be
proportional. So it seems all or nothing: either the whole score is
proportional, or none of it is.

Really hope there's a way to do this...
hjh

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


Re: DiceWaltz-1.2

2013-03-28 Thread David Kastrup
wjm  writes:

> Hi Martin,
> You wrote:-
> +++
> I have updated/re-written my Python implementation of Mozart's Musical
> Dice Game
> http://imslp.org/wiki/Musikalisches_W%C3%BCrfelspiel,_K.516f_%28Mozart,_Wolfgang_Amadeus%29
> +++
> I found the program DiceWaltz interesting and amusing. Many thanks!
> However, when I open the generated file in Frescobaldi and run it, to
> produce the pdf and midi files, Frescobaldi produces the following
> error message:-
> +++
> Parsing.../usr/local/lilypond/usr/share/lilypond/current/ly/articulate.ly:446:13:
> In procedure map in expression (map (lambda # #)):
> /usr/local/lilypond/usr/share/lilypond/current/ly/articulate.ly:446:13:
> Wrong number of arguments to #
> Exited with return code 1.

http://code.google.com/p/lilypond/issues/detail?id=3204>

Will be fixed in 2.17.15.

-- 
David Kastrup


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


Re: Use proportional spacing for a section in a score

2013-03-28 Thread David Kastrup
James Harkins  writes:

> What is the magical incantation to turn on proportional spacing in the
> middle of a score, and then turn it off again?
>
> The following is not successful in lp 2.16. Two measures are produced,
> and they both use classical spacing. I would have expected the spacing
> to be visibly different after setting the proportional spacing
> properties.
>
> \version "2.16.1"
> music = \relative c'' { \repeat unfold 2 { c4 c16 c c c } }
>
> \score {
>   \new Staff {
> \music
> \newSpacingSection
> \set proportionalNotationDuration = #(ly:make-moment 1 16)
> \override Score.SpacingSpanner #'uniform-stretching = ##t
> \override Score.SpacingSpanner #'strict-note-spacing = ##t
> \music
>   }
> }

Try \set Score.proportionalNotationDuration instead.

It is conceivable that the "proper" incantation would use Timing instead
of Score everywhere, but for normal scores, both should be equivalent.

-- 
David Kastrup


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


Re: Use proportional spacing for a section in a score

2013-03-28 Thread Eluze
James Harkins-2 wrote
> What is the magical incantation to turn on proportional spacing in the
> middle of a score, and then turn it off again?
> 
> The following is not successful in lp 2.16. Two measures are produced,
> and they both use classical spacing. I would have expected the spacing
> to be visibly different after setting the proportional spacing
> properties.
> 
> \version "2.16.1"
> music = \relative c'' { \repeat unfold 2 { c4 c16 c c c } }
> 
> \score {
>   \new Staff {
> \music
> \newSpacingSection
> \set proportionalNotationDuration = #(ly:make-moment 1 16)
> \override Score.SpacingSpanner #'uniform-stretching = ##t
> \override Score.SpacingSpanner #'strict-note-spacing = ##t
> \music
>   }
> }
> 
> One section of my current piece features aleatoric cadenza-like
> passages for two instruments, and the classical spacing does not look
> good here. But classical spacing is exactly right for the rest of the
> piece.

try 
\override Score.SpacingSpanner #'shortest-duration-space = #16

instead of
\set proportionalNotationDuration = 

but don't ask me why!
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Use-proportional-spacing-for-a-section-in-a-score-tp143550p143554.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: Use proportional spacing for a section in a score

2013-03-28 Thread Eluze
now, after David's reply, you may ask...
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Use-proportional-spacing-for-a-section-in-a-score-tp143550p143555.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: extending event-listener.ly

2013-03-28 Thread luis jure

on 2013-03-27 at 14:13 Graham Percival wrote:

> On Wed, Mar 27, 2013 at 08:21:53AM -0300, luis jure wrote:
>
> > BTW, i was quite curious myself about why the point-and-clik info was
> > included in the first place. i thought it was only useful for pdf
> > files. is this information used by your virtual violinist?
> 
> Yes, for the interactive training, I display the pdf, and when
> users click on a note it displays information about that note (and
> plays it audibly).  


oh, i see, it makes perfect sense.

BTW, is phil's patch going be merged into lilypond's event-listener? drum
voices also have the right to be "listened" to... ;-)

best,


lj

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


Re: extending event-listener.ly

2013-03-28 Thread Janek Warchoł
On Thu, Mar 28, 2013 at 2:46 PM, luis jure  wrote:
> BTW, is phil's patch going be merged into lilypond's event-listener?

It can be.  Phil, please make a git-formatted patch and send a request
for merging it to bug-lilypond mailing list.  If you need help with
this, let us know.

best,
Janek

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


RE: How to run Lilypond from the Mac OS terminal

2013-03-28 Thread Eduardo Silva


> Date: Tue, 26 Mar 2013 06:26:10 -0700
> From: phili...@philmassart.net
> To: lilypond-user@gnu.org
> Subject: Re: How to run Lilypond from the Mac OS terminal
> 
> Hello,
> 
> At first sight I would change one line of your .profile like this to include
> the lilypond binary in your path:
> 
> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
> 
> to
> 
> export
> PATH=/opt/local/bin:/opt/local/sbin:/Applications/LilyPond.app/Contents/Resources/bin:$PATH
> 
Thanks, Phillip! That solved the problem

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


Re: Help get musical scores onto Wikipedia!

2013-03-28 Thread Jonathan Marmor
Yes, while I'm not directly involved in the project, I believe Carlo is
correct: for Wikipedia the primary use case is small quotations, however
for the MediaWiki software support for entire scores would be wonderful.

The link to the original proposal was mangled in the first email.  Please
note there is an exclamation mark at the end of the URL.
https://wikimania2012.wikimedia.org/wiki/Submissions/We_want_scores!


On Wed, Mar 27, 2013 at 8:17 AM, Carlo Stemberger <
carlo.stember...@gmail.com> wrote:

> 2013/3/23 Shane Brandes 
>
>> Are these small quotations or entire
>> scores, what is the scope.
>
>
> I think the first one, for Wikipedia (that is an encyclopedia), but the
> software (MediaWiki) might be used for many scopes.
>
> Carlo
>
> ___
> 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: DiceWaltz-1.2

2013-03-28 Thread Martin Tarenskeen



On Thu, 28 Mar 2013, David Kastrup wrote:


wjm  writes:

+++
I found the program DiceWaltz interesting and amusing. Many thanks!
However, when I open the generated file in Frescobaldi and run it, to
produce the pdf and midi files, Frescobaldi produces the following
error message:-
+++
Parsing.../usr/local/lilypond/usr/share/lilypond/current/ly/articulate.ly:446:13:
In procedure map in expression (map (lambda # #)):
/usr/local/lilypond/usr/share/lilypond/current/ly/articulate.ly:446:13:
Wrong number of arguments to #
Exited with return code 1.


http://code.google.com/p/lilypond/issues/detail?id=3204>

Will be fixed in 2.17.15.


I have been testing my DiceWaltz program with LilyPond 2.16.2 without 
seeing the error. Is this bug new in 2.17.x? Doesn't really matter if it 
is found and fixed, I'm just curious.


--

MT

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


Re: DiceWaltz-1.2

2013-03-28 Thread David Kastrup
Martin Tarenskeen  writes:

> On Thu, 28 Mar 2013, David Kastrup wrote:
>
>> wjm  writes:
>>> +++
>>> I found the program DiceWaltz interesting and amusing. Many thanks!
>>> However, when I open the generated file in Frescobaldi and run it, to
>>> produce the pdf and midi files, Frescobaldi produces the following
>>> error message:-
>>> +++
>>> Parsing.../usr/local/lilypond/usr/share/lilypond/current/ly/articulate.ly:446:13:
>>> In procedure map in expression (map (lambda # #)):
>>> /usr/local/lilypond/usr/share/lilypond/current/ly/articulate.ly:446:13:
>>> Wrong number of arguments to #
>>> Exited with return code 1.
>>
>> http://code.google.com/p/lilypond/issues/detail?id=3204>
>>
>> Will be fixed in 2.17.15.
>
> I have been testing my DiceWaltz program with LilyPond 2.16.2 without
> seeing the error. Is this bug new in 2.17.x? Doesn't really matter if
> it is found and fixed, I'm just curious.

Your curiosity might have made you to read the referenced issue report
pointing out the introduction of the problem in December, corresponding
to version 2.17.10.

-- 
David Kastrup


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


LilyPond featured in Demo videos.

2013-03-28 Thread Richard Shann
Dear LilyPond,

LilyPond features in a demo video that I have posted at
https://vimeo.com/62188678  to publicise the new version 1.0.0 of
Denemo, just released. It points out the quality of LilyPond's
typesetting without manual tweaking. It also shows LilyPond adjusting
the layout of the music after transposition without any further user
intervention (though this example was not chosen to illustrate this
point, and another example with dynamics, tempo changes etc would do
that better).

The collection of videos also illustrates the ability of LilyPond to
keep up with input of notes (as in the Handel Harmonization demo
https://vimeo.com/62426412) and shows how things like choosing page
breaks, modifying beaming etc, can be most naturally achieved by
clicking with the mouse on the LilyPond-typeset PDF display
(https://vimeo.com/62490933, https://vimeo.com/62488213).

With this version Denemo looks more like a conventional score editor.
However, there is no reduction in the commitment to Denemo as a front
end to LilyPond. There is still a LilyPond window where customized
layouts for full score, parts or any other arrangement of the music can
be edited as text and stored with the saved Denemo score. And further
tweaks can be inserted in the music in that window too. (Sadly, it still
lacks syntax coloring...).

Richard Shann



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


Lilypond \include statements and the GPL

2013-03-28 Thread Joseph Rushton Wakeling
Hello all,

A question which has come up, and where I'm not sure what the answer or
intention is.

Lilypond is licensed under the GPL and reading through the license file, I
didn't come across any granted exceptions (IIRC the fonts have an exception for
embedding them into a document).

So, how does this affect things when e.g. you \include a file in your personal
Lilypond project?  While I can't see it affecting distribution of a PDF or other
graphical version of the score produced, the lack of an exception surely means
that any .ly file distributed would be obliged to be released under the GPL or a
compatible license.  (For example, english.ly is explicitly licensed under
GPLv3+ without any exception.  Yes, I know that these days you should use
\language "english", but that's beside the point.)

I was sure this must have been discussed previously, but cannot find anything in
past mailing list discussions.  So can anyone advise on whether this was indeed
discussed before -- and if so, what were the conclusions?

I can't imagine it's intentional that Lilypond copyleft should extend so far as
the .ly files of scores created by users, but as things stand I'm concerned that
this may be the strict letter of the licensing.  I'd welcome being pointed to
obvious reasons why I'm wrong.

Thanks & best wishes,

-- Joe

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


Re: Lilypond \include statements and the GPL

2013-03-28 Thread David Kastrup
Joseph Rushton Wakeling  writes:

> Hello all,
>
> A question which has come up, and where I'm not sure what the answer or
> intention is.
>
> Lilypond is licensed under the GPL and reading through the license file, I
> didn't come across any granted exceptions (IIRC the fonts have an exception 
> for
> embedding them into a document).
>
> So, how does this affect things when e.g. you \include a file in your
> personal Lilypond project?  While I can't see it affecting
> distribution of a PDF or other graphical version of the score
> produced, the lack of an exception surely means that any .ly file
> distributed would be obliged to be released under the GPL or a
> compatible license.

I don't see that.  \include is an instruction, not an actual inclusion.
As opposed to dynamic linking, there is no combined entity being formed
for the sake of execution where one could possibly claim "contributory
infringement".  The inner workings of english.ly and its interoperation
with LilyPond proper are not being accessed or questioned, either.

> (For example, english.ly is explicitly licensed under GPLv3+ without
> any exception.  Yes, I know that these days you should use \language
> "english", but that's beside the point.)

If you convert english.ly into, say, an Elisp file parsing note names,
things are different.

> I can't imagine it's intentional that Lilypond copyleft should extend
> so far as the .ly files of scores created by users, but as things
> stand I'm concerned that this may be the strict letter of the
> licensing.

I don't see that, short of _actual_ inclusion of english.ly etc.

-- 
David Kastrup


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


Re: Lilypond \include statements and the GPL

2013-03-28 Thread Joseph Rushton Wakeling
On 03/28/2013 06:35 PM, David Kastrup wrote:
> I don't see that.  \include is an instruction, not an actual inclusion.
> As opposed to dynamic linking, there is no combined entity being formed
> for the sake of execution where one could possibly claim "contributory
> infringement".  The inner workings of english.ly and its interoperation
> with LilyPond proper are not being accessed or questioned, either.

I take the point about instruction vs. real inclusion, i.e. that what the
\include command is saying is "read this set of instructions when processing
this file through Lilypond" rather than "include this material in the final
product".  But I feel it's still an unnecessary ambiguity.

english.ly isn't the best example of this, but suppose instead you have a .ly or
.ily file that defines a new command, and you use that new command throughout
your own .ly file?

The point here is that there is certainly not a combined entity coming out of
the running of your .ly file through the lilypond interpreter, but there _may_
be a combined entry in the form of your .ly source file containing calls to
functions defined in GPL-licensed files.

>> I can't imagine it's intentional that Lilypond copyleft should extend
>> so far as the .ly files of scores created by users, but as things
>> stand I'm concerned that this may be the strict letter of the
>> licensing.
> 
> I don't see that, short of _actual_ inclusion of english.ly etc.

Personally I feel it would be nice to resolve any potential ambiguity.

Obviously the best way to do this is just to show that I'm definitively wrong in
my interpretation (this would be nice:-), but aside from that I think there are
probably several other ways in which it could be done, including ensuring that
all files intended to be \include'd are licensed under something more permissive
(LGPL, BSD, Boost, Apache, ...), or adding a simple exception or clarification
to Lilypond's license akin to the GPL font exception.

I should add that the underlying motivation here is licensing clarity for some
of Urs and Janek's work on useful toolboxes for Lilypond.  It's clearly
desirable that these kits be copylefted as far as any code derivative is
concerned, but it's obviously not intended that the copyleft extend to users'
.ly files.

I was convinced that this issue must already have been systematically discussed
with respect to Lilypond's own files, hence my questions ...

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


Re: extending event-listener.ly

2013-03-28 Thread Phil Hézaine

Le 28/03/2013 15:00, Janek Warchoł a écrit :

On Thu, Mar 28, 2013 at 2:46 PM, luis jure  wrote:

BTW, is phil's patch going be merged into lilypond's event-listener?


It can be.  Phil, please make a git-formatted patch and send a request
for merging it to bug-lilypond mailing list.  If you need help with
this, let us know.


Hi,
Yes, I need help. I don't know how to write a patch git-formatted.
But before, I think you should ask Graham if my additions are well 
written, I want to say: are there some improvements needed?

And what about the conversion of drum notes to midi pitches?
I'm not able to find a way to write a specific function for that issue.
Graham? Have you some time?

Phil.

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


Re: Lilypond \include statements and the GPL

2013-03-28 Thread Tim McNamara
On Mar 28, 2013, at 1:26 PM, Joseph Rushton Wakeling 
 wrote:

> I should add that the underlying motivation here is licensing clarity for some
> of Urs and Janek's work on useful toolboxes for Lilypond.  It's clearly
> desirable that these kits be copylefted as far as any code derivative is
> concerned, but it's obviously not intended that the copyleft extend to users'
> .ly files.
> 
> I was convinced that this issue must already have been systematically 
> discussed
> with respect to Lilypond's own files, hence my questions ...

My understanding is always been that the GPL applies to the software used to 
produce a file, not to the file itself. Therefore, the GPL would not apply to 
the users' .ly files; the user has the option of specifying under what license 
any such files might be published.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: extending event-listener.ly

2013-03-28 Thread Janek Warchoł
Hi Phil,

On Thu, Mar 28, 2013 at 8:09 PM, Phil Hézaine  wrote:
> Le 28/03/2013 15:00, Janek Warchoł a écrit :
>> Phil, please make a git-formatted patch and send a request
>> for merging it to bug-lilypond mailing list.  If you need help with
>> this, let us know.
>
> Hi,
> Yes, I need help. I don't know how to write a patch git-formatted.

ok.  A few questions:
- what operating system do you use? (in particular, do you have some
Linux at hand?)
- do you have any experience with version control?
- how comfortable are you with the command line?

> But before, I think you should ask Graham if my additions are well written,
> I want to say: are there some improvements needed?
> And what about the conversion of drum notes to midi pitches?
> I'm not able to find a way to write a specific function for that issue.

We'll put your patch up for review, and then everybody will have the
opportunity to comment on it.

cheers,
Janek

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


Re: DiceWaltz-1.2

2013-03-28 Thread wjm

Dear David,
Thanks for the information about the error and its coming fix.
I should have checked with a web search to see if 
"articulate.ly:446:13:" produced anything useful... One becomes somewhat 
blinkered at times and it wasn't until I read your response that I had a 
look around the web... sure enough there were lots of discussions about it.

I hope you have a good Easter.
Regards
Bill

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


Re: extending event-listener.ly

2013-03-28 Thread luis jure

on 2013-03-28 at 20:09 Phil Hézaine wrote:

> And what about the conversion of drum notes to midi pitches?

mmm... i wonder if that's strictly necessary? once you get the correct
text output, as you do now, it's trivial to convert the drum notes names to
pitches with whatever program you're using to process it.

on the other hand...

> I want to say: are there some improvements needed?

well, this is not related to your patch, but since you're at it... ;-)

i realized that the format-text function can only process simple text
scripts, but returns an error message when using a markup.

c^"accel." is OK, but:

c^\markup{ accel. } or c^\markup{ \italic { accel. }}

return errors:

Unsupported SCM value for format: (# (accel.))

Unsupported SCM value for format: (# ((# accel.)))

in both cases the .notes file has an empty text line where the markups
were used.

looking at the code i see that the format-text function is very basic, i
guess it wouldn't be trivial to adapt it to handle markups?


best,

lj

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


Re: extending event-listener.ly

2013-03-28 Thread Phil Hézaine

Le 28/03/2013 21:44, Janek Warchoł a écrit :

Hi Phil,

On Thu, Mar 28, 2013 at 8:09 PM, Phil Hézaine  wrote:

Le 28/03/2013 15:00, Janek Warchoł a écrit :

Phil, please make a git-formatted patch and send a request
for merging it to bug-lilypond mailing list.  If you need help with
this, let us know.


Hi,
Yes, I need help. I don't know how to write a patch git-formatted.


ok.  A few questions:
- what operating system do you use? (in particular, do you have some
Linux at hand?)


Linux with Gentoo.


- do you have any experience with version control?


I've no idea.


- how comfortable are you with the command line?


I get by.


But before, I think you should ask Graham if my additions are well written,
I want to say: are there some improvements needed?
And what about the conversion of drum notes to midi pitches?
I'm not able to find a way to write a specific function for that issue.


We'll put your patch up for review, and then everybody will have the
opportunity to comment on it.

cheers,
Janek


Phil.


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


Re: extending event-listener.ly

2013-03-28 Thread Phil Hézaine

Le 28/03/2013 23:36, luis jure a écrit :


on 2013-03-28 at 20:09 Phil Hézaine wrote:


And what about the conversion of drum notes to midi pitches?


mmm... i wonder if that's strictly necessary? once you get the correct
text output, as you do now, it's trivial to convert the drum notes names to
pitches with whatever program you're using to process it.


Indeed. But Lilypond knows how to do this internally. If you look at the 
sources you'll see the midiDrumPitches in drumpitch-init.ly

It will be straightforward.


on the other hand...


I want to say: are there some improvements needed?


well, this is not related to your patch, but since you're at it... ;-)

i realized that the format-text function can only process simple text
scripts, but returns an error message when using a markup.

c^"accel." is OK, but:

c^\markup{ accel. } or c^\markup{ \italic { accel. }}

return errors:

Unsupported SCM value for format: (# (accel.))

Unsupported SCM value for format: (# ((# accel.)))

in both cases the .notes file has an empty text line where the markups
were used.

looking at the code i see that the format-text function is very basic, i
guess it wouldn't be trivial to adapt it to handle markups?



Not for me!... err... to handle... :-)


best,

lj


Phil.


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