Defining your multimedia tags
|Top Previous Next|
Tags and Markup > multimedia tags
In this screenshot you see an example of how to define your multimedia tags. This is accessed from Adjust Settings | Tags | Media Tags.
The file extensions (.wav, .mp3 etc.) define the file types which your computer can play. Of course this function does require your computer to be able to handle sound or video if it is to work -- Windows uses the file extension to know how to play it.
The sound or video filename might be
<s1>=c:\my_corpus_sounds\angry_man.wav 560 2
<s2>=c:\my_corpus_sounds\happy_little_girl.mp3 980 2
where each line has the tag found in the text file, followed by = then the desired value.
If it is in the tag mark-up, to process a reference like <a href=http://gandalf.hit.uib.no/c/l/32401-1.mp3> in the source text, the = character is sufficient to define where the start of the filename begins. In this case, what follows = is a web address. For a text containing tags like this <sound$$C:\mysounds\talk.wav>, you'd put $$ to show the start of filename. For the concordance example, soundfile= is adequate to identify where the filename begins.
The media files folder will be needed (for cases 1 and 2 above) if the sound files are not stored in the same folder as your text files.
How to play it
Duration to play and where to start playing are measured in seconds.
You can indicate markers for start and duration if necessary. They would be needed if your tag contained e.g.
<a href=http://gandalf.hit.uib.no/c/l/32401-1.mp3 start=0360 play=5>
If so, you'd specify duration to play as play= and where in the media file as start=
You can specify a default duration as in the screenshot: 20 seconds. As much as this may be needed especially if the sound tags are not spaced closely together in the text file.
If no start or duration indication is given, the whole sound or video file will be played.
If there are no duration and start position markers, the first number will be interpreted as start position and the second as duration, so a tag like this: <sound$$C:\mysounds\talk.wav 15 5> in your text file means "play c:\mysounds\talk.wav starting 15 seconds from the beginning and play for 5 seconds".
The defaults are: play .mp3 and .wav files. Once you've completed this, save your defaults for next time.