Re: In octaves

2008-04-14 Thread Wilbert Berendsen
Op zondag 13 april 2008, schreef Jay Anderson:
 I tried  {c d e f} {c' d e f}  but it didn't look right so I
 resorted to a function. Is there an easier way to do this?

Possibly:

bassnotes = { c16 d e f g c bes a g es fis a g es r8 }

\new Voice 
  \clef bass
  \relative c,, \bassnotes
  \relative c, \bassnotes



best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


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


Re: barlines not shown

2008-04-14 Thread Wilbert Berendsen
Op zondag 13 april 2008, schreef Stefan Thomas:
 I see an invisible barline.

Cool :-)

but seriously, you'd write \bar |. (without the spaces inside the quotes)

best regards, :-)
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


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


Re: Running LilyPond from a memory stick

2008-04-14 Thread Mats Bengtsson
I would be interested in such a solution as well, since I just got a new 
Laptop from
my employer with Windows Vista and no administrators rights to install 
any new programs.
Interstingly enough, one exception is MikTeX, which can be installed in 
the local users

directory without any administrators rights.

  /Mats

Valentin Villenave wrote:

2008/4/12 Ben Lewis [EMAIL PROTECTED]:
  

Start  Run  RegEdit? I know it exists in XP, so that should work.



No; the point is, you should have to be able to run LilyPond from the
USB stick *without* modifying the registry at all. Some applications
(look, for instance, at the portable version of Firefox or GIMP)
manage to intercept registry calls and substitute their own
parameters; that's what we should try to implement.

Cheers,
Valentin


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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


stacked markup with parenthesis

2008-04-14 Thread lasconic

Hi all !
I'm looking for a way to display a text on several lines with parenthesis
around the line (no bracket, round parenthesis). I tried \columns and
\center-align. That's ok to stack texts but how can I put parenthesis around
? (like \bracket does for squared bracket).
Thks a lot !

Example : 

 /\
|  A  |
|  B  |
 \/
-- 
View this message in context: 
http://www.nabble.com/stacked-markup-with-parenthesis-tp16677616p16677616.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


LilyLib: SuperCollider to Lilypond Translation

2008-04-14 Thread bbarros
Hi,

I recently made a set of classes that try to translate data from
SuperCollider to the Lilypond format. Useful if you want to see this
data in a traditional notated score rapidly and use this in a
composition.

Since my experience with Lilypond is minimal,  I would appreciate very
much some criticism and help from you guys. Specially how I can make
this sequence look good in Lilypond :-)

For the rhythms I chose to work with rhythm trees, i.e. with a lists
of measures and a list of lists of the proportions inside each
measure.

Cheers!
Bernardo


- Examples:

* enter list of notes, list of measure sizes in eight-notes (can be
multiple of 0.5, like 4.5), proportions inside each measure (it
calculates the proper tuplet):

MakeLilySequence.quaterTones(notes, measures, proportions, tempo);

MakeLilySequence.quaterTones([60, 56.5, 56, 67, 65.5, 55.5, 54.5, 45,
56, 67], [4, 3, 5], [[1, 1, 1], [3, 1], [4, 1, 1, 1, 1]])

/time 4/8  /times 2/3 { c'8   gisih8   gis8   }  /time 3/8  /times 3/4
{  g'8.  fih'16 }  /time 5/8  /times 5/8 { gih4  fisih16   a,16
gis16  g'16  }

MidiLy.quaterToneArray([60, 60.5, 61, 61.5]);
[ c' , cih' , cis' , cisih'  ]

LilyOutput.makePdfMidi(File) // this create a pdf and a midi file
(command line) from a .ly file in the directory
../Music/LilypondFiles/File.ly

LilyOutput.viewPdf(File) // this open the PDF

LilyOutput.playMidi(File) // this play the midi with a program called qtplay

MakeLilyRhythm.new(4, [1, 1, 1, 1, 1])   // first input is the size of
the measure in Eight notes, and the array is the proportions inside
that measure
[ 4/8, [ 16, 16, 16, 16, 16 ], [ 5, 4 ] ]  // returns some values
usable for the lilypond notation, the third one is the Tuplet


- Classes:
(put in SuperCollider Extensions Folder


/
//Translate Midi values and rhythm trees to Lilypond Format//
/
/ bernardo barros 2008 //

/// feel free to comment, test, improve etc
/// send an email: bernardobarros #at *$gmail$* $%dot* com


MidiLy {

   *halfToneNote  { |midiNote|
var index, pitch, notes, octave, pitchList, octaveList, octaveIndex;
index = (midiNote % 12).round; // arredonda para quartos de tom
octaveIndex = (midiNote/12).floor;
pitchList = #[c,cis,d,dis,e,f,fis, g, gis,a, ais, b]; // para semitons
octaveList =  [,,  ,','',''', ];
pitch = pitchList[index];
octave = octaveList[octaveIndex];
^notes = (pitch ++ octave).asString;
   }

   *quaterToneNote  { |midiNote|
var index, pitch, notes, octave, pitchList, octaveList, octaveIndex;
index = (midiNote % 12).round(0.5); // arredonda para quartos de tom
octaveIndex = (midiNote/12).floor;
pitchList = #[c,cih,cis,cisih,d,dih,dis,eeh,e,eih,f,fih, fis,fisih, g,
gih, gis,gisih, a, aih, ais, beh, b, bih]; // para quartos de tom
octaveList =  [,,  ,','',''', ];
pitch = pitchList[index*2];
octave = octaveList[octaveIndex];
^notes = (pitch ++ octave).asString;  }

   *halfToneArray  { |midiNote|
var index, pitch, notes, octave, pitchList, octaveList, octaveIndex, noteList;
index = (midiNote % 12).round; // arredonda para quartos de tom
noteList = Array.new;
octaveIndex = (midiNote/12).floor;
pitchList = #[c,cis,d,dis,e,f,fis, g, gis,a, ais, b]; // para semitons
octaveList =  [,,  ,','',''', ];
pitch = pitchList[index];
octave = octaveList[octaveIndex];
notes = pitch.size.do({ arg i; noteList = noteList.add(pitch[i] ++
octave[i]) });
^noteList; }

   *quaterToneArray  { |midiNote|
var index, pitch, notes, octave, pitchList, octaveList, octaveIndex, noteList;
index = (midiNote % 12).round(0.5); // arredonda para quartos de tom
noteList = Array.new;
octaveIndex = (midiNote/12).floor;
pitchList = #[c,cih,cis,cisih,d,dih,dis,eeh,e,eih,f,fih, fis,fisih, g,
gih, gis,gisih, a, aih, ais, beh, b, bih]; // para quartos de tom
octaveList =  [,,  ,','',''', ];
pitch = pitchList[index*2];
octave = octaveList[octaveIndex];
notes = pitch.size.do({ arg i; noteList = noteList.add(pitch[i] ++
octave[i]) });
^noteList; }

}


MakeLilyRhythm  {

   *new  { |measure, proportion|

var eightNomeScale, measureScaleLily, measureIndex, measuresOutputList;
var eightsSum;
var multipliedProportionSum, multipliedProportionFactor;
var noteDurationList, noteDurationScale, noteNotationScale,
noteDurationOutputList;
var noteDurationOutput;
var tuplet, m, n; // Tuplet calculation

 converter a lista de compassos em notação Lilypond

eightNomeScale = (0.5, 1 .. 16);
measureScaleLily = #[1/16, 1/8, 3/16, 2/8, 5/16, 3/8,
7/16, 4/8, 9/16, 5/8, 11/16, 6/8, 13/16, 7/8, 15/16,
8/8, 17/16, 9/8, 19/16, 10/8, 21/16, 11/8, 25/16,
12/8, 27/16, 13/8, 29/16, 14/8, 31/16, 15/8, 33/16,
16/8];
measureIndex = ((measure * 2 - 1)).round;
measuresOutputList = measureScaleLily[measureIndex];

 multiplicar a proporção até que ela seja 1 grau maior que a

Re: markup in header

2008-04-14 Thread coffer

Thank you for the hint. I´ve read it before. But I don´t know what it means:
This setting overrides selection using font-family, font-series and
font-shape. I thought *after* changing the font it *is* possible to change
the font-shape.

My question is: Is it possible to change the font-name *and then* the
font-shape or font-series?

Thank you for a helpful answer to a learning newbie...:-)

coffer



Mats Bengtsson-4 wrote:
 
 See the documentation of font-name in the Internals Reference:
 http://lilypond.org/doc/v2.11/Documentation/user/lilypond-internals/font_002dinterface#font_002dinterface
 
/Mats
 
 Quoting coffer [EMAIL PROTECTED]:
 

 Hi all,

 first of all: thank you to all of you who developed and improved this
 wonderful software - I´m really happy with it.

 Now my question: When I use a \markup command in the header and change
 the
 current font (not the font-family), both the italic and bold style don´t
 work. Is it a bug or is there a mistake in my file?

 I´m using v2.11.43 and Win XP.

 This is my solution that doesn´t work (in the header block):

 title = \markup { \normal-text { \override #'(font-name . Day Roman) {
 \bold { Title 
 subtitle =  \markup {  \override #'(font-name . Day Roman)  \override
 #'(font-shape . 'italic) { Subtitle }}

 Thank you in advance for all help,
 coffer.

 --
 View this message in context:
 http://www.nabble.com/%5Cmarkup-in-header-tp16667439p16667439.html
 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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

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

-- 
View this message in context: 
http://www.nabble.com/%5Cmarkup-in-header-tp16667439p16678753.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: markup in header

2008-04-14 Thread Mats Bengtsson
The setting of font-name is a low-level setting which means that the 
other properties
will not even be considered. If you want a bold version of the font, 
then specify the
font name of that version. For example, the manual shows how to use 
Vera Bold.


  /Mats

coffer wrote:

Thank you for the hint. I´ve read it before. But I don´t know what it means:
This setting overrides selection using font-family, font-series and
font-shape. I thought *after* changing the font it *is* possible to change
the font-shape.

My question is: Is it possible to change the font-name *and then* the
font-shape or font-series?

Thank you for a helpful answer to a learning newbie...:-)

coffer



Mats Bengtsson-4 wrote:
  

See the documentation of font-name in the Internals Reference:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-internals/font_002dinterface#font_002dinterface

   /Mats

Quoting coffer [EMAIL PROTECTED]:



Hi all,

first of all: thank you to all of you who developed and improved this
wonderful software - I´m really happy with it.

Now my question: When I use a \markup command in the header and change
the
current font (not the font-family), both the italic and bold style don´t
work. Is it a bug or is there a mistake in my file?

I´m using v2.11.43 and Win XP.

This is my solution that doesn´t work (in the header block):

title = \markup { \normal-text { \override #'(font-name . Day Roman) {
\bold { Title 
subtitle =  \markup {  \override #'(font-name . Day Roman)  \override
#'(font-shape . 'italic) { Subtitle }}

Thank you in advance for all help,
coffer.

--
View this message in context:
http://www.nabble.com/%5Cmarkup-in-header-tp16667439p16667439.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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

  




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





  


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


OCR to lilypond

2008-04-14 Thread Rick Hansen (aka RickH)

I've used just about every notaion program that exists, but I still like to
just write out my sheets on staff paper with a pencil prior to entering the
data into a formal notaion software like lilypond or whatever.

It would be wonderful if I could generate lilypond source code from a
hand-written staff initially, then go back and tweak it in code.  After all,
all the information is there on the page, it just needs to be interpreted.

Is anyone aware of any commercial program, dll, or open source projects that
are working on music OCR that would have the potential to (one day) be used
to generate lilypond source code?  Preferably open source.


-- 
View this message in context: 
http://www.nabble.com/OCR-to-lilypond-tp16678797p16678797.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: OCR to lilypond

2008-04-14 Thread James E. Bailey


Am 14.04.2008 um 17:50 schrieb Rick Hansen (aka RickH):



I've used just about every notaion program that exists, but I still  
like to
just write out my sheets on staff paper with a pencil prior to  
entering the

data into a formal notaion software like lilypond or whatever.

It would be wonderful if I could generate lilypond source code from a
hand-written staff initially, then go back and tweak it in code.   
After all,
all the information is there on the page, it just needs to be  
interpreted.


Is anyone aware of any commercial program, dll, or open source  
projects that
are working on music OCR that would have the potential to (one day)  
be used

to generate lilypond source code?  Preferably open source.


--
View this message in context: 
http://www.nabble.com/OCR-to-lilypond-tp16678797p16678797.html
Sent from the Gnu - Lilypond - User mailing list archive at  
Nabble.com.




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


Funny you should think of it that way, the last two scores I've done,  
I've actually written not on normal staff paper, but on notebook paper  
in lilypond code, a kind of hybrid between seeing several staves and  
having the lilypond code. It makes translating to lilypond code a bit  
easier, because, at least for the input things, I'm thinking about how  
it's going to be in lilypond. While I'm sure this could be very easily  
read and translated by OCR software and used by lilypond's parallel  
music option, if a change needed to be made to just one staff, or if  
you wanted to extract music for parts, it would be pretty involved.



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


Re: OCR to lilypond

2008-04-14 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 14. April 2008 schrieb Rick Hansen (aka RickH):
 I've used just about every notaion program that exists, but I still like to
 just write out my sheets on staff paper with a pencil prior to entering the
 data into a formal notaion software like lilypond or whatever.

 It would be wonderful if I could generate lilypond source code from a
 hand-written staff initially, then go back and tweak it in code.  After
 all, all the information is there on the page, it just needs to be
 interpreted.

 Is anyone aware of any commercial program, dll, or open source projects
 that are working on music OCR that would have the potential to (one day) be
 used to generate lilypond source code?  Preferably open source.

Well, hand-written scores are not (well or at all) supported by any OMR 
application that I'm aware of. With printed scored, I have had the best 
results with SmartScore, but I have no idea how well or if at all it 
understands hand-written scores.

If you find any OMR application, that exports to MusicXML (SmartScore or 
Audiveris do), you can then use musicxml2ly to convert the MusicXML file to 
lilypond...

Cheers,
Reinhold

- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung Jung-Wien, http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIA4yOTqjEwhXvPN0RAkFqAKC6Kov9lUPo911BcOc7cXQr5AYzcQCbBW2v
nPYRqcdGjvQvRTpAxWiE1ow=
=Y8/q
-END PGP SIGNATURE-


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


Re: OCR to Lilypond

2008-04-14 Thread Tim Reeves
Finale and Sibelius have OCR plugins or addons, and I've used one of them 
as a demo (I'm 99.9% sure it was Sibelius) and it was atrocious. It would 
take longer to fix all its mistakes than it would to just enter your music 
from scratch, I think. Maybe the version you buy is better than the demo 
but I doubt it. I can't imagine anyone buying it after using the demo!
Myriad (the makers of Harmony Assistant) have a program called 
PDF-to-Music that does pretty well, but then you're stuck with the file in 
their closed-source format.
I'd be interested to know of a non-proprietary music OCR program as well. 
Good luck.

Tim Reeves


 Message: 6
 Date: Mon, 14 Apr 2008 08:50:40 -0700 (PDT)
 From: Rick Hansen (aka RickH) [EMAIL PROTECTED]
 Subject: OCR to lilypond
 To: lilypond-user@gnu.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 
 
 I've used just about every notaion program that exists, but I still like 
to
 just write out my sheets on staff paper with a pencil prior to entering 
the
 data into a formal notaion software like lilypond or whatever.
 
 It would be wonderful if I could generate lilypond source code from a
 hand-written staff initially, then go back and tweak it in code.  After 
all,
 all the information is there on the page, it just needs to be 
interpreted.
 
 Is anyone aware of any commercial program, dll, or open source projects 
that
 are working on music OCR that would have the potential to (one day) be 
used
 to generate lilypond source code?  Preferably open source.
 
 ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


beam everything together inside a 4/5 sixteenth tuplet

2008-04-14 Thread padovani

when I run this..

\relative c' {
\times 4/5 {c16[  d e8.]}}

I don't get the two first sixtenths beamed together...

How do I beam everything inside that tuplet together?



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


solved - Re: beam everything together inside a 4/5 sixteenth tuplet

2008-04-14 Thread padovani

\relative c' {
\times 4/5 {c16[ \set stemLeftBeamCount = #2 \set stemRightBeamCount = 
#1 d  e8.]}}


padovani escreveu:

when I run this..

\relative c' {
\times 4/5 {c16[  d e8.]}}

I don't get the two first sixtenths beamed together...

How do I beam everything inside that tuplet together?



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





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


Re: OCR to Lilypond

2008-04-14 Thread fiëé visuëlle

Am 2008-04-14 um 19:41 schrieb Tim Reeves:
Myriad (the makers of Harmony Assistant) have a program called PDF- 
to-Music that does pretty well, but then you're stuck with the file  
in their closed-source format.


They've also OMeR as standalone music OCR, but it saves only in  
Myriad's MUS format (used by Melody and Harmony Assistant).
When I tried it, the music input was usable, but it couldn't import  
lyrics. And I'm rather sure it wouldn't reckognize handwriting.

Harmony Assistant can export to MusicXML. I never tested that, though.

See http://www.myriad-online.com/en/index.htm


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)




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


Re: OCR to Lilypond

2008-04-14 Thread fiëé visuëlle

Am 2008-04-14 um 21:27 schrieb fiëé visuëlle:

Am 2008-04-14 um 19:41 schrieb Tim Reeves:
Myriad (the makers of Harmony Assistant) have a program called PDF- 
to-Music that does pretty well, but then you're stuck with the  
file in their closed-source format.


They've also OMeR as standalone music OCR, but it saves only in  
Myriad's MUS format (used by Melody and Harmony Assistant).
When I tried it, the music input was usable, but it couldn't import  
lyrics. And I'm rather sure it wouldn't reckognize handwriting.

Harmony Assistant can export to MusicXML. I never tested that, though.

See http://www.myriad-online.com/en/index.htm


Sorry, I overlooked there's also PDF-to-Music Pro that directly  
exports MusicXML:

http://www.myriad-online.com/en/products/pdftomusicpro.htm

But it's only suitable if you've scores in (vector) PDF, not for your  
handwritten stuff.



Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)




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


Orchestra file template?

2008-04-14 Thread Eric Hedekar
Just curious if there's a place to find lilypond templates, particularly one
for an orchestra score?  I'm having too many errors while trying to program
my own layout with partcombine and staffgroup not getting along with one
another.  Thanks.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OCR to Lilypond

2008-04-14 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 14. April 2008 schrieb Tim Reeves:
 Finale and Sibelius have OCR plugins or addons, and I've used one of them
 as a demo (I'm 99.9% sure it was Sibelius) and it was atrocious. 

Yes, I also tried a few. But SmartScore Pro produces really good results (of 
course depending on the image resolution). If your imag has only four pixels 
or so between the lines of each staff (which means that the beams of the 16th 
notes are basically only one fat beam; I've tried such a piece more or less 
successfull), then you'll have to do a lot of editing, but with 300dpi I got 
really good results.

 Myriad (the makers of Harmony Assistant) have a program called
 PDF-to-Music that does pretty well, but then you're stuck with the file in
 their closed-source format.

Note that for this you'll need a real PDF containing lines, curves, etc., not 
a PDF containing an image of the score!

 I'd be interested to know of a non-proprietary music OCR program as well.

Audiveris is the only usable open source OMR application that I know: 
https://audiveris.dev.java.net/

It still has it quirks and you'll have to do a fair amount of corrections, 
though.

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung Jung-Wien, http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIA7WnTqjEwhXvPN0RAjyhAKCo9lJtDy5y84Hf04OPfzvvbHi23wCgpmm4
EpHJMzpERmoobrsQLuWq8CI=
=FgKi
-END PGP SIGNATURE-


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


vertical braces in the lyrics - I'm stuck

2008-04-14 Thread Tim Litwiller
I am really stuck and would appreciate some help.  I have tried just 
about every which way there is and I apparently don't understand the 
concept here.


I am trying to enter braces at the beginning of the song.  I was 
suggested that they should go in the set stanza part of the lyrics and I 
agree with that. All the other place I tried it wants to use a note. 
See the hand drawn braces tying the 2 lines of each verse together?  
That is what I'd like to accomplish. There is a smple of the code at the 
bottom of this email







Ok, here is the first stanza of the first verse

stanzaOneOne = \lyricmode { \set stanza = 1. { Child, you're mine 
and I love you. Lend thine ear to what I say.
stanzaOneTwo = \lyricmode { \set stanza =   Child, I have no great 
-- er joy Than to have you walk in truth.






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


Re: GDP: Opinions sought on markup command snippets

2008-04-14 Thread Neil Puttock
Hi everybody,

I'd like to thank David and the two Trevors for their input on this issue.

I've decided to follow the approach of examples in isolation for the
majority of cases, plus fuller examples where warranted.

Once I've added a few snippets, we'll get a clearer idea of what's
likely to work best, so please don't hesitate to comment further once
I've started.

Regards,
Neil


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


Re: Metronome marks

2008-04-14 Thread Neil Puttock
Hi Alexander,

On 11/04/2008, Alexander Kobel [EMAIL PROTECTED] wrote:

  I think there's another drawback of the snippet.
  I had a very similar problem, trying to add marks like Moderato (* =
  63), yet using rehearsal marks at the same time for sectioning the piece.
  Problem is, Lily can't handle two RehearsalMark events on the same beat
  (don't know whether there's a workaround), so I wanted to use
  MetronomeMarks. Here's my snippet to do so; I suspect it should be
  fairly straightforward to modify to mimic the rhythmMark behaviour.

I hope you don't mind, but I've added your snippet to the LSR as
Adding a text indication to metronome marks. Unfortunately, it
doesn't work under 2.10, so it's waiting for LSR to move to 2.11 (and
the nod from Valentin to approve it).

  Of course it would be nice if the \tempo command would be run directly
  in \tempoChangeMarkup; however I'm running into type problems here.
  Is it possible to convert string-duration via Scheme? Else I always had
  to type
 \tempoChangeMarkup #foo #(make-duration 4) #120
  or am I wrong there?

There's a function in define-markup-commands.scm called
parse-simple-duration which will convert a duration string to a list.
You can then just use ly:make-duration to turn the list elements into
a duration:

#(use-modules (ice-9 regex))
#(define (parse-simple-duration duration-string)
  Parse the `duration-string', e.g. ''4..'' or ''breve.'', and return
a (log dots) list.
  (let ((match (regexp-exec (make-regexp
(breve|longa|maxima|[0-9]+)(\\.*)) duration-string)))
(if (and match (string=? duration-string (match:substring match 0)))
(let ((len  (match:substring match 1))
  (dots (match:substring match 2)))
  (list (cond ((string=? len breve) -1)
  ((string=? len longa) -2)
  ((string=? len maxima) -3)
  (else (log2 (string-number len
(if dots (string-length dots) 0)))
(ly:error (_ not a valid duration string: ~a) duration-string

#(define (string-to-duration duration)
  (let ((parsed (parse-simple-duration duration)))
  (ly:make-duration (car parsed) (cadr parsed)))
 )

I think the main problem is how to set tempoWholesPerMinute, unless
you're not bothered about MIDI output.

Regards,
Neil


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


[ANN]: LilyKDE 0.5.1 released

2008-04-14 Thread Wilbert Berendsen
Hi all,
LilyKDE 0.5.1 has been released, fixing the menu actions that did not work on 
some setups. Also added a new French translation by Valentin Villenave (many 
thanks!) and an updated Turkisch translation by Server Acim (thanks as well!)

LilyKDE is for you if you use LilyPond and have KDE. LilyKDE consists of:
- Kate plugin: run LilyPond, preview, hyphenate lyrics, input MIDI with Rumor
- Konqueror service menu and textedit service to make point-and-click work.

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


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


Re: Metronome marks

2008-04-14 Thread Neil Puttock
Hi Risto,

On 12/04/2008, Risto Vääräniemi [EMAIL PROTECTED] wrote:
 On 12/04/2008, Alexander Kobel wrote:

I think there's another drawback of the snippet.
I had a very similar problem, trying to add marks like Moderato (* =
63), yet using rehearsal marks at the same time for sectioning the piece.
Problem is, Lily can't handle two RehearsalMark events on the same beat
(don't know whether there's a workaround), so I wanted to use
MetronomeMarks.


 Sounds familiar. :-) I got around the simultaneous RehearsalMark
  limitation by using invisible measures. My dirty trick is attached
  below. This time it worked but there might be situations, when it
  doesn't.

I've taken the liberty of adding your snippet to the LSR as Creating
simultaneous rehearsal marks. Like Alexander's snippet, it works
better under 2.11, so it's also waiting for an LSR version change.

I've removed the extra-spacing-width overrides, since they're the
default setting for RehearsalMark.

Regards,
Neil


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


Re: vertical braces in the lyrics - I'm stuck

2008-04-14 Thread Neil Puttock
Hi Tim,

On 14/04/2008, Tim Litwiller [EMAIL PROTECTED] wrote:
 I am really stuck and would appreciate some help.  I have tried just about
 every which way there is and I apparently don't understand the concept here.

  I am trying to enter braces at the beginning of the song.  I was suggested
 that they should go in the set stanza part of the lyrics and I agree with
 that. All the other place I tried it wants to use a note. See the hand
 drawn braces tying the 2 lines of each verse together?  That is what I'd
 like to accomplish. There is a smple of the code at the bottom of this email

Since you want a fetaBraces markup after the stanza number, you'll
have to \set stanza outside \lyricmode; see section 2.1.4.2 Adding
dynamics marks to stanzas, which should provide you with some
inspiration for rearranging your file.

Regards,
Neil


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


Re: Metronome marks

2008-04-14 Thread Graham Percival
On Mon, 14 Apr 2008 22:42:40 +0100
Neil Puttock [EMAIL PROTECTED] wrote:

 I hope you don't mind, but I've added your snippet to the LSR as
 Adding a text indication to metronome marks. Unfortunately, it
 doesn't work under 2.10, so it's waiting for LSR to move to 2.11 (and
 the nod from Valentin to approve it).

Please add it to input/new/, then.  That's exactly what it's for,
and this way it'll appear in the lilypond Snippet lists.  Also,
this gives us a nice collection of items to add when LSR moves to
2.11.

Cheers,
- Graham


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


Re: vertical braces in the lyrics - I'm stuck

2008-04-14 Thread Timothy C Litwiller

Neil Puttock wrote:

Hi Tim,

On 14/04/2008, Tim Litwiller [EMAIL PROTECTED] wrote:
  

I am really stuck and would appreciate some help.  I have tried just about
every which way there is and I apparently don't understand the concept here.

 I am trying to enter braces at the beginning of the song.  I was suggested
that they should go in the set stanza part of the lyrics and I agree with
that. All the other place I tried it wants to use a note. See the hand
drawn braces tying the 2 lines of each verse together?  That is what I'd
like to accomplish. There is a smple of the code at the bottom of this email



Since you want a fetaBraces markup after the stanza number, you'll
have to \set stanza outside \lyricmode; see section 2.1.4.2 Adding
dynamics marks to stanzas, which should provide you with some
inspiration for rearranging your file.

Regards,
Neil
  

Thanks for that pointer - that is what I was missing
so here is what I ended up with - it isn't exact - the brace could be a 
little more bold and if I make it
reach all the way across both line it makes the song not fit one page 
any more so it is a little bit on the short side



leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup 
#brace105 }


stanzaOneOne = {
 \set stanza = \markup { 1.  \leftbrace } 
 \lyricmode { Child, you're mine and I love you.

   Lend thine ear to what I say.
   ...
 }
}

stanzaOneThree =  {
%  \set stanza = \markup {}
 \lyricmode { Child, I have no great -- er joy
   Than to have you walk in truth.
...
 }
} 



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


Re: In octaves

2008-04-14 Thread Jay Anderson
 bassnotes = { c16 d e f g c bes a g es fis a g es r8 }
 
 \new Voice 
   \clef bass
   \relative c,, \bassnotes
   \relative c, \bassnotes
 

This doesn't quite work for everywhere I want to use it.

I want to be able to keep the music inline with the other non-octave music
section. So I want syntax like {c d e f \octaves {c d e f} c d e f}.

When I was trying the   approach dynamic marks were duplicated and
simultaneous notes weren't combined into chords. It's close, but not quite what
I want.

Thanks!

-Jay



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