Initial commit

This commit is contained in:
mxdyeah committed 2026-07-08 01:15:18 +08:00
commit acadc92e68
780 files changed
+468285

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
/*BassoonTracker v0.4.0 by Steffest - build 2021-04-10 - Full source on https://github.com/steffest/BassoonTracker */
var BassoonTracker=function(){function I(e,t){function i(e){(e=0===e?e:e||o.index)<0&&(e=0),o.length<=e&&(e=o.length-1),o.index=e}var o={index:0,litteEndian:!t,goto:function(e){i(e)},jump:function(e){this.goto(this.index+e)},readByte:function(e){i(e);var t=this.dataView.getInt8(this.index);return this.index++,t},writeByte:function(e,t){i(t),this.dataView.setInt8(this.index,e),this.index++},readUbyte:function(e){i(e);var t=this.dataView.getUint8(this.index);return this.index++,t},writeUByte:function(e,t){i(t),this.dataView.setUint8(this.index,e),this.index++},readUint:function(e){i(e);var t=this.dataView.getUint32(this.index,this.litteEndian);return this.index+=4,t},writeUint:function(e,t){i(t),this.dataView.setUint32(this.index,e,this.litteEndian),this.index+=4},readBytes:function(e,t){i(t);var n=new Uint8Array(e),r=this.index;(e+=r)>this.length&&(e=this.length);for(var a=0;r<e;++r)n.setUint8(a++,this.dataView.getUint8(r));return this.index=e,n},readString:function(e,t){i(t);var n=this.index,r=this.dataView,a="";for((e+=n)>this.length&&(e=this.length);n<e;++n){var o=r.getUint8(n);if(0==o)break;a+=String.fromCharCode(o)}return this.index=e,a},writeString:function(e,t){i(t);for(var n=this.dataView,r=e.length,a=0;a<r;a++)n.setUint8(this.index+a,e.charCodeAt(a));this.index+=r},writeStringSection:function(e,t,n,r){i(r),n=n||0;var a=(e=e||"").length;(t=t||1)<a&&(e=e.substr(0,t)),o.writeString(e),o.fill(n,t-a)},readWord:function(e){i(e);var t=this.dataView.getUint16(this.index,this.litteEndian);return this.index+=2,t},writeWord:function(e,t){i(t),this.dataView.setUint16(this.index,e,this.litteEndian),this.index+=2}};return o.readLong=o.readDWord=o.readUint,o.writeLong=o.writeDWord=o.writeUint,o.readShort=function(e,t){i(t);var n=this.dataView.getInt16(this.index,this.litteEndian);return this.index+=2,n},o.clear=function(e){o.fill(0,e)},o.fill=function(e,t){e=e||0,t=t||0;for(var n=0;n<t;n++)o.writeByte(e)},o.isEOF=function(e){return this.length-(e=e||0)<=this.index},e&&(o.buffer=e,o.dataView=new DataView(e),o.length=e.byteLength),o}var e,t,o,V=((t={}).useUrlParams=!0,t.useDropbox=!0,t.showInternalMenu=!0,t.useWebWorkers=!0,t.useInitialLoad=!0,t.init=function(){"object"==typeof HostBridge&&((e=HostBridge).init(),"boolean"==typeof e.useUrlParams&&(t.useUrlParams=e.useUrlParams),"boolean"==typeof e.useDropbox&&(t.useDropbox=e.useDropboxs),"boolean"==typeof e.showInternalMenu&&(t.showInternalMenu=e.showInternalMenu),"boolean"==typeof e.useWebWorkers&&(t.useWebWorkers=e.useWebWorkers))},t.getBaseUrl=function(){return e&&e.getBaseUrl?e.getBaseUrl():"undefined"!=typeof Settings&&Settings.baseUrl||""},t.getRemoteUrl=function(){return e&&e.getRemoteUrl?e.getRemoteUrl():""},t.getVersionNumber=function(){return"undefined"!=typeof versionNumber?versionNumber:e&&e.getVersionNumber?e.getVersionNumber():"dev"},t.getBuildNumber=function(){return"undefined"!=typeof buildNumber?buildNumber:e&&e.getBuildNumber?e.getBuildNumber():(new Date).getTime()},t.signalReady=function(){e&&e.signalReady&&e.signalReady()},t.putFile=function(e,t){},t),A={images:{},audio:{},json:{},arrayBuffer:{}},U=void 0,s=1,C=2,z=1,K=2,X=3,Q=4,Z=5,m=7,J=8,Y=9,$=10,ee=11,te=12,O=13,ne=16,re=17,ae=24,oe=26,ie=28,se=29,c=33,n=36,u=46,ue=53,le=54,de=55,pe=56,me=1,ce=2,f=1,v=2,g=3,x=1,B=2,fe={C1:{period:856,name:"C-1",tune:[907,900,894,887,881,875,868,862,856,850,844,838,832,826,820,814]},Cs1:{period:808,name:"C#1",tune:[856,850,844,838,832,826,820,814,808,802,796,791,785,779,774,768]},D1:{period:762,name:"D-1",tune:[808,802,796,791,785,779,774,768,762,757,752,746,741,736,730,725]},Ds1:{period:720,name:"D#1",tune:[762,757,752,746,741,736,730,725,720,715,709,704,699,694,689,684]},E1:{period:678,name:"E-1",tune:[720,715,709,704,699,694,689,684,678,674,670,665,660,655,651,646]},F1:{period:640,name:"F-1",tune:[678,675,670,665,660,655,651,646,640,637,632,628,623,619,614,610]},Fs1:{period:604,name:"F#1",tune:[640,636,632,628,623,619,614,610,604,601,597,592,588,584,580,575]},G1:{period:570,name:"G-1",tune:[604,601,597,592,588,584,580,575,570,567,563,559,555,551,547,543]},Gs1:{period:538,name:"G#1",tune:[570,567,563,559,555,551,547,543,538,535,532,528,524,520,516,513]},A1:{period:508,name:"A-1",tune:[538,535,532,528,524,520,516,513,508,505,502,498,495,491,487,484]},As1:{period:480,name:"A#1",tune:[508,505,502,498,494,491,487,484,480,477,474,470,467,463,460,457]},B1:{period:453,name:"B-1",tune:[480,477,474,470,467,463,460,457,453,450,447,444,441,437,434,431]},C2:{period:428,name:"C-2",tune:[453,450,447,444,441,437,434,431,428,425,422,419,416,413,410,407]},Cs2:{period:404,name:"C#2",tune:[428,425,422,419,416,413,410,407,404,401,398,395,392,390,387,384]},D2:{period:381,name:"D-2",tune:[404,401,398,395,392,390,387,384,381,379,376,373,370,368,365,363]},Ds2:{period:360,name:"D#2",tune:[381,379,376,373,370,368,365,363,360,357,355,352,350,347,345,342]},E2:{period:339,name:"E-2",tune:[360,357,355,352,350,347,345,342,339,337,335,332,330,328,325,323]},F2:{period:320,name:"F-2",tune:[3Line truncated