Re: Rolled Chord

2014-01-28 Thread Noeck
Hi Mark,


 My limited experience with the computer language for commands suggests two
 things.
 1. The command requires a  = t.  It should be tieWaitForNote = t.
 2. Commands can contain other symbols, \,  ' (apostrophe),  and  #. 

This got much easier in recent versions of LilyPond. Which version do
you use? You can (for most settings) now forget about the #'. The scheme
value 'true' is still ##t. The only counter-intuitive thing left is the
# after the = .

That leads to what you’ve already found by now:
  tieWaitForNote = ##t

Cheers,
Joram

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


Re: understanding midi files

2014-01-28 Thread karl
Johan Vromas:
 k...@aspodata.se writes:
 
   IOError: [Errno 2] No such file or directory: 'aeiou.mid'
 
  $ ls -l aeiou.mid 
  -rw--- 1 karl users 9760 Jan 27 10:44 aeiou.mid
 
 To eliminate some odds, try passing the file using a complete path, e.g.
 
   $ lilymidi --pretty `pwd`/aeiou.mid

$ lilymidi --pretty /home/karl/examples/aeiou.mid | head
Filename: /home/karl/examples/aeiou.mid
MIDI format:  1 (one or more simultaneous tracks)
Divisions:768 per whole note
#Tracks:  10

Track 1:
Time 0:
Track name: A-e-i-o-u
Copyright:  TM: trad. occitan. / Marc H?nsenberger
Q: Musique Simili: Falbalas. Ins-Anet 1998
Traceback (most recent call last):
  File /usr/local/bin/lilymidi, line 250, in module
go ()
  File /usr/local/bin/lilymidi, line 234, in go
dump_midi (midi_data, midi_file, options);
  File /usr/local/bin/lilymidi, line 224, in dump_midi
dump_event (ev[1], time, );
  File /usr/local/bin/lilymidi, line 192, in dump_event
print padding + f.format (ev[1], ev[2])
IOError: [Errno 32] Broken pipe
$

Ok, full path made it work, but why does it complain so verbosely about 
broken pipe, pipeing things to e.g. head is normal behaviour, it should
not complain about that.

///

Also:

 ** lilymidi output:
...
Divisions:768 per whole note
...
Track 1:
...
Tempo:  50 msec/quarter
Time signature: 1/8, metronome 1/4

 ** midi.pl output:
...
  'ticks'  = 192,
# Track #0 ...
['set_tempo', 0, 50],
['time_signature', 0, 1, 3, 24, 8],
...

 ** lilymidi code:

class time_signature_formatter (formatter):
   def format_vals (self, val1, val2 = ):
   from fractions import Fraction
   # if there are more notated 32nd notes per midi quarter than 8,
   # we display a fraction smaller than 1 as scale factor.
   r = Fraction(8, ord (val2[3]))
   if r == 1:
   ratio =
   else:
   ratio =  * + str (r)
   return str (ord (val2[0])) + / + str(1  ord (val2[1])) + ratio \
   + , metronome   + str (Fraction (ord (val2[2]), 96))
=

Why does lilymidi treat val2[3] as a multiplier and where comes the 96
from (in relation to val2[2]) ?

http://www.cdik.se/pdf/midiformat.pdf describes the time signature
event on page 12. It is unclear written. Is there anyone here that
have a clear understanding about the last two parameters, named cc and 
bb in the document ?

And page 4 describes ticks per quarter-note where the quater note
isn't nessesarily a quarter note.

The text says something like

 cc number of ticks in metronome click
 bb number of 32nd notes to the quarter note

So if I have a 6/8 key signature, the beat is two per measure (on 4.
in lilypond notation), but the text confuses the reader with
expressions like quarter note, MIDI quarter note and
metronome click. Where obviously the quarter note isn't a normal
quater note.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



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


Re: understanding midi files

2014-01-28 Thread Johan Vromans
k...@aspodata.se writes:

 Johan Vromas:
 k...@aspodata.se writes:
 
   IOError: [Errno 2] No such file or directory: 'aeiou.mid'
 
  $ ls -l aeiou.mid 
  -rw--- 1 karl users 9760 Jan 27 10:44 aeiou.mid
 
 To eliminate some odds, try passing the file using a complete path, e.g.
 
   $ lilymidi --pretty `pwd`/aeiou.mid

 $ lilymidi --pretty /home/karl/examples/aeiou.mid | head
 Filename: /home/karl/examples/aeiou.mid
 MIDI format:  1 (one or more simultaneous tracks)
 Divisions:768 per whole note
 #Tracks:  10

 Track 1:
 Time 0:
 Track name: A-e-i-o-u
 Copyright:  TM: trad. occitan. / Marc H?nsenberger
 Q: Musique Simili: Falbalas. Ins-Anet 1998
 Traceback (most recent call last):
   File /usr/local/bin/lilymidi, line 250, in module
 go ()
   File /usr/local/bin/lilymidi, line 234, in go
 dump_midi (midi_data, midi_file, options);
   File /usr/local/bin/lilymidi, line 224, in dump_midi
 dump_event (ev[1], time, );
   File /usr/local/bin/lilymidi, line 192, in dump_event
 print padding + f.format (ev[1], ev[2])
 IOError: [Errno 32] Broken pipe
 $

 Ok, full path made it work,

Great. The reason I asked was that I assumed lilymidi to be a script
that internally 'change directory' for some reason.

 but why does it complain so verbosely about broken pipe, pipeing
 things to e.g. head is normal behaviour, it should not complain about
 that.

Sending output to a pipe and then closing the pipe before the program is
finished produces an IO error. It is up to the program to decide whether
to ignore this IO error. Personally, I think it's good to signal the
error.

   'ticks'  = 192,
 # Track #0 ...
 ['set_tempo', 0, 50],
 ['time_signature', 0, 1, 3, 24, 8],

Weird time sig. 1/8 ?

 where comes the 96 from (in relation to val2[2]) ?

There are several constants that are used in MIDI. Most of them
originate from the initial, serial protocols used to transmit MIDI
messages between devices. I can't explain them either.

-- Johan

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


Re: Horizontal TupletBrackets?

2014-01-28 Thread Peter Crighton
Thanks for the suggestion, David!
I find it to be easier, though, to override the positions manually instead
of generally overriding them with your code and then having to offset
almost every position again.
It might be useful in another use case, though, so I’m saving your code for
future use. Thanks!


--
Peter Crighton | Musician  Music Engraver based in Mainz, Germany
http://www.petercrighton.de


2014-01-25 David Nalesnik david.nales...@gmail.com

 Hi Peter,


 On Fri, Jan 24, 2014 at 8:20 AM, Peter Crighton petecrigh...@gmail.comwrote:

 Hi List,

 is there a way to have all TupletBrackets in a score be horizontal
 without altering every single one?


 [...]

 In a drum score I think it’s preferable to have all Beams and
 TupletBrackets horizontal as this helps with reading. For Beams there is
 the possibility of \override Beam.damping = #+inf.0, but I can’t find
 anything similar for TupletBrackets.


 I also don't find a convenient way to ask for horizontal tuplet brackets.

 Rather than setting 'positions for each bracket, you could do the
 following:

  \version 2.18.0

 #(define flat-brackets
(lambda (grob)
  (let* ((pos (ly:tuplet-bracket::calc-positions grob))
  (dir (ly:grob-property grob 'direction))
  (y (if (= UP dir)
 (max (car pos) (cdr pos))
 (min (car pos) (cdr pos)
(cons y y

 \new DrumVoice {
   \drummode {
 \voiceOne
 \set tupletSpannerDuration = #(ly:make-moment 1 4)
 %\override TupletBracket.direction = #DOWN
 \override TupletBracket.positions = #flat-brackets
  \tuplet 3/2 {
   hh sn4 cymr8 cymr4 cymr8 cymr4 cymr8 cymr4 cymr8
   \once \offset positions #-0.3 TupletBracket %
   hh sn4 cymr8 cymr4 cymr8 cymr4 cymr8 cymr4 cymr8
 }
   }
 }

 %%%
 This uses the default value of 'positions, and simply selects one of the
 left/right values to use for both left and right.

 Of course, you then can't override positions again for fine-tuning of the
 flattened brackets.  (I notice that the first bracket could be lower, for
 example).

 Here you can use \once \offset, which will take effect on the values from
 the flat-brackets override, displacing them from where they are.  It must
 be \once to get this accumulating effect.  (I do this in the example above.)

 HTH,
 David

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


Re: understanding midi files

2014-01-28 Thread Richard Shann
On Tue, 2014-01-28 at 13:42 +0100, Johan Vromans wrote:
 
'ticks'  = 192,
  # Track #0 ...
  ['set_tempo', 0, 50],
  ['time_signature', 0, 1, 3, 24, 8],
 
 Weird time sig. 1/8 ? 

I have seen used in a MIDI file to indicate a 1/8 upbeat (anacrusis,
pickup), the generator of that MIDI however placed the succeeding 4/4
time signature at the same time rather than after a 1/8th note's
duration.

HTH

Richard



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


Re: understanding midi files

2014-01-28 Thread karl
Richard Shann:
 On Tue, 2014-01-28 at 13:42 +0100, Johan Vromans wrote:
  
 'ticks'  = 192,
   # Track #0 ...
   ['set_tempo', 0, 50],
   ['time_signature', 0, 1, 3, 24, 8],
  
  Weird time sig. 1/8 ? 
 
 I have seen used in a MIDI file to indicate a 1/8 upbeat (anacrusis,
 pickup), the generator of that MIDI however placed the succeeding 4/4
 time signature at the same time rather than after a 1/8th note's
 duration.

Yes, correct, it's an upbeat, after 1/8'th time a 6/8 time sig. comes,
and at the end of the piece a 5/8 time sig comes, well as usual with
upbeats. It seems to be midi's way of representing thoose things.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



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


Re: How do I get Emacs mode?

2014-01-28 Thread David Sumbler
On Mon, 2014-01-27 at 19:54 -0500, Hwaen Ch'uqi wrote:
  Just a question or two, based on my own experience. Did you first
 remove (or purge) LilyPond 2.14.2 before installing 2.18.0? Otherwise,
 your system may still be using the older installation.

Yes, I removed 2.14.2 using the Ubuntu Software Centre.

 Also, where did
 you install the latest version? If I remember correctly, the automatic
 installation of 2.14.2 places the bin files in /usr/bin. To keep this
 consistent, I installed LilyPond 2.18.0 in /usr/, using the --prefix
 argument.

I used the default, which installed LilyPond into /usr/local/lilypond,
with links in /usr/local/bin.

  Third, have you established that the .el files are exact
 copies by using a program like diff?

Yes

  To be utterly safe, I always
 remove the old .el files (which even purging will not remove) and
 replace them with the .el files found in the new installation. Lastly,
 if you use the info files to read the manuals, be sure to move them
 from their original location to the /usr/share/info directory;
 otherwise, you will not have access to them by the normal means.
 Hwaen Ch'uqi

What manuals?  I don't seem to have any.  One of the things I liked
about the Ubuntu installation of LilyPond 2.14.2 was that the html
manuals were installed on my hard drive and so were available all of the
time.  I don't seem to have that for 2.18.0 and can only view the
manuals via the LilyPond website, but I should very much like to install
them on my machines if possible - I can't always rely on having a usable
wifi connection with my netbook.

Incidentally, both the pieces I have set so far now compile correctly
under 2.18.0, without errors.  And, yes, even the misaligned dynamics,
which were the reason for my original question, are corrected now.

Thanks for all your help.

David


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


Re: understanding midi files

2014-01-28 Thread pls

On 28.01.2014, at 12:24, k...@aspodata.se wrote:

 http://www.cdik.se/pdf/midiformat.pdf describes the time signature
 event on page 12. It is unclear written. Is there anyone here that
 have a clear understanding about the last two parameters, named cc and 
 bb in the document ?
 
 And page 4 describes ticks per quarter-note where the quater note
 isn't nessesarily a quarter note.
 
 The text says something like
 
 ccnumber of ticks in metronome click
 bbnumber of 32nd notes to the quarter note
 
 So if I have a 6/8 key signature, the beat is two per measure (on 4.
 in lilypond notation), but the text confuses the reader with
 expressions like quarter note, MIDI quarter note and
 metronome click. Where obviously the quarter note isn't a normal
 quater note.
I don't agree.  I read it the following way (p. 4 and 12): 
cc:
there are two formats of dividing (delta) time: metrical time and 
time-code-based time.  The former is measured in divisions / ticks / clocks of 
a quarter note.  (A quarter is always a quarter note.)  For instance, if 
division is 96, then a time interval of an eighth-note between two events in 
the file would be 48.  This means that a dotted-quarter note includes in this 
case 144 (96 * 1.5 or 48 * 3) ticks / clocks. If the divisions value for a 
quarter note is 24 than the number of MIDI clocks in a dotted-quarter note is 
36 (24 * 1.5 or 12 * 3).

bb:
The bb parameter expresses the number of notated 32nd-notes in a […] quarter 
note […].  (I left out the word MIDI because it confused you.  Just think of a 
normal quarter note.)  If you would like to notate quarter notes than bb equals 
to 8 (8/32 = 1/4). If you want to notate eighth notes than bb should be 4….

I found a footnote in Beyond Midi – The Handbook of Musical Codes (Ed.: E. 
Selfridge Field, 1997, p. 54) which might be helpful to further illustrate the 
bb parameter. The footnote also shows the (MIDI) limitations of subdivising 
quarter notes by 32nds:

The intention of bb is to allow for the distinction between duple and triple 
subdivisions of the beat.  Multiple mixed compounds (duple at one level, triple 
at the adjacent level) are possible.  However, 32 is not a large enough number 
to handle multiple rhythms of any significant complexity. For example, in the 
duple subdivision of the quarter note, an eighth note would be equivalent to 
four 32nd notes;  a sixteenth note would be equivalent to two 32nd notes, etc.  
For triple subdivisions of the quarter note, 48 and 96 are more convenient 
numbers to use, and in the classical repertory many instances are encountered 
in which still larger multiples (or, in other file formats, floating-point 
arithmetic) are required for clarity and accuracy.

hth
patrick


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


Re: How do I get Emacs mode?

2014-01-28 Thread Federico Bruni
2014-01-28 David Sumbler da...@aeolia.co.uk

 What manuals?  I don't seem to have any.  One of the things I liked
 about the Ubuntu installation of LilyPond 2.14.2 was that the html
 manuals were installed on my hard drive and so were available all of the
 time.  I don't seem to have that for 2.18.0 and can only view the
 manuals via the LilyPond website, but I should very much like to install
 them on my machines if possible - I can't always rely on having a usable
 wifi connection with my netbook.



you can install the generic package with the --doc option
but be aware of this bug:
http://code.google.com/p/lilypond/issues/detail?id=3768

you can avoid the bug by entering the directory where you have saved the
file, then type:

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


standard staff sizes

2014-01-28 Thread Noeck
  1. Is there a world wide standard for staff sizes?
 
 No.
 
  2. Are Rastral Staff Sizes always the same? I once found a different
  list of rastral sizes. The differences are on the level of 2%, but I
  wonder if there is some official reference.
 
 No. The idea is always the same but there are several different values
 around. Some agree and differ only because they are rounded differently
 to fractions of mm or inches. A comparison will follow from my side.
 

As an addition to my previous mail, you can find a comparison of
different rastral sizes (staff sizes) here:

http://joramberger.de/files/rastral.pdf

And similarly, the meaning of tempo markings according to the German and
English Wikipedia:

http://joramberger.de/files/tempo.pdf

Cheers,
Joram

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


Re: How do I get Emacs mode?

2014-01-28 Thread David Sumbler
On Tue, 2014-01-28 at 15:09 +0100, Federico Bruni wrote:
 2014-01-28 David Sumbler da...@aeolia.co.uk
 What manuals?  I don't seem to have any.  One of the things I
 liked
 about the Ubuntu installation of LilyPond 2.14.2 was that the
 html
 manuals were installed on my hard drive and so were available
 all of the
 time.  I don't seem to have that for 2.18.0 and can only view
 the
 manuals via the LilyPond website, but I should very much like
 to install
 them on my machines if possible - I can't always rely on
 having a usable
 wifi connection with my netbook.
 
 
 
 you can install the generic package with the --doc option
 
 but be aware of this bug:
 http://code.google.com/p/lilypond/issues/detail?id=3768
 
 
 you can avoid the bug by entering the directory where you have saved
 the file, then type:
 
 
 sudo sh lilypond-version.sh --doc

Thanks for that.  I've now installed the html files, and it's all
working fine.

David
 



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


Re: Rolled Chord

2014-01-28 Thread David Kastrup
Noeck noeck.marb...@gmx.de writes:

 Hi Mark,


 My limited experience with the computer language for commands suggests two
 things.
 1. The command requires a  = t.  It should be tieWaitForNote = t.
 2. Commands can contain other symbols, \,  ' (apostrophe),  and  #. 

 This got much easier in recent versions of LilyPond.

Not really.  It's still gobbledygook but you can get along with less ook
in it.  Which means that it's easier to get right if you don't know what
you are doing.  But it's not really easier to actually understand what
you are doing.

 Which version do you use? You can (for most settings) now forget about
 the #'. The scheme value 'true' is still ##t. The only
 counter-intuitive thing left is the # after the = .

 That leads to what you’ve already found by now:
   tieWaitForNote = ##t

Yup.  In a context definition or modification.

-- 
David Kastrup

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


Re: Rolled Chord

2014-01-28 Thread Tim Slattery
Noeck noeck.marb...@gmx.de wrote:


This got much easier in recent versions of LilyPond. Which version do
you use? You can (for most settings) now forget about the #'. The scheme
value 'true' is still ##t. 

Is that true? I'm no Scheme expert, but I thought that the first #
told Lily that you are using Scheme code, and #t was the Scheme value
for true.

-- 
Tim Slattery
tim at risingdove dot com


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


Re: Rolled Chord

2014-01-28 Thread Noeck

 This got much easier in recent versions of LilyPond. Which version do
 you use? You can (for most settings) now forget about the #'. The scheme
 value 'true' is still ##t. 
 
 Is that true? I'm no Scheme expert, but I thought that the first #
 told Lily that you are using Scheme code, and #t was the Scheme value
 for true.

Yes, you are right. But if you are just settings variables to true in ly
syntax, then I often consider this combination ##t as the LilyPond
value for true.

Joram

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


RE: Rolled Chord

2014-01-28 Thread Mark Stephen Mrotek
Gentlemen,

I have tried both (in 2.18),
\set tieWaitForNote = ##t, works
\set tieWaitForNote = #t, does not work.

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
Noeck
Sent: Tuesday, January 28, 2014 9:12 AM
To: lilypond-user@gnu.org
Subject: Re: Rolled Chord


 This got much easier in recent versions of LilyPond. Which version do 
 you use? You can (for most settings) now forget about the #'. The 
 scheme value 'true' is still ##t.
 
 Is that true? I'm no Scheme expert, but I thought that the first # 
 told Lily that you are using Scheme code, and #t was the Scheme value 
 for true.

Yes, you are right. But if you are just settings variables to true in ly
syntax, then I often consider this combination ##t as the LilyPond value
for true.

Joram

___
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: \bendBefore

2014-01-28 Thread Marc Hohl

Am 27.01.2014 21:38, schrieb Xavier Noria:

A web search shows \bendBefore is not implemented. I have tried some
snippets found out there but failed to get the bends (using LilyJAZZ if
that matters).

I need the bend to indicate how to attack certain notes in saxophone scores.

Does anybody have a modern snippet to share?


I stumbled upon

http://lists.gnu.org/archive/html/lilypond-user/2007-07/msg00379.html

Maybe this is of some help? Or did you try this already?

Marc


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


Re: Rolled Chord

2014-01-28 Thread Noeck
 Gentlemen,
 
 I have tried both (in 2.18),
 \set tieWaitForNote = ##t, works
 \set tieWaitForNote = #t, does not work.
 
 Mark

I think nobody said that it should work. In both ways of thinking, you
need ##t
- switch to scheme syntax with # and then the scheme true value #t
  (this is what actually happens), i.e. ##t
- lilypond true combination ##t

Joram

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


RE: Rolled Chord

2014-01-28 Thread Mark Stephen Mrotek
Joram,

Thank you for the explanation. Having no knowledge or experience with Scheme, I 
did not know the need for, or purpose of, the hash mark(s),  #  or  ##. 
My initial inquiry was prompted by locating the command  tieWaitForNote 
(boolean).  I understand boolean. Of the use of  \set  and the hash marks, I 
did not.
Learning some basic syntax and grammar of Scheme would help me. Any suggestions?

Mark

-Original Message-
From: Noeck [mailto:noeck.marb...@gmx.de] 
Sent: Tuesday, January 28, 2014 9:44 AM
To: Mark Stephen Mrotek; lilypond-user@gnu.org
Subject: Re: Rolled Chord

 Gentlemen,
 
 I have tried both (in 2.18),
 \set tieWaitForNote = ##t, works
 \set tieWaitForNote = #t, does not work.
 
 Mark

I think nobody said that it should work. In both ways of thinking, you need ##t
- switch to scheme syntax with # and then the scheme true value #t
  (this is what actually happens), i.e. ##t
- lilypond true combination ##t

Joram


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


Re: Rolled Chord

2014-01-28 Thread Noeck
Hi Mark,

I think you do not really need scheme for what you want to do here. You
just need to know, that LilyPond uses the # sign to switch to the scheme
mode and properties are set or overriden with scheme values.

#(here you can put a whole scheme function)

or just a single value

#scheme-value

The whole section
5.2 Explaining the Internals Reference
of the notation reference would be interesting for you, in particular:
http://www.lilypond.org/doc/v2.18/Documentation/notation/layout-interfaces

Am 28.01.2014 18:53, schrieb Mark Stephen Mrotek:
  inquiry was prompted by locating the command  tieWaitForNote (boolean).  I 
 understand boolean. Of the use of  \set  and the hash marks, I did not.

What you need to know in addition is the context: Voice.
And that boolean in scheme means #t (true) or #f (false).

Then there is this annoying distiction between graphical objects and
context properties which is explained here:
http://www.lilypond.org/doc/v2.18/Documentation/notation/set-versus-override.html

For your case it is a context property of the Voice context, that means
you need \set (not \override).

\set Voice.tieWaitForNote = ##t

Voice can be omitted (Staff not), so you can write:

\set tieWaitForNote = ##t

If it was not boolean but for example a number like:

\set Staff.fontSize = #4

then you still need one # after the =
and because it is not the lowest context, you need to write Staff.

Does it get clearer now?

Cheers,
Joram


PS: If you are not tired yet: This was true for changes within music
expressions, i.e. within { }. You can change settings in \layout blocks
(inside and outside of scores) and \with statements and the syntax is
slightly different. If you need this and the manuals aren’t clear
enough, please ask again.

PPS: I still dream of this syntax:
\set Context.[GraphicalObject.]property = 4
everywhere.

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


Re: \bendBefore

2014-01-28 Thread Nathan
On Mon, Jan 27, 2014 at 12:38 PM, Xavier Noria f...@hashref.com wrote:
 A web search shows \bendBefore is not implemented. I have tried some
 snippets found out there but failed to get the bends (using LilyJAZZ if that
 matters).

 I need the bend to indicate how to attack certain notes in saxophone scores.

 Does anybody have a modern snippet to share?

If you'll bear with me here, I find \bendAfter to be rather ugly and
not at all like the slides I've seen in jazz lead sheets. (For one, it
stops where the next note starts, usually creating a curve that's too
long or too short on the horizontal axis.) I prefer a different
approach to bends, which looks nicer and is also easily extensible to
something like a \bendBefore.

Anyways, something like the following has served me well:

#(define (scoop-stencil grob)
  (ly:stencil-add
(ly:note-head::print grob)
(grob-interpret-markup grob
  (markup #:with-dimensions '(0 . 0) '(0 . 0)
  #:translate '(-0.2 . -0.5)
  #:path 0.25 '((moveto 0 0)
(curveto 0 -1 -1 -1.5 -1.5 -1.5))

scoop = \once \override NoteHead #'stencil = #scoop-stencil

\new Staff { \scoop c''4 }

The bend has fixed size and position. That's usually good enough for
me, but if you require many bends of different sizes, this should be
adapted into a music function.

(SMuFL has a bunch of nice pre-built bend glyphs; you can also use
those if you wish.)

Regards,
Nathan

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


Re: Rolled Chord

2014-01-28 Thread Noeck
Hi,

here is a little table how to change the defaults. You need to know if
it is a context property or an object property and if you want to apply
it for globally (layout), for a score (layout), for a specific context
(with), at a point in time of the music (music) or for a single object
(tweak).

in blocksetting context properties
setting graphical object properties
---
\layout \context { \Context \set prop = #val }
\context { \Context \override Grob.prop = #val }

  or\set Context.prop = #val
\override Context.Grob.prop = #val

\with   \set prop = #val
\override Grob.prop = #val

music   \set Context.prop = #val
\override Context.Grob.prop = #val

tweak   (not for context properties)
-\tweak #prop #val

Context = Voice, Staff, …
Grob = NoteHead, Clef, …
prop = color, X-offset, transparent, …
val = red, 1.0, #t, #f, …

Cheers,
Joram


PS: Is something useful like this table in the docs somewhere?

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


RE: Rolled Chord

2014-01-28 Thread Mark Stephen Mrotek
Joram,

Thank you for the table. Speaking only for myself, it does answer many 
questions.

Mark

-Original Message-
From: Noeck [mailto:noeck.marb...@gmx.de] 
Sent: Tuesday, January 28, 2014 11:08 AM
To: Mark Stephen Mrotek; lilypond-user@gnu.org
Subject: Re: Rolled Chord

Hi,

here is a little table how to change the defaults. You need to know if it is a 
context property or an object property and if you want to apply it for globally 
(layout), for a score (layout), for a specific context (with), at a point in 
time of the music (music) or for a single object (tweak).

in blocksetting context properties
setting graphical object properties
---
\layout \context { \Context \set prop = #val }
\context { \Context \override Grob.prop = #val }

  or\set Context.prop = #val
\override Context.Grob.prop = #val

\with   \set prop = #val
\override Grob.prop = #val

music   \set Context.prop = #val
\override Context.Grob.prop = #val

tweak   (not for context properties)
-\tweak #prop #val

Context = Voice, Staff, …
Grob = NoteHead, Clef, …
prop = color, X-offset, transparent, …
val = red, 1.0, #t, #f, …

Cheers,
Joram


PS: Is something useful like this table in the docs somewhere?


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


RE: Rolled Chord

2014-01-28 Thread Mark Stephen Mrotek
Joram,

You exemplify the best of what the user's group has to offer. Thank you for 
promoting my learning of Lilypond!

Mark

-Original Message-
From: Noeck [mailto:noeck.marb...@gmx.de] 
Sent: Tuesday, January 28, 2014 10:27 AM
To: Mark Stephen Mrotek; lilypond-user@gnu.org
Subject: Re: Rolled Chord

Hi Mark,

I think you do not really need scheme for what you want to do here. You just 
need to know, that LilyPond uses the # sign to switch to the scheme mode and 
properties are set or overriden with scheme values.

#(here you can put a whole scheme function)

or just a single value

#scheme-value

The whole section
5.2 Explaining the Internals Reference
of the notation reference would be interesting for you, in particular:
http://www.lilypond.org/doc/v2.18/Documentation/notation/layout-interfaces

Am 28.01.2014 18:53, schrieb Mark Stephen Mrotek:
  inquiry was prompted by locating the command  tieWaitForNote (boolean).  I 
 understand boolean. Of the use of  \set  and the hash marks, I did not.

What you need to know in addition is the context: Voice.
And that boolean in scheme means #t (true) or #f (false).

Then there is this annoying distiction between graphical objects and context 
properties which is explained here:
http://www.lilypond.org/doc/v2.18/Documentation/notation/set-versus-override.html

For your case it is a context property of the Voice context, that means you 
need \set (not \override).

\set Voice.tieWaitForNote = ##t

Voice can be omitted (Staff not), so you can write:

\set tieWaitForNote = ##t

If it was not boolean but for example a number like:

\set Staff.fontSize = #4

then you still need one # after the =
and because it is not the lowest context, you need to write Staff.

Does it get clearer now?

Cheers,
Joram


PS: If you are not tired yet: This was true for changes within music 
expressions, i.e. within { }. You can change settings in \layout blocks (inside 
and outside of scores) and \with statements and the syntax is slightly 
different. If you need this and the manuals aren’t clear enough, please ask 
again.

PPS: I still dream of this syntax:
\set Context.[GraphicalObject.]property = 4 everywhere.


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


Re: Rolled Chord

2014-01-28 Thread Noeck
Hi Mark,

glad that I could help. The table has some mistakes:
- no \set in \with and \context
- no # for first tweak argument
You might find more.

It should read:


in blocksetting context properties
setting graphical object properties
---
\layout \context { \Context prop = #val }
\context { \Context \override Grob.prop = #val }

  or\set Context.prop = #val
\override Context.Grob.prop = #val

\with   prop = #val 
\override Grob.prop = #val

music   \set Context.prop = #val
\override Context.Grob.prop = #val

tweak   (not for context properties)
\tweak prop #val

Cheers,
Joram

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


Re: standard staff sizes

2014-01-28 Thread Janek Warchoł
2014-01-28 Noeck noeck.marb...@gmx.de:
 As an addition to my previous mail, you can find a comparison of
 different rastral sizes (staff sizes) here:

 http://joramberger.de/files/rastral.pdf

that's really nice, thanks a lot!
Janek

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


RE: Rolled Chord

2014-01-28 Thread Mark Stephen Mrotek
Joram,

Noted and thank you again.

Mark

-Original Message-
From: Noeck [mailto:noeck.marb...@gmx.de] 
Sent: Tuesday, January 28, 2014 12:01 PM
To: Mark Stephen Mrotek; lilypond-user@gnu.org
Subject: Re: Rolled Chord

Hi Mark,

glad that I could help. The table has some mistakes:
- no \set in \with and \context
- no # for first tweak argument
You might find more.

It should read:


in blocksetting context properties
setting graphical object properties
---
\layout \context { \Context prop = #val }
\context { \Context \override Grob.prop = #val }

  or\set Context.prop = #val
\override Context.Grob.prop = #val

\with   prop = #val 
\override Grob.prop = #val

music   \set Context.prop = #val
\override Context.Grob.prop = #val

tweak   (not for context properties)
\tweak prop #val

Cheers,
Joram


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


Re: Frescobaldi on Mac installation instructions moved to Frescobaldi's wiki

2014-01-28 Thread Paul Morris
Davide Liessi-2 wrote
 the installation instructions for Frescobaldi on Mac OS X have been moved
 to Frescobaldi's wiki
 (https://github.com/wbsoft/frescobaldi/wiki).

Thanks Davide!  The migration instructions worked well for me.  However,
there was one line in them that was unclear to me:

You may delete the Portfile repository directory, even though it doesn’t
interfere with the installation.  

Which directory is this?  (Not a big deal, since this is optional...)

Thanks again!
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Frescobaldi-on-Mac-installation-instructions-moved-to-Frescobaldi-s-wiki-tp158539p158596.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: Frescobaldi on Mac installation instructions moved to Frescobaldi's wiki

2014-01-28 Thread Davide Liessi
Dear Paul,

2014-01-28 Paul Morris p...@paulwmorris.com:
 The migration instructions worked well for me.

I'm glad to hear this.

 However, there was one line in them that was unclear to me:

 You may delete the Portfile repository directory, even though it doesn’t
 interfere with the installation.

 Which directory is this?  (Not a big deal, since this is optional...)

My wording is actually unclear.

I meant the directory in which you cloned my Portfile repository
(https://github.com/dliessi/ports) when you first used it.
The line that you deleted in /opt/local/etc/macports/sources.conf
contained the path to that directory.
It could be a directory in your home folder (e.g. ~/github/ports), or
maybe /opt/dliessi.

I'll clarify and update the instructions later.

Best wishes.
Davide

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


Re: \bendBefore

2014-01-28 Thread Xavier Noria
On Tue, Jan 28, 2014 at 7:35 PM, Nathan when.possi...@gmail.com wrote:

On Mon, Jan 27, 2014 at 12:38 PM, Xavier Noria f...@hashref.com wrote:
  A web search shows \bendBefore is not implemented. I have tried some
  snippets found out there but failed to get the bends (using LilyJAZZ if
 that
  matters).
 
  I need the bend to indicate how to attack certain notes in saxophone
 scores.
 
  Does anybody have a modern snippet to share?

 If you'll bear with me here, I find \bendAfter to be rather ugly and
 not at all like the slides I've seen in jazz lead sheets. (For one, it
 stops where the next note starts, usually creating a curve that's too
 long or too short on the horizontal axis.) I prefer a different
 approach to bends, which looks nicer and is also easily extensible to
 something like a \bendBefore.

 Anyways, something like the following has served me well:

 #(define (scoop-stencil grob)
   (ly:stencil-add
 (ly:note-head::print grob)
 (grob-interpret-markup grob
   (markup #:with-dimensions '(0 . 0) '(0 . 0)
   #:translate '(-0.2 . -0.5)
   #:path 0.25 '((moveto 0 0)
 (curveto 0 -1 -1 -1.5 -1.5 -1.5))

 scoop = \once \override NoteHead #'stencil = #scoop-stencil

 \new Staff { \scoop c''4 }

 The bend has fixed size and position. That's usually good enough for
 me, but if you require many bends of different sizes, this should be
 adapted into a music function.


Works like a charm, thanks very much!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Semi-transparent color in Lilypond

2014-01-28 Thread Rupert Snook
Ok, thank you for the help.


On Mon, Jan 27, 2014 at 11:28 PM, Henning Hraban Ramm
lilypon...@fiee.netwrote:


 Am 2014-01-27 um 16:19 schrieb pls p.l.schm...@gmx.de:

  please reply to the list!
  On 27.01.2014, at 09:59, Rupert Snook rupertsn...@gmail.com wrote:
 
  Thanks Patrick and Harm for the suggestions! These could work as
 workarounds, but still not exactly what I'm after. I'm looking for a color
 that has an opacity / transparency channel, and this channel could be set
 between 0% (fully transparent) and 100% (fully opaque).
 
  If that's not possible, maybe a work around could be to import a pre
 made graphic that was already semi-opaque.

 Transparency is not possible in PostScript, but just in PDF - you can
 inject it with pdfmarks, though. Maybe it would be possible to load a
 definition with a handwritten EPS.


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





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


New Progressive Rock songbook created with LilyPond

2014-01-28 Thread Peter Crighton
Hello all,

maybe this is of interest for some of you.
Over the last months I created the accompanying songbook for Progressive
Rock band Transatlantic’s new album Kaleidoscope. Like my last book for
Neal Morse it was all done in LilyPond.
Here is the info page for the album (and book):
http://www.radiantrecords.com/products/483-transatlantic-kaleidoscope.aspx

We are printing the book on demand with CreateSpace, so they are also
available on Amazon. It’s fascinating what is possible nowadays without a
big publisher.

Maybe this would also be something for the Pondings column on the LilyPond
website if it qualifies?

--
Peter Crighton | Musician  Music Engraver based in Mainz, Germany
http://www.petercrighton.de
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New Progressive Rock songbook created with LilyPond

2014-01-28 Thread Urs Liska

Am 29.01.2014 01:52, schrieb Peter Crighton:

Hello all,

maybe this is of interest for some of you.
Over the last months I created the accompanying songbook for Progressive
Rock band Transatlantic’s new album Kaleidoscope. Like my last book for
Neal Morse it was all done in LilyPond.
Here is the info page for the album (and book):
http://www.radiantrecords.com/products/483-transatlantic-kaleidoscope.aspx

We are printing the book on demand with CreateSpace, so they are also
available on Amazon. It’s fascinating what is possible nowadays without a
big publisher.

Maybe this would also be something for the Pondings column on the LilyPond
website if it qualifies?



I think this would warrant a Ponding (forwarding to but-lilypond).
But it would be nice if there were at least an example page somewhere.

Urs

PS: If you could share more experience than just the fact of its 
existence you might as well write a blog post about the project (good 
for us, advertisment for you ;-) )




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