> > > You would enter `a gis a gis a e g f d' and the search engine would
> > > come up with Fur Elise.

> [EMAIL PROTECTED] writes:
> > Wow.  This would be pretty hard to do, but not impossible, I guess.
> > I'd have to write a program that translates this into each of the
> > twelve possible keys and goes through the .ly files stripping out
> > all bar lines, markings and pretty much everything just leaving the
> > top notes of the top chords of the top line, and try and match this!
> > I'll leave this challenge until the site's up and running.

Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:
> The trick is that it is very easy to do if you have the MIDI file.
> You grab the list of pitches from a MIDI file, and transpose it twelve
> times.

Hi, Han-Wen and others.  Long time no speak! :-)

Just transpose once so the first note is `c', or `a', or whatever you like,
but consistently.  The search engine merely does the same with the request.
No need to store twelve times.  And of course, you do not even store the
first note, as it is implied.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard

Reply via email to