lilypond-user
[Top][All Lists]
Advanced

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

Re: How to count the number of notes in a .ly file?


From: Jan Rosseel
Subject: Re: How to count the number of notes in a .ly file?
Date: Wed, 11 Dec 2013 13:06:40 +0100

That's a good suggestion, but it fails on my scores: 

Interpreting music...C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/ly/event-listener.ly:145:35:
In procedure ly:duration-length in expression (ly:duration-length
(ly:event-property event #)):
C:/Program Files
(x86)/LilyPond/usr/share/lilypond/current/ly/event-listener.ly:145:35:
Wrong type argument in position 1 (expecting Duration): #f

I don't have time now to figure out what is causing this. Neither can I
risk making changes to the scores at such a short time before our launch
concert. Ah well. No note count in my speech then. Would have been nice
to be able to know how many notes we wrote into LP for the concert. 





> From: Keith OHara <address@hidden>
> To: address@hidden
> Subject: Re: How to count the number of notes in a .ly file?
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
> 
> Jan Rosseel <jan <at> rosseel.com> writes:
> 
> >
> > Subject line says it about all. How can I count the number of notes
> > present
> in a .ly file?
> 
> You could make a log-file as described at
> <http://lilypond.org/doc/v2.16/Documentation/notation/
> saving-music-events-to-a-file>
> and count the occurrences of 'note' in the log-file.
> 
> Text editors can usually count words; you might do a global
search-and-
> replace of note -> counted and most editors tell you how many
> replacements they performed.
> 
> 




reply via email to

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