Re: problem with the spacing of microtonal accidentals

2014-01-05 Thread Stefan Thomas
Dear Keith,
I don't understand everything You've been writing.
You must know that the code of the example mostly comes from copy and paste.
Can You tell me, which line of code I have to set to #'( )?
And could You be so kind giving me an example for combining accidentals in
a string?
Thanks,
Stefan

 The function that the Accidental's 'stencil points to by default does
 the job of deciding whether to remove the accidental (if it is the second
 note in a tie, and not at a line-break).  We (at least I) happen to be
 considering to change this, as issue 3749.

 This unusual action for a 'stencil has caused all the layout code
 to avoid using the 'stencil property, and to go directly to the code
 that looks up the accidentals in 'glyph-name-alist.

 Specifically, the function that 'horizontal-skylines points to by default
 tries to use the glyph-name-alist, so you will need to replace that.
 Maybe setting it to #'() will work.

 Probably you intend to combine accidentals in a string.  If not for that,
 you could write their letter names 'm' 'p' etc. in the glyph-name-alist.



 Stefan Thomas kontrapunktstefan at gmail.com writes:

 * It uses the true type font HE for special microtonal accidentals.I've *
 found  this font somewhere in the web.
 * Unfortunately the accidentals are too close to the notes.*
 * How can I give them more space?*
 * I tried everything.*
 * When I compile the file, I get the error messages like *
 this:Mikrotoene_kurzbeispiel.ly:69:4: warning: Could not find glyph-name for
 alteration 1/6chchh
 
 
 * Which is strange, because lilypond shows the correct accidentals.*
 


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


Re: promoting LilyPond

2014-01-05 Thread Janek Warchoł
2014/1/2 Trevor Daniels t.dani...@treda.co.uk:

 Janek, you wrote Monday, December 09, 2013 11:31 PM

 I saw Trevor's snippet and it's really nice!  Now i'm waiting for the
 pull request :)

 Sorry to be late in replying, but you may have seen this has now
 been pushed to master, so it will be incorporated in the next
 release of LilyPond.  That version uses the much improved
 code supplied by Devon Schudy.

Yes, i saw it - looks great!
thanks,
Janek

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


Re: Lilypond Cheat Sheet 2.18

2014-01-05 Thread Janek Warchoł
2014/1/1 Noeck noeck.marb...@gmx.de:
 Hi all,

 as promised after the release of 2.16, I update my Lilypond cheat sheets
 for each stable version. After 2.18 came out recently, here is the
 corresponding version of my cheat sheet in three languages:

 English: http://joramberger.de/files/lilypond_sheet_2.18_en.pdf
 German:  http://joramberger.de/files/lilypond_sheet_2.18_de.pdf
 French*: http://joramberger.de/files/lilypond_sheet_2.18_fr.pdf


*awesome*!!! Thanks
Janek

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


Re: Should I stop using barchecks in lyrics?

2014-01-05 Thread Janek Warchoł
Sorry for delay..

2013/12/31 David Kastrup d...@gnu.org:
 Janek Warchoł janek.lilyp...@gmail.com writes:

 Hi,

 2013/12/31 David Kastrup d...@gnu.org:
 Trevor Daniels t.dani...@treda.co.uk writes:
 If you'd like to use bar checks in lyrics simply remove any that give
 erroneous warnings (after checking they are erroneous of course).
 Although I gave up using them as it is easy to check lyric placement
 by inspecting the score.

 Or don't use \addlyrics/\lyricsto but rather time your lyrics
 explicitly.  That's also a lot more robust against juggling Voices,
 adding stanzas and so on.

 Colin, please **don't** use explicit lyrics timing.  Alignment of
 unassociated lyrics (i.e. lyrics that don't use \addlyrics/\lyricsto)
 is broken, and such scores would look ugly and unprofessional.

 David, i apologize for butting in like that, but i believe that we
 shouldn't advocate using features that are broken.

 I did _not_ say he should use unassociated Lyrics.  You can perfectly
 well associate explicitly timed lyrics: associating a Lyrics context
 does not require \addlyrics/\lyricsto.  The latter set the respective
 associated voice, but one can perfectly well set it explicitly.

I didn't realize that one can do this! I think i misread the
documentation. I apologize for the confusion and for a false
accusation.
best
janek

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


Re: Automatic octaves

2014-01-05 Thread Pierre Perol-Schneider
2014/1/5 Daniel Rosen drose...@gmail.com

 Is someone able to update it?


A standart update works fine.
Here you go :

%
 \version 2.18.0

#(define (octave-up m t)

(let* ((octave (1- t))

(new-note (ly:music-deep-copy m))

(new-pitch (ly:make-pitch

octave

(ly:pitch-notename (ly:music-property m 'pitch))

(ly:pitch-alteration (ly:music-property m 'pitch)

(set! (ly:music-property new-note 'pitch) new-pitch)

new-note))

#(define (octavize-chord elements t)

(cond ((null? elements) elements)

((eq? (ly:music-property (car elements) 'name) 'NoteEvent)

(cons (car elements)

(cons (octave-up (car elements) t)

(octavize-chord (cdr elements) t

(else (cons (car elements) (octavize-chord (cdr elements ) t)

#(define (octavize music t)

(if (eq? (ly:music-property music 'name) 'EventChord)

(ly:music-set-property! music 'elements (octavize-chord

(ly:music-property music 'elements) t)))

music)

makeOctaves = #(define-music-function (parser location arg mus) (integer?
ly:music?)

(music-map (lambda (x) (octavize x arg)) mus))

\relative c' {

\time 3/8

\key gis \minor

\makeOctaves #1 { dis8( e dis')~ dis8.( cis16 b8}

\makeOctaves #-1 { ais' gis dis) cis( dis dis gis') }

}


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


Re: svg output differs from pdf output

2014-01-05 Thread Alex Loomis
There also seems to be something wring with the ledger lines in the pdf.



On Jan 4, 2014, at 5:50 PM, bart deruyter bart.deruy...@gmail.com wrote:

 Hi all,
 
 I ran a little test, because I often use svg as output to manipulate 
 afterwards.
 I noticed there seems to be a difference between the pdf and svg output. 
 To illustrate it, I've made a screenshot. Lilypond 2.18.0 was used, 
 frescobaldi 2.0.12 on Ubuntustudio 13.10 and on KDE. Look at the metronome 
 mark, there is a collision of the fingering notation and the metronome mark, 
 which is much lower then in the pdf output.
 (above pdf view, below, svg view)
 
 I've opened it in inkscape, the difference is not caused by the frescobaldi 
 svg viewer, the metronome mark is off in inkscape too, so I guess this must 
 be a bug. I thought I'd better check on the mailing list first, to see if 
 others have the same issue.
 
 So far it seems to be only the metronome mark that is off, but having a 
 difference does mean I'd have to check the entire score for more 
 inconsistencies if I want to use the svg-file.
 
 grtz,
 
 Bart
 
 http://www.bartart3d.be/
 On facebook
 On Twitter
 On Identi.ca
 On Google+
 snapshot1.jpg
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Open string tunings for guitar

2014-01-05 Thread Fulvio Turra
Hi all, I recently asked Francesco Bruni - an expert lilypond user and
active contributor on this list - some help about how to transcribe guitar
music (staff and tab) in some unorthodox tunings and he suggested to share
these tunings with the list to see if there is some interest in them: I
have to transcribe a bunch of guitar music compositions for a professional
guitar player (and great friend of mine) who uses a lot of exotic guitar
tunings; he'd like to publish a book and I offered my help with the
transcriptions. I think this could be a great opportunity to show off that
lilypond can do better (if not best) than Sibelius and Finale.
Some tunings have already been implemented (
http://lilypond.org/doc/v2.18/Documentation/notation/predefined-string-tunings)
but there are more that could be added, such as:

D-Family tunings

   - D A g d b d'
   - D A d f a d' (open D Minor)
   - D A d e a d'

G-Family tunings

   - D G d g c' d' (Gsus4)
   - D G d g bflat d' (Open G Minor)
   - D G d g a d'
   - D G d g b e' (G6)

C-Family tunings

   - C G d g b d'
   - C G c g c' e' (Open C)
   - C G e g c' eflat' (Open C Minor)

This is just the surface, of course.
Thank for you attention and let me know if I can contribute with more
tunings.
Best regards.

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


Re: svg output differs from pdf output

2014-01-05 Thread Federico Bruni
2014/1/5 Nick Payne nick.pa...@internode.on.net

 This shorter example shows the problem. When viewed on Mint 16 amd64, the
 tempo marking in the SVG output is both lower, so that it collides with the
 stem of the A, and also has insufficient space between the equals sign and
 the preceding quarter note:


thanks, added to the tracker:
https://code.google.com/p/lilypond/issues/detail?id=3778
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: svg output differs from pdf output

2014-01-05 Thread Phil Holmes
- Original Message - 
From: Alex Loomis

To: bart deruyter
Cc: lilypond-user@gnu.org
Sent: Sunday, January 05, 2014 1:30 PM
Subject: Re: svg output differs from pdf output



There also seems to be something wring with the ledger lines in the pdf.


That's almost certainly just the way PDFs are rendered on screen - where 
there are a limited number of pixels that can be used t represent a line.


--
Phil Holmes




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


Re: Open string tunings for guitar

2014-01-05 Thread David Kastrup
Fulvio Turra fulvio.tu...@gmail.com writes:

 Hi all, I recently asked Francesco Bruni - an expert lilypond user and
 active contributor on this list - some help about how to transcribe guitar
 music (staff and tab) in some unorthodox tunings and he suggested to share
 these tunings with the list to see if there is some interest in them: I
 have to transcribe a bunch of guitar music compositions for a professional
 guitar player (and great friend of mine) who uses a lot of exotic guitar
 tunings; he'd like to publish a book and I offered my help with the
 transcriptions. I think this could be a great opportunity to show off that
 lilypond can do better (if not best) than Sibelius and Finale.

I think that extending the tunings for unorthodox tunings is pretty
pointless since that makes finding the needed information harder, and
since it results in basically random selection of predefined tunings.

The point here is more that it is _trivial_ to do your own tuning, by
writing something like

\new TabStaff \with { stringTunings = \stringTuning c, g, d g b d' }
{ ... }

It is much faster to write this down rather than searching through
preexisting tuning tables to find a particular unorthodox tuning.

Historically, custom tunings were trickier to do: that's why we have all
those tables.  But I don't think we should further extend them into the
obscure when it is easy enough to just do a custom tuning.

If you find the above too long, you can just do a shortcut definition,
like
\version 2.19.0

tuning =
#(define-scheme-function (parser location tuning) (ly:music?)
  #{ \with { stringTunings = \stringTuning $tuning } #})

\new TabStaff \with \tuning c' g' d g b d'
{ c' e' g'
}


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


Re: Open string tunings for guitar

2014-01-05 Thread Federico Bruni
2014/1/5 David Kastrup d...@gnu.org

 I think that extending the tunings for unorthodox tunings is pretty
 pointless since that makes finding the needed information harder, and
 since it results in basically random selection of predefined tunings.

 The point here is more that it is _trivial_ to do your own tuning, by
 writing something like

 \new TabStaff \with { stringTunings = \stringTuning c, g, d g b d' }
 { ... }

 It is much faster to write this down rather than searching through
 preexisting tuning tables to find a particular unorthodox tuning.


I agree.
But a custom tuning generator in Frescobaldi wizard would be nice:
https://github.com/wbsoft/frescobaldi/issues/342
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


musicxml2ly on Windows

2014-01-05 Thread TaoCG
Dear all,

what would be the best way to invoke musicxml2ly on Windows when there is
also a Python 3 installation.
When I try to run it with the python that comes with lilypond like this

python.exe musicxml2ly.py test.xml

I get this error:
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File musicxml2ly.py, line 3, in ?
import optparse
ImportError: No module named optparse

This is with Lilypond 2.16


Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181.html
Sent from the User mailing list archive at Nabble.com.

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


Re: musicxml2ly on Windows

2014-01-05 Thread Phil Holmes
- Original Message - 
From: TaoCG tao_lilypondu...@gmx.net

To: lilypond-user@gnu.org
Sent: Sunday, January 05, 2014 2:40 PM
Subject: musicxml2ly on Windows



Dear all,

what would be the best way to invoke musicxml2ly on Windows when there is
also a Python 3 installation.
When I try to run it with the python that comes with lilypond like this

python.exe musicxml2ly.py test.xml

I get this error:
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Traceback (most recent call last):
 File musicxml2ly.py, line 3, in ?
   import optparse
ImportError: No module named optparse

This is with Lilypond 2.16


Regards,
Tao



What directory are you running the command from?  What does your PATH 
statement look like?


--
Phil Holmes 



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


Re: musicxml2ly on Windows

2014-01-05 Thread TaoCG
Phil Holmes-2 wrote
 - Original Message - 
 From: TaoCG lt;

 tao_lilyponduser@

 gt;
 To: lt;

 lilypond-user@

 gt;
 Sent: Sunday, January 05, 2014 2:40 PM
 Subject: musicxml2ly on Windows
 
 
 Dear all,

 what would be the best way to invoke musicxml2ly on Windows when there is
 also a Python 3 installation.
 When I try to run it with the python that comes with lilypond like this

 python.exe musicxml2ly.py test.xml

 I get this error:
 Could not find platform independent libraries 
 prefix
 Could not find platform dependent libraries 
 exec_prefix
 Consider setting $PYTHONHOME to 
 prefix
 [:
 exec_prefix
 ]
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
  File musicxml2ly.py, line 3, in ?
import optparse
 ImportError: No module named optparse

 This is with Lilypond 2.16


 Regards,
 Tao
 
 
 What directory are you running the command from?  What does your PATH 
 statement look like?
 
 --
 Phil Holmes 
 
 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

I ran it from C:\Program Files (x86)\Lilypond\usr\bin
and my Path is:
C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\QT Lite\QTSystem



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157186.html
Sent from the User mailing list archive at Nabble.com.

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


RE: Automatic octaves

2014-01-05 Thread Daniel Rosen
 From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] 
 Sent: Sunday, January 05, 2014 5:42 AM
 To: Daniel Rosen
 Cc: lilypond-user@gnu.org
 Subject: Re: Automatic octaves
 
 A standart update works fine.
 Here you go :

Pierre,

This doesn't change anything for me. Is there something I need to change on my 
end?

I actually should have been more precise before when I described the output I 
was getting from the original snippet: it works on the final chord in the 
example, but that's all. The same thing happens with your version.

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


Re: musicxml2ly on Windows

2014-01-05 Thread Phil Holmes
- Original Message - 
From: TaoCG tao_lilypondu...@gmx.net

To: lilypond-user@gnu.org
Sent: Sunday, January 05, 2014 3:32 PM
Subject: Re: musicxml2ly on Windows



Phil Holmes-2 wrote
- Original Message - 
From: TaoCG lt;



tao_lilyponduser@



gt;
To: lt;



lilypond-user@



gt;
Sent: Sunday, January 05, 2014 2:40 PM
Subject: musicxml2ly on Windows



Dear all,

what would be the best way to invoke musicxml2ly on Windows when there 
is

also a Python 3 installation.
When I try to run it with the python that comes with lilypond like this

python.exe musicxml2ly.py test.xml

I get this error:
Could not find platform independent libraries

prefix

Could not find platform dependent libraries

exec_prefix

Consider setting $PYTHONHOME to

prefix
[:
exec_prefix
]

'import site' failed; use -v for traceback
Traceback (most recent call last):
 File musicxml2ly.py, line 3, in ?
   import optparse
ImportError: No module named optparse

This is with Lilypond 2.16


Regards,
Tao



What directory are you running the command from?  What does your PATH
statement look like?

--
Phil Holmes


___
lilypond-user mailing list



lilypond-user@



https://lists.gnu.org/mailman/listinfo/lilypond-user


I ran it from C:\Program Files (x86)\Lilypond\usr\bin
and my Path is:
C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\QT Lite\QTSystem



OK.  What does python -V give you?

--
Phil Holmes 



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


Re: musicxml2ly on Windows

2014-01-05 Thread TaoCG
Phil Holmes-2 wrote
 - Original Message - 
 From: TaoCG lt;

 tao_lilyponduser@

 gt;
 To: lt;

 lilypond-user@

 gt;
 Sent: Sunday, January 05, 2014 3:32 PM
 Subject: Re: musicxml2ly on Windows
 
 
 Phil Holmes-2 wrote
 - Original Message - 
 From: TaoCG lt;

 tao_lilyponduser@

 gt;
 To: lt;

 lilypond-user@

 gt;
 Sent: Sunday, January 05, 2014 2:40 PM
 Subject: musicxml2ly on Windows


 Dear all,

 what would be the best way to invoke musicxml2ly on Windows when there 
 is
 also a Python 3 installation.
 When I try to run it with the python that comes with lilypond like this

 python.exe musicxml2ly.py test.xml

 I get this error:
 Could not find platform independent libraries
 
 prefix
 Could not find platform dependent libraries
 
 exec_prefix
 Consider setting $PYTHONHOME to
 
 prefix
 [:
 
 exec_prefix
 ]
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
  File musicxml2ly.py, line 3, in ?
import optparse
 ImportError: No module named optparse

 This is with Lilypond 2.16


 Regards,
 Tao


 What directory are you running the command from?  What does your PATH
 statement look like?

 --
 Phil Holmes


 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

 I ran it from C:\Program Files (x86)\Lilypond\usr\bin
 and my Path is:
 C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\QT Lite\QTSystem
 
 
 OK.  What does python -V give you?
 
 --
 Phil Holmes 
 
 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

From lilypond\usr\bin
Python 2.4.5

from everywhere else
Python 3.3.2



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157191.html
Sent from the User mailing list archive at Nabble.com.

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


RE: Automatic octaves

2014-01-05 Thread Mark Stephen Mrotek
Gentlemen,

If each pitch name is enclosed in  , the octaves are formed.

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Daniel Rosen
Sent: Sunday, January 05, 2014 8:52 AM
To: Pierre Perol-Schneider
Cc: lilypond-user@gnu.org
Subject: RE: Automatic octaves

 From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] 
 Sent: Sunday, January 05, 2014 5:42 AM
 To: Daniel Rosen
 Cc: lilypond-user@gnu.org
 Subject: Re: Automatic octaves
 
 A standart update works fine.
 Here you go :

Pierre,

This doesn't change anything for me. Is there something I need to change on
my end?

I actually should have been more precise before when I described the output
I was getting from the original snippet: it works on the final chord in the
example, but that's all. The same thing happens with your version.

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


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


RE: Automatic octaves

2014-01-05 Thread TaoCG
Mark Stephen Mrotek wrote
 Gentlemen,
 
 If each pitch name is enclosed in  , the octaves are formed.
 
 Mark
 
 -Original Message-
 From: lilypond-user-bounces+carsonmark=

 ca.rr.com@

 [mailto:lilypond-user-bounces+carsonmark=

 ca.rr.com@

 ] On Behalf Of
 Daniel Rosen
 Sent: Sunday, January 05, 2014 8:52 AM
 To: Pierre Perol-Schneider
 Cc: 

 lilypond-user@

 Subject: RE: Automatic octaves
 
 From: Pierre Perol-Schneider [mailto:

 pierre.schneider.paris@

 ] 
 Sent: Sunday, January 05, 2014 5:42 AM
 To: Daniel Rosen
 Cc: 

 lilypond-user@

 Subject: Re: Automatic octaves
 
 A standart update works fine.
 Here you go :
 
 Pierre,
 
 This doesn't change anything for me. Is there something I need to change
 on
 my end?
 
 I actually should have been more precise before when I described the
 output
 I was getting from the original snippet: it works on the final chord in
 the
 example, but that's all. The same thing happens with your version.
 
 DR
 ___
 lilypond-user mailing list

 lilypond-user@

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

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

I wrote an alternative approach to automatic octaves a little while ago.
Maybe it's useful to you:
http://pastebin.com/u9dbkENA

It uses capital notenames to add octaves.
For example

c4 D e F

is the same as

c4 d d' e f f'

If you don't use the default pitch-language you have to modify the code to
suit your needs.
It's not extensively tested nor is it tested with 2.18 but I guess it should
work.

Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-Automatic-octaves-tp157172p157195.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Open string tunings for guitar

2014-01-05 Thread Fulvio Turra
Federico hit the point. I forgot to mention in my first message that
Frescobaldi is the editor I use and a custom tuning generator would be a
very nice addition!
Regards.

Fulvio



2014/1/5 Federico Bruni fedel...@gmail.com

 2014/1/5 David Kastrup d...@gnu.org

 I think that extending the tunings for unorthodox tunings is pretty
 pointless since that makes finding the needed information harder, and
 since it results in basically random selection of predefined tunings.

 The point here is more that it is _trivial_ to do your own tuning, by
 writing something like

 \new TabStaff \with { stringTunings = \stringTuning c, g, d g b d' }
 { ... }

 It is much faster to write this down rather than searching through
 preexisting tuning tables to find a particular unorthodox tuning.


 I agree.
 But a custom tuning generator in Frescobaldi wizard would be nice:
 https://github.com/wbsoft/frescobaldi/issues/342


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


Re: Automatic octaves

2014-01-05 Thread Eluze
Pierre Perol-Schneider wrote
 2014/1/5 Daniel Rosen lt;

 drosen27@

 gt;
 
 Is someone able to update it?


 A standart update works fine.
 Here you go :
 
 %
  \version 2.18.0
 
 #(define (octave-up m t)
 
 (let* ((octave (1- t))
 
 (new-note (ly:music-deep-copy m))
 
 (new-pitch (ly:make-pitch
 
 octave
 
 [...]

instead of this (broken) snippet you could use dak's most elegant and short
proposal:

http://lilypond.1069038.n5.nabble.com/quot-Octave-quot-script-in-Frescobaldi-td152801.html#none

Eluze




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-Automatic-octaves-tp157172p157199.html
Sent from the User mailing list archive at Nabble.com.

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


lilypond.org is down

2014-01-05 Thread MarcM

and not just for me.
http://www.isitdownrightnow.com/lilypond.org.html




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/lilypond-org-is-down-tp157202.html
Sent from the User mailing list archive at Nabble.com.

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


Re: musicxml2ly on Windows

2014-01-05 Thread TaoCG
TaoCG wrote
 
 Phil Holmes-2 wrote
 - Original Message - 
 From: TaoCG lt;

 tao_lilyponduser@

 gt;
 To: lt;

 lilypond-user@

 gt;
 Sent: Sunday, January 05, 2014 3:32 PM
 Subject: Re: musicxml2ly on Windows
 
 
 Phil Holmes-2 wrote
 - Original Message - 
 From: TaoCG lt;

 tao_lilyponduser@

 gt;
 To: lt;

 lilypond-user@

 gt;
 Sent: Sunday, January 05, 2014 2:40 PM
 Subject: musicxml2ly on Windows


 Dear all,

 what would be the best way to invoke musicxml2ly on Windows when there 
 is
 also a Python 3 installation.
 When I try to run it with the python that comes with lilypond like
 this

 python.exe musicxml2ly.py test.xml

 I get this error:
 Could not find platform independent libraries
 
 prefix
 Could not find platform dependent libraries
 
 exec_prefix
 Consider setting $PYTHONHOME to
 
 prefix
 [:
 
 exec_prefix
 ]
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
  File musicxml2ly.py, line 3, in ?
import optparse
 ImportError: No module named optparse

 This is with Lilypond 2.16


 Regards,
 Tao


 What directory are you running the command from?  What does your PATH
 statement look like?

 --
 Phil Holmes


 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user

 I ran it from C:\Program Files (x86)\Lilypond\usr\bin
 and my Path is:
 C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\QT Lite\QTSystem
 
 
 OK.  What does python -V give you?
 
 --
 Phil Holmes 
 
 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user
 From lilypond\usr\bin
 Python 2.4.5
 
 from everywhere else
 Python 3.3.2

Hmm... I tried replacing the python3-directory with the lily\usr\bin\ and
now I get this error:

  File C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py, line 2105
if current_staff and staff  current_staff and not
n.get_maybe_exist_named_child ('chord'):
^
SyntaxError: invalid syntax


These brackets sure look strange. Is this an error in musicxml2ly?




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157204.html
Sent from the User mailing list archive at Nabble.com.

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


Removing empty staves in piano template with melody and lyrics

2014-01-05 Thread muggle
I'm using the template shown in the LilyPond manual with a few modifications:

\version 2.16.2

\header{
  title =  \markup{title}
  subsubtitle = \markup{subtitle}
}

melody = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  R1*16 a4 b c d
}

text = \lyricmode {
  Aaa Bee Cee Dee
}

upper = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  c4 c c c c c c c c c c c c c c c c c c c
  c c c c c c c c c c c c c c c c c c c c c
  c c c c c c c c c c c c c c c c c c c c c
  c c c c c c
}

lower = \relative c {
  \clef bass
  \key c \major
  \time 4/4

  c2 c c c c c c c c c c c c c c c c c c c c
  c c c c c c c c c c c c c
}

\score {
  
\new Voice = mel { \autoBeamOff \melody }
\new Lyrics \lyricsto mel \text
\new PianoStaff 
  \new Staff = upper \upper
  \new Staff = lower \lower

  
  \layout {
\context { \Staff \RemoveEmptyStaves }
  }
  \midi { }
}

I know that the line \context { \Staff \RemoveEmptyStaves } makes any rest
bars invisible. My piano introduction is over 8 bars long, but some of these
rest bars still appear in the first line of the score - the rest are hidden.
Is there a way to hide these rest bars as well? I'm not concerned about the
lyrics at this point.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Removing-empty-staves-in-piano-template-with-melody-and-lyrics-tp157207.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Removing empty staves in piano template with melody and lyrics

2014-01-05 Thread David Kastrup
muggle rauy...@aucklanduni.ac.nz writes:

 I know that the line \context { \Staff \RemoveEmptyStaves } makes
 any rest bars invisible. My piano introduction is over 8 bars long,
 but some of these rest bars still appear in the first line of the
 score - the rest are hidden.  Is there a way to hide these rest bars
 as well? I'm not concerned about the lyrics at this point.

\context { \Staff \RemoveEmptyStaves remove-first = ##t }

-- 
David Kastrup

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


Re: Removing empty staves in piano template with melody and lyrics

2014-01-05 Thread muggle
Really?

I just get an error when I change that line:

warning: cannot find property type-check for `remove-first'
(translation-type?).  perhaps a typing error?
warning: doing assignment anyway
warning: cannot find property type-check for `remove-first'
(translation-type?).  perhaps a typing error?
warning: doing assignment anyway
warning: cannot find property type-check for `remove-first'
(translation-type?).  perhaps a typing error?
warning: doing assignment anyway
[8][16]



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Removing-empty-staves-in-piano-template-with-melody-and-lyrics-tp157207p157209.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Removing empty staves in piano template with melody and lyrics

2014-01-05 Thread David Kastrup
muggle rauy...@aucklanduni.ac.nz writes:

 Really?

 I just get an error when I change that line:

 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 [8][16]

Sorry, it's rather

\override VerticalAxisGroup.remove-first = ##t


-- 
David Kastrup

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


Re: Removing empty staves in piano template with melody and lyrics

2014-01-05 Thread David Kastrup
David Kastrup d...@gnu.org writes:

 muggle rauy...@aucklanduni.ac.nz writes:

 Really?

 I just get an error when I change that line:

 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 [8][16]

 Sorry, it's rather

 \override VerticalAxisGroup.remove-first = ##t

Sigh.  And since you used \version 2.16.2, you have to write this as

\override VerticalAxisGroup #'remove-first = ##t

-- 
David Kastrup

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


Re: Removing empty staves in piano template with melody and lyrics

2014-01-05 Thread SoundsFromSound
dak wrote
 David Kastrup lt;

 dak@

 gt; writes:
 
 muggle lt;

 rauy001@.ac

 gt; writes:

 Really?

 I just get an error when I change that line:

 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 warning: cannot find property type-check for `remove-first'
 (translation-type?).  perhaps a typing error?
 warning: doing assignment anyway
 [8][16]

 Sorry, it's rather

 \override VerticalAxisGroup.remove-first = ##t
 
 Sigh.  And since you used \version 2.16.2, you have to write this as
 
 \override VerticalAxisGroup #'remove-first = ##t
 
 -- 
 David Kastrup
 
 ___
 lilypond-user mailing list

 lilypond-user@

 https://lists.gnu.org/mailman/listinfo/lilypond-user


Hello muggle,

Consider upgrading to the new super-awesome v2.18 of LilyPond if at all
possible. :) Have fun! It's a great update.

Ben



-
composer | sound designer 
LilyPond Tutorials (for beginners) -- http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Removing-empty-staves-in-piano-template-with-melody-and-lyrics-tp157207p157212.html
Sent from the User mailing list archive at Nabble.com.

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


Re: musicxml2ly on Windows

2014-01-05 Thread Alex Loomis
Have you tried upgrading to 2.18? It's possible that if the issue is with 
musicxml2ly that it has been fixed.



On Jan 5, 2014, at 4:42 PM, TaoCG tao_lilypondu...@gmx.net wrote:

 TaoCG wrote
 
 Phil Holmes-2 wrote
 - Original Message - 
 From: TaoCG lt;
 
 tao_lilyponduser@
 
 gt;
 To: lt;
 
 lilypond-user@
 
 gt;
 Sent: Sunday, January 05, 2014 3:32 PM
 Subject: Re: musicxml2ly on Windows
 
 
 Phil Holmes-2 wrote
 - Original Message - 
 From: TaoCG lt;
 
 tao_lilyponduser@
 
 gt;
 To: lt;
 
 lilypond-user@
 
 gt;
 Sent: Sunday, January 05, 2014 2:40 PM
 Subject: musicxml2ly on Windows
 
 
 Dear all,
 
 what would be the best way to invoke musicxml2ly on Windows when there 
 is
 also a Python 3 installation.
 When I try to run it with the python that comes with lilypond like
 this
 
 python.exe musicxml2ly.py test.xml
 
 I get this error:
 Could not find platform independent libraries
 
 prefix
 Could not find platform dependent libraries
 
 exec_prefix
 Consider setting $PYTHONHOME to
 
 prefix
 [:
 
 exec_prefix
 ]
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
 File musicxml2ly.py, line 3, in ?
   import optparse
 ImportError: No module named optparse
 
 This is with Lilypond 2.16
 
 
 Regards,
 Tao
 
 
 What directory are you running the command from?  What does your PATH
 statement look like?
 
 --
 Phil Holmes
 
 
 ___
 lilypond-user mailing list
 
 lilypond-user@
 
 https://lists.gnu.org/mailman/listinfo/lilypond-user
 
 I ran it from C:\Program Files (x86)\Lilypond\usr\bin
 and my Path is:
 C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
 Files (x86)\QT Lite\QTSystem
 
 
 OK.  What does python -V give you?
 
 --
 Phil Holmes 
 
 
 ___
 lilypond-user mailing list
 
 lilypond-user@
 
 https://lists.gnu.org/mailman/listinfo/lilypond-user
 From lilypond\usr\bin
 Python 2.4.5
 
 from everywhere else
 Python 3.3.2
 
 Hmm... I tried replacing the python3-directory with the lily\usr\bin\ and
 now I get this error:
 
  File C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py, line 2105
if current_staff and staff  current_staff and not
 n.get_maybe_exist_named_child ('chord'):
^
 SyntaxError: invalid syntax
 
 
 These brackets sure look strange. Is this an error in musicxml2ly?
 
 
 
 
 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157204.html
 Sent from the User mailing list archive at Nabble.com.
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Articulated tremolo problem

2014-01-05 Thread hhpmusic
Hello, 
  I discover that articulate can now treat : based tremolos. But when I use 
it with :'s without number (see attached), the log generates warning messages 
saying non-interger tremolo, and the midi file doesn't produce tremolos on 
these notes. What's wrong?

Regards
Haipeng

\version 2.18
\include articulate.ly

mu = \relative c' {
\clef treble \time 4/4
\tempo 4=120
c1:16 | d4: e8: f: g2:32 |
}

\score {
\unfoldRepeats \articulate {
\new Staff { \mu
} } \midi { } }


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