Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
yes , selected and reboot

this is aplay -l results:

Code:
pi@moode:~/cava $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
 Subdevices: 7/7
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
 Subdevices: 8/8
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
 Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
 Subdevices: 8/8
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
 Subdevice #7: subdevice #7

this is aplay -L

Code:
pi@moode:~/cava $ aplay -L
null
   Discard all samples (playback) or generate zero samples (capture)
btaplay_dmix
alsaequal
plug_alsaequal
btstream
crossfeed
plug_bs2b
eqfa4p
plug_eqfa4p
invpolarity
default:CARD=ALSA
   bcm2835 ALSA, bcm2835 ALSA
   Default Audio Device
sysdefault:CARD=ALSA
   bcm2835 ALSA, bcm2835 ALSA
   Default Audio Device
dmix:CARD=ALSA,DEV=0
   bcm2835 ALSA, bcm2835 ALSA
   Direct sample mixing device
dmix:CARD=ALSA,DEV=1
   bcm2835 ALSA, bcm2835 IEC958/HDMI
   Direct sample mixing device
dmix:CARD=ALSA,DEV=2
   bcm2835 ALSA, bcm2835 IEC958/HDMI1
   Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0
   bcm2835 ALSA, bcm2835 ALSA
   Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1
   bcm2835 ALSA, bcm2835 IEC958/HDMI
   Direct sample snooping device
dsnoop:CARD=ALSA,DEV=2
   bcm2835 ALSA, bcm2835 IEC958/HDMI1
   Direct sample snooping device
plughw:CARD=ALSA,DEV=0
   bcm2835 ALSA, bcm2835 ALSA
   Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1
   bcm2835 ALSA, bcm2835 IEC958/HDMI
   Hardware device with all software conversions
plughw:CARD=ALSA,DEV=2
   bcm2835 ALSA, bcm2835 IEC958/HDMI1
   Hardware device with all software conversions
hw:CARD=ALSA,DEV=0
   bcm2835 ALSA, bcm2835 ALSA
   Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1
   bcm2835 ALSA, bcm2835 IEC958/HDMI
   Direct hardware device without any conversions
hw:CARD=ALSA,DEV=2
   bcm2835 ALSA, bcm2835 IEC958/HDMI1
   Direct hardware device without any conversions
default:CARD=Loopback
   Loopback, Loopback PCM
   Default Audio Device
sysdefault:CARD=Loopback
   Loopback, Loopback PCM
   Default Audio Device
front:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   Front speakers
surround21:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   4.0 Surround output to Front and Rear speakers
surround41:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   Direct sample mixing device
dmix:CARD=Loopback,DEV=1
   Loopback, Loopback PCM
   Direct sample mixing device
dsnoop:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   Direct sample snooping device
dsnoop:CARD=Loopback,DEV=1
   Loopback, Loopback PCM
   Direct sample snooping device
plughw:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   Hardware device with all software conversions
plughw:CARD=Loopback,DEV=1
   Loopback, Loopback PCM
   Hardware device with all software conversions
hw:CARD=Loopback,DEV=0
   Loopback, Loopback PCM
   Direct hardware device without any conversions
hw:CARD=Loopback,DEV=1
   Loopback, Loopback PCM
   Direct hardware device without any conversions




and this is alsa-base.conf

Code:
options snd_bcm2835 index=0
options snd-aloop index=1

this is mpd.conf

Code:
#########################################
# This file is automatically generated
# by the MPD configuration page.
#########################################

music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
group "audio"
bind_to_address "any"
port "6600"
log_level "default"
restore_paused "yes"
auto_update "no"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
zeroconf_name "Moode MPD"
filesystem_charset "UTF-8"
metadata_to_use "+comment"
replaygain "off"
replaygain_preamp "0"
volume_normalization "no"
audio_buffer_size "4096"
max_output_buffer_size "131072"
max_connections "128"

decoder {
plugin "ffmpeg"
enabled "yes"
}

input {
plugin "curl"
}

resampler {
plugin "soxr"
quality "very high"
threads "1"
}

audio_output {
type "alsa"
name "ALSA default"
device "hw:0,0"
mixer_type "software"
dop "no"
}

audio_output {
type "alsa"
name "ALSA crossfeed"
device "crossfeed"
mixer_type "software"
dop "no"
}

audio_output {
type "alsa"
name "ALSA parametric eq"
device "eqfa4p"
mixer_type "software"
dop "no"
}

audio_output {
type "alsa"
name "ALSA graphic eq"
device "alsaequal"
mixer_type "software"
dop "no"
}

audio_output {
type "alsa"
name "ALSA polarity inversion"
device "invpolarity"
mixer_type "software"
dop "no"
}

audio_output {
type "alsa"
name "ALSA bluetooth"
device "btstream"
mixer_type "software"
}

audio_output {
type "httpd"
name "HTTP stream"
port "8000"
encoder "lame"
bitrate "320"
tags "yes"
always_on "yes"
}


# add a FIFO to be read by a cava, which is run as a subprocess of mpd_oled
audio_output {
       type            "fifo"
       name            "mpd_oled_FIFO"
       path            "/tmp/mpd_oled_fifo"
       format          "44100:16:2"
}
Reply


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by fabio323ti - 04-13-2020, 06:20 PM
RE: help me - by ghera78 - 02-28-2020, 08:01 AM
RE: help me - by ghera78 - 02-28-2020, 01:17 PM

Forum Jump: