Re: Soundfonts

2010-08-21 Thread lilypond

Thanks Brett,

I just want a good music notation, with the midi sound as feedback if  
my notation was correct.
With your info I decided to use a different note for the mute version.  
That is the only practical thing to do.


Thanks very much to make it clear to me.

With regards,

Bernard

Quoting Brett McCoy :


On Wed, Aug 18, 2010 at 3:10 PM,   wrote:

I have a similar question.

I have a "bass" and a "mute bass", which is just slightly different sound. I
would like to use the same "bass" notation, with a additional accent which
can be played as a different sound in the Midi file.
Is that possible in Lilypond? If so how to do this?


Normally that kind of thing is handled by either program changes (in
the MIDI) or putting the different articulations on separate tracks
(which is really something you'd do in a DAW rather than trying to do
it with scoring software). A lot of samplers handle this kind of thing
with 'key switching' also... but don't think you can do it in
Lilypond.

--
Brett W. McCoy -- http://www.electricminstrel.com

"In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world."
    -- Jelaleddin Rumi

___
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


glissando without starting note

2010-08-21 Thread Mats Behre

Thanks Again James! But I'm sorry to tell you  that it doesn't work  :(
'cause having a previous note attached to the glissando, even if the note is
hidden, make changes to the time in the bar.


If timing is the only problem you can use something akin to this fucntion I've 
been using to make things at least a little more readable in the main score:

preGliss = #(
   define-music-function (parser location glissMusic startPoint units) 
(ly:music? number? number?) #{
   \once \override NoteHead #'X-extent = #'(1 . 1)
   \hideNotes $glissMusic \unHideNotes
   \set Timing.measurePosition = #(ly:make-moment $startPoint $units)
   #}
)

Used e.g. like this:

   r8 \preGliss { g'4 \glissando } #1 #8
   d'4--\mf c8 bes f \triplet { \stemDown f,8 ees' f, \stemNeutral } \bar 
"||"

I have not found a way to avoid having the "\glissando" in the music.
What this does is to start the glissando at the g indicated in the music (I 
used to have g32, but in 2.12.3 that doesn't show a gliss, and for g8 the gliss 
is too short) and ends it at the following d. The #1 #8 means that the music 
after the gliss should start 1/8 into the bar.

If someone knows a way to improve on this function I'd be happy.

Rgds,
Mats

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


Moving objects like rehearsal mark or metronome mark

2010-08-21 Thread Akira
Here is a picture in which metronome mark is moved above rehearsal mark.

Lilypond is clever enough to avoid crashes, but not wise enough to
normally layout object horizontally.
I want the layout shown in picture.
Could you please tell me how to do it?
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Moving objects like rehearsal mark or metronome mark

2010-08-21 Thread Nick Baskin
If you're using 2.12.3, what you want is

\once \override Score.MetronomeMark '#X-offset = #1

but with the number at the end adjusted to whatever value produces the
desired layout. I don't know about the syntax for the 2.13 series.

Cheers,
Nick

On Sat, Aug 21, 2010 at 11:15 AM, Akira wrote:

> Here is a picture in which metronome mark is moved above rehearsal mark.
>
> Lilypond is clever enough to avoid crashes, but not wise enough to
> normally layout object horizontally.
> I want the layout shown in picture.
> Could you please tell me how to do it?
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


-- 
And she forgot the stars, the moon, and sun,
And she forgot the blue above the trees,
And she forgot the dells where waters run,
And she forgot the chilly autumn breeze...

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


Re: Moving objects like rehearsal mark or metronome mark

2010-08-21 Thread Xavier Scheuer
On 21 August 2010 17:15, Akira  wrote:
>
> Here is a picture in which metronome mark is moved above rehearsal
> mark.
>
> Lilypond is clever enough to avoid crashes, but not wise enough to
> normally layout object horizontally.
> I want the layout shown in picture.
> Could you please tell me how to do it?

That's typically what I was asking for in my comment here:
http://code.google.com/p/lilypond/issues/detail?id=684#c16

It seems the PATCH for #684 handles well placement of MetronomeMark
when used simultaneously with RehearsalMark (AFAICS, based on Jan's
example png).

I hope this PATCH will be pushed soon, so we will be able to check this
in next LilyPond version.

Cheers,
Xavier

--
Xavier Scheuer 

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


Re: even horizontal spacing

2010-08-21 Thread Neil Puttock
On 19 August 2010 20:25, Marek Klein  wrote:

> I would like to get even horizontal spacing for all notes disregarding the
> duration.
> For example for
> d2 c4 e2 f1
> I would like to get the result as with
> d2*1/2 c4 e2*1/2 f1*1/4
>
> How could I get this automaticaly?

Use \musicMap to scale the notes:

#(define (scale-notes music)
   (if (music-is-of-type? music 'rhythmic-event)
   (let* ((len (ly:music-length music))
  ;; set default duration for notes
  (base-mom (ly:make-moment 1 4))
  (scale (ly:moment-div base-mom len)))
 (ly:music-compress music scale)))
   music)

\new Staff \musicMap #scale-notes \relative c' {
  \cadenzaOn
  c\breve c1. c2 c4 c8. c16 c32 c64 c128 r8 r4 r2
}

Cheers,
Neil

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


Re: MIDI output of unfold and tremolo repeats are different?

2010-08-21 Thread sereliya at yahoo dot com

> Hi!

Hello

> Have a look at \unfoldRepeats .  ;-)
> NR 3.5.4 Repeats in MIDI

I am using \unfoldRepeats, as recommended in the manual with

(2) two separate scores, one for the notation, and the other

for the MIDI output and the MIDI output of "tremolo" repeats

is __different__ (shorter) than other than percent and normal

unfold repeats.

If anybody else is having and / or has faced this problem,

please let me know, I'd greatly appreciate it.

Many thanks in advance.

> > Dear LilyPond users,
> >
> > I have been having a strange problem where the MIDI
> output
> >
> > of tremolo and unfold repeats are not the same
> (durations).
> >
> > Has anyone been having similar problems?  Any
> pointers as to
> >
> > where to start looking for correcting this would be
> greatly
> >
> > appreciated.



  

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


Re: Different Raster Size for every page

2010-08-21 Thread David Rogers

* Nils Gey  [2010-08-20 18:28]:


Sorry for the confusion.

What I really mean is a simple question:
I want page 1/2 size 16 and page 2/2 size 18 because its the last page and has 
fewer notes.

Note: Not really "I" but "he" or "someone". For me aestethics would prevent 
such a thing, but maybe there really is a case where this is needed to express the music.


In a situation like that, I would adjust the size of the whole score to
whatever single value makes a satisfactory result. Changing the note
sizes on one page is disturbing and funny-looking. Other solutions
better than "someone's" suggestion: adjusting vertical spacing or
adding/changing line breaks.


--
Thanks
David

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


Re: Different Raster Size for every page

2010-08-21 Thread Nils Gey
Thank you for your answer, but it was not a question about setting and printing 
notation but just a technical one. 

Nils

On Sat, 21 Aug 2010 10:55:54 -0700
David Rogers  wrote:

> * Nils Gey  [2010-08-20 18:28]:
> 
> >Sorry for the confusion.
> >
> >What I really mean is a simple question:
> >I want page 1/2 size 16 and page 2/2 size 18 because its the last page and 
> >has fewer notes.
> >
> >Note: Not really "I" but "he" or "someone". For me aestethics would prevent 
> >such a thing, but maybe there really is a case where this is needed to 
> >express the music.
> 
> In a situation like that, I would adjust the size of the whole score to
> whatever single value makes a satisfactory result. Changing the note
> sizes on one page is disturbing and funny-looking. Other solutions
> better than "someone's" suggestion: adjusting vertical spacing or
> adding/changing line breaks.
> 
> 
> -- 
> Thanks
> David
> 

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


Re: glissando without starting note

2010-08-21 Thread Pato Press
Thanks Kieren!
These works much better than the glissando. I have never used the Bend's,
but it really works nice and seams more real to the effect produced when
playing.
I'm an argentina tango player and in tango the glissando without an inicial
note its really common. And we always have call it glissando but probably
its not really that.
Thanks LilyUsers and Helpers!
--
tdy.

2010/8/17 Kieren MacMillan 

> Hi Pato,
>
> Perhaps a less fussy way would be to tweak BendAfter, e.g.
>
> \version "2.13.29"
>
> anotherWay = \relative c' {
>  \override BendAfter #'extra-offset = #'(-4.25 . -2)
>  \override BendAfter #'minimum-length = #2
>  e'4 d2.
>  \bendAfter #4 f4 e2.
>  \bendAfter #4 g4 f2.
> }
>
> \score { \anotherWay }
>
> Of course, you might want to straighten the BendAfter, or do some other
> tweaking... but this is [IMO] a lot more elegant than the "hidden notes"
> method.
>
> Just a thought!
> Kieren.
>
> On 2010-Aug-17, at 11:29, Pato Press wrote:
>
> > Once again! Thanks!
> > Definitely I was the one implementing the trick in a wrong way!
> > A little add to the trick so the first tempo of the bar stays intact, I
> touch the time stretch of the predecessor note to the glissando. Mean:
> >
> > realtive c'={
> > \time 4/4
> > e'4 d2.*3/4 \hideNotes a2.*1/4 \noBeam \glissando \unHideNotes |
> > f'4 e2.*3/4 \hideNotes b2.*1/4 \noBeam \glissando \unHideNotes |
> > g'4 f2. \bar "|."
> > }
> >
> > producing the output (attached file).
> >
> > Thanks!!!
> >
> > ps: I couldn't find the thread when I take a look to the archive. That's
> why I start it again. Sorry for that.
> >
> > tdy.
> >
> > Lilypond & Community are the joy of life!
> >
> >
> > 2010/8/16 Xavier Scheuer 
> > On 16 August 2010 20:38, Pato Press  wrote:
> > >
> > > Thanks Again James! But I'm sorry to tell you  that it doesn't work :(
> > > 'cause having a previous note attached to the glissando, even if the
> > > note is hidden, make changes to the time in the bar.
> > > Now, I made the wrong example! Sorry for that. My 2nd bar is
> > > incomplete and should had been complete.
> > > But you are helping in making me understand what I need.
> > > And that is:
> > >
> > > How do I move the position of the "glissando stencil" to the left
> > > of the note instead of the right standard place?
> > > Probably it is not called glissando what I need. That, I don't know.
> >
> > Hi!
> >
> > No, I think you are right.  This is indeed a glissando, IMO.
> > But as LilyPond understands it a glissando needs a starting note and
> > a note to end.
> > You have the ending note but no visible starting one, hence the trick.
> >
> > What about
> >
> > \relative c'' {
> >  \key g \major
> >  \time 4/4
> >  g1 \breathe |
> >  \grace { \hideNotes a,8\glissando \unHideNotes } a'8 a4 a8 a2~ |
> >  a1 \bar "|."
> > }
> >
> > If the first (hidden) note is too close the second one (real,
> > unhidden note), then we do not see the glissando.
> >
> > James' idea is great too, maybe you could play on the fraction (and/or
> > on the first hidden note).
> > The sum of hidden note duration and real note (end of the glissando)
> > duration should be equal to 8*1.
> > For example : 1/8 and 7/8, like this:
> >
> > \relative c'' {
> >  \key g \major
> >  \time 4/4
> >  g1 \breathe |
> >  \hideNotes a,8*1/8\noBeam\glissando \unHideNotes a'8*7/8 a4 a8 a2~ |
> >  a1 \bar "|."
> > }
> >
> >
> > The same idea has been used successfully in this thread:
> > "glissando up from no note to a note"
> > http://lists.gnu.org/archive/html/lilypond-user/2009-03/msg00198.html
> >
> > Hope this could help.
> >
> > Cheers,
> > Xavier
> >
> > --
> > Xavier Scheuer 
> >
> > ___
> > 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


[Lyrics] Problem: Automatic syllable duration is turning a quarter note syllable into half note syllable

2010-08-21 Thread storri
Version: GNU LilyPond 2.12.3

Setup:
  - notes of the melody contained in 'voices.ly'
  - lyrics for first verse contained in 'lyrics.ly'.
This will hold all the different lyrics

Problem:

   In measure 9 of the piece the syllable 'sur' of the word 'survey' is
taking up take up a two beats of time (4/4 tempo) instead of a quarter
note. 

Steps taken:

  - Reduced problem two just the global.ly (header info), voices.ly
and lyrics.ly 
  - Created makefile for building the project.

Question:

Q1. What is the recommended why to debug lilypond projects? When I used
that it did not provide me anymore information as to why the automatic
syllable duration was making 'sur' into two beats.

Attachments:
   - The_Wonderful_Cross.tar.gz contains:
 - d_major.ly (master file)
 - global.ly (header information)
 - lyrics.ly (words of song)
 - voices.ly (melody)

Stephen



The_Wonderful_Cross.tar.gz
Description: application/compressed-tar
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [Lyrics] Problem: Automatic syllable duration is turning a quarter note syllable into half note syllable

2010-08-21 Thread Wilbert Berendsen
Op zaterdag 21 augustus 2010 schreef storri:

>  as to why the automatic
> syllable duration was making 'sur' into two beats.

it's because of the ties.

when you do

fis4 r4 e4~ ( fis8 g8 )

you are starting both a tie and a slur from the note e.

just remove the tilde, as what you want is a slur.
The tie causes the lyrics engine to wait for another note.
So make it:

fis4 r4 e4( fis8 g8)

General rule: use a tie to connect two notes of the same pitch; use a slur to 
connect a group of notes that can have different pitches.

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
Nederlands LilyPond forum: http://www.lilypondforum.nl/

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


Re: [Lyrics] Problem: Automatic syllable duration is turning a quarter note syllable into half note syllable

2010-08-21 Thread storri
On Sat, 2010-08-21 at 22:05 +0200, Wilbert Berendsen wrote:
> Op zaterdag 21 augustus 2010 schreef storri:
> 
> >  as to why the automatic
> > syllable duration was making 'sur' into two beats.
> 
> it's because of the ties.
> 
> when you do
> 
> fis4 r4 e4~ ( fis8 g8 )
> 
> you are starting both a tie and a slur from the note e.
> 
> just remove the tilde, as what you want is a slur.
> The tie causes the lyrics engine to wait for another note.
> So make it:
> 
> fis4 r4 e4( fis8 g8)
> 
> General rule: use a tie to connect two notes of the same pitch; use a slur to 
> connect a group of notes that can have different pitches.
> 
> best regards,
> Wilbert Berendsen

Thanks very much for point that distinction between ties and slurs.
Works like a charm now.

Stephen


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


persian.ly and transposition

2010-08-21 Thread Kirtap Akud


I have a persian music score in Shur D. 
I want the written score to stay as it is but I want the midi file to sound 1/2 
tone lower, without having to change all the notes of the score.


In the persian.ly there's an indication about transposition: "If  you want to 
use  the \transpose command  you'll have to
manually adjust the key signature of the scale."
I'm not sure if that  and I don't know how to "manually adjust the key 
signature of the scale."

What must I do to keep the written score as it is and have the midi file sound 
1/2 tone lower?
I'm not familiar with the \transpose command but I've tried it without success, 
is there a special trick for the persian.ly?

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


Sustaining to end of measure (to bar line)?

2010-08-21 Thread Jesse Bye
 I'm writing a piece of music where I'd like to sustain some notes to 
the end of a measure:


  \set tieWaitForNote = ##t
  \set Staff.pedalSustainStyle = #'bracket
  e,4~\sustainOn fis~ b~ 4~
  % 10
1\fermata\sustainOff

With the above code, the sustain bracket ends immediately after the 
final notes (e fis b cis). I'd like it to extend to the end of the 
measure (to the bar line). Is this possible? I had a similar issue 
previously extending a trill to the end of a measure, and was able to 
solve it by using " \override TrillSpanner #'to-barline = ##t ". Is 
there something similar that I can tweak for the sustain spanner?


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


[Lyrics] Problem: Automatic syllable duration is turning a quarter note syllable into half note syllable

2010-08-21 Thread Bill Mooney

Greetings,
It appears to be due to your use of ties and slurs in the 'voices.ly' file
Hope this helps
Bill

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


Re: (re?)directing compile output to a file :

2010-08-21 Thread curri...@iinet.net.au

Attention  : Phil Holmes 

I assume I have now "posted" directly to lilypond-user forum
I have a "LONG  post" Analysis (not without Value in my opinion) of this problem.

I am new to "posting etiquette" but could at least Phil Holmes or someone tell me if 
I should post the "LONG post" Analysis to lilypond-user forum. 
Note Some intermediate correspondence should be added.

On Fri Aug 13 
  23:05 , 'Phil Holmes' 
  sent:


  David,

I 
saw a hacked about version of this request earlier, but don't think I 

realised why you were asking. I've done what you were requesting using 
c# 
rather than c, and the syntax is completely different. However, can I 
ask 
why you're trying to do this - the program I have may do what you're 

wanting.

--
Phil Holmes



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


Re: Sustaining to end of measure (to bar line)?

2010-08-21 Thread Jesse Bye

On 8/21/2010 1:55 PM, Jesse Bye wrote:

I'm writing a piece of music where I'd like to sustain some notes to the
end of a measure:

\set tieWaitForNote = ##t
\set Staff.pedalSustainStyle = #'bracket
e,4~\sustainOn fis~ b~ 4~
% 10
1\fermata\sustainOff

With the above code, the sustain bracket ends immediately after the
final notes (e fis b cis). I'd like it to extend to the end of the
measure (to the bar line). Is this possible? I had a similar issue
previously extending a trill to the end of a measure, and was able to
solve it by using " \override TrillSpanner #'to-barline = ##t ". Is
there something similar that I can tweak for the sustain spanner?


OK, I've made some progress here. Using " \override 
Staff.PianoPedalBracket #'shorten-pair = #'(0 . -8.0) " I can manually 
adjust the length of the pedal bracket. This allows me to achieve the 
desired effect. However, it still seems that there should be a more 
automatic way to do this -- such as with the TrillSpanner "to-barline" 
override.



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