VOGONS


First post, by Pantheon

User metadata
Rank Newbie
Rank
Newbie

Hi, I'm new here!

I thought I might share with you a little fun I had last night.

As many know the YM262 outputs digital data which is then converted into analog by the YAC512.
I hooked up a logic analyzer to the YM262 and captured the output data stream on its way to the YAC512. I then wrote a C program to parse the output data and convert it into a PCM format. The output of this method should be the cleanest possible sound.

While the YM262 outputs 16bit sound samples, the YAC512 itself converts the sound into a floating point format (10bit mantissa, 3bit exponent) which will reduce the sound quality. Then various output amplifier and filtering stages will farther colour the sound, and introduce a noise floor.

The quantization, colouring and noise floor might be subjectively part of the OPL3 sound, but its interesting to hear it in the cleanest possible form.
I have uploaded some pics and a sound sample from Monkey Island 1.

My "next step" is to have my FPGA decode the data stream and output it to a high quality I2S DAC, so I can listen to it in real time.

Audio sample file, forrest.flac:
https://drive.google.com/open?id=13KdTo0mgD25 … 7b3bWknXtacP-iY

IMG_7519.jpg
Filename
IMG_7519.jpg
File size
907.54 KiB
Views
851 views
File license
Fair use/fair dealing exception
IMG_7521.jpg
Filename
IMG_7521.jpg
File size
834.45 KiB
Views
851 views
File license
Fair use/fair dealing exception

Reply 2 of 6, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

sounds really great !

Visit http://www.serdashop.com for retro sound cards, video converters, ...
DreamBlaster X2, S2, S2P, HDD Clicker, ... many projects !
New X2GS SE & X16GS sound card : https://www.serdashop.com/X2GS-SE ,
Thanks for your support !

Reply 3 of 6, by Pantheon

User metadata
Rank Newbie
Rank
Newbie

So I wrote some Verilog code to decode the data stream on my FPGA and then re-encode it as an I2S stream.
Doing that lets me stream it to a good quality DAC.

I'm currently recording a bunch of stuff through it that I'll post shortly.

IMG_7530.jpg
Filename
IMG_7530.jpg
File size
767.61 KiB
Views
800 views
File license
Fair use/fair dealing exception

Reply 6 of 6, by Pantheon

User metadata
Rank Newbie
Rank
Newbie

Some recordings from the FPGA and UDA1334 below...

transport tycoon:
https://drive.google.com/open?id=1cjg5KmtVXSg … d8AurNElpmMcAvN
https://drive.google.com/open?id=1Q28g8-JDvJH … C8htg0sHF-MN2KB

Monkey1:
https://drive.google.com/open?id=1MVLxSb7nEJO … P4rdnNQSUMFkpWV

Monkey2:
https://drive.google.com/open?id=10Mko6cabo9y … nJuVAAZ6QZn13xE - theme
https://drive.google.com/open?id=1hFA2hMR6UTJ … 147UpoaZjsTjvJS - woodtick

Z:
https://drive.google.com/open?id=1Kol2Ev7NPxr … 1mDvuaG04zjIqoY

Ozzuneoj wrote:

Very interesting. It sounds great, but I do hear pops and clicks in the recording. What is causing that?

I noticed that too, but im not sure where it comes from and interestingly the FPGA implementation also has it.
You will be able to spot it in the recordings.

Error 0x7CF wrote:

Any Megarace? Some pretty good tunes in that game.

I've never played that unfortunately but I might try find a copy 😀