Class Index | File Index

Classes


Class weasel.UltimateSoundTracker18


Extends weasel.UltimateSoundTracker121.

Defined in: UltimateSoundTracker18.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
weasel.UltimateSoundTracker18(aModuleData, iPlaybackFrequency, iSampleScannerMode)
Create a Ultimate Soundtracker 1.8 module out of the provided data (which has already passed the module sniffer test).
Fields borrowed from class weasel.UltimateSoundTracker121:
NTSC, PAL, TimingOverrides
Methods borrowed from class weasel.UltimateSoundTracker121:
changePlaybackFrequency, extractPatterns, fetchRow, findMaximumPatternNumber, FormatInstrumentTotal, FormatModuleHeaderSize, getChannel, getCIATimerConstant, getCurrentPatternCell, getCurrentPatternRowPosition, getCurrentSequencePosition, getCurrentTick, getFSTPanningMode, getInstrument, getLengthOfSongInMilliSeconds, getMasterVolume, getModuleData, getModuleType, getNoiseTrackerLoopQuirkEnabled, getNoteFromPeriod, getNumberOfChannels, getPattern, getPatternNumber, getPatternSizeInBytes, getPlaybackFrequency, getProtracker3SampleOffsetMode, getProtrackerTremoloSawtoothBugMode, getSequenceTable, getSongLengthInPatterns, getSongPositionInMilliSeconds, getSongSpeed, getTickSpeed, getTimingOverride, getTitle, getVibratoMode, hasSongEnded, numberOfUniquePatternsInSong, play, processEffects, processPattern, processTick0Effects, restartSong, setClockConstant, setCurrentSequencePosition, setFST7BitPanningMode, setMasterVolume, setProtracker3SampleOffsetMode, setProtrackerTremoloSawtoothBugMode, setSamplesPerTick, setSongSpeed, setVibratoMode, startPendingSample, tickPlaybackRateInHz, timingOverride, WaitForDMAToStop
Class Detail
weasel.UltimateSoundTracker18(aModuleData, iPlaybackFrequency, iSampleScannerMode)
Create a Ultimate Soundtracker 1.8 module out of the provided data (which has already passed the module sniffer test). The only difference between 1.21 and 1.8 is that 1.8 uses the Song Speed to set the CIA timer and so does not run at the vertical refresh rate of a PAL monitor/tv. This ensured that the song played at approximately the correct speed on a NTSC based machine. However it introduces a problem in that songs that are written with 1.8 that are expected to play at 120BPM get identified as Ultimate Soundtracker 1.21 modules and played at PAL 50hz speed (which is 125BPM) and any Ultimate Soundtracker 1.21 songs played in the Ultimate Soundtracker 1.8 program get played back at 120BPM instead of the PAL 50hz speed.
Author: Warren Willmey 2012.
Parameters:
{Array|Uint8Array} aModuleData
= The ultimate Soundtracker 1.8 module as a byte array that MUST have passed the module sniffer test.
{int} iPlaybackFrequency
= The playback frequency in hertz to use (e.g. 44100 ).
{weasel.Sample.prototype.SampleScannerMode} iSampleScannerMode
= Scan for IFF Header corruption residue?.

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Mar 05 2018 18:46:33 GMT-0000 (GMT)