Class weasel.FormatUltimateSoundTracker121
Defined in: FormatUltimateSoundTracker121.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Object containing constants that a Ultimate Soundtracker 1.21 module require.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
weasel.FormatUltimateSoundTracker121.BytesPerRowCell
Number of bytes required per pattern cell.
|
<static> |
weasel.FormatUltimateSoundTracker121.Channel
The offsets into the pattern data per channel and data masks to extract instrument and effect numbers.
|
<static> |
weasel.FormatUltimateSoundTracker121.ClockConstantNTSC
The Amiga NTSC clock constant, used to compute the sampling frequency on North America machines.
|
<static> |
weasel.FormatUltimateSoundTracker121.ClockConstantPAL
The Amiga PAL clock constant, used to compute the sampling frequency on European machines.
|
<static> |
weasel.FormatUltimateSoundTracker121.Effects
The supported effects in a Ultimate Soundtracker module.
|
<static> |
weasel.FormatUltimateSoundTracker121.MaxSampleSize
The maximum size of a sample (in bytes) in a Ultimate Soundtracker module,
this value is derived from the patch list on the ST-01 sample disk.
|
<static> |
weasel.FormatUltimateSoundTracker121.MaxTitleLength
The maximum title length in bytes.
|
<static> |
weasel.FormatUltimateSoundTracker121.MaxUniquePatterns
The maximum number of unique patterns allowed in a Ultimate Soundtracker module.
|
<static> |
weasel.FormatUltimateSoundTracker121.MinimumHeaderSize
The size of the Ultimate Soundtracker header plus the first pattern (which
is always present).
|
<static> |
weasel.FormatUltimateSoundTracker121.ModuleHeaderSize
The size in byte of the Ultimate Soundtracker module header, after this the pattern data appears.
|
<static> |
weasel.FormatUltimateSoundTracker121.NotesPerOctave
Number of notes per octave in a Ultimate Soundtracker 1.21 module, chromatic scale.
|
<static> |
weasel.FormatUltimateSoundTracker121.NoteTable
Table to convert the period into the note and octave in human readable form.
|
<static> |
weasel.FormatUltimateSoundTracker121.NumberOfChannels
The number of channels per pattern in a Ultimate Soundtracker module.
|
<static> |
weasel.FormatUltimateSoundTracker121.NumberOfInstruments
The number of instruments in a Ultimate Soundtracker module.
|
<static> |
weasel.FormatUltimateSoundTracker121.NumberOfRowsPerPattern
The number of rows per pattern in a Ultimate Soundtracker module.
|
<static> |
weasel.FormatUltimateSoundTracker121.Octaves
Number of octaves used in a Ultimate Soundtracker 1.21 module.
|
<static> |
weasel.FormatUltimateSoundTracker121.PatternData
The offset in bytes, from the beginning of the module, to the first pattern.
|
<static> |
weasel.FormatUltimateSoundTracker121.PatternSequenceTable
The offset in bytes, from the beginning of the module, to the Pattern Sequence
Table.
|
<static> |
weasel.FormatUltimateSoundTracker121.PatternSize
The number of bytes needed to store each pattern in a Ultimate Soundtracker module.
|
<static> |
weasel.FormatUltimateSoundTracker121.PeriodTable
Period note table used to find arpeggio period values from the base note period.
|
<static> |
weasel.FormatUltimateSoundTracker121.SampleHeader
The array of 15 Sample Headers each containing the sample name, length, volume etc.
|
<static> |
weasel.FormatUltimateSoundTracker121.SampleHeaders
The offset into the module data to the 15 sample header.
|
<static> |
weasel.FormatUltimateSoundTracker121.SequenceTableLength
The total length in bytes of the sequence table in a Ultimate Soundtracker module.
|
<static> |
weasel.FormatUltimateSoundTracker121.SongLength
The offset in bytes, from the beginning of the module, to the Song Length.
|
<static> |
weasel.FormatUltimateSoundTracker121.SongSpeed
The offset in bytes, from the beginning of the module, to where the Song Speed
(also refered to as the BPM, Beats Per Minute) is stored.
|
<static> |
weasel.FormatUltimateSoundTracker121.TicksPerRow
The number of Ticks spent per row, which is 6.
|
<static> |
weasel.FormatUltimateSoundTracker121.Title
The offset into the module data containing the Title.
|
<static> |
weasel.FormatUltimateSoundTracker121.TotalNotes
Total notes present in a Ultimate Soundtracker 1.21 module.
|
<static> |
weasel.FormatUltimateSoundTracker121.WaitForDMAToStop
Time in milliseconds that Ultimate Soundtracker waits between telling the DMA to stop playing and start a new Sample.
|
Class Detail
weasel.FormatUltimateSoundTracker121()
Object containing constants that a Ultimate Soundtracker 1.21 module require.
Field Detail
<static>
weasel.FormatUltimateSoundTracker121.BytesPerRowCell
Number of bytes required per pattern cell.
<static>
weasel.FormatUltimateSoundTracker121.Channel
The offsets into the pattern data per channel and data masks to extract instrument and effect numbers.
<static>
weasel.FormatUltimateSoundTracker121.ClockConstantNTSC
The Amiga NTSC clock constant, used to compute the sampling frequency on North America machines.
<static>
weasel.FormatUltimateSoundTracker121.ClockConstantPAL
The Amiga PAL clock constant, used to compute the sampling frequency on European machines.
<static>
weasel.FormatUltimateSoundTracker121.Effects
The supported effects in a Ultimate Soundtracker module.
<static>
weasel.FormatUltimateSoundTracker121.MaxSampleSize
The maximum size of a sample (in bytes) in a Ultimate Soundtracker module,
this value is derived from the patch list on the ST-01 sample disk. In that
ALL samples on that disk are under 9999 bytes.
<static>
weasel.FormatUltimateSoundTracker121.MaxTitleLength
The maximum title length in bytes.
<static>
weasel.FormatUltimateSoundTracker121.MaxUniquePatterns
The maximum number of unique patterns allowed in a Ultimate Soundtracker module.
<static>
weasel.FormatUltimateSoundTracker121.MinimumHeaderSize
The size of the Ultimate Soundtracker header plus the first pattern (which
is always present). This represents the bare minimum amount of data needed for a Ultimate Soundtracker module.
<static>
weasel.FormatUltimateSoundTracker121.ModuleHeaderSize
The size in byte of the Ultimate Soundtracker module header, after this the pattern data appears.
<static>
weasel.FormatUltimateSoundTracker121.NotesPerOctave
Number of notes per octave in a Ultimate Soundtracker 1.21 module, chromatic scale.
<static>
weasel.FormatUltimateSoundTracker121.NoteTable
Table to convert the period into the note and octave in human readable form.
Amiga period value (used to set the pitch of the note) to Note table.
Notice that these values are NTSC, not PAL..
<static>
weasel.FormatUltimateSoundTracker121.NumberOfChannels
The number of channels per pattern in a Ultimate Soundtracker module.
<static>
weasel.FormatUltimateSoundTracker121.NumberOfInstruments
The number of instruments in a Ultimate Soundtracker module.
<static>
weasel.FormatUltimateSoundTracker121.NumberOfRowsPerPattern
The number of rows per pattern in a Ultimate Soundtracker module.
<static>
weasel.FormatUltimateSoundTracker121.Octaves
Number of octaves used in a Ultimate Soundtracker 1.21 module.
<static>
weasel.FormatUltimateSoundTracker121.PatternData
The offset in bytes, from the beginning of the module, to the first pattern.
<static>
weasel.FormatUltimateSoundTracker121.PatternSequenceTable
The offset in bytes, from the beginning of the module, to the Pattern Sequence
Table. This table contains the order that each pattern is play in.
<static>
weasel.FormatUltimateSoundTracker121.PatternSize
The number of bytes needed to store each pattern in a Ultimate Soundtracker module.
<static>
weasel.FormatUltimateSoundTracker121.PeriodTable
Period note table used to find arpeggio period values from the base note period.
Again notice these are the NTSC values, not PAL.
Table is terminated with a zero, which indicates the note will not be played.
Karsten Obarski original routine does not take into account the end of the table
so playing B-3 with arpeggio 0x37 effectively dropping you into random data territory,
because song variables (tick speed etc) are stored immediately after the note table.
Without a doubt Karsten would be aware of this when composing and avoided this issue,
but many other people probably would not.
<static>
weasel.FormatUltimateSoundTracker121.SampleHeader
The array of 15 Sample Headers each containing the sample name, length, volume etc.
<static>
weasel.FormatUltimateSoundTracker121.SampleHeaders
The offset into the module data to the 15 sample header.
<static>
weasel.FormatUltimateSoundTracker121.SequenceTableLength
The total length in bytes of the sequence table in a Ultimate Soundtracker module.
<static>
weasel.FormatUltimateSoundTracker121.SongLength
The offset in bytes, from the beginning of the module, to the Song Length.
Which is the number of patterns listed in the Pattern Sequence Table before
the song restarts back to Pattern Sequence Table entry 0. It should be noted
that there may be other unused patterns listed pasted the end of the song.
<static>
weasel.FormatUltimateSoundTracker121.SongSpeed
The offset in bytes, from the beginning of the module, to where the Song Speed
(also refered to as the BPM, Beats Per Minute) is stored. The Song Speed
has a range of 0-220, this limit was set down in Ultimate Soundtracker 1.8.
<static>
weasel.FormatUltimateSoundTracker121.TicksPerRow
The number of Ticks spent per row, which is 6. This value does not change
in Ultimate Soundtracker, later module formats allow it to change.
<static>
weasel.FormatUltimateSoundTracker121.Title
The offset into the module data containing the Title.
<static>
weasel.FormatUltimateSoundTracker121.TotalNotes
Total notes present in a Ultimate Soundtracker 1.21 module..
<static>
weasel.FormatUltimateSoundTracker121.WaitForDMAToStop
Time in milliseconds that Ultimate Soundtracker waits between telling the DMA to stop playing and start a new Sample.
Debatable whether this is needed, there may be some tunes that require synchronisation of samples/channels for phaser effects.
As noted below the pause loop is 500 of the "dbf" 68000 instruction, which takes 10 clock cycles to execute.
(500 * 10) = 5000 / 448 ( approx number of clock cycles CPU has per scanline) = 11.16 scanlines.
Plus some other bits.