Chapter 3. Using Mr. Voice

Now that you have Mr. Voice and other required software set up and configured, it's time to actually use it. First you have to populate the database with songs. Then you can do useful things with them. Look at the following screenshot of the main Mr. Voice window to familiarize yourself with the layout.

Figure 3-1. The Main window

3.1. Adding, Deleting, and Editing Songs and Categories

Mr. Voice lets you set up categories, then put your songs into those categories for later use. So we'll address the categories first.

3.1.1. Categories

Category options are very simple. You can either add a category, edit its long (descriptive) name, or delete a category. All options can be found under the Categories menu on the main display.

To add a new category, choose Categories->Add Category. You will then have a box pop up where you can enter two items: The Category Code and the Category Description.

Figure 3-2. The Add Category window

The Category Code is a short (4-5 letters max.) identifier for the category, whereas the Category Description is the longer name that you'll normally see. However, make the Category Code something useful, because it will be displayed next to the Choose Category button on the main window. For example, if you want a category called "Joe's Fly Tunes", you could use "JOE" for the Category Code and "Joe's Fly Tunes" for the category description.

To delete a category, choose Categories->Delete Category. A box will pop up listing all of your defined categories. You can choose the button next to the category that you would like to delete, then press Ok to delete the category.

Figure 3-3. The Delete Category window

Important

You cannot delete a category if it still has songs in it. Delete/edit all songs out of the category before trying to delete it.

Finally, you can edit a category, by choosing the Categories->Edit Category menu. Once there, you can edit the long name, but not the short code, of the category.

3.1.2. Songs

Songs are the audio data that you're trying to play. You can use any sort of audio data that your audio player can handle, but Mr. Voice can figure out things like playing time for MP3, WAV, Ogg Vorbis, AAC, and WMA files. If you're not trying to store, categorize, and play audio data, then you're probably using the wrong program! This manual will refer to the audio data that you are storing as "songs", even though they can, of course, be any kind of audio. To manipulate songs in the database, there are three main actions: adding songs, deleting songs, and editing songs.

To insert a new song into the database, choose Songs->Add New Song. A box will pop up for the needed information:

Figure 3-4. The Add Song window

  • Song Title: This is where you put the title of the song that you are adding.

  • Artist: The artist responsible for the song. This is an optional item.

  • Category: Pressing the Choose Category button beside this entry will give you a list of the categories that you currently have defined. You must choose one of these categories to place the song into.

  • Category Extra Info: Kind of a "hodgepodge" entry, this information can be whatever you want. At ComedyWorx, we use it as a modifier for the category. So if the category is "Game", the Extra Info is the name of the game. If the category is for Player Intros, the Extra Info will tell us whether it's specifically for a referee, dimwit, or whatnot. So, basically it's just free-form for whatever you need, and is an optional field.

  • Publisher: This field is for the publisher of the song. Current values are ASCAP, BMI, or Other. The default value is Other, which should be fine for people who don't want to bother with publisher information. But if you're using Mr. Voice in an organization that needs this information, here's where you can put it.

  • File To Add: This is where you give Mr. Voice the path to the actual audio file that you want to add. Clicking the Select File button will bring up a familiar "file chooser" box. The screenshot below is from a Linux system - Windows users will see the familiar Windows file chooser box.

    Figure 3-5. The Add Song File Selection window

    Use this to go to the location of your file, left-click on the name of the file, then click Open. The name of the file should now be listed in the File To Add box. If the file you are adding is an MP3, OGG, AAC, or WMA with valid tag information, it will automatically fill in the Title and Artist fields with that information.

  • Preview Song: Once you have selected a file, you can press this button to hear the song. Useful for making sure you have the song you want before you add it.

You can now press the Ok button to add the song. If all goes well, you should see a message that the file was added to the database. If not, Mr. Voice should tell you what went wrong, and let you go back and fix the entry.

Note

Mr. Voice actually makes a copy of the file that you select, renames it to a standard form, and places the new copy in the location given by the $filepath variable that you defined in the setup. Your original audio file is not used after the copy is made, so you can feel free to delete it.

It can be tedious to add songs one at a time if you have many files to add. New in version 1.8 is the Songs->Bulk-Add Songs Into Category menu option. Upon choosing this, you will be prompted for a category and a directory. Select the category, and a directory that contains the set of MP3, OGG, AAC, or WMA files that you would like to add to that category. Mr. Voice will then use the title and artist tags stored in the files to automatically add those files into your selected category. If you need to add Extra Info or modify any other fields, you will need to do that after the fact, but this should be a good way to add lots of data at once. You can also specify a publisher here, useful when adding a whole CD's worth of songs with the same publisher.

There are two other ways to add songs. The first is that you can select song files on your desktop or file explorer, and drop them onto the main search box of Mr. Voice. When you do that, the Add New Song function will be launched on those files. Finally, you can choose the Songs->Add Songs From Bundle menu item. That will allow you to import a Mr. Voice "bundle" ZIP file. All songs in the bundle will be added, along with all information about the file, and any needed categories will be automatically created.

To delete a song, you must have at least one displayed and selected in the main search results box. Searching is covered later, but if you hit the Do Search button, it should show you all of the songs in your database.

Once you have some songs displayed, left-click once on the name of the song that you want to delete, or select several songs by pressing Control or Shift while selecting, then choose Songs->Delete Currently Selected Song. You can also right-click on the name of the song or songs and choose the Delete Song option. A box will pop up asking you to confirm the deletion, and also presenting a checkbox labeled Delete File On Disk.

Figure 3-6. The Delete Song window

If you do not select this, the song or songs will be removed from the database, but the actual audio file on disk, located at $filepath, will remain. If you do select this option, the song or songs will be removed from the database AND the audio file on disk will be deleted.

Note

If you do not have a song selected in the main display box and choose Songs->Delete Currently Selected Song or Songs->Edit Currently Selected Song, then nothing will happen. This is normal. If you are trying to edit or delete a song and don't get the repective boxes showing up on-screen, make sure that you have a song highlighted.

Finally, if you want to edit a song in the database, left-click a song in the main display window, and choose Songs->Edit Currently Selected Song. You can also right-click on a song and choose the Edit Song option. A box will pop up that is similar to the one for Songs->Add New Song, except without the file selector option. You can make any needed changes to the song, then press Ok to commit them.

NoteShortcut!
 

You can also right-click a song in the main display box to bring up a shortcut menu. From this menu, you can choose to edit or delete the selected song.

If you have multiple songs selected and choose to edit, you will only be able to edit the Extra Info, Category, or Artist fields, not the Title.

There is a menu choice named Songs->Update Song Times/MD5s. This will re-index all your song files, updating their play times and the MD5 sum (used in Mr. Voice online to see if two songs are the same). While in theory this information should be set when the song is added and never change, you may want to run it every once in a while to make sure the information is correct. If you edit a file in your MP3 directory manually, or replace a file in the MP3 directory directly with a new one, you will need to run this procedure. This process could take a while, depending on the speed of your computer, so you may not want to run it in the middle of a show.

3.1.2.1. Orphaned Files

Orphaned files are audio files in your MP3 directory that are not referenced by any entries in the Mr. Voice database. They normally result from deleting a song from the database without deleting the file on disk. Since nothing in the database knows about them, they are unneeded and just take up space.

In previous versions of Mr. Voice, a separate program named orphans.pl was provided to weed out these old files. However, with Mr. Voice 1.10, the orphan checker is integrated into the main program. You can find it under Advanced Search->Find orphaned files. When you choose that menu item, Mr. Voice will scan your MP3 directory and compare it with your database, and if it finds any orphaned files, display them for you.

Figure 3-7. Orphaned Files Report

When the Orphaned File report is displayed, you have a couple of choices. If you just want to read the report without taking action, you can close the window and no changes will be made. You can also select one or more files from the report to delete. To do so, Control-click on a filename to add it to the selection group. Or, hit the Select All button to select all entries, and Control-click to deselect any you do not want to delete. Then press the Delete Selected button to remove all selected files from your computer.