Syntactic Confectionery Delight | |
PerlMonks |
Re^2: PGN (Chess) to MIDIby gryphon (Abbot) |
on Feb 21, 2005 at 04:38 UTC ( [id://432952]=note: print w/replies, xml ) | Need Help?? |
Greetings hsmyers, Sure, go ahead and add it to Chess::PGN::Filter. Thing is, though, I think what I've come up with is only a very minimal, thrown together idea. All I did was assign a simple one-to-one map of notation-to-note. Even with this very basic map, the musical patterns are obvious. The patterns I've been hearing in some games definately justify spending time expanding the conversion process. Right now, each primary piece (/KQBNR/) has a unique tone, but it's hard to tell each of them apart. And there's no distinguishment between white pieces and black pieces. I think a "better" musical scheme would be to have some way to audiably know which capital piece was being moved and by which side. I think such a scheme might require multiple notes to help audiably identify capitals. Also, and more interesting, is dynamics. I think a Qa2-f7 should be louder than a Qa2-c4, and the c4 move should be louder than a2-a4. Already a checking move and a castle are easily distinguishable, but that's about it. A fun experiment is taking several games between the same two players and setting the tempo very, very fast. gryphon
In Section
Cool Uses for Perl
|
|