Re: Linux question

2008-12-20 Thread M Watts

Rob Canning wrote:

Ralph Palmer wrote:

Hi -

I realize this is marginally on topic, and I apologize if it causes 
anyone distress.


i think this is on topic as many users might be interested in 
GNU/Linux environments which are lilypond friendly - so i post back to 
list too :)
Indeed so; it's always interesting to hear what apps, environments, 
settings etc. others use.
I'm currently a Windows XP user. I would like to mount Linux on an 
old (circa 2002) Dell laptop my daughter is going to pass along to 
me. I've narrowed my choices to Ubuntu, Kubuntu, or Debian (a distant 
third).
I'm currently running Fedora 10 on a Compaq nc8000 (circa 2003) -- 
installation went flawlessy, and everything works out of the box, except 
for the fn key combo to enter presentation mode.  But's that's soon 
rectified by assigning a keyboard shortcut to an xrandr command.


If you're looking at Ubuntu for your first distro, you can't go far 
wrong.  If you're into making music with computers, Linux is a great 
choice, because of its freedom in both senses (beer and speech).  
There's a specialised audio distro called Ubuntu Studio, which, like 
Puredyne, comes ready to go with a realtime-enabled kernel and a heap of 
great apps to get started, including the JACK sound server, which allows 
you to route audio and midi data to and from any jack-aware app any way 
you want.

ok so i am biased as i am a developer of puredyne

http://puredyne.goto10.org

its debian based with a focus on audio / visual work
it is a combination of the debian repositories along with the debian 
multimedia repositories and our own puredyne repositories.
I use Fedora with the RPM Fusion, Planet CCRMA, and separate Compiz 
repositories.  The great thing about Free software is that you find a 
system and setup that you feel comfortable with, and more importantly, 
one that actually works with your hardware.


if you do a "full install" you can just add lilypond with

aptitude install lilypond

or install using the lilypond installer for the latest 2.11 version
To get back on topic, CCRMA was using lilypond 2.10.33 until very 
recently, so I've been using the lilypond installer for the latest 2.11 
version from lily's website.  I use gedit for typing up lilypond files, 
and evince for viewing, but I print from the commandline with lpr, 
because I find it easier and faster than clicking through dialog boxes.


There's also LilyKDE, which integrates several KDE apps into a 
user-friendly lilypond environment, and LilyPondTool, which also 
provides a complete environment.


Of course, power users will continue to stick with Emacs or Vi, but I've 
no wish to discuss the merits of one vs the other ;)


we will have a dvd version in the next release and this will include 
lilypond and all the lilypond extensions we can get our hands on - as 
a lilypond user and a puredyne developer i have a strong interest in 
making this a super nice environment for lilypond users. - there is 
also a live version which runs off usbsticks or cd which makes in nice 
for workshops etc.


its super light so works well on old machines - it uses the xfce4 
desktop as part of its lightweight ethos but if you want to bloat your 
system and add kde or gnome thats easy as
Xfce is indeed a great environment -- it makes old boxes usable, and 
fast boxes faster.  If you're coming from windows, the first thing you 
notice is the sheer configurability of the various desktops -- you can 
have various panels, launchers, taskbars etc. anywhere you want, or not 
at all -- after all, real geeks only use runlevel 3, right?


aptitude install yourfavoritewindowmangerhere

as its debian (lenny) based.

good luck

rob c


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



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


Re: 2 muisc + tablature in 2 staves

2008-12-21 Thread M Watts

Grateful Frog wrote:

Thanks for that bit!

I'm sorry if I'm asking so many noobie questions, but my question is 
not so much about the chords, but about the notes.


In the example below, you see that I have to type the same notes in 
both staves, i.e. c2 c2 g'4 g4 g4 g4 d1.
I'm trying to find a way of replacing that by a single definition of 
the notes. Any ideas?


You don't have to type the duration all the time -- lily remembers the 
last-entered duration until you change it, so you can just do: c2 c g4 g 
g g d1 etc.


mychords = \chordmode { c1:7sus4 r1 d1 }
cSevenSusFour = ^\markup \fret-diagram-terse #"x;5;5;5;x;x;"
gMajor = ^\markup \fret-diagram-terse #"3;5;5;4;3;3;"
<<
  \new ChordNames { \mychords }
  \new Staff \relative c' {
c2  \cSevenSusFour c2
g'4 g4 g4 g4
d1 \gMajor
  }
  \new TabStaff  \relative c'{
c2 c2
g'4 g4 g4 g4
d1
  }
>>

In all events, THANKS for all the help!
GF
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: beam settings

2008-12-22 Thread M Watts

Reinhold Kainhofer wrote:

 \set Score.beatGrouping = #'(1 1 1 1 1 1)
 
This is way easier than using several lines like: 
#(override-auto-beam-setting '(end * * 6 8) 1 8) or similar.


Also if you need to switch the tuplet numbers on and off a lot, you 
could make a shorthand for it, like


numberOff = \override TupletNumber #'stencil = ##f

numberOn = \revert TupletNumber #'stencil


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


Re: question about transposing an interval of a 4th

2008-12-24 Thread M Watts

Tim Reeves wrote:



> Umm... yeah.  The fact that he thinks this answers the question
> gives me *less* confidence that he knows what he's talking about.
> If he wanted it a perfect fourth lower, then \transpose does the
> job.  And normally when somebody says "a fourth lower", they mean
> a perfect interval.  If he wants it a variable fourth lower, then
> it's not doable without scheme.
>
> - Graham

Yes, a variable fourth, if you want to call it that - you finally got it.
This is like the not-so-helpful answer "You can't get there from here."
It just took about 20 messages to get to that conclusion.


Actually, there is a way, but it's just something to muck around with, 
and takes a lot longer than scrawling stuff by hand on a sheet of ms paper.


Mididings, the python-based midi router from 
http://das.nasophon.de/mididings/, includes a 'diatonic harmonizer', 
which allows you to add or substitute a harmony line at a specified 
interval from the notes being played, with respect to the home key.


So you could:

1) download & install mididings

2) save the following as test.py

# start of file
# harmonizer.py - example usage of the diatonic harmonizer
#

from mididings import *
from mididings.extra import Harmonize

# substitute a fifth above each note played -- equivalent to a fourth 
below, this only works upwards --, based on the D Major scale

run(
   Harmonize('d', 'major', 'fifth')
)
# end of file

3) start Jack

4) run python ./test.py

5) connect a (virtual) midi keyboard to mididings input; connect 
mididings output to a recorder or sequencer app capable of saving a midi 
file


6) run midi2ly on the resulting file


Merry Christmas!


Ditto.



___
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: Season's Greetings

2008-12-25 Thread M Watts

Walter Hofmeister wrote:
I just want to wish this list all the best for the Holiday Season and 
the new year. 


I second that -- Happy Christmas to all

Thanks for all the help that has been offered throughout the year.


People on this list who generously give their time to solve problems 
help not only the person who asked, but also other readers, who thereby 
have problems solve before they arise -- doubly good, so thanks everyone.


___
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: Issue 714 in lilypond: let the .ly file specify the output filename

2008-12-28 Thread M Watts



2. Could I ask the developers that maybe this should be implemented as

/outputfile "" 


As the name is likely to get used for the graphical score out .pdf, .png etc.
and will probably also be used as the name for the .mid(i) file outputs.

Or would you want to do this with properties, e.g.

/layout {

outputfile = "foo"

}

/midi {

outputfile = "bar"

}
  


Sorry to be pedantic, but any solution would use backslashes (\) , not 
forward ones (/) :)


Just my 2p worth,

Cheers,

Ian

P.S. is there any way I could contribute to Lily if I only have a Windows only
system, or do you have to run Linux to be a grown-up Lily developer?
  


No prima facie reason why not, but Lilypond uses the git versioning 
system, which can be tricky to get running on Windows, or so I'm told.



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


Re: Diatonic/modal transposition function

2008-12-28 Thread M Watts

John Mandereau wrote:

Hello,
This email is a follow-up to
http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00591.html
I started a new thread because I'm finally not sure whether the code
below answers the initial question.

I finally managed to write, debug, clean up and document diatonic
transposition functions.  Here is the full code with some examples
below.  There are two end-user functions, the generic modeTranspose and
a shortcut diatonicTranspose.

[...]

This is very fine piece of work; way better than the "loud and inelegant 
workarounds" suggested on that other thread.


Thanks again.


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


Re: midi keyboard input

2008-12-31 Thread M Watts

Laura Conrad wrote:

(This is in Ubuntu 8.10 linux.)

I can use midi-input-mode in emacs to enter lilypond notes with my
left hand, and the durations on the numeric keypad with my right hand.

I can set up qsynth with jackd so that I get audio for the notes I
play on the MIDI keyboard.

But if I have the notes set up to sound, they don't get into the emacs
buffer, and vice versa.

I have done some playing with qjackctl and midi-thru and such, and
have not stumbled on a solution that would allow me to both see the
lilypond in the emacs buffer and hear the notes I play.

Can anyone give me a hint?
  
Is midi-input-mode aware of jack?   Sounds (no pun intended) like you 
need the emacs mode to create a midi input port so that you can connect 
your midi keyboard to it via jack, as well as to qsynth.


Unfortunately, the link to Hans Lub's site (author of midi-input mode) 
from linux-sound.org is dead http://utopia.knoware.nl/~hlub/uck/software/

I know there are several other ways to use a MIDI keyboard for
lilypond input; I have tried some of the others, and this was the
first one I managed to get working.  If nobody knows the answer to
this specific question, but does have some other way to use a MIDI
keyboard to both see lilypond and hear audio output, I'd be glad to
hear about specifics.
  
There's always rosegarden, the all-singing, all-dancing midi sequencer, 
which includes lilypond output, both as .ly and .pdf -- it should be in 
Ubuntu repositories.


Rosegarden's lilypond output is usually better than the hamfisted method 
of recording a midi file with a non-lilypond aware app, and processing 
the file with midi2ly.


Hydrogen (drum machine) also includes lilypond output.


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


Re: save generated files to a separate directory

2008-12-31 Thread M Watts

Francisco Vila wrote:

2008/12/31 chip :
  

Thanks. One more question - what do you use for your .pdf reader? I've tried
close to a dozen different readers and only one has a reload option, but it
lacks a status bar at the bottom of the window (therefore no line numbers
when mousing over the notes).



On Windows, my best option so far has been GhostScript/GSView on the
PS  files, not PDFs. The good thing is that you do not need to close
the window to allow LilyPond to rewrite the file.
  

Sumatra is a GPLed pdf reader for windows
http://blog.kowalczyk.info/software/sumatrapdf/

It's fast and lightweight, and is also available as part of the 
PortableApps.com flashdrive bundle.




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


Re: midi keyboard input

2008-12-31 Thread M Watts

Dave Phillips wrote:

M Watts wrote:

> Unfortunately, the link to Hans Lub's site (author of midi-input mode)
> from linux-sound.org is dead 
http://utopia.knoware.nl/~hlub/uck/software/


A moment with Google and we find this updated URL:

   http://utopia.knoware.nl/~hlub/uck/rlwrap/

I searched for "hans lub midi".

Best,

dp


Ah, thanx dp -- I searched for hans lub emacs, but didn't see it :">

A moment spent in the next directory up -- 
http://utopia.knoware.nl/~hlub/uck/ -- won't find the /rlwrap directory 
even though it's on that server.


In any case, the download link is currently returning a 404, so I can't 
test it out right now.

http://utopia.knoware.nl/~hlub/uck/rlwrap/midi-input-0.04a.tgz


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


Re: change temporarily to custom clef

2008-12-31 Thread M Watts

Trevor Daniels wrote:

Alternatively, Notation Reference 5.5.3 Modifying stencils, might
be even closer to what you want.

Trevor

- Original Message - From: "Orm Finnendahl" 


To: 
Sent: Wednesday, December 31, 2008 10:56 AM
Subject: change temporarily to custom clef



Hi,

in contemporary music sometimes unusual "Clefs" are temporarily used
within a piece (for example for string instruments clefs where notes
indicate the contact point of the bow between fingerboard and bridge).

I guess for designing custom clefs one has to define a custom font but
I wonder whther there is another less complicated way by making a clef
temporarily transparent and putting some Postscript Markup in its place.



You can use Inkscape or whatever to design a single glyph -- no need to 
worry about a whole font.  Inkscape has an option to save as .ps, which 
can then be imported into Lilypond.


There was a thread a while ago about getting the old style bass clef, 
dealing all the postscript jazz.


http://lists.gnu.org/archive/html/lilypond-user/2008-02/msg00510.html

http://lists.gnu.org/archive/html/lilypond-user/2008-02/msg00563.html



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


Re: warning: barcheck failed at: -5/8... but... WHERE?

2009-01-01 Thread M Watts

Alberto Simões wrote:

Hello

I am having a strange error about barchecks.
Current version of the document is at
http://eremita.di.uminho.pt/~ambs/piano+voz.ly

(please select in the browser encoding as utf8).
  


I just did a quick wget for your file.  I get similar errors in 
different places, so you must have edited the file since posting your 
message.

If anyone can help, I would appreciate.
My output follows bellow.

Thank you
Alberto

--
GNU LilyPond 2.12.1
Processing `piano+voz.ly'
Parsing...
Interpreting music... [8]
piano+voz.ly:61:32: warning: barcheck failed at: -5/8
a4. a8 gis4 fis|
piano+voz.ly:62:32: warning: barcheck failed at: -5/8
e2 ~ e8[ dis] cis[ dis]
|
piano+voz.ly:92:30: warning: barcheck failed at: -5/8
cis8[ b] cis4 b4 a4 ~
  |
piano+voz.ly:93:30: warning: barcheck failed at: -5/8
fis2 b4 b4
  |
Preprocessing graphical objects...
Interpreting music...
piano+voz.ly:61:32: warning: barcheck failed at: -5/8
a4. a8 gis4 fis
|
piano+voz.ly:62:32: warning: barcheck failed at: -5/8
e2 ~ e8[ dis] cis[ dis]
|
piano+voz.ly:92:30: warning: barcheck failed at: -5/8
cis8[ b] cis4 b4 a4 ~
  |
piano+voz.ly:93:30: warning: barcheck failed at: -5/8
fis2 b4 b4
  |
  
These errors occur immediately before where you've tried to use two 
\partial commands to create the split bar in bar 7.


The docs warn against this -- 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-rhythms#index-partial-measure


"The \partial command is intended to be used only at the beginning of a 
piece. If you use it after the beginning, some odd warnings may occur. "


It's better to simply write a normal bar, with a double barline drawn 
down the middle.





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


Pdf Toolkit on Fedora 9 and 10

2009-01-03 Thread M Watts
Pdf Toolkit (http://www.pdfhacks.com/pdftk/) is a handy commandline tool 
for manipulating pdfs.  It's useful for extracting pages from 
Lilypond-generated pdfs; adding pretty titlepages made with (ahem) other 
apps; inserting the odd page of real Lilypond output into pdfs made with 
OOo; and altering pdf metadata, among other things.


It's no longer included in Fedora because of a licensing issue, and 
hasn't made its way into the RPM Fusion repo.  The last rpm from 
Fedora's repo won't install on Fedora 9 or 10, but it can be 
successfully rebuilt as follows:


wget 
http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Everything/source/SRPMS/pdftk-1.41-5.fc7.src.rpm


yum install gcc-java

rpmbuild --rebuild pdftk-1.41-5.fc7.src.rpm

(takes a while)

Then on Fedora 9 do:
rpm -ivh /usr/src/redhat/RPMS/i386/pdftk-1.41-5.fc9.i386.rpm

or on Fedora 10:
rpm -ivh /root/rpmbuild/RPMS/i386/pdftk-1.41-5.fc10.i386.rpm

Hope this is useful to someone.



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


Re: using Ramdisk

2009-01-04 Thread M Watts

Thomas Fehr wrote:

Hi

I'd like to use Lilypond in an interactive music learning program 
where short response times are needed.  I think running Lilypond on a 
ramdisk could help. Does anyone know how to do that?


- Thomas
Working on Lilypond files in a ramdisk (which is not exactly what you 
asked for) sure saves a lot of disk thrashing -- helpful when you make a 
lot of mistakes, and have to run and rerun and rerun Lilypond on the 
same file, like me.


Assuming you run Linux, you already have around 16 ramdisks, though 
they're not activated by default.  See them with:


ls -lh /dev/ram*

Create a 16 MB ramdisk with

mkfs -t ext3 -q /dev/ram1 16384

Mount it with

mkdir -p /home/user/desktop/ramdisk
mount /dev/ram1 /home/user/desktop/ramdisk -o defaults,rw

modifying "/home/user/desktop" to suit your system/preferences.

To do this automatically when you power up your machine, add these lines 
to /etc/rc.local:


/sbin/mkfs mkfs -t ext3 -q /dev/ram1 16384
/bin/mount mount /dev/ram1 /home/user/desktop/ramdisk -o defaults,rw
/bin/chown user:root /home/user/desktop/ramdisk
/bin/chmod 0750 /home/user/desktop/ramdisk


Whether you use ramdisks or not, you can increase harddisk performance 
by enabling the 'noatime' option in /etc/fstab.  Whenever you read a 
file, you system also performs a writing operation, to store the time of 
last access.  Disable this by opening /etc/fstab, look for you root 
filesystem, and change where it says 'defaults' to 'defaults,noatime', 
then reboot and enjoy faster computing.





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


Re: Missing petrucci-f clef (and other missing clefs)

2009-01-04 Thread M Watts

Michael Lauer wrote:

I don't know what Petrucci actually used.
  


Obviously, he used the latest stable release of Lilypond...;)


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


Re: using Ramdisk

2009-01-04 Thread M Watts

Thomas Fehr wrote:

Hi

I'd like to use Lilypond in an interactive music learning program 
where short response times are needed.  I think running Lilypond on a 
ramdisk could help. Does anyone know how to do that?


- Thomas



I mucked up part of my previous mail -- it should read:

To do this automatically when you power up your machine, add these lines 
to /etc/rc.local:


/sbin/mkfs -t ext3 -q /dev/ram1 16384
/bin/mount /dev/ram1 /home/user/desktop/ramdisk -o defaults,rw
/bin/chown user:root /home/user/desktop/ramdisk
/bin/chmod 0750 /home/user/desktop/ramdisk

Oops.



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


Re: Chord names with I, IV, V, etc.

2009-01-11 Thread M Watts

Geoffrey Prewett wrote:

Hi,

I've recently begun using lilypond to make lead sheets.  The songs I play
have a tendency to get transposed to different keys, depending on the situation,
so I would like to put the meta-chord (or whatever I, ii, IV, V, etc. are
supposed to be called) instead of the chord for a given key.  I assume that
I could do this by creating a custom chordRootNamer function, but I can't
find any examples on how to do that.  Are there any examples or documentation
I can look at?

Thanks,
Geoff Prewett
  



Try these posts:

http://lists.gnu.org/archive/html/lilypond-user/2007-11/msg00238.html

http://lists.gnu.org/archive/html/lilypond-user/2008-04/msg00127.html

and maybe thread starting here:

http://lists.gnu.org/archive/html/lilypond-user/2008-06/msg00196.html





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


Re: Long compilation times

2009-01-12 Thread M Watts

Cameron Horsburgh wrote:
I've noticed scores compile much quicker on much lower specced machines, 


Indeed so, my 32 bit 1.6Ghz with 512 meg ram takes 4 minutes 39 seconds 
-- no swapsies either.


>time lilypond score.ly
GNU LilyPond 2.12.1
Processing `score.ly'
Parsing...
Interpreting music... [8][16][24][32][40][48][56][64][72][80][88]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 or 2 pages...
Drawing systems...
Layout output to `score.ps'...
Converting to `./score.pdf'...
272.39user 2.29system 4:39.83elapsed 98%CPU (0avgtext+0avgdata 
0maxresident)k

8072inputs+1072outputs (32major+32982minor)pagefaults 0swaps


so I'm suspecting
something peculiar to my installation, but I don't know where to look.
  


Me neither :\  I used 2.12.1, but that wouldn't make much (or any) 
difference.



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


Re: Thin bars

2009-01-16 Thread M Watts

Fibonacci Prower wrote:

Hello,

Simply put, I find the default bars in lilypond too thick 


I find the "default bars", and other output, exactly the right weight 
when it's 3 feet away on my music stand!



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


Re: Trying to start once again...

2009-01-18 Thread M Watts

Michael Falkenburg wrote:


mich...@michael-desktop:~/Desktop$ lilypond 6_wheeled_cycle.ly
GNU LilyPond 2.12.1
Processing `6_wheeled_cycle.ly'
Parsing...
6_wheeled_cycle.ly:1:8: error: quoted string expected after \version
\version
   =2.12.1-1
6_wheeled_cycle.ly:1:9: error: syntax error, unexpected DIGIT
\version=
2.12.1-1
/home/michael/lilypond/usr/share/lilypond/current/ly/init.ly:63:30: 
error: syntax error, unexpected STRING

  (ly:parser-error parser (_
 "expected error, but none found"
error: failed files: "6_wheeled_cycle.ly" 



Lily is whinging because you put: \version=2.12.1-1

Try: \version "2.12.1"


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


Re: Markup from HTML

2009-01-20 Thread M Watts

Bertalan Fodor (LilyPondTool) wrote:

Hi,

does anyone of you have a script or a way to convert from (simple) 
html to markup like this:


This is a melisma.

To get:

\markup { "This is a " \concat { "me" \bold \italic "lis" "ma." } }



sed would do the job, but I'm too hazy on it to offer a solution.


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


Re: Ly to SVG

2009-01-25 Thread M Watts

Givaldo de Cidra wrote:

Hi,.

In version 2.10 I used the command line - convert ly to svg:

$ lilypond -b svg file.ly

But with the new version 2.12 I couldn't to convert.

Someone can help me?


Change the -b to -f.


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


Re: Why can't I post here using email

2009-01-28 Thread M Watts

Jonathan Kulp wrote:

I use Thunderbird and post to the list all the time without problems.


Me too -- it just works.  I take it the OP's problem is solved, because 
his message got through!



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


Re: Why a \score inside \markup doesn't allow breaks?

2009-01-29 Thread M Watts

Risto Vääräniemi wrote:

Hi again,

Has no-one else encountered this issue?


BR,

Risto

2009/1/21 Risto Vääräniemi :

  

I was wondering why a \score inside \markup doesn't allow breaks. If I
insert a \break everything after it is ignored. If I want to have a
multi-line piece inside a \markup I have to put multiple \scores in a
column. Is there another way?

-Risto



 start 
\version "2.12.1"

\markup
{
   \score
   {
   {c'1 c' c' c' \break c' c' c' c'}
   \layout {}
   }
}
 END 



Hmm, I can see how this could be annoying -- I guess \markup's ability 
to include a \score was originally intended for short phrases and 
alternative readings etc., although the docs provide an example of some 
length.

http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Music#Music

I've tried:
--
\version "2.12.1"

\markup
{
  \score
  {
  \new Voice \with { \remove Forbid_line_break_engraver } % 
intended for allowing \breaks at 'wrong' places in the bar

   { c'1 c' c' c' \break c' c' c' c' }
  \layout {}
  }
}

--

and

--
\version "2.12.1"

\markup
{
  \score
  {
  \new Staff {c'1 c' c' << c' { s1 \break } >>  c' c' c' c'}
  \layout {}
}
}
-

Terminal output insists that Lily's "Calculating line breaks... " but 
everything after \break is ignored in both cases. 






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


Re: Tagline in all pages

2009-01-29 Thread M Watts

Ezequiel Sierra wrote:

How can i place the tagline and copyright in all pages?


Mostly taken from LSR snippet 366 by John Mandereau:

-
\version "2.12.1"

\paper {

oddFooterMarkup = \markup {

 \with-url #"http://lilypond.org/web/";

 \fill-line{

   \center-column {

 \line { This piece copyright  #(ly:export (ly:wide-char->utf-8 
#x00A9)) MMIX by me }


 \line { "This score has been wonderfully engraved thanks to the 
awesome LilyPond"

 #(ly:export (lilypond-version))
 #(ly:export (ly:wide-char->utf-8 #x2014))
 "http://lilypond.org";
   }
 }
   }
 }
   }

{ c d e f \pageBreak c d e f \pageBreak c d e f \pageBreak }

--

If you don't define an evenFooterMarkup, the oddFooterMarkup is used on 
all pages. 
If you save your files with UTF-8 encoding, you can paste the copyright 
symbol straight in there.



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


Re: Persian accidentals

2009-01-29 Thread M Watts

Kees van den Doel wrote:

Is there any way to print the koron (60cents flat) and sori (40 cent sharp)?
I've defined these pitch alterations by modifying makam.ly but they should 
really
be printed according to the Persian notation.

koron = upside down flat, with a triangular body like |>
sori = like sharp but with the two horizontal lines angled to form a '>' sign.

Any suggestions appreciated, I'm prepared to do some hacking if required.


Maybe design a custom glyph in Inkscape, save as a postscript, then 
connect it to the results of your hacking so far.


There are a few threads about this type of thing, such as the one 
starting here:

http://lists.gnu.org/archive/html/lilypond-user/2008-02/msg00510.html

The file ly/arabic.ly might help too, which arose from users with 
similar needs to yours.



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


Re: Turning off shape notes

2009-01-29 Thread M Watts

Carl Peterson wrote:
I'm using shape notes in some music I'm writing. There is one part of 
the music that needs to be notated as spoken. However, when I apply 
the override code as given in the documentation, I only get shape 
notes. Is there some command that I have to put in to turn shape notes 
off?


Here's my code:

\relative c' {
\clef treble \key a \major \time 6/8 \autoBeamOff \aikenHeads
a4 b8 cis4 a8 gis8 gis a b4. \bar "" \break
b4 cis8 d4 b8 a a b cis4. \bar "" \break
cis4 d8 e4 cis8 d d e fis8 \bar "" \break
\override NoteHead #'style = #'cross a8 a a4. a4. a4. r4. \revert 
NoteHead #'style \bar ".|."

}


As \aikenHeads is a shortcut for a lengthy \set shapeNoteStyles command, 
you can use \set shapeNoteStyles = #'#(default) to get things back to 
normal.



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


Re: svg, inkscape, fonts

2009-01-30 Thread M Watts

Matthieu Jacquot wrote:

Hello,
I use the pdf2svg script and then load svg files in Inkscape, it works
pretty well...
  


Works well indeed -- all notes, lines, fonts etc. just as they were in 
the pdf, in my quick test anyway (Inkscape 0.46 on Fedora 10).


Trying to load Lilypond pdfs into 0.46 produces the helpful message: 
Inkscape has encountered an internal error and will now close.


There's an active thread on svg output direct from 2.12, so keep an eye 
on that.


Meantime, if you desperately need drop shadows under chord symbols, or a 
star-spangled banner issuing from a half-note, pdf2svg will do the job fine.

http://www.cityinthesky.co.uk/pdf2svg.html



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


Re: \once and shortcuts

2009-01-30 Thread M Watts

Nick Payne wrote:

Why is it that I can use, for example:

\once \override Slur #'direction = #DOWN

or

\once \override Slur #'direction = #UP

but

\once \slurDown or \once \slurUp

Generates a syntax error. The same happens with stemUp and stemDown, tieUp
and tieDown, etc.

I'm using 2.12.2.

Nick


I've only seen \once used with \override or \set -- some digging in the 
scm folder would probably reveal why.



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


Re: scheme - notes as variables

2009-01-30 Thread M Watts

Rob Canning wrote:
perl looks neat though "the swiss army chainsaw of languages" i heard 
it refered to as :)-
In this case, a Practically Elegant Realistic Language was better than a 
Scarcely Comprehensible Highly Eclectic Markup Enigma.



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


Re: svg, inkscape, fonts

2009-01-30 Thread M Watts

Francisco Vila wrote:

Great :-(
As pdf2svg uses poppler to convert pdf to svg, it suffers of the same
problem with Thick barlines as evince does, see attached png which is
a screenshot of inkscape editing a simple { c'1 c' \bar "|." }


As reported on another thread, Inkscape has a bug that won't display the 
barlines of svgs made via lilypond -dbackend=svg -- it's just one of 
those days!



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


Re: svg, inkscape, fonts

2009-01-30 Thread M Watts

Francisco Vila wrote:

Great :-(
As pdf2svg uses poppler to convert pdf to svg, it suffers of the same
problem with Thick barlines as evince does, see attached png which is
a screenshot of inkscape editing a simple { c'1 c' \bar "|." }


As reported on another thread, Inkscape has a bug that won't display the
staff lines of svgs made via lilypond -dbackend=svg -- it's just one of
those days!



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


Re: Installing Lilly pad

2009-02-02 Thread M Watts

William Yeater wrote:


we then typed in: sh lilypond-X.Y.Z.linux-x86.sh

We got the no such command.


Just type sh lil and press the TAB key -- the shell will complete the 
correct file name for you.



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


Re: libstdc++.so.6: version `GLIBCXX_3.4.9' not found

2009-02-04 Thread M Watts

Jonathan Kulp wrote:

wing wrote:

hi,

i am trying to run lilypond under some application. However, i got 
the following error:
lilypond: /usr/lib/mozart/platform/linux-i486/lib/libstdc++.so.6: 
version

`GLIBCXX_3.4.9' not found (required by lilypond)

Since i am a newbie on linux, i am not sure about what infomation is 
needed for

fixing this problem.

Here's some basic info may help
OS:  Linux 2.6.25.5-1.1-default i686
System:  openSUSE 11.0 (i586)
lilypond version: 2.10.33-73.1


hope lilyponders can help with this=)
thanks!

Best, wing.



Hi Wing,

I'm not sure what you mean by using Lilypond under some application.  
Do you mean you're using a graphical front end to Lilypond?  If so, 
then I don't know what to do.  If you're using Lilypond by itself, 
then proceed with following advice...


The first thing I would try is getting the newest version of Lilypond, 
which is 2.12.2-1.  This is a stable release.


http://lilypond.org/web/install/

I suspect that you got 2.10.33 from the Suse repository, and at the 
time it was probably the latest stable Lilypond.  2.12 is much better 
and it's worth installing for that reason (and for the much better 
documentation), but it might also fix this dependency problem.  If you 
installed Lilypond using the Suse package manager, be sure to remove 
it the same way before installing the new version.  To install the new 
version, download the installer script from the Lilypond site to your 
desktop, then use the command line:


cd ~/Desktop
sudo sh ./lil[tab]

(tab-complete the script's filename to be sure it's accurate)

Press enter, then type your password and it'll install.

HTH,

Jon


Follow Jonathan's advice and you can't go wrong.

I too am unsure of your meaning -- while you don't need to compile 
lilypond yourself, the error you report regarding libstdc++ is typical 
of missing header files, needed while compiling applications from source 
code.  This particular error could be solved by installing 
lidstdc++-devel from openSUSE's repository.  But again, it's not 
necessary to do that if you install lilypond via the above method.



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


Re: Tremolo / tuplet

2009-02-06 Thread M Watts

Zbyněk Burget wrote:

lilypond 2.10.33
(soory)


Perhaps that's the problem.

This works fine with 2.12.2 -- it shows the triplet number by default, 
so I think it does what you want.


\version "2.12.2"

test = {

   \relative c'' {
   c4-. \times 2/3 { \repeat "tremolo" 3 c8 } c4-. \times 2/3 { \repeat 
"tremolo" 3 c8 }

   }
 }

\score {
 \new Staff {
 \test
  }
}






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


Re: Bug with missing 16th lines

2009-02-06 Thread M Watts

Kieren MacMillan wrote:

Hi Maarten,


I'm posting this bug here


Not sure this can really be called a "bug"… your input syntax is 
somewhat confusing.
In particular, it looks like you want polyphony, but aren't actually 
coding polyphonic voices (which would require a \\).


Here is a possible modification which is actually valid polyphonic 
syntax:


\version "2.12"

\paper {
  ragged-right = ##t
}

\score
{
\new Staff
{
\set Staff.instrumentName = "Strange things"   
\relative c''

<<
{\voiceOne
as2 ~ as2
}  \\
{\voiceTwo
fis16 e16 d16 e16 ~ e4 ~ e2
}
>>
}
}



All beams in Kieren's example are printed correctly with 2.12.2 here on 
Linux.  The only 'problem' is the capital S of 'Strange things' falls 
off the edge of the page -- nothing a quick margin adjustment won't fix.



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


Re: songbook from Lily scores

2009-02-06 Thread M Watts

Francisco Vila wrote:

2009/2/6 Zoltan Kota :
  

I have been using Lily for a year now, and I have several music scores
as separate lily files. I would like to make a songbook including
them, with cover page, table of contents, correct page numbering, etc.
How should I start? What sectiones should I learn in documentation?
Lilypond-book? Any useful info and tips are welcome!



If your preferred system to produce documents is LaTex, go learn
lilypond.-book. You'll have a TOC and page numbering.

If all the scores span a single page maximum, inserting them as images
could be an option for word processors.

A third approach is to make multiple PDFs and pack  them together with
Adobe Acrobat or a free tool. A coherent numbering and an automatic
TOC would be much more difficult in this case.

  


If your needs aren't too elaborate, you could just write another 
LilyPond file with a bunch of \include lines and some additional 
header/footer information.


For lilypond-book, start here:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/LilyPond_002dbook#LilyPond_002dbook

Also search the list archives -- e.g. there are example .lytex and .ly 
files for use with lilypond-book attached to:

http://lists.gnu.org/archive/html/lilypond-user/2008-11/msg00347.html



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


Re: "ignoring between-system-padding"

2009-02-06 Thread M Watts

Tom Hall wrote:

Hello List

I have a generous between-system-padding = #6 for my score, but this gets
overriden when the pdf is created, with the following message:

warning: Can't fit systems on page -- ignoring between-system-padding

Is there a way to maintain the system padding I want, at the expense of how many
pages are required?


6 what?  I think you have to specify the measurment, like 
between-system-padding = #6\in



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


Re: Tremolo / tuplet

2009-02-07 Thread M Watts

Zbyněk Burget wrote:

Solved by upgrade to lily 2.*13*.2

Thanks all 



We'll expect some great bugfixes and cool new features from you then! ;)


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


Re: strange error message with tuplet

2009-02-07 Thread M Watts

Stefan Thomas wrote:

Dear lilypond-users,
when compiling one of my scores I get the following error message,
which I don't understand:

musik/musik_ab115.ly:63:16: warning: No tuplet to end
 s8\fp\<  s\f\>
\times 4/6 { s32*5\p\< s 32\!}  \pedtrem  s4...\ff
\startTextSpan s32 \stopTextSpan  }%lautleise 115-118
Why  there is no "no tuplet to end?


Not sure what that's about -- with 2.12.2, running your line as a 
minimal example produces warnings that the crescendi are too short, but 
that's all.


Using visible notes, not spacer notes, produces  error-free output here:

c4\fp\<  c\f\> \times 4/6 { c32*5\p\< c32\!} c4...\ff



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


Re: My solution to rhythmic slashes and midi playback

2009-02-07 Thread M Watts

Brian wrote:

Hope this helps somebody, I've been trying to get a system going for my slashes
and finally found something that works!


Good candidate for the LSR.


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


Re: Starting lyrics on measure 4

2009-02-07 Thread M Watts

Jonathan Klein wrote:
I am engraving a song which starts with three measures of 
instrumental before going into the first verse. How do I start the 
lyrics on measure 4?
 
Many ways to skin a cat -- if the vocal part is in a separate voice from 
the accompaniment, a simple \new Lyrics \lyricsto "vocal" or similar 
will just work.


Plenty of docs on lyrics:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Songs#Songs
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Vocal-music#Vocal-music 




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


Re: slashed six in chordmode

2009-02-08 Thread M Watts

James E. Bailey wrote:
Is there a way to get the slashed six from the figured bass mode into 
chordmode?


In your chordname exceptions, just use:

\markup { \slashed-digit #6 }

You might want to fiddle with the font / size to get it looking right.


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


Re: String number in a \markup

2009-02-08 Thread M Watts

David Stocker wrote:

Hi folks,

Is there a way to insert a string number into a \markup? What I need 
is to indicate a scordatura for a guitar piece like this:


\markup {
 \column {
   \line { \small "5 = G" }
   \line { \small "6 = C" }
 }
}

where the '5' and '6' are identical to their analogous string numbers 
(i.e. they are encircled)


In the Feta Font, these don't seem to by music-glyphs. Is there a 
reasonably easy way to call these within a \markup? are they glyphs 
from another font?




\markup {
\column {
  \line { \small \circle 5 "= G" }
  \line { \small \circle 6 "= C" }
}
}



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


[Fwd: Re: Starting lyrics on measure 4]

2009-02-08 Thread M Watts


--- Begin Message ---
Thanks. I had searched the manual but couldn't find what I was looking for. 
\skip worked just fine.
 -- 
Jonathan Klein 
Topline Strategy 
phone: (617) 312-4560 
fax: (781) 239-0640 
j...@toplinestrategy.com 
www.toplinestrategy.com 






From: M Watts 
To: Jonathan Klein 
Cc: lilypond-user@gnu.org
Sent: Saturday, February 7, 2009 8:55:24 PM
Subject: Re: Starting lyrics on measure 4

Jonathan Klein wrote:
> I am engraving a song which starts with three measures of instrumental before 
> going into the first verse. How do I start the lyrics on measure 4?
>  
Many ways to skin a cat -- if the vocal part is in a separate voice from the 
accompaniment, a simple \new Lyrics \lyricsto "vocal" or similar will just work.

Plenty of docs on lyrics:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Songs#Songs
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Vocal-music#Vocal-music
 
--- End Message ---
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Customized accidentals

2009-02-08 Thread M Watts

Kees van den Doel wrote:

This snippet:

http://lsr.dsi.unimi.it/LSR/Item?id=378

does not work as advertised; it prints both the normal accidentals and the 
custom postscript.
Any suggestions on what might be wrong? Also, how could I print custom symbols 
like this in the key signature?
  


Do you really need to do this with 2.12.2?  A quick look at 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font#The-Feta-font 
reveals that such accidentals are now available by default, e.g.:


\musicglyph #"accidentals.flat.slash"
\musicglyph #"accidentals.sharp.arrowup"
||


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


Re: yet another chord question

2009-02-09 Thread M Watts

Brett Duncan wrote:
Because c:9+ would be the chord  rather than dis>, so it doesn't match your chord definition.




Indeed; changing to  in the OP example works.



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


Re: chord symbols as plain text

2009-02-10 Thread M Watts

Tao Cumplido wrote:

Hi,

in the past I used to create chord symbols as plain text by just placing a 
Lyrics context above the staff used with an own font.
I don't like the way LP handles chordsymbols right now, nor do I like the font 
it uses.
The only thing I was missing in my way was the possibility to transpose the 
chord symbols. Now the thread started by Carl Sorensen some time ago made me 
get into scheme and write a function which makes this possible.
http://www.mail-archive.com/lilypond-user@gnu.org/msg44591.html

Well, I finally finished my function and wanted to share it here in case 
someone might find it useful. Thanks to Carl for all the great help.


A very impressive piece of work, with great looking output.  Thanks for 
sharing the font as well.


If one's needs are less elaborate, one can get a similar overall look 
for normal chords with


\layout {
   \context {
   \ChordNames
   \override ChordName #'font-family = #'roman   
   }



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


Re: Hello! and question about jazz chords

2009-02-10 Thread M Watts

Check the LilyPond Snippet Repository for chord name exceptions.

http://lsr.dsi.unimi.it/LSR/Item?id=459

It's basically a matter of pruning down the available information into a 
manageable example that does what you want.



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


Re: Hello! and question about jazz chords

2009-02-11 Thread M Watts

Tim McNamara wrote:
I have not been able to figure out how to get LP to print anything 
like a m7b5 or a 7#9 or a 7b9 using \chordmode.  This is difficult 
with a song like "Angel Eyes" which has a good half-dozen of these 
types of chords.  Currently I am writing in those extensions by hand 
because it's just the simplest solution.  Looking at the archives 
there seemed to be various solutions that seemed rather kludgy to me.  
It seems like I ought to be able to type something like d2:m7b5 and 
get that chord on the page.  

Minor seventh, flat fifth --  c:m7.5-
Seventh, sharp ninth -- c:7.9+
Seventh, flat ninth -- c:7.9-


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


Re: Hello! and question about jazz chords

2009-02-11 Thread M Watts

Tim McNamara wrote:


On Feb 11, 2009, at 6:11 AM, M Watts wrote:


Tim McNamara wrote:
I have not been able to figure out how to get LP to print anything 
like a m7b5 or a 7#9 or a 7b9 using \chordmode.  This is difficult 
with a song like "Angel Eyes" which has a good half-dozen of these 
types of chords.  Currently I am writing in those extensions by hand 
because it's just the simplest solution.  Looking at the archives 
there seemed to be various solutions that seemed rather kludgy to 
me.  It seems like I ought to be able to type something like d2:m7b5 
and get that chord on the page.

Minor seventh, flat fifth --  c:m7.5-
Seventh, sharp ninth -- c:7.9+
Seventh, flat ninth -- c:7.9-


I will try those, thank you very much!  page, which works just fine>  I would have never thought of separating 
chord extensions by dots.  Can multiple extensions be set that way 
(e.g., c:m7.5-.9+)?


Indeed, just add away -- c:m7.5-.9+ works fine.  If you don't like the 
actual markup used in the chord name, you can make an exception, as 
described in Carl's mail




I did not see anything like this in the documentation- did I miss it?


It is described here 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Chord-mode#Extended-and-altered-chords


(There is a *lot* of documentation and much of it has no direct 
bearing on what I am using LP for, so it's likely I've overlooked many 
things).


Yup -- LP is _the_ best documented project around.

Btw, please use your mail client's Reply All function, so that messages 
are cc-ed to the list.



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


Re: How can I let the ambitus engraver ignore the key signature?

2009-02-12 Thread M Watts

David Kastrup wrote:

Hi, the following is an excerpt from a systematic listing of accordion
chords with different ambitus.  The ambitus engraver should not heed the
first (arbitrary) key signature but rather engrave as though we were in
c major.

How do I do that?

  


I guess you discovered that if you try setting a key signature just for 
the ambitus, then changing it for the music, results in the amusing 
"warning: Two simultaneous key-change events, junking this one", which 
doesn't work.


One solution is to add this line to each \new Voice:

\override AmbitusAccidental #'(glyph-name-alist) = #'((0 . null) (-1/2 . 
null) (1/2 . null) (1 . null) (-1 . null))


The console spits out "warning: Could not find glyph-name for alteration 
-1/2" etc. etc., but it seems to do the job.



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


Re: Need information about Lyric spacing in Lilypond

2009-02-12 Thread M Watts

fzimmerman wrote:

Dave,

Thanks for the quick reply.  I have two other computers in the house that
have Windows on them (I run a home-based computer support business), so I
can use Sibelius on them if I have to...but I would rather switch to
Lilypond.  


A very wise choice indeed.  The place to start reading for lyrics is:

http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Vocal-music#Vocal-music

Lilypond's default spacing and alignment for lyrics is better than 
Finale and co., as described here

http://www.musicbyandrew.ca/finale-lilypond-3.html

Using Lilypond's \override, \set or \tweak commands, either on their 
own, or with \once, gives you complete control over where things go on 
your page.


By the way, my download link didn't seem to transfer properly. 
The file is on my website: http://www.practicatechnical.com.  Type that in

the browser address field and add /files/flowers.pdf.


Just put the whole link in and send as plain text -- most mail clients 
realise it's a URL, and will take you straight there.



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


Re: How can I let the ambitus engraver ignore the key signature?

2009-02-13 Thread M Watts

David Kastrup wrote:

David Kastrup  writes:

  

M Watts  writes:



David Kastrup wrote:
  

Hi, the following is an excerpt from a systematic listing of accordion
chords with different ambitus.  The ambitus engraver should not heed the
first (arbitrary) key signature but rather engrave as though we were in
c major.

How do I do that?

  


I guess you discovered that if you try setting a key signature just
for the ambitus, then changing it for the music, results in the
amusing "warning: Two simultaneous key-change events, junking this
one", which doesn't work.

One solution is to add this line to each \new Voice:

\override AmbitusAccidental #'(glyph-name-alist) = #'((0 . null) (-1/2
. null) (1/2 . null) (1 . null) (-1 . null))

The console spits out "warning: Could not find glyph-name for
alteration -1/2" etc. etc., but it seems to do the job.
  

Wouldn't that just leave off the accidentals from the ambitus?  That
would not be the desired effect.  The desired effect is to have
accidentals relative to C major.
I have not checked yet, but nulling the glyph-names would appear to have
this effect, or do I just not understand what is done here?  If the
latter, could you explain?



Actually, I have not been able to find a place in my posted example code
where the above incantation would cause either a change or a warning.

Hm.

  


I placed "the above incantation" immediately after the \clef bass lines, 
and ran your example code with 2.12.2.


It removes all accidentals from the ambitus -- I misunderstood :eek:

But to get the ambitus relative to C major, you'd need to have the first 
bar in C major, even if it's just invisible spacer notes,



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


Re: ugly .ps output

2009-02-13 Thread M Watts

François Labadens wrote:

I tried to use the .ps output, but it's not so good as the .pdf one. It's the
same thing under Windows XP or Ubuntu 7.10.
Do you have any solutions ?
It does look pretty grainy by itself, but it's used to produce a great 
looking pdf, so it shouldn't be a major worry.
What do you want to use the .ps files for?  LaTeX, or graphics work, or 
print outs...?





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


Re: Tweaking within markup

2009-02-14 Thread M Watts

Nick Payne wrote:

Is it possible? I want to put a parenthesized natural above some notes. If I
do it within a single markup, the natural sign is not aligned with the
parentheses, and I haven't found any simpler way to get them aligned except
by having the left parens, the natural, and the right parens each in their
own markup and tweaking each one individually. Is there a simpler solution
or not? Eg.


How about this?  (I only altered the first one)

\version "2.12.2"

\relative c'' {

16-\tweak #'extra-offset #'(-1.0 . 0)^\markup { \smaller{ ( \raise 
#'0.5 \smaller \musicglyph #"accidentals.natural" ) } }



   -\tweak #'extra-offset #'(-0.5 . -4.3)^\markup { ( }
   -\tweak #'extra-offset #'(0.5 . -1.8)^\markup { \teeny \musicglyph
#"accidentals.natural" }
   -\tweak #'extra-offset #'(1.3 . 0.8)^\markup { ) } 

}




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


Re: Tweaking within markup

2009-02-15 Thread M Watts

Mats Bengtsson wrote:
To avoid all trial-and-error to figure out the relevant parameters to 
\raise, I would propose the following alternative (which also gets rid 
of the extra horizontal spacing between the parenthesis and the 
accidental):
^\markup { \smaller \concat { \vcenter ( \vcenter \smaller \musicglyph 
#"accidentals.natural" \vcenter ) } }



In fact, you can simplify it even further into the following, which 
still gives the same layout:


^\markup { \smaller \concat { \vcenter ( \smaller \natural \vcenter ) } }


  /Mats



Ah, enlightenment.  This will be very useful in other situations too; thanx.


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


Re: How do I get initial grace note after time and key signatures?

2009-02-16 Thread M Watts

Jonathan Kulp wrote:
If you remove the \new voice from your Flute variable and put it in 
the \score block it will work: 


Indeed, Jonathan's code works fine here with 2.12.2.


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


Re: Cannot correctly code this rhythm...

2009-02-17 Thread M Watts

RandomLilyPondUser wrote:
http://www.nabble.com/file/p22066496/snip.png 




Can anyone draw this basic triplet rhythm in lilypond? The extra notation
(flams, rolls, etc) can be disregarded.

  


Try:

\version "2.12.2"

qBeam = {
   #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
   #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
   \set subdivideBeams = ##t 
   \set beatLength = #(ly:make-moment 1 16) 
}


\drums {
   \qBeam
   \time 3/4

sn8 sn8:32 ~ \stemDown \times 2/3 {toml16 sn toml} sn16. toml32 \times 
2/3 {sn16 toml sn} toml8


sn8 sn8:32 ~ \stemDown \times 2/3 {toml16 sn toml} sn16. toml32 \times 
2/3 {sn16 toml sn} toml8


}




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


Re: Cannot correctly code this rhythm...

2009-02-17 Thread M Watts

Mats Bengtsson wrote:

RandomLilyPondUser wrote:
http://www.nabble.com/file/p22066496/snip.png One more question - how 
do I make a staff with only one line with notes

above and below like that?

Rhythmicstaff only allows notes on the line, on my drumstaff, I 
tried   
\override Staff.StaffSymbol #'line-count = #1

but it did nothing.

Any help is appreciated, thank you
  
I think you should be able to figure it out yourself, using the 
knowledge you can obtain in the Learning Manual. Hint: the drum staff 
is not handled by a "Staff" context but by something else.


  /Mats


I shouldn't do this, but bigger hint: a drum staff is, funnily enough, 
handled by DrumStaff.



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


Re: Cannot correctly code this rhythm...

2009-02-17 Thread M Watts

M Watts wrote:

Mats Bengtsson wrote:

RandomLilyPondUser wrote:
http://www.nabble.com/file/p22066496/snip.png One more question - 
how do I make a staff with only one line with notes

above and below like that?

Rhythmicstaff only allows notes on the line, on my drumstaff, I 
tried   \override Staff.StaffSymbol #'line-count = #1

but it did nothing.

Any help is appreciated, thank you
  
I think you should be able to figure it out yourself, using the 
knowledge you can obtain in the Learning Manual. Hint: the drum staff 
is not handled by a "Staff" context but by something else.


  /Mats


I shouldn't do this, but bigger hint: a drum staff is, funnily enough, 
handled by DrumStaff.


doh, just remembered: when using a single line drum staff, you need to 
\override BarLine #'bar-size = #4 or similar value, in the approriate 
context, or you won't see any barlines.



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


Re: Cannot correctly code this rhythm...

2009-02-19 Thread M Watts

RandomLilyPondUser wrote:

I figured out the problem, and that code does work, it just didn't work under
my score, paper, layout, or drumstaff section.  I simply had to put it under
the function being called in the drumstaff section.

I only have two problems left:  


1) since there is only one line on the staff, the bars between the measures
don't show, how do I get them back?  


2) the measures aren't evenly spaced out, how do I make them all the same
size?
   I've tried these lines of code:
\override Score.SpacingSpanner #'strict-note-spacing =
##t 
\set Score.proportionalNotationDuration =

#(ly:make-moment 1 16)
   but not all measures are evenly sized, some are fatter,
especially those 
   with many septuplets/32nd notes.



Besides saying "read the manual", which I've already waded through many
times, could anyone provide some constructive help?   Either give me a "look
at this page" or simply posting the code snippet would save much
frustration.


Here's how I'd do the OP example, incorporating your flam macro from 
another thread:


---
\version "2.12.2"

qBeam = {
 #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
 #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
}

snflam = \drummode {
 \override Stem #'length = #4.5
 \acciaccatura {sn8}
 \revert Stem #'length
}

tomflam = \drummode {
 \override Stem #'length = #4.5
 \acciaccatura {toml8}
 \revert Stem #'length
}

global = {
 \time 3/4
 \set beatLength = #(ly:make-moment 1 16) 
 \set subdivideBeams = ##t 
}


test = \drummode {
 \qBeam

\tomflam sn8-> sn8:32 ~ \stemDown \times 2/3 {toml16 sn toml} \tomflam 
sn16. toml32 \times 2/3 {sn16 toml sn} \snflam toml8


\tomflam sn8-> sn8:32 ~ \stemDown \times 2/3 {toml16 sn toml} \tomflam 
sn16. toml32 \times 2/3 {sn16 toml sn} \snflam toml8

}

\score {

 \new DrumStaff { \global \test }
   
 \layout {

   \context {
 \DrumStaff
 \override StaffSymbol #'line-count = #1
 \override BarLine #'bar-size = #4  % you need this to see the 
barlines on a single-line drum staff

   }
 } % close layout
} % close score

--

For a drum part with two lines of notes, I'd do it this way; the 
\voiceOne and \voiceTwo automatically take care of stem directions.


\version "2.12.2"

up = \drummode { notes go here }

down = \drummode { notes go here }

\score {
  \new DrumStaff
  <<
 \new DrumVoice { \voiceOne \up }
 \new DrumVoice { \voiceTwo \down }
  >>

  \layout { include the stuff from the above example, if necessary }

}


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


Re: Cannot correctly code this rhythm...

2009-02-21 Thread M Watts

RandomLilyPondUser wrote:

Sure, that works for a new project, but what about in the context of my drum
project I've attached a couple posts back?
  


I haven't yet got the barlines lined up on each line, but I've made a start.

Btw, the file rudiments.ly, as posted, is missing a ' on lines 6 and 17; 
just change "\override Beam #'positions = #(1 . 1)" to "  \override Beam 
#'positions = #'(1 . 1)" etc.


If you look at the output of drumtest.ly, there's an extra crotchet 
which takes it into a 73rd bar -- remove this, and it looks better 
immediately.


I found that I could strip out all the \noBreak jazz, and still achive 
six bars on every line with this \with block:


\new Score \with {
   proportionalNotationDuration = #(ly:make-moment 1 2)
   \override SpacingSpanner #'uniform-stretching = ##t
   \override SpacingSpanner #'common-shortest-duration = 
#(ly:make-moment 1 8)
   \override SpacingSpanner #'base-shortest-duration = 
#(ly:make-moment 1 16)

}

which saves a lot of typing, but still doesn't do exactly what you want.





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


Re: Cannot correctly code this rhythm...

2009-02-22 Thread M Watts

Brett Duncan wrote:
I've been fiddling with your files, and I cannot get the main notes to 
perfectly line up, even when I set proportionalNotationDuration to a 
very small value. The main culprits appear to be the grace notes, as 
Carl indicated, but also the tremolos. (A bug, maybe?)


And set SpacingSpanner #'strict-grace-spacing to ##t did not seem to 
have a discernable effect.




When I put  \override SpacingSpanner #'strict-grace-spacing to ##t into 
the score's \with block, I get errors like


programming error: No spring between column 992 and next one continuing, 
cross fingers,


and output like the attached, but it's probably because of other things 
I tried too.



Anyway, I tried moving the Spacing_engraver into the DrumStaff context, 
but I don't think it makes much difference.


I now have the following, which doesn't look too bad, but I've put in 
too many settings which try to fight each other!


\new Score \with { \remove Spacing_engraver  }
{ 
   \new DrumStaff \with {

   \override BarLine #'bar-size = #4

   \consists Spacing_engraver
   proportionalNotationDuration = #(ly:make-moment 1 2)
   \override SpacingSpanner #'uniform-stretching = ##t
   \override SpacingSpanner #'common-shortest-duration = 
#(ly:make-moment 1 16)
   \override SpacingSpanner #'base-shortest-duration = 
#(ly:make-moment 1 8)

   \override SpacingSpanner #'average-spacing-wishes = ##t
   \override SpacingSpanner #'shortest-duration-space = #0.35
   \override SpacingSpanner #'spacing-increment = #2.45
}


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


Re: Partial measures

2009-02-23 Thread M Watts

jpeters wrote:
One way to do this is with measureLength: 
 
 \relative c'' {   
\time 4/4  
\repeat volta 2 {  
   \partial 8 gis8 |   
   fis4 g g c, |   
  
   \set Score.measureLength = #(ly:make-moment 7 8)  
b2. r8 |
\set Score.measureLength = #(ly:make-moment 4 4)
}  
  fis4 g g c, |
 } 
~
  


A very handy thing to know!



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


Re: Writing text in a measure

2009-02-25 Thread M Watts

Kees van den Doel wrote:

I'm trying to write text in an otherwise empty measure (some special 
performance instructions).
not above it or below, but in it.
How can I do that? There is a snippet  doing something like that

http://lsr.dsi.unimi.it/LSR/Item?id=258

but when I apply it my text overwrites music after the bar in which the text is 
contained.

I need something like

music .. |s-\markup {"Play loud random notes, then burn your instrument (30s) 
"}| more notes...

  


Maybe this

-

\version "2.12.2"

\relative c' {
   \override TextScript #'extra-offset = #'(4 . 5.5)

   \override TextScript  #'extra-spacing-width = #'(0 . 0)

   c4-\markup { \whiteout \pad-markup #0.5 "Play loud random notes, 
then burn your instrument (30s)" } s2.


   d4 e f g

}

\layout { ragged-right = ##f }



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


Re: Color of notes depending on accidentals

2009-02-25 Thread M Watts

cuco wrote:

Is there is a way to authomatically color notes that are e.g. sharp?


  
You'd need a function that says: If note name ends in "is", do \override 
NoteHead #'color = #red, but I don't actually know to do this :eek:





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


Re: Canorus

2009-02-26 Thread M Watts

Tim Slattery wrote:

I saw the mention of Canorus in the Lilypond FAQ, and I downloaded it
and have gotten it running. But I can't figure out how to do anything
in it. Is there a user's guide somewhere? I can't find one.

  

Try their website

https://canorus.berlios.de/wiki/index.php/Main_Page


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


Re: Text over fermata

2009-02-26 Thread M Watts

Joseph Haig wrote:

I want to put a markup over a fermata but when I try this:

  a'2\fermata^\markup { \italic lunga }

I get the text under the fermata.  How can I force it above?

Thanks

Joe
  


One way is to do it as a markup:

\markup { \center-column { \italic "lunga" \musicglyph 
#"scripts.ufermata" } }



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


Re: Parenthesizing chord names

2009-03-01 Thread M Watts

James E. Bailey wrote:


El 01.03.2009, a las 01:12, Tim McNamara escribió:

A common jazz lead sheet convention is to parenthesize optional 
chords written over the melody staff.  An example is a turnaround at 
the end of a song that is not played the last time through.  For 
example in "Easy Living" the turnaround over the last two bars of the 
second ending is (using the default language conventions):


f2 aes2:7
des2:maj7 c2:7

Rather than writing a separate ending, I'd like to just parenthesize 
the last three chords  over the final two bars so they would render:


F(Ab7Dbmaj7C7)

This approach is commonly used in jazz lead sheets rather than 
writing multiple endings within multiple endings or adding codas.  
I've been plowing through the documentation and have searched the 
Web, which has extensive stuff about parenthesizing but nothing that 
I have found to suit the need I have.




You could probably just add the Text_engraver to the ChordNames 
context, and include it as markup.



Yes, this works, but I found that the markups need to be attached to the 
chornames with _ or ^, so you need to #'extra-offset them to get them on 
the same line as the chordnames.


If you try to add Note_heads_engraver to the ChordNames context, so you 
can attach markups to spacer notes, you get actual notes for your chords 
above the staff as well!




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


Re: Parenthesizing chord names

2009-03-01 Thread M Watts

James E. Bailey wrote:


El 01.03.2009, a las 12:47, M Watts escribió:


James E. Bailey wrote:


El 01.03.2009, a las 01:12, Tim McNamara escribió:

A common jazz lead sheet convention is to parenthesize optional 
chords written over the melody staff.  An example is a turnaround 
at the end of a song that is not played the last time through.  For 
example in "Easy Living" the turnaround over the last two bars of 
the second ending is (using the default language conventions):


f2 aes2:7
des2:maj7 c2:7

Rather than writing a separate ending, I'd like to just 
parenthesize the last three chords  over the final two bars so they 
would render:


F(Ab7Dbmaj7C7)

This approach is commonly used in jazz lead sheets rather than 
writing multiple endings within multiple endings or adding codas.  
I've been plowing through the documentation and have searched the 
Web, which has extensive stuff about parenthesizing but nothing 
that I have found to suit the need I have.




You could probably just add the Text_engraver to the ChordNames 
context, and include it as markup.



Yes, this works, but I found that the markups need to be attached to 
the chornames with _ or ^, so you need to #'extra-offset them to get 
them on the same line as the chordnames.


Does using - not work?




Not for me, anyway:

newchord.ly:4:29: error: syntax error, unexpected \markup
test = \chordmode { f2 aes:7-
\markup "(" des:maj7 c:7-\markup ")" }




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


Re: Multiple repeats

2009-03-02 Thread M Watts

Kieren MacMillan wrote:

Hi Kees,

OK, let me rephrase (and this time in the right list, sorry): is the 
way to indicate
a 4 times repeated set of bars "\repeat volta 4 {notes}", followed by 
a manual annotation

indicating "repeat 4 times"  or is there a better method?


As far as I know, that's the best Lily-method.
On a side note, as a conductor/performer, I would much prefer to see 
"play 4x" (if that's what you want) or "play 5x" (if you truly mean 
"repeat 4 times") — always strive for clarity.  =)




That's right -- if a passage is played twice, it's only _repeated_ once.


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


Single-digit time signature with different number

2009-03-09 Thread M Watts

I figured something out myself :)

Now that Sigfrid Karg-Elert's works are public domain, him having been 
dead for over 70 years, I'm fiddling with his 25 Caprices & Sonata for 
solo saxophone (op. 153).


The Sonata's 2nd movement is in fast 3/4 time, with one beat to the bar, 
and its time signature is a simple number "1".


I found that using

\override Staff.TimeSignature #'style = #'single-digit (which I've used 
before), and


\set Staff.timeSignatureFraction = #'(1 . 4)

produces exactly the desired result.

So thanx again for this wonderful software.


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


Re: glissando up from no note to a note

2009-03-09 Thread M Watts

Chip wrote:

Robin Bannister wrote:

Chip wrote:

it just resulted in messed up measures


A judicious use of time distortion may help you here.

\transpose c c'{
 \hideNotes g,32\glissando \unHideNotes c'4*7/8  c'4 c'4 r4 |
 \hideNotes c''32\glissando \unHideNotes c'4*7/8  c'4 c'4 r4 |
 a1*3/4\fermata \hideNotes d'4\glissando \unHideNotes |
 ees8->[ c8]-> r4 r2 |
}

It appears the problem I am having has to do with the durations of the 
notes - your example uses quarter notes, I am using eighth notes. The 
7/8 fraction doesn't work, and I don't know how you came up with that 
fraction.



Robin's code as a minimal example works fine.
There are 8 32nd notes to the quarter note; he's used one hidden 32nd to 
attach the gliss to, which leaves 7 eighths of a quarter note.


If you're using hidden eighth notes to attach the gliss to, try scaling 
the next note by 1/2 -- e.g.


\hideNotes g,8 \glissando \unHideNotes c'4*1/2

Making such changes to Robin's example acheives similar results with 
tighter spacing.





Here is my error -
---
G:/Lilypond Files/Te Regalo el Corazon.ly:48:0: warning: barcheck 
failed at: 31/32

--

--
Chip


And then patiently adjust padding and minimum-length ...

Cheers,
Robin



No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.278 / Virus Database: 270.11.9/1991 - Release Date: 03/09/09 07:14:00


  




___
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: New ConTeXt module

2009-03-11 Thread M Watts

fiëé visuëlle wrote:

Am 2009-03-10 um 00:17 schrieb -Eluze:

Valentin Villenave wrote:


Perhaps Eluze was mixing up ConTeXt and ConTEXT :-)

thanks - how could I ?! I had no idea the other one also exists!


I agree that "context" is a bad choice as a product name, as is 
"latex"...




Well, if TeX is supposed to be pronounced as "tech", as LaTeX as 
"lay-tech", then I guess ConTeXt is pronounced "con-tech-t", as opposed 
to ConTEXT, which is presumably pronounced normally, but this 
hair-splitting doesn't help when they're written down -- one's eyes tend 
to glaze over aBSuRd capitalisation.



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


Re: a:4 chord

2009-03-14 Thread M Watts

Miklos Vajna wrote:

Hi,

First, sorry if this was already discussed, I did not found anything
regarding this in the documentation.

So I have the following block in my .ly file:

\chords {
a:7
}

and this is properly rendered to something similar to "A^7".

Now I want the same with A^4, so I type:

\chords {
a:4
}

and I get: A^4/sus4/add3.

Question: How do I get just an "A^4"? :)

Thanks.
  


Just use a chord name exception -- it looks like a lot of setting up, 
but it's well worth it, and only needs to be done once.  You can also 
put this kind of thing in a separate file and \include it.


--

\version "2.12.2"

% modify suspended 4th chords
% Exception music is chords with markups
chExceptionMusic = {
 1-\markup { \super 4 }
 }

% Convert music to list and prepend to existing exceptions.
chExceptions = #( append
 ( sequential-music-to-chord-exceptions chExceptionMusic #t)
 ignatzekExceptions)

theMusic = \chordmode {
 a1:4
 \set chordNameExceptions = #chExceptions
 a1:4
}


<<
   \context ChordNames \theMusic
   \context Voice \theMusic
>> 



\layout {
 ragged-right = ##t
}


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


Re: auto-beaming

2009-03-20 Thread M Watts

Mats Bengtsson wrote:

Trevor Daniels wrote:
Unfortunately, this will also subdivide 16th beams too.  This is what 
I meant by "not quite possible".  You would need to turn 
subdivideBeams on and off as required.
Should we turn this into feature request to make the automatic 
subdivision of beams even more flexible, with separate rules for 
different note lengths, 


That could be very handy -- a case in point is Karg-Elert's Chacconne, 
op. 153, no. 12, one bar before section 19, where there's  a bar of 3/4 
time filled with 24 32nd notes, subdivided at every level.  What I mean 
is, there are 4 32nd notes, joined with 3 beams (as normal); then every 
two lots of 4 32nds are join by 2 beams, and the whole lot is joined by 
one beam.



or would the resulting scheme get too messy to use and implement?


Haven't the foggiest :)



   /Mats


___
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: Bug? Lines disappear with rhythmic staff

2009-03-27 Thread M Watts

Peter Chubb wrote:

I'm using the current 2.12.2 version of lilypond.  The attached file
yields,
   programming error: vertical alignment called before line-breaking
and no lines on the staff.

If I remove the \bar "|." the output is correct.

\version "2.12.2"
recscore=  \context StaffGroup <<
\context RhythmicStaff = "tambour" {
  \override NoteHead   #'style = #'cross
  \stemUp
	f4 f8 f8 
}

\context Staff = "recA" {
  \clef "G^8"
  a''2
  \bar "|."
}
>>


\score {
\recscore
 \layout {
\context{ \RhythmicStaff
  \remove "Time_signature_engraver"
  \remove "Staff_symbol_engraver"
  \remove "Clef_engraver"
% \remove "Bar_engraver"
  \consists "Instrument_name_engraver"
  \override BarLine #'transparent = ##t
}
\context{ \Staff
  \remove "Time_signature_engraver"
}

  }
}
  


For me, with 2.12.2 on Fedora 10, running your example yields tiny staff 
lines before the clef, but nothing after, and no StaffGroup bracket.


You seem to have removed the Staff_symbol_engraver from the RythmicStaff 
context -- I left the \bar "|." in, and commented out the line


%  \remove "Staff_symbol_engraver"

, then all worked fine.


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


Re: Bug? Lines disappear with rhythmic staff

2009-03-28 Thread M Watts

Trevor Daniels wrote:


Peter Chubb wrote Saturday, March 28, 2009 8:44 AM


That's right.  I want no lines on the stave for the RhythmicStaff, but
I do want lines for the Staff context, and no StaffGroup bracket.


The OP didn't say so -- one is not a mind reader ;)


Peter

Have you tried setting 'line-count of StaffSymbol to 0
rather than removing Staff_symbol_engraver?

Trevor



Indeed, adding \override StaffSymbol #'line-count = #0 to the 
RythmicStaff's layout block immediately has things looking better -- but 
that left a ridiculously tall bar line at the end of the main staff.


I tried taking the StaffGroup out altogether, as you don't need a 
StaffGroup bracket, which seems to "work fine" this time.


--
\version "2.12.2"
recscore=  {
   \context RhythmicStaff = "tambour" {
 \override NoteHead   #'style = #'cross
 \stemUp
   f4 f8 f8  \bar "|."
   }
 }

 lower = \context Staff = "recA" {
 \clef "G8"
 a''2
 \bar "|."
   }
  
\score {

   <<
   \recscore
   \lower
   >>

\layout {
   \context{ \RhythmicStaff
 \remove "Time_signature_engraver"
%  \remove "Staff_symbol_engraver"
 \remove "Clef_engraver"
%  \remove "Bar_engraver"
 \consists "Instrument_name_engraver"
 \override BarLine #'transparent = ##t 
\override StaffSymbol #'line-count = #0

   }
   \context{ \Staff
 \remove "Time_signature_engraver"
   }
 }
}


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


Re: Canorus -- help found

2009-03-28 Thread M Watts


M Watts  wrote:

>/>   /
>/Try their website/

>/https://canorus.berlios.de/wiki/index.php/Main_Page/

That's where I started, of course. I downloaded the program from
there, but I can't find anything like a user guide or tutorial. And
the "User's guide" choice on the "Help" menu is grayed out. AFAICT,
you're just supposed to know

With the latest 0.7 release, available via

wget http://download.berlios.de/canorus/canorus_0.7.R1002_source.tar.bz2

the help file gets built as part of the compile process, via a makefile 
which invokes lyx, in the doc/userguides directory (explained in the Readme)


You need to build the docs first b4 building the app, otherwise the help 
menu remains greyed out.



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


Re: Real-world usage of Lilypond

2009-04-07 Thread M Watts

Wei-Wei Guo wrote:

Christ van Willegen 写道:

- Any other advice/techniques/additions/modifications we can think of.


Does Lilypond has any application on music textbook? Is is possible? I 
find
it difficult to input single/standalone music symbols, such as 
crotchet or

quaver.


Have you seen ooolilypond?  http://ooolilypond.sourceforge.net/


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


Re: move lyrics closer

2009-04-09 Thread M Watts

James E. Bailey wrote:
I want to move lyrics closer to each other. I've tried \layout 
{\context { \Lyrics \override #'baseline-skip = #-55 } } and it's not 
working for me. I'm sure I've just got the wrong context somewhere. 
Can someone point me to the right way?


Do you mean move words closer together, or lines closer together?  If 
words, it might be something like


\override LyricText #'wordspace = #0.3, the default is 0.6. 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-internals/LyricText#LyricText


But I'm fairly weak on Lyrics, so I haven't really tested this.


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


Re: Real-world usage of Lilypond

2009-04-09 Thread M Watts



Sorry Tim, I don't understand what you said. Could you point me to a link
explaining those systems?

Thanks!


I'm not Tim, but try starting here for LilyPond syntax; also read the 
"see also" pages linked from the bottom: 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Simple-notation#Simple-notation


Also check out the Music glossary
http://lilypond.org/doc/v2.12/Documentation/user/music-glossary/index

There are many resources to help 'translate' between American and 
British note names and other terms, like

http://ninagilbert.googlepages.com/British.html#ALPHA


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


Re: Tip/Trick: Double-Breve or Single-Breve-with-Double-Sidebars

2009-04-09 Thread M Watts



I think I've seen music where the breve (2 whole notes) was printed with
two bars on each side.



Indeed, in most hymn books I've seen, the breves have 2 lines each side, 
so "huzzah" for Kieren's code!



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


Re: hiding portions of slurs/ties around specific objects

2009-04-09 Thread M Watts



Questions and comments are welcome. If anyone
wants to add it to the LSR, that's fine by me.
Change the function name too, if you want, I 
couldn't think of anything better.



Very awesome!  It's definitely LSR worthy.
  


+1




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


Re: Analysis brackets?

2009-04-10 Thread M Watts

Claudia wrote:

Hi, I need to draw several superimposed -- although not nested --
brackets in order to evidence two
melodic overlapping structures for teaching purposes. Does
anyone knows how to do it?

I've tried Analysis brackets but the groupings are presumed nested
and so, the group openings and
closings are interpreted as in a heap.

I'm looking for something like:
\openGroup1 c d e f \openGroup2 g a b c \closeGroup1 d e fis g 
\closeGroup2


As the Horizontal_bracket_engraver lives at voice level, overlapping 
brackets need to live in different voices.


\version "2.12.2"

upper = \relative c'' {
 c\startGroup d e s4
 g a b c\stopGroup
 d e fis s4
}

lower = \relative c'' {
 s2. f4\startGroup
 s1
 s2. g'4\stopGroup
}

\score {
 \new Staff {
   <<
 \voiceOne \upper
 \voiceThree \lower
   >>
 }
}

\layout {
 \context {
   \Voice
   \consists "Horizontal_bracket_engraver"
 }
}


Btw, you can put any bracket above the staff with \once \override 
HorizontalBracket #'direction = #UP



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


Re: Lilypond crash

2009-04-11 Thread M Watts

Nick Payne wrote:

I was attempting to shorten the entry required for indicating
strokefingering:

\version "2.12.2"

i = #(define-music-function (parser location) () #{
\rightHandFinger #2
#})

\relative c' {  }

This causes Lilypond to crash (2.12.2, Windows). The entry in the
application event log shows:

Faulting application name: lilypond.exe, version: 2.12.2.1, time stamp:
0x497bdfce
Faulting module name: libguile-17.dll, version: 0.0.0.0, time stamp:
0x497bdfcd
Exception code: 0xc005
Fault offset: 0x0002d4a7
Faulting process id: 0x15a0
Faulting application start time: 0x01c9ba2888d32f3b
Faulting application path: C:\Program Files\LilyPond\usr\bin\lilypond.exe
Faulting module path: C:\Program Files\LilyPond\usr\bin\libguile-17.dll
  


Also crashes 2.12.2 on Fedora 10.

GNU LilyPond 2.12.2
Processing `shorten_finger.ly'
Parsing...
Interpreting music... fish: Job 3, “lilypond shorten_finger.ly ” 
terminated by signal SIGSEGV (Address boundary error)




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


Re: trills

2009-04-11 Thread M Watts

Berthold Gunreben wrote:

Hi,

I am quite new to lilypond and stumbled over a question regarding trills. I'd 
like to use pitched trills which works quite well with something like:


\pitchedTrill b2  \startTrillSpan cis b \stopTrillSpan

However when I want to do a pitched trill over just one single note, I always 
get errors:


test.ly:34:17: warning: programming error: bounds of this piece aren't 
breakable.

  \pitchedTrill b
 \startTrillSpan cis \stopTrillSpan
  


For a pitched trill on a single note, try terminating the trill spanner 
on a spacer note:


\relative c '' {

\pitchedTrill e2\startTrillSpan fis d\stopTrillSpan % as usual

\pitchedTrill e2\startTrillSpan fis s2\stopTrillSpan % with spacer note

}



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


Re: Lilypond is amazing! (engraving Reubke)

2009-04-16 Thread M Watts

Arno Rog wrote:

Hi,

Just to learn LilyPond better I've engraved the splendid Organ Sonata "Der 
94ste Psalm" by Julius Reubke (1834-1858) with LilyPond 2.13.1.
The result can be seen here [1]. The 28-page score is based on the IMSLP score 
(first edition 1871) of this piece.



[Dutch]Werkelijk meesterlijk Wilbert![/Dutch]

Magnificent score, exemplary use of incorporating separate ly-files into one
score, makes me realize there is still só much to learn!!!

Thanks for sharing this and your other ly-files, they should be promoted to the
LilyPond Snippet Repository and incorporated into the Lilypond manuals
immediately!
Beautiful examples to incorporate into a show-case and to convince (so-called)
professional printers to accept lilypond-scores (try to typeset this Reubke with
Finale/Sibelius!)

  

What he just said!


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


Re: get typical jazz swing in drums midi file

2009-04-18 Thread M Watts

Grammostola Rosea wrote:

Hi,

It is possible to get an typical jazz swing also in the midi file, so 
I hear it when playback?


I think you'd have to code swing drum section just for the midi output, 
with something like


\times 2/3 { hh4 hh8 } to get swung rhythms.


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


Re: Pick a pitch/instrument in MIDI output

2009-04-19 Thread M Watts

Matthew Rowles wrote:

I've read all of that.

All of those instruments are pitched. I want just a snare drum to hit
out the rhythm.
  


One way would be to play a midi file through a Jack-aware player like 
timidity, connecting timidity's midi output to the midi input of the 
Hydrogen drum machine, or Gneutronica.

I can't access the percussion midi instruments as I'm not using a drum
staff, and if I was, the notes would still change (percussion)
instrument as the "pitch" changed.

Basically, I want to replicate an audio RhythmStaff.

So, maybe a better phrased question: Can I pick a particular midi
instrument "pitch" (eg c', snare etc...) and use that for all notes in
my score?

  




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


Re: How to achieve chord stop with ¬

2009-05-14 Thread M Watts

Marc Hohl wrote:

Stjepan Brbot schrieb:

In chords for chord stop usually the following sign is used: ¬
How to get this with lilypond?
  

Have you an example of how this should look like?
I haven't seen this mark ever before.
The only place I've seen this sign is in symbolic logic, where it means 
negation of a proposition.


There are at least 2 versions in UTF-8; a normal one U+00AC, and a 
full-width one U+FFE2.


To use these within lilypond, do \markup { \char ##x00AC } or \markup { 
\char ##xFFE2 }.


Or, if your file is saved with UTF-8 encoding, you can paste the 
character straight into it.



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


Re: Bass clarinet fingering chart

2009-07-08 Thread M Watts

[Off topic]

Mike Solomon wrote:

5) I read that the biblical definition of pi is 3 (1 Kings 7:23).
  
1) The Bible makes no such claim.  1 Kings 7:23 apparently describes a 
temple object with a circumference of 10 and a diameter of 30.   It's 
perfectly correct to state measurements only to the number of 
significant figures necessary for the application in question, in this 
case description of the temple.  As maths people know, `10' is accurate 
to two significant figures for any value from 9.5 to 10.5; `30' for any 
value from 29.5 to 30.5.


An implied rounding of pi to 3 introduces a margin of 4.7% error 
(because 0.14/3 = 4.7%); we all accept greater inaccuracies in everyday 
life without any drama.


2) Or, if you insist that biblical authors were too stupid to round off 
figures, take a closer look at the text -- the vessel's brim flared 
outwards (v. 26); the `10' measures from brim to brim (v. 23).  The `30' 
refers to the outer diameter of the main part of the vessel (below the 
the flared brim), measured with a taut string line.



   In guile, (angle -1) returns pi accurate to 14 decimal places.
  

Good for guile; but any decimal expression of pi remains an approximation.




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


Re: clip-systems png output?

2009-07-23 Thread M Watts

On 07/23/2009 01:24 PM, ian rashkin wrote:

hi, am a total newbie to lilypond, but way impressed, hope to use it a lot.
interested in outputting clips as png, so trying various combinations, all of
which are the same result.

file scale.ly:

\version "2.12.0"  % necessary for upgrading to future LilyPond versions.
#(ly:set-option 'clip-systems #t)

\header{
   %title = "A scale in LilyPond"
}
\score {

\relative c' {
  c d e f g a bes c d ees8( e) c4 b c~ c1
}

\layout {
  clip-regions
  = #(list
  (cons
   (make-rhythmic-location 3 0 4)
   (make-rhythmic-location 4 0 4)))
}
}

lilypond --png scale.ly

i get a clipped eps (or so it would appear), and a full ps and png. if i leave
out the --png, i get a clipped pdf.

am i doing this wrong, or is it not possible to get a png clip?

thanks,
ian



I couldn't get the clips in png format either, trying `lilypond 
-dclip-systems --png clips.ly'



Maybe you use the `convert' command from ImageMagic to convert the eps 
file to png?



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


Re: clip-systems png output?

2009-07-27 Thread M Watts

On 07/25/2009 08:09 AM, Neil Puttock wrote:


I'd class this as a bug, since the documentation suggests it should
work.  Fortunately, it's rather easy to fix, so I'll post a patch for
it soon.

If you're feeling adventurous and can't wait for a new release with
the fix, you can use the attached file to overwrite your installed
scm/framework-ps.scm file.


Good work -- thanks Neil.



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


Re: Speed-up compiling

2009-07-29 Thread M Watts

On 07/30/2009 04:29 AM, Patrick Horgan wrote:


Here's the fix.

Without buying a new computer, you can buy new RAM (Random Access
Memory) and you'll THINK that you have a new computer. It will make you
amazed at the difference! You will dance around and shout Huzzah! Woman
will hold up their babies to be kissed by you. You will get a promotion
and a humanitarian award. Yes! It makes that big a difference!...


Thanks for this amusing and informative post.

The moral of the story is: Fill your machine with RAM -- it'll go like a 
rocket.



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


Re: Request - three line drum stave

2009-07-29 Thread M Watts

On 07/30/2009 08:34 AM, Brian Lloyd wrote:

Dear Lillyponders,

Some of my favourite drum books (Chapin, Pickering) use a three-line
stave for their notation.

I like it—it has a clean look, especially when writing for snare, hh,
cymbal and bass.

It is similar to the timbale stave currently available in Lillypond.

Is someone able to advise me how to reproduce this, or simply to make one?


\score {
   \new DrumStaff \with {
  \override StaffSymbol #'line-count = #3
 % \override BarLine #'bar-size = #4
  }

Uncomment the `BarLine #'bar-size' line and play with the figure if you 
want the barlines to extend above and below the staff.



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


Re: linking render frames in Scribus

2009-08-30 Thread M Watts

On 08/29/2009 09:47 AM, Federico Bruni wrote:

Anybody of you has tried using Scribus 1.3.5 to render LilyPond files?
See here: http://docs.scribus.net/index.php?lang=en&page=renderframes

If the score is one page only, it works fine.
But if it's 2 pages or more, I could not find any way to spread the
LilyPond output over the pages.
So I can see just one page and all the other pages are hidden..



One way is to split or burst the lilypond pdf so that each page is a 
separate pdf; there's a number of commandline utilities to do this, such 
as pdftk 



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


Re: Installing question

2009-12-02 Thread M Watts

On 12/03/2009 02:23 AM, Howard wrote:

I have downloaded the Installer to my Limux Suse 10.2 Desktop. I see is is a
Shell Script.

Where do I go from here please ??


Open a terminal, cd to your Desktop directory, and type sh lil[TAB].

Pressing the tab key will complete the filename for you, then press enter.


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


Circular Staff in Inkscape [was Re: Lilypond vs Score]

2010-02-04 Thread M Watts



I have to admit - I tried it and it's not easy to get a staff to conform
to a circle, for example. Maybe someone else can. My Inkscape skills are
weak, though I love the software.




Not sure how to wrap the entire staff in a circle, but you can easily 
draw a circular staff in Inkscape:-


Draw a circle (F5) with Ctrl held down, 115 px in size;

Get outline only by Ctrl+Shift+F, click the X under Fill, and flat color 
(2nd left) under Stroke paint (or click the X near bottom left of 
window, and Shift-click a coler for line color);


Clone it 4 times (Alt + D);

Hit F1 and make sure the circle and all clones are selected by drawing a 
selection box around the circle (the status bar will tell you if they're 
all selected; you anly see the top one);


Open the Transform dialog (Shift+Ctrl+M), go Scale, width & height both 
110%, and make sure 'Scale proportionally' and 'Apply to each object 
separately' are both checked.


Click Apply :)

Btw, Inkscape has layers -- use them if you don't want to be constantly 
dragging the wrong notes and whatnot around.




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


  1   2   >