Code:
insts=[];
for(i=0;i<instrumentSelect.length;i++)
{
insts.push(parseInt(instrumentSelect[i].value))
}
for(i=0;i<settings.instrumentColors.length;i++)
{
if(!insts.includes(i))
{
var opt = document.createElement("option");
opt.value = i;
opt.text = String(i);
instrumentSelect.add(opt);
}
}
Insert this code into the console and you can beta test the new instruments!
CONSOLE TUTORIAL
Chrome: f12 and select console tab, paste code, then select the instruments tab and scroll down.
Else: Something similar, I use Chrome, sorry.
how do you lock instruments?
Code:
audioSystem.setInstrumentVolume(<inst#>, <value>)
selectDelay(<inst#>)
selectReverb(<inst#>)
lockInstrument(<inst#>)
This should do the trick. <inst#> is the id of the instrument. <value> is the volume.
Uncaught TypeError: Cannot set property 'className' of null
at lockInstrument (d6983c7665af02298eff6e905f46355b.js:335)
at <anonymous>:1:1
lock instrument doesn't work
(06-14-2018, 09:25 AM)Guest Wrote: [ -> ]lock instrument doesn't work
What code did you run to try to lock the instrument?