VOGONS


CVX-2 : covox adapter

Topic actions

Reply 20 of 448, by keropi

User metadata
Rank l33t++
Rank
l33t++

I have made some recordings with my retrocables.es covox clone:

208zll3.jpg

Crystal Dream demo 44khz output: https://soundcloud.com/keropi666/cd1-retrocalbles-lptdac
Pinball Fantasies: https://soundcloud.com/keropi666/pbf-retrocables-lptdac

The recodring setup is simple: LPTDAC output fed directly to the AUX-IN of my Auzentech X-Fi Forte sound card , recorded with Audacity and exported as 320kbs MP3.
Crystal Dream sounds better to me with dreamblaster's clone.

🎵Link to buy a PCMIDI mpu
🎧Orpheus soundcard project
💻WTB Amstrad PC7486SLC-33 system

Reply 21 of 448, by Beegle

User metadata
Rank Member
Rank
Member
keropi wrote:

Crystal Dream sounds better to me with dreamblaster's clone.

It's true, I hear a big difference too.
From what I can make out, the resistor is 10uF in yours, keropi. However it sounds like a 80~100uF would sound in dreamblaster's. Why do you think?
Also I believe I hear machine noise embedded in keropi's. Is that a result of using 44khz output?

The more sound cards, the better.
AdLib documentary : Official Thread
Youtube Channel : The Sound Card Database

Reply 22 of 448, by keropi

User metadata
Rank l33t++
Rank
l33t++

You will hear "machine noise" either way with LPT DACs, just like a radio that also has some hissing in it - the output by nature is not crystal clear like a real soundcard.
But yeah, the retrocables adapter is not as good as dreamblaster's one.

🎵Link to buy a PCMIDI mpu
🎧Orpheus soundcard project
💻WTB Amstrad PC7486SLC-33 system

Reply 23 of 448, by Scali

User metadata
Rank l33t
Rank
l33t
keropi wrote:

You will hear "machine noise" either way with LPT DACs, just like a radio that also has some hissing in it - the output by nature is not crystal clear like a real soundcard.

Not necessarily. I think there are two factors that introduce 'noise'... Two types of noise that is:
1) The signal is taken directly from the data pins of the printer port. This port is not designed for audio output, so the signal may not be 'clean'. Also, I'm not sure how long a signal is on the data pins, and what happens when you send a different value.
2) The timing of the data sent to the printer port. This is generally done from a timer interrupt. Depending on how tightly the code is written, there may be less or more temporal jitter.

For 1) you could probably decouple the signal from the data lines by using some flip flops (latches). You can then create a nicely conditioned power supply to these flip flops, so they act as a sort of 'buffer', making the outgoing signal a solid clean one, regardless of the incoming signal.
Then you can make sure the flipflops only change value based on the strobe pin.
That way you'd also eliminate any noise during the 'transition phase' from one value to the next.

For 2) you can minimize jitter by either crafting very tight code (eg making sure the CPU is executing a hlt whenever you expect the interrupt to fire, so there will be no latency when responding to the interrupt), or by not using the timer interrupt at all, but instead using a cycle-counted loop to ensure that the delay between any two samples is always the same.
This is mainly important for slow machines such as 8088s. On a fast machine, the jitter is negligible anyway, because every instruction executes so quickly.

So, I think you can solve both.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 26 of 448, by Scali

User metadata
Rank l33t
Rank
l33t
MobyGamer wrote:

I have a few true Covox Speech Things (from Covox, not a clone). Would it help this project if I took one apart and took hi-res pictures of it?

If you can do that without destroying them, I would be interested. I wonder how much they did to condition the signal and optimize the output quality.
Also, I wonder if they used a discrete resistor ladder, or some IC for the DAC.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 27 of 448, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie
keropi wrote:

What song / level is this in pinball fantasies ?

Visit http://www.serdashop.com for retro sound cards, video converters, ...
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects !
Special vogons LPT bundle : https://www.serdashop.com/Parallel-port-retro-sound-bundle
Thanks for your support !

Reply 29 of 448, by dreamblaster

User metadata
Rank Oldbie
Rank
Oldbie

oh i clicked that away
will try

Visit http://www.serdashop.com for retro sound cards, video converters, ...
OPL2LPT, OPL3LPT, X2, S2, S2P, MCE2VGA, ... many projects !
Special vogons LPT bundle : https://www.serdashop.com/Parallel-port-retro-sound-bundle
Thanks for your support !

Reply 30 of 448, by gdjacobs

User metadata
Rank l33t++
Rank
l33t++
Scali wrote:
Not necessarily. I think there are two factors that introduce 'noise'... Two types of noise that is: 1) The signal is taken dire […]
Show full quote
keropi wrote:

You will hear "machine noise" either way with LPT DACs, just like a radio that also has some hissing in it - the output by nature is not crystal clear like a real soundcard.

Not necessarily. I think there are two factors that introduce 'noise'... Two types of noise that is:
1) The signal is taken directly from the data pins of the printer port. This port is not designed for audio output, so the signal may not be 'clean'. Also, I'm not sure how long a signal is on the data pins, and what happens when you send a different value.
2) The timing of the data sent to the printer port. This is generally done from a timer interrupt. Depending on how tightly the code is written, there may be less or more temporal jitter.

For 1) you could probably decouple the signal from the data lines by using some flip flops (latches). You can then create a nicely conditioned power supply to these flip flops, so they act as a sort of 'buffer', making the outgoing signal a solid clean one, regardless of the incoming signal.
Then you can make sure the flipflops only change value based on the strobe pin.
That way you'd also eliminate any noise during the 'transition phase' from one value to the next.

For 2) you can minimize jitter by either crafting very tight code (eg making sure the CPU is executing a hlt whenever you expect the interrupt to fire, so there will be no latency when responding to the interrupt), or by not using the timer interrupt at all, but instead using a cycle-counted loop to ensure that the delay between any two samples is always the same.
This is mainly important for slow machines such as 8088s. On a fast machine, the jitter is negligible anyway, because every instruction executes so quickly.

So, I think you can solve both.

Ripple on the voltage rail is going to be a major offender.

All hail the Great Capacitor Brand Finder

Reply 31 of 448, by peklop

User metadata
Rank Member
Rank
Member
dreamblaster wrote:

Hi,

Which other demos / games / music software (that support covox adapter) are recommended to try with the CVX adapters ?

Lemris 🤣

Reply 32 of 448, by James-F

User metadata
Rank Oldbie
Rank
Oldbie

Duke Nukem 3D supports the Covox as Disney sound source, the game will fully mix all sounds send it to the LPT, great way to test how sound effects sound besides MOD music.
It would be great to have a TSR for the Covox to emulate a Sound Blaster so any game can be heard.


my important / useful posts are here

Reply 33 of 448, by Beegle

User metadata
Rank Member
Rank
Member
James-F wrote:

It would be great to have a TSR for the Covox to emulate a Sound Blaster so any game can be heard.

I believe there exist one already, Virtual SoundBlaster if I recall.

The more sound cards, the better.
AdLib documentary : Official Thread
Youtube Channel : The Sound Card Database

Reply 34 of 448, by Scali

User metadata
Rank l33t
Rank
l33t
Beegle wrote:
James-F wrote:

It would be great to have a TSR for the Covox to emulate a Sound Blaster so any game can be heard.

I believe there exist one already, Virtual SoundBlaster if I recall.

Yes, from the same guy who also did TEMU (which emulates Tandy audio over LPT DAC, or PC speaker): http://web.archive.org/web/20080514042812/htt … u/en/dldos.html
It does not emulate FM though, or so it says.

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 35 of 448, by Scali

User metadata
Rank l33t
Rank
l33t
gdjacobs wrote:

Ripple on the voltage rail is going to be a major offender.

That's exactly my point: by using flip flops to decouple the signal, you can also put these flipflops on a conditioned power supply (could be external, or some circuit with some capacitors and such to filter out any ripple from the LPT).

http://scalibq.wordpress.com/just-keeping-it- … ro-programming/

Reply 36 of 448, by keropi

User metadata
Rank l33t++
Rank
l33t++

Tried to make some recordings with my Disney Sound Source but I totally forgot it does not work with covox/lptdac stuff... anyone knows a game (preferably) that supports both options so a comparison can be made?

🎵Link to buy a PCMIDI mpu
🎧Orpheus soundcard project
💻WTB Amstrad PC7486SLC-33 system

Reply 37 of 448, by gdjacobs

User metadata
Rank l33t++
Rank
l33t++
Scali wrote:
gdjacobs wrote:

Ripple on the voltage rail is going to be a major offender.

That's exactly my point: by using flip flops to decouple the signal, you can also put these flipflops on a conditioned power supply (could be external, or some circuit with some capacitors and such to filter out any ripple from the LPT).

Exactly. You want to preserve the data and none of the analog noise. I would probably favor optocouplers as logic gates aren't generally intended for isolation purposes.

All hail the Great Capacitor Brand Finder

Reply 38 of 448, by PhilsComputerLab

User metadata
Rank Hardware Mod
Rank
Hardware Mod

Would the sample rate also matter? What I mean is, if you play at a lower sample rate, would a different capacitor value maybe be better suited? Just thinking of someone on a slower machine.

YouTube, Facebook, Website

Reply 39 of 448, by gdjacobs

User metadata
Rank l33t++
Rank
l33t++

Yeah, it would. You want the cut-off point of the filter to be just above the Nyquist frequency, so RC should be increased for a lower sampling rate.

All hail the Great Capacitor Brand Finder