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): 1 2 3 Next »
Thread tools
Want to BETA TEST new instruments?
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#1
06-01-2018, 01:49 PM (This post was last modified: 06-01-2018, 01:57 PM by Frank.)
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.


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
  • x1
    • x1
    • Jonah
Reply
Kirbyderp Offline
kek
599 Posts:
 
#2
06-01-2018, 01:54 PM
WOAH nice!


My Music! | High Quality Rips | Road to Remastery | Project Ultra
Reply
Guest Offline
Member
500 Posts:
 
#3
06-05-2018, 07:12 PM
how do you lock instruments?


My YT
My OS 
Reply
Guest Offline
Member
500 Posts:
 
#4
06-05-2018, 07:48 PM
and edit volume?


My YT
My OS 
Reply
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#5
06-06-2018, 07:08 AM (This post was last modified: 06-06-2018, 07:09 AM by Frank.)
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.


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#6
06-10-2018, 08:27 AM
(06-01-2018, 01:49 PM)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 = 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.

NEW CODE
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);
  }
}


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply
Guest Offline
Member
500 Posts:
 
#7
06-11-2018, 06:48 PM
Uncaught TypeError: Cannot set property 'className' of null
at lockInstrument (d6983c7665af02298eff6e905f46355b.js:335)
at <anonymous>:1:1


My YT
My OS 
Reply
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#8
06-12-2018, 10:39 AM
(06-11-2018, 06:48 PM)Guest Wrote: Uncaught TypeError: Cannot set property 'className' of null
   at lockInstrument (d6983c7665af02298eff6e905f46355b.js:335)
   at <anonymous>:1:1

OOF what browser?


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply
Guest Offline
Member
500 Posts:
 
#9
06-14-2018, 09:25 AM
lock instrument doesn't work


My YT
My OS 
Reply
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#10
06-14-2018, 12:56 PM
(06-14-2018, 09:25 AM)Guest Wrote: lock instrument doesn't work

What code did you run to try to lock the instrument?


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply
Pages (3): 1 2 3 Next »



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