NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Help for a clueless audio-idiot!
Well, maybe I'm not an idiot, but when it comes to being audio-oriented
I am definitely clueless! :)
All I want to do is to take an MP3 file that sits on my hard drive and
play it through a set of speakers (or headphones) connected to the back
panel. Should be easy, right?
So, I hook up the speakers and run audioplay. Nothing happens.
I've looked at the stuff from audioctl(1) and mixerctl(1), as well as
running AZALIA_DEBUG_DOT's output through dot. The more I look at this
stuff (all of which is attached to this E-mail), the less I understand.
:) I really haven't a clue as to what a 'sel' or 'mix' or 'dac' or
'adc' or 'pow' or 'widget' is, and quite honestly I really don't want to
know that much about my azalia. :)
<mode blasphemy>
If this were a windoze box, I'd just double-click on the .mp3 file and
sound would come out of my speakers. I don't expect NetBSD to be quite
that simple, but it should require neither a rocket scientist nor an
audio systems engineer to get similar results.
</mode blasphemy>
Is there some plain-text description of how to make all this stuff work?
-------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
inputs.dac03=126,126 delta=6
inputs.dac04=126,126 delta=6
inputs.dac05=126,126 delta=6
inputs.dac06=126,126 delta=6
inputs.dac0a=126,126 delta=6
inputs.sel0b.source=adc08 [ adc08 adc09 adc0f ]
inputs.sel0c.source=sel38 [ sel38 black18 orange24 gray25 sel3d mix20 ]
outputs.sel0c.mute=off [ off on ]
outputs.sel0c=124,124 delta=4
inputs.sel0d.source=sel38 [ sel38 black18 orange24 gray25 sel3d mix20 ]
outputs.sel0d.mute=off [ off on ]
outputs.sel0d=124,124 delta=4
inputs.sel0e.source=sel38 [ sel38 black18 orange24 gray25 sel3d mix20 ]
outputs.sel0e.mute=off [ off on ]
outputs.sel0e=124,124 delta=4
inputs.beep10.mute=off [ off on ]
inputs.beep10=119 delta=17
outputs.green11.mute=off [ off on ]
outputs.green11.dir=output [ input output ]
outputs.green11.boost=off [ off on ]
outputs.green12.mute=off [ off on ]
outputs.green12.dir=output [ input output ]
outputs.green12.boost=off [ off on ]
outputs.green12.eapd=off [ off on ]
outputs.pink14.mute=off [ off on ]
outputs.pink14.dir=output [ input output ]
outputs.pink14.boost=off [ off on ]
outputs.blue15.mute=off [ off on ]
outputs.blue15.dir=output [ input output ]
outputs.blue15.eapd=off [ off on ]
outputs.black16.mute=off [ off on ]
outputs.black16.dir=output [ input output ]
outputs.pink17.mute=off [ off on ]
outputs.pink17.dir=output [ input output ]
outputs.pink17.lrswap=off [ off on ]
outputs.other1b.mute=off [ off on ]
outputs.other1b=126,126 delta=6
mix.mix1d.hdaudio.m=off [ off on ]
mix.mix1d.sel0b.mut=off [ off on ]
mix.mix1e.sel36.mut=off [ off on ]
mix.mix1e.sel21.mut=off [ off on ]
outputs.volume1f=124 delta=4
mix.mix20.sel39.mut=off [ off on ]
mix.mix20.sel33.mut=off [ off on ]
mix.mix20.sel38.mut=off [ off on ]
mix.mix20.sel3d.mut=off [ off on ]
mix.mix20.sel34.mut=off [ off on ]
mix.mix20.sel3b.mut=off [ off on ]
mix.mix20.black18.m=off [ off on ]
mix.mix20.un1a.mute=off [ off on ]
mix.mix20.sel39=120,120 delta=8
mix.mix20.sel33=120,120 delta=8
mix.mix20.sel38=120,120 delta=8
mix.mix20.sel3d=120,120 delta=8
mix.mix20.sel34=120,120 delta=8
mix.mix20.sel3b=120,120 delta=8
mix.mix20.black18=120,120 delta=8
mix.mix20.unknown1a=120 delta=8
outputs.sel21.mute=off [ off on ]
outputs.sel21=120,120 delta=8
mix.mix22.sel37.mut=off [ off on ]
mix.mix22.sel21.mut=off [ off on ]
outputs.widget23.source=green11 [ green11 orange24 gray25 sel38 mix20 sel21 ]
outputs.orange24.mute=off [ off on ]
outputs.orange24.dir=output [ input output ]
outputs.orange24.lrswap=off [ off on ]
outputs.gray25.mute=off [ off on ]
outputs.gray25.dir=output [ input output ]
mix.mix26.sel32.mut=off [ off on ]
mix.mix26.sel21.mut=off [ off on ]
mix.mix27.dac05.mut=off [ off on ]
mix.mix27.sel21.mut=off [ off on ]
mix.mix28.dac0a.mut=off [ off on ]
mix.mix28.sel21.mut=off [ off on ]
mix.mix29.dac04.mut=off [ off on ]
mix.mix29.sel21.mut=off [ off on ]
mix.mix2a.dac06.mut=off [ off on ]
mix.mix2a.sel21.mut=off [ off on ]
mix.mix2b.sel30.mut=off [ off on ]
mix.mix2b.sel21.mut=off [ off on ]
mix.mix2c.sel31.mut=off [ off on ]
mix.mix2c.sel21.mut=off [ off on ]
outputs.widget2f.source=green11 [ green11 green12 pink14 blue15 black16 pink17
]
inputs.sel30.source=dac03 [ dac03 dac04 dac06 ]
inputs.sel31.source=dac04 [ dac04 dac0a ]
inputs.sel32.source=dac05 [ dac05 dac04 ]
inputs.sel33.source=sel3a [ sel3a gray25 orange24 ]
inputs.sel34.source=sel3c [ sel3c gray25 orange24 ]
inputs.sel36.source=dac03 [ dac03 dac04 dac06 ]
inputs.sel37.source=dac03 [ dac03 dac04 dac06 ]
outputs.sel38=85,85 delta=85
outputs.sel39=85,85 delta=85
outputs.sel3a=85,85 delta=85
outputs.sel3b=85,85 delta=85
outputs.sel3c=85,85 delta=85
outputs.sel3d=85,85 delta=85
playback.mode=0405060a [ 0405060a 02 03 ]
record.mode=0809 [ 0809 07 ]
digraph "Analog Devices AD1988B (rev. 2.0)" {
dac02 [shape=box,style=filled,fillcolor="#88ff88"];
mix1d -> dac02 [sametail=mix1d];
dac03 [shape=box,style=filled,fillcolor="#88ff88"];
dac04 [shape=box,style=filled,fillcolor="#88ff88"];
dac05 [shape=box,style=filled,fillcolor="#88ff88"];
dac06 [shape=box,style=filled,fillcolor="#88ff88"];
adc07 [shape=box,style=filled,fillcolor="#ff8888"];
other1c -> adc07 [sametail=other1c];
adc08 [shape=box,style=filled,fillcolor="#ff8888"];
sel0c -> adc08 [sametail=sel0c];
adc09 [shape=box,style=filled,fillcolor="#ff8888"];
sel0d -> adc09 [sametail=sel0d];
dac0a [shape=box,style=filled,fillcolor="#88ff88"];
sel0b [shape=invtrapezium];
adc08 -> sel0b [sametail=adc08];
adc09 -> sel0b [sametail=adc09];
adc0f -> sel0b [sametail=adc0f];
sel0c [shape=invtrapezium];
sel38 -> sel0c [sametail=sel38];
black18 -> sel0c [sametail=black18];
orange24 -> sel0c [sametail=orange24];
gray25 -> sel0c [sametail=gray25];
sel3d -> sel0c [sametail=sel3d];
mix20 -> sel0c [sametail=mix20];
sel0d [shape=invtrapezium];
sel38 -> sel0d [sametail=sel38];
black18 -> sel0d [sametail=black18];
orange24 -> sel0d [sametail=orange24];
gray25 -> sel0d [sametail=gray25];
sel3d -> sel0d [sametail=sel3d];
mix20 -> sel0d [sametail=mix20];
sel0e [shape=invtrapezium];
sel38 -> sel0e [sametail=sel38];
black18 -> sel0e [sametail=black18];
orange24 -> sel0e [sametail=orange24];
gray25 -> sel0e [sametail=gray25];
sel3d -> sel0e [sametail=sel3d];
mix20 -> sel0e [sametail=mix20];
adc0f [shape=box,style=filled,fillcolor="#ff8888"];
sel0e -> adc0f [sametail=sel0e];
green11
[label="green11\ndevice=headphones",style=filled,shape=doublecircle,fillcolor="#ffff88"];
mix22 -> green11 [sametail=mix22];
green12
[label="green12\ndevice=line-out",style=filled,shape=doublecircle,fillcolor="#ffff88"];
mix29 -> green12 [sametail=mix29];
black13
[label="black13\ndevice=speaker",style=filled,shape=circle,fillcolor="#88ff88"];
mix2d -> black13 [sametail=mix2d];
pink14
[label="pink14\ndevice=mic",style=filled,shape=doublecircle,fillcolor="#ffff88"];
mix2b -> pink14 [sametail=mix2b];
blue15
[label="blue15\ndevice=line-in",style=filled,shape=doublecircle,fillcolor="#ffff88"];
mix2c -> blue15 [sametail=mix2c];
black16
[label="black16\ndevice=line-out",style=filled,shape=doublecircle,fillcolor="#ffff88"];
mix2a -> black16 [sametail=mix2a];
pink17
[label="pink17\ndevice=mic",style=filled,shape=doublecircle,fillcolor="#ffff88"];
mix26 -> pink17 [sametail=mix26];
black18
[label="black18\ndevice=cd",style=filled,shape=circle,fillcolor="#ff8888"];
mix20 -> pow19 [sametail=mix20];
sel21 -> pow19 [sametail=sel21];
unknown1a
[label="unknown1a\ndevice=other",style=filled,shape=circle,fillcolor="#ff8888"];
other1b
[label="other1b\ndevice=SPDIF-out",style=filled,shape=circle,fillcolor="#88ff88"];
dac02 -> other1b [sametail=dac02];
other1c
[label="other1c\ndevice=SPDIF-in",style=filled,shape=circle,fillcolor="#ff8888"];
mix1d [shape=invhouse];
hdaudio -> mix1d [sametail=hdaudio];
sel0b -> mix1d [sametail=sel0b];
mix1e [shape=invhouse];
sel36 -> mix1e [sametail=sel36];
sel21 -> mix1e [sametail=sel21];
mix20 [shape=invhouse];
sel39 -> mix20 [sametail=sel39];
sel33 -> mix20 [sametail=sel33];
sel38 -> mix20 [sametail=sel38];
sel3d -> mix20 [sametail=sel3d];
sel34 -> mix20 [sametail=sel34];
sel3b -> mix20 [sametail=sel3b];
black18 -> mix20 [sametail=black18];
unknown1a -> mix20 [sametail=unknown1a];
sel21 [shape=invtrapezium];
mix20 -> sel21 [sametail=mix20];
mix22 [shape=invhouse];
sel37 -> mix22 [sametail=sel37];
sel21 -> mix22 [sametail=sel21];
green11 -> widget23 [sametail=green11];
orange24 -> widget23 [sametail=orange24];
gray25 -> widget23 [sametail=gray25];
sel38 -> widget23 [sametail=sel38];
mix20 -> widget23 [sametail=mix20];
sel21 -> widget23 [sametail=sel21];
orange24
[label="orange24\ndevice=line-out",style=filled,shape=doublecircle,fillcolor="#ffff88"];
mix27 -> orange24 [sametail=mix27];
gray25
[label="gray25\ndevice=line-out",style=filled,shape=doublecircle,fillcolor="#ffff88"];
mix28 -> gray25 [sametail=mix28];
mix26 [shape=invhouse];
sel32 -> mix26 [sametail=sel32];
sel21 -> mix26 [sametail=sel21];
mix27 [shape=invhouse];
dac05 -> mix27 [sametail=dac05];
sel21 -> mix27 [sametail=sel21];
mix28 [shape=invhouse];
dac0a -> mix28 [sametail=dac0a];
sel21 -> mix28 [sametail=sel21];
mix29 [shape=invhouse];
dac04 -> mix29 [sametail=dac04];
sel21 -> mix29 [sametail=sel21];
mix2a [shape=invhouse];
dac06 -> mix2a [sametail=dac06];
sel21 -> mix2a [sametail=sel21];
mix2b [shape=invhouse];
sel30 -> mix2b [sametail=sel30];
sel21 -> mix2b [sametail=sel21];
mix2c [shape=invhouse];
sel31 -> mix2c [sametail=sel31];
sel21 -> mix2c [sametail=sel21];
mix2d [shape=invhouse];
mix1e -> mix2d [sametail=mix1e];
green11 -> widget2f [sametail=green11];
green12 -> widget2f [sametail=green12];
pink14 -> widget2f [sametail=pink14];
blue15 -> widget2f [sametail=blue15];
black16 -> widget2f [sametail=black16];
pink17 -> widget2f [sametail=pink17];
sel30 [shape=invtrapezium];
dac03 -> sel30 [sametail=dac03];
dac04 -> sel30 [sametail=dac04];
dac06 -> sel30 [sametail=dac06];
sel31 [shape=invtrapezium];
dac04 -> sel31 [sametail=dac04];
dac0a -> sel31 [sametail=dac0a];
sel32 [shape=invtrapezium];
dac05 -> sel32 [sametail=dac05];
dac04 -> sel32 [sametail=dac04];
sel33 [shape=invtrapezium];
sel3a -> sel33 [sametail=sel3a];
gray25 -> sel33 [sametail=gray25];
orange24 -> sel33 [sametail=orange24];
sel34 [shape=invtrapezium];
sel3c -> sel34 [sametail=sel3c];
gray25 -> sel34 [sametail=gray25];
orange24 -> sel34 [sametail=orange24];
sel36 [shape=invtrapezium];
dac03 -> sel36 [sametail=dac03];
dac04 -> sel36 [sametail=dac04];
dac06 -> sel36 [sametail=dac06];
sel37 [shape=invtrapezium];
dac03 -> sel37 [sametail=dac03];
dac04 -> sel37 [sametail=dac04];
dac06 -> sel37 [sametail=dac06];
sel38 [shape=invtrapezium];
green11 -> sel38 [sametail=green11];
sel39 [shape=invtrapezium];
pink14 -> sel39 [sametail=pink14];
sel3a [shape=invtrapezium];
blue15 -> sel3a [sametail=blue15];
sel3b [shape=invtrapezium];
black16 -> sel3b [sametail=black16];
sel3c [shape=invtrapezium];
pink17 -> sel3c [sametail=pink17];
sel3d [shape=invtrapezium];
green12 -> sel3d [sametail=green12];
{rank=min; dac02; dac03; dac04; dac05; dac06; adc07; adc08; adc09; dac0a;
adc0f;}
{rank=max; green11; green12; black13; pink14; blue15; black16; pink17;
black18; unknown1a; other1b; other1c; orange24; gray25;}
}
name=Pseudo Audio
version=1.0
config=pad
encodings=slinear_le:16,slinear_be:16*,ulinear_le:16*,ulinear_be:16*,mulaw:8*,alaw:8*
properties=
full_duplex=0
fullduplex=0
blocksize=1024
hiwat=64
lowat=48
monitor_gain=0
mode=play
play.rate=8000
play.channels=1
play.precision=8
play.encoding=mulaw
play.gain=255
play.balance=0
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=0
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=127
record.balance=32
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0
Home |
Main Index |
Thread Index |
Old Index