Play a Song From CD
Mark Greenberg
markgreenberg at cox.net
Thu Jan 3 23:25:16 EST 2008
I'm updating a stack originally made in another multimedia authoring
tool. It was easily scripted in that tool, so I'm thinking it should
be easily done in Rev as well. Here's the scenario:
1. Student launches stack and clicks to begin the game.
2. Stack prompts student to put in the music CD.
3. Student puts the music CD into the computer.
4. Stack plays a small portion of one song.
5. Student identifies song (or property of song like tempo, style,
key, etc.)
6. Repeat steps 4 & 5 until done.
It seems easy enough, but I can't get to first base with this stack.
I have experimented with the simple starter code below just to see if
I can get a song to play from CD, and all I get is static. Can
anyone help me out here?
Answer File "Locate the First Track."
Put it into field SongFile -- so I can see the file name
Play it
I've only tested it in Tiger so far. Yes, I did try different CD's.
Thanks in advance,
Mark Greenberg
More information about the use-livecode
mailing list