Note: This page is no longer being maintained and
is kept for archival purposes only. For current information see our main page. |
![]() |
Kurtz-Fernhout Software Developers of custom software and educational simulations. |
Home ... News ... Products ... Download ... Order ... Support ... Consulting ... Company |
StoryHarp Product area Help System Index Introduction Definitions Tutorials Worlds Agent StoryHarp & IF StoryHarp & Java Registering |
Adding music
Unlike sounds, which will usually be short, music can create a longer theme
for different rooms and characters. Because music can loop, the player can hear a
theme song for a context the whole time the player is “at” that context. This gives you more opportunities to make the auditory
landscape of your story understandable, navigable, and enjoyable for players.
Adding music to replies
To add music to a rule's reply, click to place the text cursor somewhere in the reply field in the rule editor panel. Make sure the cursor is at the beginning, or end, or in the space between
words. Then click on the Music button, or choose the Edit | Insert Music menu item. A dialog will appear asking you to pick a MID or RMI file. (Some of
these files may be available in your Windows Media directory.) After you
select a file, text will be inserted into the reply, like this:
{music FileName}
If there is no file extension, MID is assumed. You can cut or edit this text,
but make sure you keep the beginning and ending braces.
How music is played
Unlike sounds, music will start playing as soon as the reply starts to be
said, so it doesn't matter exactly where in the reply you put the music. This is
because Microsoft Agent maintains a backlog of things to say, but the music is
handled right away by another system.
The music will continue to play in a loop until a new piece of music is
started or a reply with just:
{music }
is said. That will turn off the music. If you want a song to play once and
then stop, edit the macro to read:
{musiconce FileName}
As with sounds, in order for the music file to be found, it must either have
an absolute path, or it must be in one of the directories searched for sounds or
music.
Tips on adding music
![]() ![]() |
Updated: March 10, 1999. Questions/comments on site to webmaster@kurtz-fernhout.com. Copyright © 1998, 1999 Paul D. Fernhout & Cynthia F. Kurtz. |