Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Sound configuration on a UDB
@ 1996-05-19  7:25 Koyama Tadayoshi
  0 siblings, 0 replies; 5+ messages in thread
From: Koyama Tadayoshi @ 1996-05-19  7:25 UTC (permalink / raw)


From: Aaron Passey <aaronp@myxo.ugcs.caltech.edu>
Subject: Re: Sound configuration on a UDB 
Date: Sat, 18 May 1996 20:37:35 -0700

> > Do you say "garbled" after listening to the built-in speaker of the UDB? If
> > so, know that that speaker is *REALLY* terrible; plug a set of headphones or
> > powered speakers into the headphone jack on the front, and the sound quality
> > will be *MUCH* improved.
> 
> 	I am using headphones for the testing.  My procedure is:
> 
> cat /dev/dsp > test
> <talk into the microphone>
> cat test > /dev/dsp
> <listen>
> 

As far as I know, the sound driver does not setup UDB's mixer setting
collectly at boot time. The mic input gain is TOO large and causes bad
humming noise.

I'm using simple mixer command came along with snd-utils-2.0.tar.gz.

	antenna:~$ mixer         
	Usage: mixer { pcm|speaker|mic|mix|igain|line1|line2|line3 } <value>
	  or   mixer { +rec|-rec } <devicename>

xmixer is just a overkill.

TK

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Sound configuration on a UDB
@ 1996-05-19 13:42 Jay A Estabrook
  0 siblings, 0 replies; 5+ messages in thread
From: Jay A Estabrook @ 1996-05-19 13:42 UTC (permalink / raw)


>cat /dev/dsp > test
><talk into the microphone>
>cat test > /dev/dsp
><listen>

Ah, I've not ever really tried input; it's possible it doesn't work well,
if at all. You're on your own in that area, I'm afraid...

>The speed of playback isn't related
>to to the clock speed is it?  I have a 266Mhz clocked-up UDB.

No, the speed should have no effect; I run on both 166 and 233, and they
always sound the same... :-)

>        I have tried to use xmixer and aumix (the ones that come with
>RedHat-3.0.3) and they give me messages like "can't read the volume
>setting" and they do do something but I can't tell if it is correct.  The
>overall volume knob doesn't work.

Well, as I understand it, some of the sound controllers don't support all
the sound "devices"; ie, you can modify the DSP output level for MSS, but
it doesn't have volume or bass/treble or the like. Whereas an SB16, will
have almost all the "devices" that are supported by the sound subsystem.
It's totally dependent on the hardware of the sound controller.

One of the things I've noticed about the pseudo-MSS in the UDB, is that the
setting of some of the ancillary controls *does* seem to affect the overall
sound, so try this: using "aumix", try reducing the "line3" setting (I think
it's only line3 that has this affect). I find that above a certain level on
the "line3" device greatly increases the overall distortion. But reducing it
too low will limit the overall volume, so its an adjustment problem.

See if that helps and let me know...

--Jay++

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Sound configuration on a UDB
@ 1996-05-19  3:37 Aaron Passey
  0 siblings, 0 replies; 5+ messages in thread
From: Aaron Passey @ 1996-05-19  3:37 UTC (permalink / raw)


> Do you say "garbled" after listening to the built-in speaker of the UDB? If
> so, know that that speaker is *REALLY* terrible; plug a set of headphones or
> powered speakers into the headphone jack on the front, and the sound quality
> will be *MUCH* improved.

	I am using headphones for the testing.  My procedure is:

cat /dev/dsp > test
<talk into the microphone>
cat test > /dev/dsp
<listen>

	This is how I have tested sound on my intel machine and it always
worked fine.  I hear something that I can barely distinguish from static
that sortof sounds like what I spoke into the mike.  I have only tried play
(part of sox) as playback software.  I have played Maelstrom and sounds seem
to come out at the wrong speed and with static.  The -r (rate) command
doesn't seem to work at all on play.  The speed of playback isn't related
to to the clock speed is it?  I have a 266Mhz clocked-up UDB.

> Mixer apps that are know to work are: aumix (text mode console), xmix, and
> xmixer.

	I have tried to use xmixer and aumix (the ones that come with
RedHat-3.0.3) and they give me messages like "can't read the volume
setting" and they do do something but I can't tell if it is correct.  The
overall volume knob doesn't work.

> Use "tracker" or (possibly) one of the other MOD players; also, TiMIDIty
> (a MIDI to DSP translator) works *very* well, though I haven't reported the
> patches I had to make to run on the Alpha (they were trivial, however, so
> for now left as an exercise for the reader... :-). 
> You can also find "vplay" in one of the snd_utils kits, and it works quite
> well with .au, .voc, .wav, etc files.

	Assuming I get this to work, I want to use this for playback of
MPEG-Audio files (hopefully at 16bit, 44KHz since this was advertised to
work at "cd quality") and, of course, for games.  I luckily don't care
about the midi stuff.

Thanks for your help,

Aaron Passey

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Sound configuration on a UDB
@ 1996-05-18 18:29 Jay A Estabrook
  0 siblings, 0 replies; 5+ messages in thread
From: Jay A Estabrook @ 1996-05-18 18:29 UTC (permalink / raw)


Aaron,

>        I have been trying for the past few hours to get sound working
>on a UDB (Multia) machine.  I am using pre2.0.4 since pre2.0.5 seems to
>break registering rpc.  I am trying to use the Microsoft Sound system
>driver with the settings: ioport=0x530, IRQ=9, DMA=3 (all other settings
>I have tried seem to fail in worse ways than these).

These *are* the correct settings for the UDB sound chip... :-)

>It seems that
>I get garbled sound out of /dev/audio and /dev/dsp.  /dev/mixer,
>/dev/sequencer, and /dev/midi* give me a no such device message.  The
>devices do have the right major/minor numbers.

/dev/{dsp,audio} have worked for a long time, /dev/mixer, I think, has worked
as well.

Do you say "garbled" after listening to the built-in speaker of the UDB? If
so, know that that speaker is *REALLY* terrible; plug a set of headphones or
powered speakers into the headphone jack on the front, and the sound quality
will be *MUCH* improved.

Mixer apps that are know to work are: aumix (text mode console), xmix, and
xmixer.

Now, /dev/sequencer and /dev/midi* will *NEVER* work; the MSS driver does
not support them, not to mention the hardware... :-)

Use "tracker" or (possibly) one of the other MOD players; also, TiMIDIty
(a MIDI to DSP translator) works *very* well, though I haven't reported the
patches I had to make to run on the Alpha (they were trivial, however, so
for now left as an exercise for the reader... :-). 

You can also find "vplay" in one of the snd_utils kits, and it works quite
well with .au, .voc, .wav, etc files.

Anyway, let me know if you continue to have problems; you've got the right
setup, just need to work with what *will* work...

--Jay++

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Sound configuration on a UDB
@ 1996-05-18 14:23 Aaron Passey
  0 siblings, 0 replies; 5+ messages in thread
From: Aaron Passey @ 1996-05-18 14:23 UTC (permalink / raw)


I have been trying for the past few hours to get sound working
on a UDB (Multia) machine.  I am using pre2.0.4 since pre2.0.5 seems to
break registering rpc.  I am trying to use the Microsoft Sound system
driver with the settings: ioport=0x530, IRQ=9, DMA=3 (all other settings
I have tried seem to fail in worse ways than these).  It seems that
I get garbled sound out of /dev/audio and /dev/dsp.  /dev/mixer, 
/dev/sequencer, and /dev/midi* give me a no such device message.  The
devices do have the right major/minor numbers.

	The Linux/Alpha FAQ mentioned that people have gotten this to
work but gave no details at all.  I have not been able to find anything
else about this.

	Has anyone been sucessful with this?

Aaron Passey

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-05-19 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-19  7:25 Sound configuration on a UDB Koyama Tadayoshi
  -- strict thread matches above, loose matches on Subject: below --
1996-05-19 13:42 Jay A Estabrook
1996-05-19  3:37 Aaron Passey
1996-05-18 18:29 Jay A Estabrook
1996-05-18 14:23 Aaron Passey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox