SoundPAL Christmas Music
Attached is a little something I've been playing with, off and on, since
Thanksgiving -- playing music on the SoundPAL with my Prop-SX.
It got a touch interestingbecause all 256 byte values, EXCEPT the
zero, can be sent to the SoundPAL. The zero serves two purposes:
"odd" sounding parts are ENTIRELY due to the sheet music.![lol.gif](http://forums.parallax.com/images/smilies/lol.gif)
Two other songs are included in the source, commented out.
"Auld Lang Syne" and "If I Only Had A Brain". Both of these came
from sheet music and were converted years ago. A.L.S. seems to have
a few problems in it so I'll update the source code when I find the
sheet music.
Hopefully someone will find this useful and/or helpful. Enjoy!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rusty-
--
Rusty Haddock = AE5AE = rusty@fe2o3.lonestar.org
**Out yonder in the Van Alstyne (TX) Metropolitan Area**
Microsoft is to software what McDonalds is to gourmet cooking
Thanksgiving -- playing music on the SoundPAL with my Prop-SX.
It got a touch interestingbecause all 256 byte values, EXCEPT the
zero, can be sent to the SoundPAL. The zero serves two purposes:
- Separate sections of the entire score to acts as flow control.
- Two consecutive zeroes demark the end of the song
"odd" sounding parts are ENTIRELY due to the sheet music.
![lol.gif](http://forums.parallax.com/images/smilies/lol.gif)
Two other songs are included in the source, commented out.
"Auld Lang Syne" and "If I Only Had A Brain". Both of these came
from sheet music and were converted years ago. A.L.S. seems to have
a few problems in it so I'll update the source code when I find the
sheet music.
Hopefully someone will find this useful and/or helpful. Enjoy!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rusty-
--
Rusty Haddock = AE5AE = rusty@fe2o3.lonestar.org
**Out yonder in the Van Alstyne (TX) Metropolitan Area**
Microsoft is to software what McDonalds is to gourmet cooking
Comments
-Phil
I've tried a few of the free Christmas ringtones from that website and was
a little disappointed. Guess I'm just picky.
Frosty the Snowman wouldn't convert -- something about a malformed note, 8h.
Carol of the Bells was stripped down (which is good 'cause a monotonic, full-length
version is boringly repetitious) and out of tune in a spot.
White Christmas seemed like it had a few notes dropped here and there.
I 'preciate suggestion but I think I'll stick to converting sheet music as I'll have
the complete song and the original data I convert will server for other music programs
I've written (or intend to write, say for the Soundgin or RC Systems speech synth).
Thanks again!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rusty-
--
Rusty Haddock = AE5AE = rusty@fe2o3.lonestar.org
**Out yonder in the Van Alstyne (TX) Metropolitan Area**
Microsoft is to software what McDonalds is to gourmet cooking
I'm surprised the 8h didn't trip me up before now. The note h in RTTTL notation is actually a substitute for the note b — why, I don't have a clue. But I've fixed the code on the website to accommodate either b or h, so Frosty should convert okay if you want to try it again.
You're right, though, there are a lot of poorly transcribed ringtones out there; so it may be easier, if you have the sheet music handy, just to do it yourself.
-Phil
B is used to mean what above is called B flat and H is used to mean what above is called B.
http://en.wikipedia.org/wiki/H_%28musical_note%29
-Phil
heh heh heh... while I'm at it -- something for the next version of ROM:
Enjoy!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rusty-
--
Rusty Haddock = AE5AE = rusty@fe2o3.lonestar.org
**Out yonder in the Van Alstyne (TX) Metropolitan Area**
Microsoft is to software what McDonalds is to gourmet cooking
Post Edited (Fe2o3Fish) : 12/8/2007 6:30:57 AM GMT