Re: Getting a list of all pitches used in a score

2008-08-29 Thread Johan Vromans
Gilles Sadowski <[EMAIL PROTECTED]> writes: > > If accuracy is important, I'd advise to use the MIDI scanner I posted > > here. This will give 100% accurate results. > > [For my intended usage then, this is not quite accurate since I guess that > notes in repeats will be picked up several times,

Re: Getting a list of all pitches used in a score

2008-08-29 Thread Gilles Sadowski
Hi. > > In any case, here is the script inline (just copy/paste the text between > > the "---CUT---" marks in another file): > > Please be aware that this script scans anything, including > commented-out lines and controls. For example, > > title = "This is a nice song" > \key d \major > >

Re: Getting a list of all pitches used in a score

2008-08-29 Thread Johan Vromans
Gilles Sadowski <[EMAIL PROTECTED]> writes: > In any case, here is the script inline (just copy/paste the text between > the "---CUT---" marks in another file): Please be aware that this script scans anything, including commented-out lines and controls. For example, title = "This is a nice son

Re: Getting a list of all pitches used in a score

2008-08-28 Thread Gilles Sadowski
Hi. > I am unable to get the attachment (I get http error 404). What am I missing? A possible explanation was given in another post. In any case, here is the script inline (just copy/paste the text between the "---CUT---" marks in another file): ---CUT--- #!/usr/bin/perl -w use IO::File; my $

Re: Getting a list of all pitches used in a score

2008-08-28 Thread Paul Scott
Kenny Stephens wrote: > Gilles Sadowski harfang.homelinux.org> writes: > > >> Here is a Perl script that counts the notes in LilyPond files (only the >> English pitch names). >> Example usage: >> countLilyNotes.pl *.ly >> >> Best, >> Gilles >> >> Attachment (countLilyNotes.pl): text/x-perl,

Re: Getting a list of all pitches used in a score

2008-08-28 Thread Kenny Stephens
Gilles Sadowski harfang.homelinux.org> writes: > Here is a Perl script that counts the notes in LilyPond files (only the > English pitch names). > Example usage: > countLilyNotes.pl *.ly > > Best, > Gilles > > Attachment (countLilyNotes.pl): text/x-perl, 665 bytes > I am unable to get the

Re: Getting a list of all pitches used in a score

2008-08-27 Thread Dmytro O. Redchuk
2008/8/27 Kenny Stephens <[EMAIL PROTECTED]>: > Does anyone have any ideas about how to get a list of all the pitches from a > score? ... besides just counting off the sheet music. > Even better, to get a count of how many times each of the used notes are > played. Again, you can use \displayLilyM

Re: Getting a list of all pitches used in a score

2008-08-27 Thread Gilles Sadowski
Hi. > Does anyone have any ideas about how to get a list of all the pitches from a > score? ... besides just counting off the sheet music. > Even better, to get a count of how many times each of the used notes are > played. Here is a Perl script that counts the notes in LilyPond files (only the

Re: Getting a list of all pitches used in a score

2008-08-27 Thread Johan Vromans
Kenny Stephens <[EMAIL PROTECTED]> writes: > Does anyone have any ideas about how to get a list of all the > pitches from a score? ... besides just counting off the sheet music. > Even better, to get a count of how many times each of the used notes > are played. > > For our handbell group, we wan

Re: Getting a list of all pitches used in a score

2008-08-27 Thread Kieren MacMillan
Hi Kenny, Does anyone have any ideas about how to get a list of all the pitches from a score? ... besides just counting off the sheet music. Even better, to get a count of how many times each of the used notes are played. Sounds like a (relatively easy) job for a Scheme function! =) I jus

Getting a list of all pitches used in a score

2008-08-27 Thread Kenny Stephens
Does anyone have any ideas about how to get a list of all the pitches from a score? ... besides just counting off the sheet music. Even better, to get a count of how many times each of the used notes are played. For our handbell group, we want to make sure a player doesn't get stuck with a note oc