Bytebeat

Return To bottom
Rules / Changelog / Common thread / SthephanShi / kOLbOSa_exe / lhphr / PortablePorcelain / HypernovaHeathen / BaenHoHoHo / SArpnt / hcdphobe / OnixIsThePewterGod / Zackx / GetDolphinedLol / psubscirbe / ChrisRM380 / Kouzerumatsu / MT2023 / Decent-Manager-6169 / Chasyxx / Glebguything / absolute197 / ANoUserXD / MarioFan171

CAPTCHA
 Deletion password
  • Supported file types are JPG, PNG, GIF, WEBP, WEBM, MP4 and MOV.
  • Limit: 4 files, 30 MB per file (60 MB for Passcode users).
  • Images greater than 250x250 will be thumbnailed.
  • 1151 unique users on the board.

5680
can't you take a hint.jpg
(16.68KB, 480x366)
One thing I've noticed about Greggman's HTML5 Bytebeat is that instead of simply setting
window.location.hash
(which would add a new entry to the history), it uses
window.location.replace()
to change the URL without adding a new history entry. This method updates the URL without creating additional entries in the browser's history stack, whereas Dollchan does
window.location.hash=`#v3b64${btoa(String.fromCharCode.apply(undefined,deflateRaw(JSON.stringify(songData)))).replaceAll("=","")}`;
every time you type a character which is annoying ('cause it floods your history). Besides, there's also
window.history.replaceState(null,"",URL)

On the other hand, could there ever be MIDI/keyboard input for playing notes in real-time? Or the ability to import audio samples (could also be raw data too for any arbitrary file) being read as arrays without having to encode them into massive strings? Maybe even microphone input for implementing effects?
5681
A global
SAMPLE_RATE
variable would be really nice.
5736
>>5681
I just realized now that the second parameter (as in return (t, sr) => …;) is used for the sample rate.

Delete Post  

Rules / Changelog / Common thread / SthephanShi / kOLbOSa_exe / lhphr / PortablePorcelain / HypernovaHeathen / BaenHoHoHo / SArpnt / hcdphobe / OnixIsThePewterGod / Zackx / GetDolphinedLol / psubscirbe / ChrisRM380 / Kouzerumatsu / MT2023 / Decent-Manager-6169 / Chasyxx / Glebguything / absolute197 / ANoUserXD / MarioFan171
Return To top