1 /** 2 * This file is part of the Web Enabled Audio and Sound Enhancement Library (aka the Weasel audio library) Copyright 2011 - 2013 Warren Willmey. It is covered by the GNU General Public License version 3 as published by the Free Software Foundation, you should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. 3 */ 4 5 if( undefined == window.weasel ) window.weasel = {}; 6 7 // --------------------------------------------------------------------------- 8 /** Object containing constants that a DOC Soundtracker 9 module requires, other 9 * than what is already defined in FormatUltimateSoundTracker121. 10 * 11 * @constructor 12 * @const 13 */ 14 weasel.FormatDOCSoundTracker9 = 15 { 16 /** The supported effects in a DOC Soundtracker 9 module. 17 * 18 * @const 19 * @enum {int} 20 */ 21 Effects: { 22 Arpeggio: 0 23 , PitchbendUp: 1 24 , PitchbendDown: 2 25 , Volume: 12 26 , Filter: 14 27 , TickSpeed: 15 28 } 29 30 , MaxNotePeriod : 113 31 , MinNotePeriod : 856 32 33 /** The maximum size of a sample (in bytes) in a DOC Soundtracker 9 module. 34 * @const 35 * @type {int} 36 */ 37 , MaxSampleSize: 32768 38 };