Synthesized at 1048576 Hz. Resampled at (probably) 48000 Hz to play in your browser. Exported as raw unsigned 8-bit samples at 1048576 Hz.
DAC is not emulated, these waveforms are strictly digital.
Because of above, very high frequency noise may sound a bit different than on a Gameboy.
Ranges specified are limits of the original game; the synthesizer will try its best with values outside the ranges (raw hex command output will be incorrect).
How to Convert the Raw File to a .wav File Using Audacity
Click the Download button above to get the .raw file of the cry.
In Audacity, go to File -> Import -> Raw Data...
Select Unsigned 8-bit samples, little endianess, mono track, and a sample rate you want (say, 48000 Hz).
Hit Import, and the PCM data will be brought into Audacity, but you'll notice it doesn't sound right--it's way too slow.
Divide 1048576 Hz by your sample rate. For example, 1048576 Hz / 48000 Hz = 21.845.
Speed up the audio track by going to Filter -> Change Speed...
Input the number you calculated into the Speed Multiplier box (e.g. 21.845), and hit OK.