Class Index | File Index

Classes


Class weasel.FormatNoiseTracker11


Defined in: FormatNoiseTracker11.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Object containing constants that a Mahoney & Kaktus Noisetracker 1.1 module requires, in addition to those defined in FormatUltimateSoundTracker121, FormatDOCSoundTracker9, FormatDOCSoundTracker22 & Spreadpoint Soundtracker 2.3.
Field Summary
Field Attributes Field Name and Description
<static>  
weasel.FormatNoiseTracker11.Effects
The supported effects in a Mahoney & Kaktus Noisetracker 1.1 module in addition to those in Spreadpoint Soundtracker 2.3, DOC Soundtracker 2.2 & DOC Soundtracker 9.
<static>  
weasel.FormatNoiseTracker11.SongRestartPosition
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.FormatNoiseTracker11.VibratoTable
The sine table used by the Vibrato Command.
<static>  
weasel.FormatNoiseTracker11.WaitForDMAToStop
Time in milliseconds that Noisetracker 1.1 waits between telling the DMA to stop playing and start a new Sample.
Class Detail
weasel.FormatNoiseTracker11()
Object containing constants that a Mahoney & Kaktus Noisetracker 1.1 module requires, in addition to those defined in FormatUltimateSoundTracker121, FormatDOCSoundTracker9, FormatDOCSoundTracker22 & Spreadpoint Soundtracker 2.3.
Field Detail
<static> weasel.FormatNoiseTracker11.Effects
The supported effects in a Mahoney & Kaktus Noisetracker 1.1 module in addition to those in Spreadpoint Soundtracker 2.3, DOC Soundtracker 2.2 & DOC Soundtracker 9.

<static> weasel.FormatNoiseTracker11.SongRestartPosition
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. However the ability to change this value was removed in The New Masters Soundtracker 1.0 and has been missing ever since. Modules saved from DOC Soundtracker 2.0 & 2.2 Spreadpoint 2.3,2.4 & 2.5 all save the default value of 120. Noisetracker decided to reuse this byte as the song sequence restart position. And the Protracker series (1.0c, 2.1a) marks its Soundtracker files with 127.

<static> weasel.FormatNoiseTracker11.VibratoTable
The sine table used by the Vibrato Command.

<static> weasel.FormatNoiseTracker11.WaitForDMAToStop
Time in milliseconds that Noisetracker 1.1 waits between telling the DMA to stop playing and start a new Sample. The pause loop is similar to Ultimate Soundtracker but is 300 of the "dbf" 68000 instruction, which takes 10 clock cycles to execute. (300 * 10) = 3000 / 448 ( approx number of clock cycles CPU has per scanline) = 6.696 scanlines. Plus some other bits. TODO This value needs investigating more, as there is something fishy going on, even taking into account DMA access it does not quite match the pause generated on an Amiga. TODO Measuring this DMA Wait via the Scanline register $dff006 on the Amiga shows its a pause of 8 scanlines. I tried a more accurate method of reading the CIA A Timer B value and that was giving a typical pause of 361 or (361/.709379)/1000 = 0.508895809ms. This value is the same for Chip or Fast RAM and is approximately what you would expect (taking into account DMA access). However this is not the value when sampling the audio output. which I can't account for and is typically 120 samples at 96Khz (~0.625ms) but the value does vary, maybe there is a delay circuit within the Paula Audio chip?

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