The Karaoke dialog
To aid the creation of Karaoke movies the product contains a special dialog (or wizard)
accessible through the edit menu which allows for the creation of pages
of lyrics and their synching with music. This dialog means that someone without any knowledge of
movie editing can create a karaoke movie complete with background graphics.
The dialog is accessed via the
option.
Preparing to sync between lyrics and music
The karaoke dialog requires two elements to be in place before syncing can be carried out.
- A MIDI sound file must be selected. This will be either:
- The sound layer in the current movie by default if there is one
- Or a file selected from the karaoke dialog
- At least one page of lyrics must be entered. These will be:
- Taken from the current movie if syncing has previously been performed
- Entered through the karaoke dialog's lyric editor
- Imported through the dialog from a text file (the special format of this file is explained below).
Once these two elements are in place the "Sync" button can be pressed and the syncing commence.
The following actions will then take place:
- The music will commence to play.
- A list of buttons will appear on the dialog's left hand side. Each button corresponding to one page of lyrics.
- As the music plays the user clicks each page button to cause the following:
- The first click on a button will cause that button's page of lyrics to become visible
- The next click on the button will highlight the first line on the page and subsequent clicks the subsequent lines.
Clicking on the button when the last line of text is highlighted causes the page to be hidden.
- A particular page of lyrics may appear more than once at different times during the
syncing process.
- Instead of clicking on the each lyrics button one by one, it is also possible for convenience to:
- Click on the "Next" button or
- Press the "Enter" key on the keyboard
The effect of both these actions is to move the highlighting from one line to the next and then from one button
to the next sequentially until there are no more lyrics left.
The karaoke syncing will continue until the either the MIDI file ends or beforehand if the "stop" button is pressed.
At this point a number of options are presented:
- Save to movie - in which case the dialog closes and all events are saved back to the movie ready for
midlet creation and the user interface reverts back to the normal editor. If the lyrics previously existed in the
movie they will be replaced by the lyrics used for syncing as will the music layer. All other layers in the
movie will be uneffected.
- Preview - to view if the word/music syncing was done correctly
- Re-syncing - to perform the syncing again
Importing text lyrics from a file
The lyrics for the song are entered in two ways:
- Typed in through the lyric editor in the karaoke dialog
- Imported from an ASCII text file
Importing from a text file is a particularly convenient method of aquiring lyrics and is recommended as it's easier
to work with lyrics in this form. It also means
that lyrics can be found on the internet, cut and pasted into a text document, then imported through the karaoke
dialog. An imported text file must follow the following rules:
- Each line of lyrics in the text file will correspond to a page of lyrics in the movie
- Each line of the text file should be broken up with the '/' character to indicate the line
breaks in a page of lyrics in the movie
To illustrate this, the first two lines in the text file for the Robbie Williams song "Eternity" might be:
Close your/ eyes so / you don't /hear them
They don't / need to/see you cry
Note that leading or trailing spaces and blank lines in the text file are ignored
and a double '//' indicates a blank line should appear in the movie lyric page.
Automatically adding graphics frames to the karaoke
It is possible for the karaoke dialog to automatically add graphics that appear behind the song's lyrics.
To do this the graphics should be set up as normal graphical layers in the movie via the normal
editor but with names that indicate their purpose. The naming convention is as follows.
- If the layer name begins with the letter "@" then that layer will be the layer that appears at the beginning
of the movie until the first page of lyrics appears. There should only be one of this type in the movie.
- If a layer name begins with the letter "&" then that layer is to be one of the backing layers
behind the lyrics. There can be any number of layers of this type. The karaoke dialog cycles through them
sequentially, changing from one to other everytime a new page of lyrics appears.
- If the layer name begins with the letter "%" then that layer is the last layer that appears in the movie.
It will only appear when the final page of lyrics is hidden. This is useful when there is a significant gap between the
time the lyrics end and the music ends. There should be only one of these ending layers
in the movie.
Setting the karaoke options
A number of options can be set within the karaoke dialog:
- The color of highlighted and unhighlighted text
- The background color of the movie
- The font style of all lyrics text
- The X an Y offset from the top left corner of all lyrcis text
- The frame in the movie where the song starts playing
- The frame time. By default this is set to 250 milliseconds which should be adequate for most songs.
The frame time detrmines the minimum time resolution for changing the lyric highlighting. A 250 milli time
means that highlighting cannot change faster than 4 times a second.
When editing a previously created movie the settings for these options are read from the movie when the karaoke dialog
starts.
Re-editing with the dialog
Once syncing has been done and the layers and events saved back to the movie and the normal
edit mode, the dialog
can be opened again to re-sync the lyrics. If this is done then no alteration should
be made to layers with names that begin with "#" since this is where the dialog
finds the lyrics. These layers are written over by the dialog when the new sync is
saved back to the movie.
If the time of the resync-ed lyrics is less than the original movie duration the timelines
are not truncated (this must be done in the editor if needed).
However if the new syncing requires more time than the original movie all timelines
will be automatically extended.
An important note on text size and positioning
It is advisable to keep text as close to the top left of the frame as possible as font sizes on
mobile phones are unpredictable,
can vary considerably and there is no guarantee how long or high each line of text will become in a phone.
Therefore it is better to leave a margin of error for unforseen expansion when the phone displays the text.
For the same reason it is best to not try to fit too much text on one movie line or movie page.
A common mistake when creating karaoke movies,
is to assume that the text will occupy the same area on the phone's display as it does when
viewing the movie through the product's preview facility. The wireless Java specification allows for
a number of font types and these are approximated by the product's previewer.
The exception is where karaoke movies are being
generated for a given phone and there is confidence of a match between the product's font sizing and
that of the phone's.