Re: hide repeat endings?

2015-08-29 Thread Ian Rashkin

THANK YOU! Beautiful. I'm learning...

On 8/29/2015 10:41 AM, Robin Bannister wrote:


\version 2.18.2

%\include ijr-jazzchords.ily
%\include lilyjazz.ily

\header {
   title =  untitled...
   composer = Ian Rashkin
   copyright = © 2014 Ian Rashkin (BMI)
   tagline = refactored  Re: hide repeat endings? lilypond-user 2015-08-29 
%need blank to suppress lilypond marker
}

sl = {
   \improvisationOn
   \override Voice.Stem.stencil = ##f
}
nsl = {
   \improvisationOff
   \revert Voice.Stem.stencil
}

%% harmony

initialHarmony = {}

introHarmony = \chordmode {
   s1*8
}

headHarmony = \chordmode {
   f1*8:7 \bar || \break
   des1*8:7 \bar || \break
   a1*8:7.9- \bar || \break
   bes1:7
   c1:7
   f1:min7
   bes1:7
   a1:min7+
   d1:7
   g1:min7
   g1:7
   c1:7
}

turnaroundHarmony = \chordmode {
   bes1:9+.5+ \bar |. \break
}

codaHarmony = \chordmode {
   bes1:9+.5+
   c1:9+.5+
   bes2:9+.5+ b2:7 \bar |.
}

%% melody

initialMelody = {
   \clef treble
   \key f \major
   \tempo Fast Swing 4 = 232 \time 4/4
   \numericTimeSignature
}

introMelody = \relative c'' {
   \sl
   \repeat unfold 8 {\repeat unfold 4 {f4}}
   \nsl
}

headMelody = \relative c'' {
   f1~--- \repeat unfold 23 {f1~} |
   f2\accent-\bendAfter #-4.75 r2
   d8 d8 c8 d,8 a'8 c8 r4
   r4 aes8 c8 bes8  aes8 ees8 des8
   d!8 ees8 aes8 c8 bes8 g8~ g8 r8
   gis8 gis8 a8 d8 c8 fis,8~ fis8 r8
   fis8 e8 c8 a8 d8 a'8-.- r4
   r4 bes8 bes8~ bes8 bes8 bes4
   b8 b8~ b8 b8 b4 c4
   d8 f8 c8 a8 \tuplet 3/2 {g8 a8 bes8} d8 c8
}

turnaroundMelody = \relative c'' {
   bes8 aes8 g8 fis8~ fis8 r4.
}

codaMelody = \relative c'' {
   bes8 aes8 g8 fis8~ fis8 r8 b4
   c8 bes8 a8 gis8~ gis8 r8 cis4
   \tuplet 3/2 {bes4 aes4 g4} fis2 |
}

%% auxiliary

initialAux = {}

introAux = {
   -\markup {Intro: Drums (+?) arhythmic improv}
   s1*8 \bar || \break
}

headAux = {
   ^\markup{ \translate #'(-6 . 2) \musicglyph 
#scripts.segno}_\markup{\override #'(line-width . 100) \italic
 \wordwrap-string #* Use circular breathing, repetition, free 
improivisation, or whatrever you can to extend this note through all 24 bars
   (freely vary timbre, volume, intonation, etc.)}
   s1*8 \bar || \break
   s1*8 \bar || \break
   s1*8 \bar || \break
   s1*8
   s8*7 \coda s8
}

turnaroundAux = {
   s8*5 _\markup {\translate #'(-30 . -5) { solos  {\teeny \musicglyph 
#scripts.segno}  to end, coda on out head only}}
   s8*3
}

codaAux = {
   ^\markup{ \translate #'(-6 . 2) \musicglyph #scripts.coda}
   s1*3
}




%% paper

\score {
   
 \new ChordNames
 { \initialHarmony \introHarmony \headHarmony \turnaroundHarmony 
\codaHarmony }
 \new Voice \with { \consists Pitch_squash_engraver }
 
   { \initialAux \introAux \headAux \turnaroundAux \codaAux  }
   { \initialMelody \introMelody \headMelody \turnaroundMelody \codaMelody }
 
   
   \layout {
 indent = 0
 ragged-last = ##t
 \context {
   \Score
   \remove Bar_number_engraver
 }
   }
}

%% midi

\score {
   
 { \initialHarmony \introHarmony \headHarmony \turnaroundHarmony 
\headHarmony \codaHarmony }
 { \initialMelody \introMelody \headMelody \turnaroundMelody \headMelody 
\codaMelody }
   
   \midi { }
}



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


quarter tone - hide natural that appears to cancel key sig

2015-08-21 Thread Ian Rashkin

Hi,

So, I am in the key of B flat, and one melody line has in it a beh (B 
quarter-flat). When it renders, I get a natural sign followed by a 
quarter-flat sign - how can I have just the quarter flat? The natural 
seems redundant in this context.


Thanks.

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


Re: Aligning c1 |. with R1 |.

2015-07-28 Thread Ian Rashkin
thanks so much! I didn't see any way to reply to list, only a button to 
reply to you. I will give this a shot. I appreciate your time.




On 7/28/2015 7:18 AM, Thomas Morley wrote:

Hi Ian,

welcome to LilyPond and the list.

Please always adress the mailing list/reply to all.
Others may be interested as well.

2015-07-28 1:02 GMT+02:00 Ian Rashkin irash...@gmail.com:

hi, sorry to bother you - this
http://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00880.html fix
sounds like just what i need, but i am a total newbie to lilypond, trying to
decide if it can really do all i want it too. so far the only thing i don't
like is the whole rest positions. but, i don't know how to implement this
patch. I tried saving it and dropping it into
\usr\share\lilypond\current\ly, and then including it in my score. It
totally blew the formatting all out. So not sure if it's just not what I
need, or if I used it incorrectly.
If you don't mind, can you give me a quick clue how to implement?

thanks much,
ian rashkin


Meanwhile David Nalesnik came up with a better function.
http://lists.gnu.org/archive/html/lilypond-user/2015-05/msg00834.html

I'd put the function in some custom-functions.ily file and include
it if needed/wanted via \include custom-functions.ily
You may need to set the include-path as appropiate.


Don't put it in internal files, it will be overridden and lost with
next upgrade.


HTH,
   Harm




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


clip-systems png output?

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

file scale.ly: 

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

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

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

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

lilypond --png scale.ly 

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

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

thanks, 
ian 



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