Re: Time measurement

2024-03-14 Thread mskala
On Thu, 14 Mar 2024, Jean Abou Samra wrote: > > “This sounds like a job for… Custom Engraver!!”  :) > > #(define (Custom_engraver!! context) >(define (format-time seconds) Thanks! I haven't tested this extensively, but so far it looks like it works well. -- Matthew Skala

Re: Time measurement

2024-03-14 Thread Lukas-Fabian Moser
Hi, Am 14.03.24 um 17:27 schrieb Kieren MacMillan: Hi Matthew, Is there any easy way to find out the time in seconds from the start of a score to a specified point, corresponding to the timing of the MIDI output? I can count measures and do math on the tempo, but that's less than ideal in

Re: Time measurement

2024-03-14 Thread Jean Abou Samra
> “This sounds like a job for… Custom Engraver!!”  :) \version "2.24.2" #(define (Custom_engraver!! context) (define (format-time seconds) (let ((minutes (euclidean-quotient seconds 60)) (rest (euclidean-remainder seconds 60))) (string-append (if (zero? minutes) ""

Re: Time measurement

2024-03-14 Thread Kieren MacMillan
Hi Matthew, > Is there any easy way to find out the time in seconds from the start of a > score to a specified point, corresponding to the timing of the MIDI > output? I can count measures and do math on the tempo, but that's > less than ideal in the face of multiple tempo changes. Another idea

Time measurement

2024-03-14 Thread mskala
Is there any easy way to find out the time in seconds from the start of a score to a specified point, corresponding to the timing of the MIDI output? I can count measures and do math on the tempo, but that's less than ideal in the face of multiple tempo changes. Another idea would be to just cut

Re: Question regarding ChordNames

2024-03-14 Thread Xavier Scheuer
Hi Jean, Are you adding this to the LSR? I don't know if it would make sense to add it to the documentation as well, personally I don't engrave scores that would use this. Best regards, Xavier On Wed, 13 Mar 2024 at 09:55, Jean Abou Samra wrote: > Mahalo, X. I am using the naturalizeMusic