Console Commands: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 31: Line 31:
'''WARNING:''' Firefox does not support detunes outside -1200 to 1200, so using extreme values will mean your sequence will only play correctly on Chromium browsers.
'''WARNING:''' Firefox does not support detunes outside -1200 to 1200, so using extreme values will mean your sequence will only play correctly on Chromium browsers.


==== '''hZ to Detune''' ====
==== hZ to Detune ====
[https://onlinesequencer.net/members/149323 K1ll3rB33] has made a script that detunes it from 440hz to a custom one. Simply replace "frequency" with your desired frequency in hZ.
[https://onlinesequencer.net/members/149323 K1ll3rB33] has made a script that detunes it from 440hz to a custom one. Simply replace "frequency" with your desired frequency in hZ.
  setDetune(instrument, 1200*Math.log(frequency/440)/Math.log(2))
  setDetune(instrument, 1200*Math.log(frequency/440)/Math.log(2))
5

edits