Repository navigation
Aureal Vortex 2 for 86Box, build 0.4
This build adds an emulated Aureal Vortex 2 (SQ2500) sound card with hardware A3D 2.0 to 86Box. It runs Aureal's own Windows 98 drivers.
It is a reverse-engineering project. Aureal never documented the chip; the emulation was built by tracing and measuring a real SQ2500 and is checked against it. The method, the register-level reference and all the tools are in [aureal-vortex2-tools](https://github.com/z2k-retro/aureal-vortex2-tools).
More testers are wanted. If you have A3D games, and especially if you also have a real Vortex 2 to compare with, please try it and report what you hear. The [user guide](https://github.com/z2k-retro/aureal-vortex2-tools/blob/main/docs/using-86box.md) covers setup and what to include in a report.
What's new since 0.3
The theme of this build: most of the chip's signal path now runs arithmetic decoded from the real card, in place of fitted approximations.
You may hear these
- 3D sound in the speaker modes is about 5.6 dB louder. The crosstalk canceller (Satellite speakers and Monitors in Aureal's control panel) now runs the chip's own arithmetic from its registers. An earlier level reduction turned out to be wrong: on the real card the speaker modes are as loud as headphones. Headphone mode changes by about 0.1 dB.
- The canceller no longer adds delay. The previous model added 2.7 ms to 3D sound; the decoded one adds none, as on the card.
- Reflections and other filtered wavetable sounds are slightly darker. The wavetable voices' low-pass filter was measured directly on the card: it is four one-pole stages (24 dB per octave), not the two-pole filter assumed before.
- Sounds the driver plays on its wavetable effect buses are at their proper level (Half-Life uses these). They now go through the chip's main and send buses with the bus headroom the driver sets, replacing a workaround in 0.3.
- Volume and pan changes switch at zero crossings, as the chip does, instead of ramping.
Accuracy work you probably won't hear
- Crosstalk canceller: matches the real card's three presets to 0.2–0.6 dB, level and delay included, with nothing fitted.
- Mixer: Aureal's exponent/mantissa gain law (all 176 codes), 5 bits of headroom, and the output stage's clamps.
- Sample-rate converters: the 27-point filter, read from the card's impulse responses.
- Wavetable voices: cubic 4-point interpolation, the gain code's exact expansion, the filter input gain, hard mute, and very low pitches.
- A3D engine: the interaural delay is tracked every 16 samples and the other values every 64, as on the chip.
- PCI: the I/O-port register window (BAR1) auto-increments its address; the third BAR is the modem port.
Diagnostics
- With Write diagnostic log on, the log now reports every 10 seconds whether CD audio is arriving from the drive and at what level.
Checked against real hardware
- Half-Life's tram ride on an Athlon XP with a real SQ2500, headphone mode: the emulator's long-term spectrum is within about 1 dB of the card's from 160 Hz to 10 kHz. (That capture was mono and without CD music, so stereo image and music level were not checked by it.)
- CD music against game sound in Half-Life is within about 2 dB of a reference recording's balance at the default CD audio input level (−12 dB). Real drives and cards varied, so the option is there to adjust.
Known issues
- Not bit-exact. The chip computes in fixed point; the model uses floating point.
- Half-Life only plays CD music if the disc is in the drive when the game starts. That is the game's behaviour, not the emulation's. Mount the disc image first.
- Slave Zero's sound can drop out after a while and not return until Windows restarts. The cause is not yet known.
- Sound Blaster emulation can freeze the machine at boot if another PCI device is on IRQ 5. Disable "Vortex AU8830 Sound Blaster Pro Emulation" in Device Manager, or move the other device.
- Aureal's A3D splash screen can crash PowerVR games at start-up; turn the splash screen off in the registry (see the user guide).
- 86Box outputs stereo, so in four-speaker mode the rear pair is dropped or folded into the front.
- Not emulated: recording from microphone or line in, the game port and MPU-401, real-mode DOS, S/PDIF, the wavetable filter's resonance (the driver never uses it).
- Only driver 4.06.2048 under Windows 98 has been tested.
What to listen for
Reports on these would help most:
- How loud 3D sound is in Satellite speakers and Monitors mode, compared with a real card.
- Echoes and reverb in games with A3D reflections.
- The balance of CD music against game sound.
- Any sound that cuts out, sticks or crackles. Please include
vortex2.log.
Credits
Hardware, testing and direction: Z2k Retro. Technical assistance on this build: ZanQuance. Chip model, tools and documentation written with substantial help from Claude, Anthropic's AI model. Register names from the Linux ALSA au88x0 driver.
This project is not affiliated with Aureal or its successors.