No sound on Raspbian Stretch Lite

Moderator: flatmax

Post Reply
colinbrogan
Posts: 7
Joined: Sat Dec 15, 2018 10:34 am

No sound on Raspbian Stretch Lite

Post by colinbrogan » Fri Dec 21, 2018 2:38 pm

Ok, I haven't been able to hear any output or input from this since I've installed it. The bottom of

Code: Select all

/boot/config.txt
looks like this:

Code: Select all

# Enable audio (loads snd_bcm2835)
# dtparam=audio=on

# audioinjector device tree overlay file
dtoverlay=audioinjector-wm8731-audio

Code: Select all

aplay -l
gives me this:

Code: Select all

card 0: audioinjectorpi [audioinjector-pi-soundcard], device 0: AudioInjector audio wm8731-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I can also boot up jack without anything protesting like so

Code: Select all

jackd -P75 -dalsa 0 -r44100 -p1024 -n3 &
. Which outputs this:

Code: Select all

Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2018 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 75
self-connect-mode is "Don't restrict self connect requests"
creating alsa driver ... hw:0|hw:0|1024|3|44100|0|0|nomon|swmeter|-|32bit
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 3 periods for playback
Running

Code: Select all

amixer
gives me this:

Code: Select all

Simple mixer control 'Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 121 [95%] [0.00dB]
  Front Right: Playback 121 [95%] [0.00dB]
Simple mixer control 'Master Playback ZC',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'Sidetone',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-15.00dB]
Simple mixer control 'Line',0
  Capabilities: cswitch
  Capture channels: Front Left - Front Right
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic',0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 1
  Mono: 0 [0%] [0.00dB]
Simple mixer control 'Playback Deemphasis',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 23 [74%] [0.00dB]
  Front Right: Capture 23 [74%] [0.00dB]
Simple mixer control 'ADC High Pass Filter',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Input Mux',0
  Capabilities: enum
  Items: 'Line In' 'Mic'
  Item0: 'Line In'
Simple mixer control 'Output Mixer HiFi',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Output Mixer Line Bypass',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Output Mixer Mic Sidetone',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Store DC Offset',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
However, all sound tests I've tried seem to give no output. I've tried running the test script on the github page, but I am getting this output (Maybe because I am in Stretch Lite)?

Code: Select all

play: no process found
arecord: no process found
gpicview: no process found
Recording WAVE '/tmp/test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

  Encoding: n/a           
  Channels: 2 @ 16-bit   
Samplerate: 48000Hz      
Replaygain: off         
  Duration: unknown      

In:0.00% 00:00:02.47 [00:00:00.00] Out:119k  [ =====|===== ] Hd:5.9 Clip:0    /usr/bin/audioInjector-test.sh: line 43: xdg-open: command not found
In:0.00% 00:00:03.07 [00:00:00.00] Out:144k  [ =====|===== ] Hd:5.9 Clip:0    
Done.
Recording WAVE '/tmp/test.mic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

  Encoding: n/a           
  Channels: 2 @ 16-bit   
Samplerate: 48000Hz      
Replaygain: off         
  Duration: unknown      

In:0.00% 00:00:02.47 [00:00:00.00] Out:119k  [ =====|===== ] Hd:5.9 Clip:0    /usr/bin/audioInjector-test.sh: line 53: xdg-open: command not found
press enter to test again, any other key then enter to exit
In:0.00% 00:00:03.07 [00:00:00.00] Out:144k  [ =====|===== ] Hd:5.9 Clip:0    
Done.
Am I missing something here?

colinbrogan
Posts: 7
Joined: Sat Dec 15, 2018 10:34 am

Re: No sound on Raspbian Stretch Lite

Post by colinbrogan » Tue Dec 25, 2018 9:09 pm

My bad. I am using the audio injector with the DI box. Nothing was wrong with the card, I was just routing things incorrectly through the DI box

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests