Skip to contentSkip to conversation

fmorgan

DISCUSSION Stas Sergeev 2 participants 3 messages Dec 24, 2002 – Jan 22, 2003

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 4 lines · Jan Willem Stumpel
Quoted 3 lines
Quoted 2 lines

Talking Parrot: works somewhat; speed is too low, pitch is too low, there are gaps in the sound

URL where I can get that prog?

Don't know.. here is what I have.

OK, this program uses a direct DAC writes rather than a DMA output. The problem is that the output frequency is unknown in that case and can vary. So this cannot be fixed.
The only thing you can do is to adjust the DIRECT_WRITE_FREQ constant in linux_sound.h to satisfy the needs of a particular program (but you will not get a perfection anyway as the frequency is not necessary a constant in that mode). DMA-less output is an extremely absolete method and fortunately is rarely used with a DMA-capable cards like SB.

#1 lore raw
Quoted 9 lines · Stas Sergeev

Hello.

Quoted 2 lines · Jan Willem Stumpel
Quoted 2 lines
Quoted 2 lines

Talking Parrot: works somewhat; speed is too low, pitch is too low, there are gaps in the sound

The only thing you can do is to adjust the DIRECT_WRITE_FREQ constant in linux_sound.h

Worked perfectly, thanks, and M.C. to you!

Regards, Jan

#2 lore raw

Sound report

In reply to Stas Sergeev

I applied Stas's opl1a.diff to 1.1.4.6 and I got sound out of SB fmorgan! The sound is quite horrible (tweaking DIRECT_WRITE_FREQ in linux_sound.h helps a bit) but this is the first time I have heard any sound at all from this program in many years. I could never get it to work in Windows (DOS mode) with my present sound card. So, great.

I now also get Nazi music out of Wolfenstein 3d. But the sound is very 'tinny', sounding almost as if it comes from a PC speaker, and the pitch seems to be too high (must confess I have no musical ear at all, maybe it just lacks bass sounds). Also, I can get either music or shooting sounds, but not both.

With Duke 3d I ran the "setup" program, and selected "music card".
Both "Soundblaster" and "Adlib" did not work. Starting Duke 3d
gives the message

Sound Blaster not responding on selected port.

So I can get sound effects in Duke 3d, but still no music.

Using kernel 2.4.16 + alsa + Soundblaster PCI 128 (= Ensoniq 1371), 800 MHz Athlon.

Regards, Jan