SAAsound SAA1099 support in Emulator

If you have feature requests, this is the place to post them. Please note your idea may already be something we have already discussed and decided against, or something we are working on privately, and we cannot be held responsible for any similarities in such instance. Whilst we cannot respond to every suggestion, your idea will be read and responded to where possible. Thank you for your input!
Matej
Posts: 47
Joined: Tue Sep 29, 2020 12:02 pm

SAAsound SAA1099 support in Emulator

Post by Matej »


There is nice SAA1099 library called SAAsound:

https://github.com/stripwax/SAASound/

Its part of SAMcoupé emulator SIMCOUPE.

Also can You include save/record sound to *.WAV? 

 

kelli217
Posts: 532
Joined: Sun Jul 05, 2020 11:27 pm

SAAsound SAA1099 support in Emulator

Post by kelli217 »


As of now, the SAA1099 has been removed from the design in favor of the PSG on the VERA and the Yamaha YM2151. 

Matej
Posts: 47
Joined: Tue Sep 29, 2020 12:02 pm

SAAsound SAA1099 support in Emulator

Post by Matej »


Why? SAA cost few USD. Like one cup of tea in restaurant. No emulation. True PSG. Saa+VERA for softer sounds will be perfect!

User avatar
StephenHorn
Posts: 565
Joined: Tue Apr 28, 2020 12:00 am
Contact:

SAAsound SAA1099 support in Emulator

Post by StephenHorn »


The FAQ technically still says the SAA1099 is up for consideration, but I expect its value has been supplanted by the VERA's PSG. The VERA provides more channels and more waveforms, at the expense of not being able to specifically pan tones from left to right, though you could just set one channel to left-only, one channel to right-only, and adjust the volume of them independently to recreate a panning effect. Since the VERA has 16 fully independent channels, it can still do everything the SAA1099 could and then some. It's only drawback is being an FPGA solution instead of raw silicon.

Edit: Oops, I was wrong, the FAQ says the 1099 has been retired. My bad. The rest still stands, though.

Developer for Box16, the other X16 emulator. (Box16 on GitHub)
I also accept pull requests for x16emu, the official X16 emulator. (x16-emulator on GitHub)
Ender
Posts: 220
Joined: Sat May 09, 2020 9:32 pm

SAAsound SAA1099 support in Emulator

Post by Ender »


Kevin explained it in this video at around 8 minutes:





Basically, it's as @StephenHorn said, the VERA's PSG serves the same function as the SAA1099, and since the VERA is not replaceable in the X16, as it was originally intended to be, due to the design of the kernal being fairly dependent on it, there's not much point in keeping it.

Matej
Posts: 47
Joined: Tue Sep 29, 2020 12:02 pm

SAAsound SAA1099 support in Emulator

Post by Matej »


Will watch. But I have C64 3xSID upgrade also Atari Pokey 2xstereo upgrade. And FGPA versions sounds not same! They are perfect but real Asic is real Asic. But I am musician. For games, demos fpga is excellent.

m00dawg
Posts: 346
Joined: Wed Jul 08, 2020 12:41 am
Contact:

SAAsound SAA1099 support in Emulator

Post by m00dawg »



12 minutes ago, Matej said:




Will watch. But I have C64 3xSID upgrade also Atari Pokey 2xstereo upgrade. And FGPA versions sounds not same! They are perfect but real Asic is real Asic. But I am musician. For games, demos fpga is excellent.



I am a musician too but to be fair here - I don't think the VERA is trying to emulate any other sound chips. It'll be its own so at this point you can expect the VERA to sound like, well, the VERA. Also, I can counter "ASIC is real ASIC" by simply saying "gates are gates". This is how designs are able to go from an FPGA to a real ASIC (this is part of the reason to have FPGAs).

The internal arrangement of gates in an FPGA vs an ASIC is, of course, different, but they are logically equivalent. Which means to say, the VERA could, in theory, be made into a real ASIC, but in terms of its (digital) audio outputs, I don't think you'd notice any real differences here.

Where there could be differences is how the analog output stages may differ, but this too isn't an FPGA vs ASIC issue, but relate to what components were used for a given output stage (which op-amps, buffers, caps, etc.). And of note, this IS one reason real SIDs are still superior to FPGAs - they use analog filters and the FPGA SID solution emulate these. Here I would definitely agree that the analog circuity wins out here. But since the VERA is purely digital, the differences between an FPGA and an ASIC are immaterial.

Besides, 16 channels of sweet PSG sound is pretty worth at least seeing what VERAsound can do before passing judgement, I think anyway. We'll end up with 26 channels of built in audio (8 FM, 16 PSG, 2 DPCM). That's still quite a beast!

Author of Dreamtracker (https://www.dreamtracker.org/)
Check Out My Band: https://music.victimcache.com/
Matej
Posts: 47
Joined: Tue Sep 29, 2020 12:02 pm

SAAsound SAA1099 support in Emulator

Post by Matej »


100% agree. Maybe in future we can have even SID or SAA1099 soundcard interface.

m00dawg
Posts: 346
Joined: Wed Jul 08, 2020 12:41 am
Contact:

SAAsound SAA1099 support in Emulator

Post by m00dawg »


Indeed I'm rather excited about that. I do hope we end up getting an internal audio in header so soundcard(s) can be internally mixed with the X16's built-in audio. That will allow for some really great things I think! I'm looking at the X16 largely as a chiptune maker but having a GUS-style soundcard could be a really nice solve since, from what I understand, using the stereo DPCM off the Vera is CPU intensive. So having an external "hardware accelerated" PCM soundcard (with it's own RAM, ala GUS) could be really neat!

Author of Dreamtracker (https://www.dreamtracker.org/)
Check Out My Band: https://music.victimcache.com/
SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

SAAsound SAA1099 support in Emulator

Post by SlithyMatt »



3 hours ago, m00dawg said:




from what I understand, using the stereo DPCM off the Vera is CPU intensive



Not really, it's more memory intensive. Samples take up a huge amount of memory, relatively speaking, compared to PSG or FM settings. But once you have a sample in memory, you don't have to service the PCM FIFO very often, and even then it doesn't take very long. It actually requires less CPU intervention than PSG or FM.

Post Reply