Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MI
Posts
0
Comments
242
Joined
2 yr. ago

  • IIRC the original Xbox has even worse emulation, to this day, despite being infamously close to a stock PC.

    What makes RDR's emulation struggles noteworthy is that it's a highly desirable game that still took ages to unfuck. Most nightmare cases for emulators seem to be random D-list titles. Pinball Fantasies on Game Boy had incomprehensible crashes, early and reliably, for no discernible reason. True Crime New York on Gamecube was a white whale for Dolphin despite being absolute garbage.

    RDR was a huge deal for its own sake - and it ran bad, looked worse, and stayed that way for a while. Back in the day it was common for emulators to only work properly for big-name games. NESticle and SNES9X absolutely cheated to run major titles. Early N64 development was nothing but. So having this killer app refuse to work, year after year, was a lingering presence in people's minds.

    Finally getting it working, only to have a nearly painless alternative drop, is pretty goddang funny.

  • dsfsdfdsfsdfasd

    Jump
  • Anyway it's something like data:text/html,{script} ac = new AudioContext(); wn = ac.createScriptProcessor( 4096, 1, 1 ); wn.onaudioprocess = (e) => e.outputBuffer.getChannelData(0).forEach( (v,i,a) => a[i] = Math.random() ); wn.connect( ac.destination ); {/script} except with whatever dark wizardry makes output reach a speaker.

    Also I'm not sure .forEach works on whichever array-like type was chosen for audio channels. This stupid language has so many incompatible and incomplete array implementations.

    edit: And angle brackets on script and /script, because this stupid website fucked up its Markdown. Preventing random HTML strings in comments: excellent, necessary, obvious; it is not 1999 anymore. Doing so by deleting the entire goddamn thing as if you parsed it before removing it: DEEPLY TROUBLING.

  • dsfsdfdsfsdfasd

    Jump
  • I'd have a Javascript one-liner producing white noise, except web audio is a Gordian knot of inscrutable identical-sounding types and contexts and maps and whateverthefuck. Documentation reads like they forgot to implement it and hoped nobody would notice.

    How do you generate noise? Well you need a sink. How do I get a sink? Well you need an event. How do you get an event? Well you need a processor. How do you get a processor? Well you need a context. How do you get a context? Well you need a node. How do you get a node? Well you need a sink. I'm going to stab you now. Understandable.

  • dsfsdfdsfsdfasd

    Jump
  • White noise is literally random numbers. Your machine can do it using approximately zero percent of its available resources.

    In a very real sense, any single transistor can do it, and computer engineering is an effort to keep them from doing it.