Online Sequencer Make music online
  • Sequences
  • Members
  • Import MIDI
  • Forum

Existing user? Sign In Create account
Login at Online Sequencer Forums

Online Sequencer Forums › Off Topic › General Music Composition
« Previous 1 … 5 6 7 8 9 Next »

Want to BETA TEST new instruments?

Pages (3): « Previous 1 2 3
Thread tools
Want to BETA TEST new instruments?
JoelTheGreat Offline
Member
2 Posts:
 
#21
02-05-2019, 07:37 AM (This post was last modified: 02-05-2019, 08:29 AM by JoelTheGreat.)
oh wait I got some new stuff
no worries

AND NOW THEY WON'T LOAD. COME ON.


oh yeah and one more thing... when will the beta instruments finally be fully released?


Reply
act55555 Offline
Member
21 Posts:
 
#22
03-09-2019, 10:48 AM (This post was last modified: 03-09-2019, 11:02 AM by act55555.)
(06-10-2018, 08:27 AM)Frank Wrote:
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 = settings.instruments[i];
    instrumentSelect.add(opt);
  }
}



Slight modification to the above. Now includes the instrument ID enclosed in parenthesis after the instrument name. Saves you the trouble of guessing what instrument id to use with audioSystem.setReverb(<instrumentID>, <value>), audioSystem.setDelay(<instrumentID>, <value>), and audioSystem.setInstrumentVolume(<instrumentID>, <value>):

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 = settings.instruments[i].concat(' (', String(i), ') ');
    instrumentSelect.add(opt);
  }
}


Check Out My Stuff
Reply
Pages (3): « Previous 1 2 3



Users browsing this thread:   1 Guest(s)


  •  Return to Top
  •  Contact Us
  •   Home
  •  Lite mode
© Rush Crafted with ❤ by iAndrew
Powered By MyBB, © 2002-2022 MyBB Group.
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend