lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

e in the time of phi and square root of pi tuplet hijinks


From: mclaren
Subject: e in the time of phi and square root of pi tuplet hijinks
Date: Tue, 8 Nov 2016 00:45:15 -0700 (MST)

This example eschews numbers for the irrational tuplets in favor of Greek
letters, or at least the Greek names for the symbols. I'm not sure how to
get a Greek font in Lilypond. It might not be possible. In any case it's not 
important, since that can always be fixed in the mix with photoshop. e is
the familiar constant 2.71828... while phi is the golden section,
1.6180339...

Technically speaking, we're also dealing with transcendental tuplets rather
than irrationals here, since the square root of pi is a transcendental
number (I think. Pi is known to be transcendental, but is the square of pi
proven to be transcendental?).

Anyway, for extra fun, this is done inside a regular plain-vanilla 14/8
meter, so any other type of tuplet or polyrhythm can be laid on top as
desired without any particular trouble.

<http://lilypond.1069038.n5.nabble.com/file/n196325/EXAMPLE_106-e_in_time_of_phi_tuplets_in_14-8_meter.gif>
 

And here's the Lilypond code:

\version "2.18.2"

above = { \once \override Script #'script-priority = #-100 } 
below = { \once \override TextScript #'script-priority = #-100 } 


irrtupleta = \once \override TupletNumber.text = 
 \markup \concat { 
    
   "e:phi" 
   
 } 
 
 irrtupletb = \once \override TupletNumber.text = 
 \markup \concat { 
    
   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline "pi"
   ":"
  
   "1"
 } 
  

<<
   
   \new Staff { \clef "treble"
\time 14/8
\relative c'
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text

{
c''8[ c''8]
 \irrtupleta \tuplet 1000/595{c''8[ c''8 c''8]} 
 c''8[ c''8]
 \irrtupletb \tweak direction #up \tuplet 1000/564{c''8[ c''8]} 

c''8 c''8
 \irrtupleta \tuplet 1000/595{c''8[ c''8 c''8]} 
 c''8[ c''8]
 \irrtupletb \tweak direction #up \tuplet 1000/564{c''8 c''8} 
 
\tweak direction #down \tuplet 1000/174{ r8}
}

\relative c'
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text

{
c''8[ c''8]
 \irrtupleta \tuplet 1000/595{c''8[ c''8 c''8]} 
 c''8[ c''8]
 \irrtupletb \tweak direction #up \tuplet 1000/564{c''8[ c''8]} 

c''8 c''8
 \irrtupleta \tuplet 1000/595{c''8[ c''8 c''8]} 
 c''8[ c''8]
 \irrtupletb \tweak direction #up \tuplet 1000/564{c''8 c''8} 
 
\tweak direction #down \tuplet 1000/174{ r8}
}
 
}


>>



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/e-in-the-time-of-phi-and-square-root-of-pi-tuplet-hijinks-tp196325.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]