Media File Settings
Each file in a media player's play list has the following settings:
- Name
- The display name for this file as displayed in Cantabile's main window
- File
- The file name of the media file. Cantabile supports .wav, .w64, .mp3, .flac, .mid and .midi files
- Tempo
- For audio files this field is required and is used to calculate musical time positions for the audio file. For MIDI files this is an optional tempo override - if left blank, the MIDI file's timing information is used.
- Time Signature
- For audio files this field is required. For MIDI files this field overrides the time signature specified in the MIDI file.
- Play From/To
- The start and end of the play range. If either field is not specified the start/end of the file is used. See below for information on how to specify file positions. Also, the To field can be prefixed with a
+
to indicate an offset from the start position. eg:+1
would be one bar past the start position. - Loop Mode
- If selected, the media file will play indefinitely looping across the specified play range (or the entire file if not specified).
Specifying File Positions
File positions can be specified in one of several different formats:
- Musical Time Format
- Musical times are expressed in the following format
<barnumber> <beatnumber>.<beatfraction>
eg:8
means bar 8 and12 2.5
would be bar 12, beat 2.5. - Real Time Format
- Real times are expressed as
<hours>:<minutes>:<seconds>.<fraction
eg:3:45.5
would be 3 minutes 45.5 seconds - Raw Time Format
- Raw times can be used to specify and exact sample number for audio files or division/timecode number for MIDI files and take the form
<position>n
. eg:5000n
would refer to the sample number 5000 in an audio file - Percentage Format
- Positions can also be expressed as a percentage of the length of the file. eg:
50%
would be half way through the file. Note that for MIDI files percentage calculations are performed using the musical duration of the file, not the real-time of the file which might be different if it contains tempo changes.