OK I sat down and coded this one... Very long... Had my little sister do the note conversion for me so they should be correct... and it sounds exactly like the midi file I downloaded of it... Now can you all name it??
D,.2,3,1 D,.2,3,1 G,.2,3,1 F#,.2,3,1 G,.2,3,1 A,.2,3,1 G,.2,3,1 R,.2,3,1 G,.2,3,1 G,.2,3,1 A#,.2,3,0 G,.2,3,1 A#,.2,3,1 A#,.2,3,1 C,.2,4,1 A#,.2,3,0 G,.2,3,1 R,.2,3,1 A#,.2,3,1 A#,.2,3,1 D,.2,4,0 F,.2,3,1 C#,.2,4,1 D,.2,4,1 E,.2,4,1 D,.2,4,0 F,.2,3,1 E,.2,4,1 F,.2,4,1 F#,.2,4,1 G,.2,4,0 G,.2,3,1 R,.2,3,1 R,.2,3,1 R,.2,3,1 G,.2,4,0 G,.2,3,1 R,.2,3,1 R,.2,3,1 R,.2,3,1 G,.2,3,1 D,.2,4,1 D,.2,4,1 E,.2,4,1 D,.2,4,1 C,.2,4,1 C,.2,4,1 E,.2,4,1 F,.2,4,1 A,.2,4,1 C,.2,5,1 A,.2,4,1 A,.2,4,1 G,.2,4,1 G,.4,4,1 A,.2,4,1 A#,.2,3,1 A#,.2,3,1 A,.2,4,1 G,.2,4,1 C,.2,4,1 C,.2,4,1 E,.2,4,1 E,.2,4,0 G,.2,3,1 D,.2,4,0 A#,.2,3,1 E,.2,4,0 G,.2,3,1 D,.2,4,0 A#,.2,3,1 E,.2,4,0 G,.2,3,1 D,.2,4,0 A#,.2,3,1 E,.2,4,0 G,.2,3,1 D,.2,4,0 A#,.2,3,1 G,.2,3,1 D,.2,4,1 D,.2,4,1 E,.2,4,1 D,.2,4,1 C,.2,4,1 C,.2,4,1 E,.2,4,1 F,.2,4,1 A,.2,4,1 C,.2,5,1 A,.2,4,1 A,.2,4,1 G,.2,4,1 G,.4,4,1 A,.2,4,1 A#,.2,3,1 A#,.2,3,1 A,.2,4,1 G,.2,4,1 C,.2,4,1 C,.2,4,1 E,.2,4,1 E,.2,4,0 G,.2,3,1 D,.2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,3,1 G,.2,3,1 C,.4,4,0 A,.4,3,1 C,.4,4,0 A,.4,3,1 C,.2,4,0 A,.2,3,1 D,.2,4,1 A,.2,3,1 A#,.2,3,1 G,.4,3,0 E,.4,3,1 G,.4,3,0 E,.4,3,1 G,.2,3,0 E,.2,3,1 A#,.2,3,1 A,.2,3,1 G,.2,3,1 F,.2,3,1 C,.2,4,0 A,.2,3,1 G,.2,3,0 E,.2,3,1 A,.2,3,1 F,.4,3,1 F,.4,3,1 G,.4,3,1 A,.4,3,1 C,.2,4,1 A#,.2,3,1 E,.2,4,1 D,.2,4,1 C,.2,4,1 A#,.2,3,1 A,.2,3,1 G,.2,3,1 F,.4,3,1 F,.4,3,1 G,.4,3,1 A,.4,3,1 C,.2,4,1 A#,.2,3,1 E,.2,4,1 D,.2,4,1 C,.2,4,1 A#,.2,3,1 A,.2,3,1 G,.2,3,1 F,.2,3,1 C,.2,4,1 G,.2,3,1 A,.2,3,1 F,.2,3,1 C,.2,4,1 G,.2,3,1 A,.2,3,1 F,.2,3,1 C,.2,4,1 G,.2,3,1 A,.2,3,1 F,.2,3,1 C,.2,4,1 G,.2,3,1 A,.2,3,1 F,.2,3,1 R,.2,3,1 R,.4,2,1 F,.2,3,1 R,.2,3,1 R,.4,2,1 F,1,3,1 R,.8,3,1 C,.2,4,0 A#,.2,3,1 R,.6,3,1 F,.2,4,0 F,.2,3,1 R,.6,3,1
PS: The blank lines just mean I went to another measure... Now for me and Mr. Muskrat to get together and make it so all you have to do is say if a note is a whole, quater and so forth and be able to put in the count and speed... also the ability to make it auto repeat at a certain line might be nice... This is good for those who wanna write music I guess or for those who are just bored out of their mind like I am :-P

-----------------------
Billy S.
Slinar Hardtail - Hand of Dane
Datal Ephialtes - Guildless
RallosZek.Net Admin/WebMaster

perl -le '$cat = "cat"; if ($cat =~ /\143\x61\x74/) { print "Its a cat +!\n"; } else { print "Thats a dog\n"; }'

In reply to Re: Win32::MIDI Player by LostS
in thread Win32::MIDI Player by Mr. Muskrat

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.