Annotating Audio Files with Text

Hare enables you to attach text annotations to audio files. This is very useful for linguistics work. Simply type into the two text fields at the bottom of the panel and use the export option to write the audio and text. The text is written to an XML file, so therefore, it is available for use by other applications. To restore the audio and associated text, use the import option.

Adding text annotations to sections of an audio file

The above instructions are sufficient if you only want to attach a single pair of text fields to an audio. For linguistics work, though, more capability is needed. You might want to attach text to parts of the audio. The paragraphs below show you how to do this. If this is not of interest, simply ignore this section.

On the top right of the main panel, you'll see an icon that looks like an open folder. Click on that and Hare will switch views. In this view, you can open (or drag and drop) an audio file. Next select sections of the audio (click and drag), type text into the entry field at the bottom of the panel, and click the + icon on the right. The text will attach to that section of the audio. For mistakes, you can always use the undo and redo buttons on the bottom right. Otherwise, click in the middle of one of the annotations, type corrected text, and click on the icon that contains a wrench and screwdriver. To delete, select by click and drag, and then click on the garbage can button.

Hare allows you to have up to 10 different sets of annotations attached to an audio file. On the bottom left, a slider allows you to select which annotation level that you are working with.

Use the export and import icons to save and restore the text annotations. They are written to an XML file with the same name as the audio. This way the audio and annotations are available for use by other applications.

Custom Keyboard Layouts

Finally, Hare enables you to support multiple languages and keyboard layouts. Skip this section if this isn't relevant to your work. Furthermore, If you have also installed the ACORNS application, these instructions are not necessary. That application has dialog displays that perform these functions.

If Hare is run as a stand-alone application, drop a text file (named: keylayouts.txt) into the Documents/Acorns/keyLayoutFiles folder (or Documents/acornsFiles/keyLayoutFiles on older installations). Note that for applications acquired from Apple Store, because of strict restrictions regarding file access, a user-selected folder is used for storing application data. The keyLayoutFiles folder is automatically created within that folder.

The keylayouts.txt file should contain one line for each language needed. An example follows:

Times New Roman, 12, Greek

In the above example, Times New Roman is the font you want to use, 12 is the font size, Greek is the language. Fields are separated by commas.

If you also want to work with custom keyboard layouts, drop a file with the extension .keylayout into the keyLayoutFiles folder. For this to work, the file name (without the extension) must match the language in the example described above. Note that .keylayout files are in the standard format for keyboard layouts used on Apple systems. If you are not familiar with its format, you will likely be able to find and download a file available online that works with your language.