Sound Requests

Notes:

  • I’m not really explaining these because they’re mostly self-explanatory, but some of them might not. Please ask about these if they’re confusing!
  • when an argument says something like loop = false, it means the default for loop is false if you don’t put a loop parameter (that’s how it is in Python, but dunno if JS works that way too or has a similar function)
  • I made this rather quickly, so things might be missing or weird.

Requests:

  • project.a = sound(file)
  • playSound(var, volume, loop = false, waitEndBeforeCont = false)
  • stopSound(var, fadeDecimal = 1, waitEndBeforeCont = false)
  • pauseSound(var)
  • continueSound(var)
  • setVol(var, volDecimal)
  • fadeSound(var, endVol, fadeDecimal, waitEndBeforeCont = false)
1 Like