lilypond-user
[Top][All Lists]
Advanced

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

Re: irrational meters


From: Karim Haddad
Subject: Re: irrational meters
Date: Thu, 19 Jan 2023 16:46:21 +0100

Thank you Valentin,

In fact i am now using the solution #1 which gives correct time settings. By 
the way i am using this in a "poly-metric" and "poly-tempic" context, and i 
must say it works good. Only possible in Lilypond. Thank you to all developpers 
and expert users for all your work and advice.

I am sorry i have unleashed an off topic disscussion, however, i appreciate all 
your remarks which testify of your passion to music, music theory and 
typesetting.

Take care all of you.

Best
K

On Wed, Jan 18, 2023 at 02:22:58PM +0100, Valentin Petzel wrote:
> Hi Karim,
> 
> 2) does not work as #'(ly:make-moment 16/25) is a symbol rather than 
> #(ly:make-moment 
> 16/25). Also (2) still needs \scaleDurations 4/5, unless you do
> 
> \time 4/5
> \set Timing.measureLength = #(ly:make-moment 4/4)
> 
> The idea behind the part
> 
> https://lilypond.org/doc/v2.24/Documentation/snippets/rhythms#rhythms-changing-time-signatures-inside-a-polymetric-section-using-_005cscaledurations[1]
> 
> in the documention is to change TimeSignature while having a scaled Duration, 
> so you 
> want to have an e.g. 4/4 time sig, but the Staff should be scaled by 4/5, so 
> you want the 
> measure length of a 4/5 timesig, thus you do 4/4 and manualy tell Lilypond 
> that you 
> actually want a length of 4/5.
> 
> If you want to use something like 4/5 this is not of relevance to you. As I 
> said you could 
> change measure length to 4/4 and notate everything as if it were 4/4 though.
> 
> Cheers,
> Valentin
> 
> Am Dienstag, 17. Jänner 2023, 12:16:43 CET schrieb Karim Haddad:
> > Hi,
> > 
> > I am wondering which is the best way to write irrational meters (with tempo
> > modulations)
> > 
> > 1)
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%%%%%
> > \version "2.24.0"
> > \score {
> > {
> > 
> > \clef "G"
> > 
> > \scaleDurations 4/5 {
> > \time 4/5
> > \set Staff.timeSignatureFraction = #'(4 . 5)
> > \mark \markup {\left-column {{\line { \smaller \general-align #Y #DOWN 
> > \note {4} #1 " = 60 "}} \tiny "1"}} c'4
> > c'4
> > c'4
> > c'4
> > 
> > }
> > \once \set Staff.whichBar = "|"
> > }
> > 
> > 
> > \layout {
> > 
> > \context {\Score
> >      %    measureBarType=#""
> >               }
> > 
> > }
> > }
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%%%%%
> > 
> > or
> > 
> > 2)
> > 
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%%%%%
> > \version "2.24.0"
> > \score {
> > {
> > \clef "G"
> > 
> > \time 4/5
> > \set Staff.timeSignatureFraction = #'(4 . 5)
> > \set Timing.measureLength = #'(ly:make-moment 16/25)
> > \mark \markup {\left-column {{\line { \smaller \general-align #Y #DOWN 
> > \note {4} #1 " = 60 "}} \tiny "1"}} c'4
> > c'4
> > c'4
> > c'4
> > 
> > \once \set Staff.whichBar = "|"
> > }
> > 
> > \layout {
> > 
> > \context {\Score
> >          measureBarType=#""
> >               }
> > 
> > }
> > }
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %%%%%%%%%%%%
> > 
> > 
> > Now the first solution outputs:
> > 
> > Processing `irr1.ly'
> > Parsing...
> > Interpreting music...
> > irr1.ly:13:1: warning: strange time signature found: 4/5
> > 
> > \time 4/5
> > Preprocessing graphical objects...
> > 
> > 
> > Which looks good to me as a warning
> > 



-- 
Karim Haddad

Music Representations Team, IRCAM
Research and development manager.
email   : karim.haddad@ircam.fr
webpage : http://karim.haddad.free.fr



reply via email to

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