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
code('Perl') || die;


In reply to Re^2: PGN (Chess) to MIDI by gryphon
in thread PGN (Chess) to MIDI by gryphon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.