File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import type { MIDIFile } from "../utils/drop_file_handler.ts";
22import { Manager } from "../manager/manager.js" ;
33import { showNotification } from "../notification/notification.js" ;
44import { LocaleManager } from "../locale/locale_manager.js" ;
5- import { SpessaSynthLogging } from "spessasynth_core" ;
65import type { LocaleCode } from "../locale/locale_files/locale_list.ts" ;
76import type { SavedSettings } from "../../server/saved_settings.ts" ;
87import { readSampleRateParam } from "../utils/sample_rate_param.ts" ;
@@ -52,7 +51,6 @@ window.savedSettings = new Promise((resolve) => {
5251
5352window . isLocalEdition = true ;
5453
55- SpessaSynthLogging ( true , true , true ) ;
5654const titleMessage = document . querySelector < HTMLHeadingElement > ( "#title" ) ! ;
5755const progressBar = document . querySelector < HTMLDivElement > ( "#progress_bar" ) ! ;
5856const fileInput = document . querySelector < HTMLInputElement > ( "#midi_file_input" ) ! ;
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export async function renderAudioData(
5757 enableEffects : ! separated
5858 } ) ;
5959 // No cap
60- rendererSynth . setMasterParameter ( "voiceCap" , 4_294_967_296 ) ;
60+ rendererSynth . setMasterParameter ( "voiceCap" , 1024 ) ;
6161 console . info ( "Parsing and loading the sound bank in the main thread." ) ;
6262 const sf = SoundBankLoader . fromArrayBuffer ( this . sBankBuffer ) ;
6363 rendererSynth . soundBankManager . addSoundBank ( sf , SOUND_BANK_ID ) ;
You can’t perform that action at this time.
0 commit comments