Constructs a new XmProperties instance.
The level of detail used when parsing audio properties.
Average bitrate of the audio stream in kb/s.
Returns 0 if the value is not available.
Returns the default BPM speed (beats per minute).
The BPM speed.
Sets the default BPM speed.
The BPM speed (beats per minute).
Returns the number of channels used by the module.
The channel count.
Sets the number of channels.
The channel count.
Returns the raw flags word from the XM header. Bit 0 selects between linear and Amiga frequency tables.
The flags value.
Sets the raw flags word.
The flags value.
Returns the total number of instruments declared in the file.
The instrument count.
Sets the total number of instruments.
The instrument count.
Returns the duration of the track in milliseconds.
XM files have no defined playback duration; always returns 0.
0.
Returns the number of entries in the pattern order table.
The song length in patterns.
Sets the number of entries in the pattern order table.
The song length in patterns.
Duration rounded to the nearest second.
Returns the total number of patterns stored in the file.
The pattern count.
Sets the total number of patterns.
The pattern count.
Returns the pattern order table index at which the song restarts when looping.
The restart position.
Sets the restart position.
The pattern order table index to restart at.
Returns the total number of samples across all instruments.
The sample count.
Sets the total number of samples.
The sample count.
Sample rate of the audio stream in Hz.
Returns 0 if the value is not available.
Returns the default tempo in ticks per row.
The tempo value.
Sets the default tempo.
The tempo (ticks per row).
Returns the XM format version number (e.g. 0x0104 for v1.04).
The version word.
Sets the XM format version number.
The version word.
Audio properties for Extended Module (XM) files.
XM is a tracker module format; it has no defined playback duration in milliseconds. The properties describe the module structure (channels, patterns, instruments, and tempo settings).