Class Index | File Index

Classes


Class weasel.DefJamSoundTracker3


Extends weasel.TJCSoundTracker2.

Defined in: DefJamSoundTracker3.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
weasel.DefJamSoundTracker3(aModuleData, iPlaybackFrequency, iSampleScannerMode)
Create a Def Jam Soundtracker 3 module out of the provided data (which has already passed the module sniffer test).
Fields borrowed from class weasel.UltimateSoundTracker121:
NTSC, PAL, TimingOverrides
Method Summary
Method Attributes Method Name and Description
 
Get length of song in milliseconds.
 
Get song position in milliseconds.
 
setTickSpeed(iTickSpeed)
Set the row tick speed (this Effect Command is added by Il Scuro in Def Jams Soundtracker 3, so technically is not a Jungle Command Soundtracker 2 command ).
Methods borrowed from class weasel.TJCSoundTracker2:
processTick0Effects
Methods borrowed from class weasel.UltimateSoundTracker121:
changePlaybackFrequency, extractPatterns, fetchRow, findMaximumPatternNumber, FormatInstrumentTotal, FormatModuleHeaderSize, getChannel, getCIATimerConstant, getCurrentPatternCell, getCurrentPatternRowPosition, getCurrentSequencePosition, getCurrentTick, getFSTPanningMode, getInstrument, getMasterVolume, getModuleData, getModuleType, getNoiseTrackerLoopQuirkEnabled, getNoteFromPeriod, getNumberOfChannels, getPattern, getPatternNumber, getPatternSizeInBytes, getPlaybackFrequency, getProtracker3SampleOffsetMode, getProtrackerTremoloSawtoothBugMode, getSequenceTable, getSongLengthInPatterns, getSongSpeed, getTickSpeed, getTimingOverride, getTitle, getVibratoMode, hasSongEnded, numberOfUniquePatternsInSong, play, processEffects, processPattern, restartSong, setClockConstant, setCurrentSequencePosition, setFST7BitPanningMode, setMasterVolume, setProtracker3SampleOffsetMode, setProtrackerTremoloSawtoothBugMode, setSamplesPerTick, setSongSpeed, setVibratoMode, startPendingSample, tickPlaybackRateInHz, timingOverride, WaitForDMAToStop
Class Detail
weasel.DefJamSoundTracker3(aModuleData, iPlaybackFrequency, iSampleScannerMode)
Create a Def Jam Soundtracker 3 module out of the provided data (which has already passed the module sniffer test). Def Jam Soundtracker 3 is based upon TJC Soundtracker 2. The following Soundtrackers have identical replays to Def Jam Soundtracker 3: # Alpha Flight Soundtracker 4 # DOC Soundtracker 3 # DOC Soundtracker 4 # DOC Soundtracker 6 The replay routines are identical with the exception that Il Scuro (Def Jam Soundtracker 3) added Set Tick Speed Effect Command.
Author: Warren Willmey 2012.
Parameters:
{Array|Uint8Array} aModuleData
= The Def Jam Soundtracker 3 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?.
Method Detail
{float} getLengthOfSongInMilliSeconds()
Get length of song in milliseconds.
Returns:
{float} = The length of the song in ms.

{float} getSongPositionInMilliSeconds()
Get song position in milliseconds.
Returns:
{float} = The song position from its beginning in ms.

setTickSpeed(iTickSpeed)
Set the row tick speed (this Effect Command is added by Il Scuro in Def Jams Soundtracker 3, so technically is not a Jungle Command Soundtracker 2 command ).
Parameters:
{int} iTickSpeed
= The new row tick speed to use (1-15).

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