Posts: 570
Threads: 5
Joined: Mar 2020
Reputation:
31
(03-07-2021, 10:57 AM)mrudzin Wrote: (03-06-2021, 10:59 PM)Hello Wrote: I cannot see these signs when I am displaying them. Maybe there is a bug somewhere earlier. I have a problem setting the slave pcm type.
First things first.
I create an asound file, cof and edit the slave pcm.
Then I make a copy of this file in another directory under the name .asoundrc
Yes?
what should I enter in slave.pcm, different things get displayed after typing aplay -l.
When editing files in parentheses, is it not necessary to enter the physical resolution of the display?
- what is your display configuration?
In this question, I don't quite understand what it is.
I think we'll fire it together.
I have moodeAudio ver 6.7.1
Let's try step by step:
could you please send the output of the following commands:
Code: aplay -l
sudo /var/www/command/sysinfo.sh
cat /etc/mpd.conf
cat /etc/asound.conf
ls -lia /dev/fb*
About display configuration: I mean "what is your system configuration"? for example: raspberry pi 4b, allo piano dac, local display 7 inch, etc
After the installation, are you able to listen the music?
Regards,
Francesco
Posts: 13
Threads: 3
Joined: Feb 2021
Reputation:
0
(03-07-2021, 03:14 PM)fdealexa Wrote: (03-07-2021, 10:57 AM)mrudzin Wrote: (03-06-2021, 10:59 PM)Hello Wrote: I cannot see these signs when I am displaying them. Maybe there is a bug somewhere earlier. I have a problem setting the slave pcm type.
First things first.
I create an asound file, cof and edit the slave pcm.
Then I make a copy of this file in another directory under the name .asoundrc
Yes?
what should I enter in slave.pcm, different things get displayed after typing aplay -l.
When editing files in parentheses, is it not necessary to enter the physical resolution of the display?
- what is your display configuration?
In this question, I don't quite understand what it is.
I think we'll fire it together.
I have moodeAudio ver 6.7.1
Let's try step by step:
could you please send the output of the following commands:
Code: aplay -l
sudo /var/www/command/sysinfo.sh
cat /etc/mpd.conf
cat /etc/asound.conf
ls -lia /dev/fb*
About display configuration: I mean "what is your system configuration"? for example: raspberry pi 4b, allo piano dac, local display 7 inch, etc
After the installation, are you able to listen the music?
Regards,
Francesco
Hello
Since I decided not to give up, this answer will be quite long
I will divide it into parts to make it easier for us to talk.
1. After entering the command
cd PeppyMeter
sudo openvt -s - sudo python3 peppymeter.py
I can see different types of indicators changing on the screen. So this part of the installation went fine.
2. After entering the command
/ home / pi / peppyalsa / src / peppyalsa-client / var / tmp / peppyfifo
I can't see the bars flashing to the beat of the music
3. After entering the command
aplay -l
such an answer
**** List of PLAYBACK Hardware Devices ****
card 0: DAC [I-Saber Q2M DAC], device 0: I-Saber Q2M DAC i-saber-codec-i2c.1-0048-0 [I-Saber Q2M DAC i-saber-codec-i2c.1-0048 -0]
Subdevices: 0/1
Subdevice # 0: subdevice # 0
4. After entering the command
sudo /var/www/command/sysinfo.sh
S Y S T E M P A R A M E T E R S
moOde release = 6.7.1 2020-07-22
RaspiOS = 10.4
Linux kernel = 5.4.51-v7+ #1325
Platform = Pi-3B+ 1GB v1.3
Architecture = armv7l (32-bit)
System uptime = up 15 minutes
Timezone = Europe/Warsaw
Current time = 2021-03-08 19:34:33
Host name = moode
Ethernet address = 192.168.1.121
Ethernet MAC = b8:27:eb:7b:3a:4f
WLAN address = unassigned
WLAN MAC = b8:27:eb:2e:6f:1a
WLAN country = US
SoC identifier = bcm2837
Core count = 4
Kernel timer freq = 100 Hz
SDCard freq = 50 MHz
USB boot = enabled
Warranty = OK
Root size = 3.4G
Root used = 90%
Root available = 342M
Root expand = not expanded
Memory free = 22 MB
Memory used = 837 MB
SoC temperature = 50.5°C
CPU governor = ondemand
Onboard WiFi = On
Onboard BT = On
HDMI output = On
LED state = 1,1
Eth addr wait = On
Max USB current = Off
USB (UAC2) fix = Off
Pi-3B+ eth fix = Off
SSH term server = On
PHP-FPM version = 7.3.14
NGINX version = 1.14.2
SQLite3 version = 3.27.2
Hostapd version = 2.8-devel
WiringPi version = 2.50
RPi.GPIO version = 0.7.0
A U D I O P A R A M E T E R S
Audio device = Audiophonics ES9028/9038 DAC
Interface = I2S
Mixer name = Digital
Hardware volume = Controller detected
Max ALSA volume = 100
Max MPD volume = 100
Volume step limit = 10
Audio source = Local
Output device = Local
Resume MPD = No
Volume knob = 0
Volume mute = Unmuted
Saved MPD vol = 0
Preamp volume = 0
ALSA version = 1.1.8-1+rpt1
SoX version = 0.1.2-3
Bluetooth controller = On
Pairing agent = On
Airplay receiver = Off
Spotify receiver = Off
Squeezelite = Off
UPnP client = On
DLNA server = Off
GPIO button handler = Off
UPnP browser = Off
Auto-shuffle = Off
Autoplay = Off
Rotary encoder = Off
Encoder params = 100 2 3 23 24
USB volume knob = Off
Polarity inversion = Off
Crossfeed = Off
Crossfade = Off
Parametric EQ = Off
Graphic EQ = Off
MPD httpd = Off
A P P E A R A N C E S E T T I N G S
Themes and backgrounds
----------------------
Theme = Pure Black
Accent color = Grass
Alpha blend = 1.0
Adaptive background = Yes
Background image = No
Cover backdrop = No
Cover blur = 20px
Cover scale = 1.25
Library options
----------------------
Instant play action = Add/Play
Show tagview genres = Yes
Show tagview covers = Yes
Show sample rate = No
Ellipsis limited text = No
Thumbnail columns = 6/2 (Default)
Albumview sort order = by Artist
Tagview sort order = by Artist
Compilation identifier = Various Artists
Recently added = 1 Month
Ignore articles = a,an,the
UTF8 character filter = No
Hi-res thumbs = Auto
Cover search pri = Embedded cover
Pixel ratio = 1.25
Coverview screen saver
----------------------
CoverView auto-display = Never
CoverView style = Gradient (Linear)
Other options
----------------------
Font size = Normal
Auto-shuffle filter = None
Extra metadata = composer,encoded
Playback history = No
First use help = y,n
M P D S E T T I N G S
Version = 0.21.24
Volume control = disabled
ALSA device = hw:0
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
DSD over PCM (DoP) = yes
Replaygain = off
Replaygain preamp = 0
Volume normalization = No
Audio buffer = 4096 (kb)
Output buffer size = 131072 (kb)
B L U E T O O T H S E T T I N G S
Bluetooth ver = 5.50
Bluealsa ver = v2.1.0
Speaker sharing = No
Resume MPD = No
PCM buffer time = 500000 (μs)
A I R P L A Y S E T T I N G S
Version = 3.3.6
Friendly name = Moode Airplay
ALSA device = hw:0
Interpolation = soxr
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout = 120 (ms)
Latency offset = 0.0 (secs)
Audio buffer = 0.2 (secs)
Resume MPD = No
S P O T I F Y S E T T I N G S
Friendly name = Moode Spotify
ALSA device = plughw:0
Bit rate = 160
Initial volume = 0
Volume curve = Logarithmic
Volume normalization = No
Normalization pregain = 0
Autoplay = No
Resume MPD = No
S Q U E E Z E L I T E S E T T I N G S
Version = 1.8.7-1052 "DSD/SRC enabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Other options = -W -D 500 -R E -S /var/local
Resume MPD = No
L O C A L D I S P L A Y S E T T I N G S
Local UI display = On
Mouse cursor = On
Screen blank = off Secs
Wake display on play = Off
Brightness = 255
Pixel aspect ratio = Square
Rotate screen = 0 Deg
M O O D E S T A R T U P L O G
20210306 201439 worker: -- Start
20210306 201441 worker: Successfully daemonized
20210306 201442 worker: Integrity check (warning: playerlib.php)
20210306 201442 worker: Integrity check (passed with warnings)
20210306 201442 worker: Session loaded
20210306 201442 worker: Debug logging (off)
20210306 201442 worker: Device raw: (0AC|1:empty|2:empty|3:empty
20210306 201442 worker: Device i2s: (Audiophonics ES9028/9038 DAC)
20210306 201442 worker: Device mpd: (0:Audiophonics ES9028/9038 DAC)
20210306 201442 worker: Device ses: (0|Audiophonics ES9028/9038 DAC|Digital|0%)
20210306 201442 worker: ALSA Digital volume set to (0%)
20210306 201442 worker: -- System
20210306 201446 worker: Host (moode)
20210306 201446 worker: moOde (6.7.1 2020-07-22)
20210306 201446 worker: RaspiOS (10.4)
20210306 201446 worker: Kernel (5.4.51-v7+ #1325)
20210306 201446 worker: Platform (Pi-3B+ 1GB v1.3)
20210306 201446 worker: ARM arch (armv7l, 32-bit kernel)
20210306 201446 worker: MPD ver (0.21.24)
20210306 201446 worker: CPU gov (ondemand)
20210306 201446 worker: USB boot enabled
20210306 201446 worker: File system not expanded yet
20210306 201446 worker: HDMI port on
20210306 201447 worker: File check (OK)
20210306 201447 worker: -- Network
20210306 201447 worker: eth0 exists
20210306 201447 worker: IP addr (192.168.1.121)
20210306 201447 worker: Netmask (255.255.255.0)
20210306 201447 worker: Gateway (192.168.1.3)
20210306 201447 worker: Pri DNS (8.8.4.4)
20210306 201447 worker: Domain (8.8.8.8)
20210306 201447 worker: wlan0 exists
20210306 201447 worker: wifi country (US)
20210306 201447 worker: wlan0 SSID is blank
20210306 201447 worker: eth0 addr exists, AP mode not started
20210306 201447 worker: wlan0 address not assigned
20210306 201448 worker: -- Audio
20210306 201448 worker: MPD conf updated
20210306 201449 worker: ALSA outputs unmuted
20210306 201449 worker: ALSA card number (0)
20210306 201449 worker: Audio output (Audiophonics ES9028/9038 DAC)
20210306 201449 worker: Audio formats (S16_LE, S32_LE)
20210306 201449 worker: ALSA mixer name (Digital)
20210306 201449 worker: MPD volume control (disabled)
20210306 201449 worker: Hdwr volume controller exists
20210306 201449 worker: Max ALSA volume (100%)
20210306 201449 worker: Reset renderer active flags
20210306 201449 worker: -- MPD
20210306 201449 worker: MPD started
20210306 201450 worker: MPD accepting connections
20210306 201450 worker: Configure MPD outputs
20210306 201450 worker: MPD output 1 ALSA default (on)
20210306 201450 worker: MPD output 2 ALSA crossfeed (off)
20210306 201450 worker: MPD output 3 ALSA parametric eq (off)
20210306 201450 worker: MPD output 4 ALSA graphic eq (off)
20210306 201450 worker: MPD output 5 ALSA polarity inversion (off)
20210306 201450 worker: MPD output 6 ALSA bluetooth (off)
20210306 201450 worker: MPD output 7 HTTP stream (off)
20210306 201450 worker: MPD crossfade (off)
20210306 201450 worker: -- Feature availability
20210306 201450 worker: Source select (available)
20210306 201450 worker: Source select (source: MPD)
20210306 201450 worker: Source select (output: Audiophonics ES9028/9038 DAC)
20210306 201450 worker: Bluetooth (available)
20210306 201450 worker: Bluetooth (started)
20210308 191945 worker: Bluetooth pairing agent (started)
20210308 191945 worker: Airplay renderer (available)
20210308 191945 worker: Spotify renderer (available)
20210308 191945 worker: Squeezelite renderer (available)
20210308 191945 worker: UPnP renderer (available)
20210308 191945 worker: UPnP renderer (started)
20210308 191945 worker: DLNA server (available)
20210308 191945 worker: UPnP browser (available)
20210308 191945 worker: Audio scrobbler (available)
20210308 191945 worker: GPIO button handler (available)
20210308 191945 worker: -- Music sources
20210308 191945 worker: USB sources (none attached)
20210308 191949 worker: NAS and UPnP sources (mountall initiated)
20210308 191949 worker: -- Miscellaneous
20210308 191949 worker: USB volume knob (Off)
20210308 191949 worker: Shellinabox SSH started
20210308 191949 worker: USB auto-mounter (udisks-glue)
20210308 191949 worker: LED0 (On)
20210308 191949 worker: LED1 (On)
20210308 191949 worker: Saved MPD vol level (0)
20210308 191950 worker: Preamp volume level (0)
20210308 191950 worker: MPD volume level (0) restored
20210308 191950 worker: ALSA Digital volume (100%)
20210308 191950 worker: Auto-play (Off)
20210308 191950 worker: LocalUI started
20210308 191950 worker: Maintenance interval (3 hrs)
20210308 191950 worker: Screen saver activation (Never)
20210308 191951 worker: Session permissions (OK)
20210308 191951 worker: Watchdog started
20210308 191951 worker: Ready
5. After entering the command
cat /etc/mpd.conf
#########################################
# 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 "peppyalsa"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA crossfeed"
device "crossfeed"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA parametric eq"
device "eqfa4p"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA graphic eq"
device "alsaequal"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA polarity inversion"
device "invpolarity"
mixer_type "none"
dop "yes"
}
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"
}
6. After entering the command
cat /etc/asound.conf
pcm.peppyalsa {
type meter
slave.pcm "hw:0,0"
scopes.0 peppyalsa
}
pcm_scope.peppyalsa {
type peppyalsa
decay_ms 400
meter "/var/tmp/peppyfifo"
meter_max 100
meter_show 0
spectrum "/var/tmp/peppyfifosa"
spectrum_max 100
spectrum_size 30
}
pcm_scope_type.peppyalsa {
lib /usr/local/lib/libpeppyalsa.so
}
7. After entering the command
ls -lia /dev/fb*
7252 crw-rw---- 1 root video 29, 0 Mar 6 20:14 /dev/fb0
That's it for now
greetings
Posts: 13
Threads: 3
Joined: Feb 2021
Reputation:
0
(03-07-2021, 03:14 PM)fdealexa Wrote: (03-07-2021, 10:57 AM)mrudzin Wrote: (03-06-2021, 10:59 PM)Hello Wrote: I cannot see these signs when I am displaying them. Maybe there is a bug somewhere earlier. I have a problem setting the slave pcm type.
First things first.
I create an asound file, cof and edit the slave pcm.
Then I make a copy of this file in another directory under the name .asoundrc
Yes?
what should I enter in slave.pcm, different things get displayed after typing aplay -l.
When editing files in parentheses, is it not necessary to enter the physical resolution of the display?
- what is your display configuration?
In this question, I don't quite understand what it is.
I think we'll fire it together.
I have moodeAudio ver 6.7.1
Let's try step by step:
could you please send the output of the following commands:
Code: aplay -l
sudo /var/www/command/sysinfo.sh
cat /etc/mpd.conf
cat /etc/asound.conf
ls -lia /dev/fb*
About display configuration: I mean "what is your system configuration"? for example: raspberry pi 4b, allo piano dac, local display 7 inch, etc
After the installation, are you able to listen the music?
Regards,
Francesco
Hello
Since I decided not to give up, this answer will be quite long
I will divide it into parts to make it easier for us to talk.
1. After entering the command
cd PeppyMeter
sudo openvt -s - sudo python3 peppymeter.py
I can see different types of indicators changing on the screen. So this part of the installation went fine.
2. After entering the command
/ home / pi / peppyalsa / src / peppyalsa-client / var / tmp / peppyfifo
I can't see the bars flashing to the beat of the music
3. After entering the command
aplay -l
such an answer
**** List of PLAYBACK Hardware Devices ****
card 0: DAC [I-Saber Q2M DAC], device 0: I-Saber Q2M DAC i-saber-codec-i2c.1-0048-0 [I-Saber Q2M DAC i-saber-codec-i2c.1-0048 -0]
Subdevices: 0/1
Subdevice # 0: subdevice # 0
4. After entering the command
sudo /var/www/command/sysinfo.sh
S Y S T E M P A R A M E T E R S
moOde release = 6.7.1 2020-07-22
RaspiOS = 10.4
Linux kernel = 5.4.51-v7+ #1325
Platform = Pi-3B+ 1GB v1.3
Architecture = armv7l (32-bit)
System uptime = up 15 minutes
Timezone = Europe/Warsaw
Current time = 2021-03-08 19:34:33
Host name = moode
Ethernet address = 192.168.1.121
Ethernet MAC = b8:27:eb:7b:3a:4f
WLAN address = unassigned
WLAN MAC = b8:27:eb:2e:6f:1a
WLAN country = US
SoC identifier = bcm2837
Core count = 4
Kernel timer freq = 100 Hz
SDCard freq = 50 MHz
USB boot = enabled
Warranty = OK
Root size = 3.4G
Root used = 90%
Root available = 342M
Root expand = not expanded
Memory free = 22 MB
Memory used = 837 MB
SoC temperature = 50.5°C
CPU governor = ondemand
Onboard WiFi = On
Onboard BT = On
HDMI output = On
LED state = 1,1
Eth addr wait = On
Max USB current = Off
USB (UAC2) fix = Off
Pi-3B+ eth fix = Off
SSH term server = On
PHP-FPM version = 7.3.14
NGINX version = 1.14.2
SQLite3 version = 3.27.2
Hostapd version = 2.8-devel
WiringPi version = 2.50
RPi.GPIO version = 0.7.0
A U D I O P A R A M E T E R S
Audio device = Audiophonics ES9028/9038 DAC
Interface = I2S
Mixer name = Digital
Hardware volume = Controller detected
Max ALSA volume = 100
Max MPD volume = 100
Volume step limit = 10
Audio source = Local
Output device = Local
Resume MPD = No
Volume knob = 0
Volume mute = Unmuted
Saved MPD vol = 0
Preamp volume = 0
ALSA version = 1.1.8-1+rpt1
SoX version = 0.1.2-3
Bluetooth controller = On
Pairing agent = On
Airplay receiver = Off
Spotify receiver = Off
Squeezelite = Off
UPnP client = On
DLNA server = Off
GPIO button handler = Off
UPnP browser = Off
Auto-shuffle = Off
Autoplay = Off
Rotary encoder = Off
Encoder params = 100 2 3 23 24
USB volume knob = Off
Polarity inversion = Off
Crossfeed = Off
Crossfade = Off
Parametric EQ = Off
Graphic EQ = Off
MPD httpd = Off
A P P E A R A N C E S E T T I N G S
Themes and backgrounds
----------------------
Theme = Pure Black
Accent color = Grass
Alpha blend = 1.0
Adaptive background = Yes
Background image = No
Cover backdrop = No
Cover blur = 20px
Cover scale = 1.25
Library options
----------------------
Instant play action = Add/Play
Show tagview genres = Yes
Show tagview covers = Yes
Show sample rate = No
Ellipsis limited text = No
Thumbnail columns = 6/2 (Default)
Albumview sort order = by Artist
Tagview sort order = by Artist
Compilation identifier = Various Artists
Recently added = 1 Month
Ignore articles = a,an,the
UTF8 character filter = No
Hi-res thumbs = Auto
Cover search pri = Embedded cover
Pixel ratio = 1.25
Coverview screen saver
----------------------
CoverView auto-display = Never
CoverView style = Gradient (Linear)
Other options
----------------------
Font size = Normal
Auto-shuffle filter = None
Extra metadata = composer,encoded
Playback history = No
First use help = y,n
M P D S E T T I N G S
Version = 0.21.24
Volume control = disabled
ALSA device = hw:0
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
DSD over PCM (DoP) = yes
Replaygain = off
Replaygain preamp = 0
Volume normalization = No
Audio buffer = 4096 (kb)
Output buffer size = 131072 (kb)
B L U E T O O T H S E T T I N G S
Bluetooth ver = 5.50
Bluealsa ver = v2.1.0
Speaker sharing = No
Resume MPD = No
PCM buffer time = 500000 (μs)
A I R P L A Y S E T T I N G S
Version = 3.3.6
Friendly name = Moode Airplay
ALSA device = hw:0
Interpolation = soxr
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout = 120 (ms)
Latency offset = 0.0 (secs)
Audio buffer = 0.2 (secs)
Resume MPD = No
S P O T I F Y S E T T I N G S
Friendly name = Moode Spotify
ALSA device = plughw:0
Bit rate = 160
Initial volume = 0
Volume curve = Logarithmic
Volume normalization = No
Normalization pregain = 0
Autoplay = No
Resume MPD = No
S Q U E E Z E L I T E S E T T I N G S
Version = 1.8.7-1052 "DSD/SRC enabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Other options = -W -D 500 -R E -S /var/local
Resume MPD = No
L O C A L D I S P L A Y S E T T I N G S
Local UI display = On
Mouse cursor = On
Screen blank = off Secs
Wake display on play = Off
Brightness = 255
Pixel aspect ratio = Square
Rotate screen = 0 Deg
M O O D E S T A R T U P L O G
20210306 201439 worker: -- Start
20210306 201441 worker: Successfully daemonized
20210306 201442 worker: Integrity check (warning: playerlib.php)
20210306 201442 worker: Integrity check (passed with warnings)
20210306 201442 worker: Session loaded
20210306 201442 worker: Debug logging (off)
20210306 201442 worker: Device raw: (0AC|1:empty|2:empty|3:empty
20210306 201442 worker: Device i2s: (Audiophonics ES9028/9038 DAC)
20210306 201442 worker: Device mpd: (0:Audiophonics ES9028/9038 DAC)
20210306 201442 worker: Device ses: (0|Audiophonics ES9028/9038 DAC|Digital|0%)
20210306 201442 worker: ALSA Digital volume set to (0%)
20210306 201442 worker: -- System
20210306 201446 worker: Host (moode)
20210306 201446 worker: moOde (6.7.1 2020-07-22)
20210306 201446 worker: RaspiOS (10.4)
20210306 201446 worker: Kernel (5.4.51-v7+ #1325)
20210306 201446 worker: Platform (Pi-3B+ 1GB v1.3)
20210306 201446 worker: ARM arch (armv7l, 32-bit kernel)
20210306 201446 worker: MPD ver (0.21.24)
20210306 201446 worker: CPU gov (ondemand)
20210306 201446 worker: USB boot enabled
20210306 201446 worker: File system not expanded yet
20210306 201446 worker: HDMI port on
20210306 201447 worker: File check (OK)
20210306 201447 worker: -- Network
20210306 201447 worker: eth0 exists
20210306 201447 worker: IP addr (192.168.1.121)
20210306 201447 worker: Netmask (255.255.255.0)
20210306 201447 worker: Gateway (192.168.1.3)
20210306 201447 worker: Pri DNS (8.8.4.4)
20210306 201447 worker: Domain (8.8.8.8)
20210306 201447 worker: wlan0 exists
20210306 201447 worker: wifi country (US)
20210306 201447 worker: wlan0 SSID is blank
20210306 201447 worker: eth0 addr exists, AP mode not started
20210306 201447 worker: wlan0 address not assigned
20210306 201448 worker: -- Audio
20210306 201448 worker: MPD conf updated
20210306 201449 worker: ALSA outputs unmuted
20210306 201449 worker: ALSA card number (0)
20210306 201449 worker: Audio output (Audiophonics ES9028/9038 DAC)
20210306 201449 worker: Audio formats (S16_LE, S32_LE)
20210306 201449 worker: ALSA mixer name (Digital)
20210306 201449 worker: MPD volume control (disabled)
20210306 201449 worker: Hdwr volume controller exists
20210306 201449 worker: Max ALSA volume (100%)
20210306 201449 worker: Reset renderer active flags
20210306 201449 worker: -- MPD
20210306 201449 worker: MPD started
20210306 201450 worker: MPD accepting connections
20210306 201450 worker: Configure MPD outputs
20210306 201450 worker: MPD output 1 ALSA default (on)
20210306 201450 worker: MPD output 2 ALSA crossfeed (off)
20210306 201450 worker: MPD output 3 ALSA parametric eq (off)
20210306 201450 worker: MPD output 4 ALSA graphic eq (off)
20210306 201450 worker: MPD output 5 ALSA polarity inversion (off)
20210306 201450 worker: MPD output 6 ALSA bluetooth (off)
20210306 201450 worker: MPD output 7 HTTP stream (off)
20210306 201450 worker: MPD crossfade (off)
20210306 201450 worker: -- Feature availability
20210306 201450 worker: Source select (available)
20210306 201450 worker: Source select (source: MPD)
20210306 201450 worker: Source select (output: Audiophonics ES9028/9038 DAC)
20210306 201450 worker: Bluetooth (available)
20210306 201450 worker: Bluetooth (started)
20210308 191945 worker: Bluetooth pairing agent (started)
20210308 191945 worker: Airplay renderer (available)
20210308 191945 worker: Spotify renderer (available)
20210308 191945 worker: Squeezelite renderer (available)
20210308 191945 worker: UPnP renderer (available)
20210308 191945 worker: UPnP renderer (started)
20210308 191945 worker: DLNA server (available)
20210308 191945 worker: UPnP browser (available)
20210308 191945 worker: Audio scrobbler (available)
20210308 191945 worker: GPIO button handler (available)
20210308 191945 worker: -- Music sources
20210308 191945 worker: USB sources (none attached)
20210308 191949 worker: NAS and UPnP sources (mountall initiated)
20210308 191949 worker: -- Miscellaneous
20210308 191949 worker: USB volume knob (Off)
20210308 191949 worker: Shellinabox SSH started
20210308 191949 worker: USB auto-mounter (udisks-glue)
20210308 191949 worker: LED0 (On)
20210308 191949 worker: LED1 (On)
20210308 191949 worker: Saved MPD vol level (0)
20210308 191950 worker: Preamp volume level (0)
20210308 191950 worker: MPD volume level (0) restored
20210308 191950 worker: ALSA Digital volume (100%)
20210308 191950 worker: Auto-play (Off)
20210308 191950 worker: LocalUI started
20210308 191950 worker: Maintenance interval (3 hrs)
20210308 191950 worker: Screen saver activation (Never)
20210308 191951 worker: Session permissions (OK)
20210308 191951 worker: Watchdog started
20210308 191951 worker: Ready
5. After entering the command
cat /etc/mpd.conf
#########################################
# 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 "peppyalsa"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA crossfeed"
device "crossfeed"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA parametric eq"
device "eqfa4p"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA graphic eq"
device "alsaequal"
mixer_type "none"
dop "yes"
}
audio_output {
type "alsa"
name "ALSA polarity inversion"
device "invpolarity"
mixer_type "none"
dop "yes"
}
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"
}
6. After entering the command
cat /etc/asound.conf
pcm.peppyalsa {
type meter
slave.pcm "hw:0,0"
scopes.0 peppyalsa
}
pcm_scope.peppyalsa {
type peppyalsa
decay_ms 400
meter "/var/tmp/peppyfifo"
meter_max 100
meter_show 0
spectrum "/var/tmp/peppyfifosa"
spectrum_max 100
spectrum_size 30
}
pcm_scope_type.peppyalsa {
lib /usr/local/lib/libpeppyalsa.so
}
7. After entering the command
ls -lia /dev/fb*
7252 crw-rw---- 1 root video 29, 0 Mar 6 20:14 /dev/fb0
That's it for now
greetings
Posts: 570
Threads: 5
Joined: Mar 2020
Reputation:
31
03-08-2021, 08:15 PM
(This post was last modified: 03-08-2021, 09:50 PM by fdealexa.)
Hi, after your answer it is clear that the first part of the installation (peppyalsa) does not have the expected results.
At this point you should:
- enable "verbose" to the mpd log
- clear system logs
- reboot the system
- start a song or radio
- send me the mpd log ("/ var / log / mpd / log")
Unfortunately, I cannot analyze everything better before tomorrow afternoon.
thank you and greetings,
Francesco
Posts: 570
Threads: 5
Joined: Mar 2020
Reputation:
31
03-09-2021, 11:04 PM
(This post was last modified: 03-09-2021, 11:08 PM by fdealexa.)
Hi,
I went through all the material and noticed it
1) your file system hasn't expanded yet - obviously that can't be the reason for the problem.
2) all your settings are the same as mine: the only difference is system version 6.7.1 vs 7.0.1: if I have enough time, tomorrow I'll build a system with 6.7.1 and check
3) I confirm the action I have already requested:
Code: - enable "verbose" to the mpd log
- clear system logs
- reboot the system
- start a song or radio
- send me the mpd log ("/ var / log / mpd / log")
Further more could you please send to me the results of the following command?
Code: ls -lia /var/tmp/peppyfifo
and could you please try, during the listening of music the following command?
Code: cat /var/tmp/peppyfifo
you should see garbage in the screen and cursor moving with the music change.
Please let me know,
Best regards,
Francesco
Posts: 570
Threads: 5
Joined: Mar 2020
Reputation:
31
Hi all,
this is to inform you that as you can see in the attachement, I have added a two buttons to switch from moOde GUI to PeppyMeter and from PeppyMeter back to the moOde GUI.
Best regards and enjoy listening music... and its graphic,
Francesco
https://drive.google.com/file/d/13gVAE2U...sp=sharing
Posts: 570
Threads: 5
Joined: Mar 2020
Reputation:
31
Hi mrudzin,
I built a new system from scratch with 6.7.1 and everything works fine.
The only difference is the position of the line to be changed in the powerlib.php which is 1694 instead of 1994.
It means that the MPD configuration, for the 6.7.1 release, must be modified in:
Quote:At this point we have to patch an important file that create the configuration of moOde MPD:
Code: sudo nano /var/www/inc/playerlib.php
Quote: Wrote:^-1694 to go to row 1694 and modify the current content from:
Code:
Code: "name \"ALSA default\"\n" . "device \"hw:" . $device . ",0\"\n",
to the new content:
Code:
Code: "name \"ALSA default\"\n" . "device \"peppyalsa\"\n",
^o and Enter to save and then ^x to exit.
Now reboot the system and try to listen any music (a radio is the simplest way) if it is still alive!!! If not we have to troubleshoot where we made a mistake.
I saw that your "mpd.conf" already looks good: have you changed that line yet?
Let me know.
Greetings,
Francesco
Posts: 13
Threads: 3
Joined: Feb 2021
Reputation:
0
(03-10-2021, 10:07 AM)fdealexa Wrote: Hi mrudzin,
I built a new system from scratch with 6.7.1 and everything works fine.
The only difference is the position of the line to be changed in the powerlib.php which is 1694 instead of 1994.
It means that the MPD configuration, for the 6.7.1 release, must be modified in:
Quote:At this point we have to patch an important file that create the configuration of moOde MPD:
Code: sudo nano /var/www/inc/playerlib.php
Quote: Wrote:^-1694 to go to row 1694 and modify the current content from:
Code:
Code: "name \"ALSA default\"\n" . "device \"hw:" . $device . ",0\"\n",
to the new content:
Code:
Code: "name \"ALSA default\"\n" . "device \"peppyalsa\"\n",
^o and Enter to save and then ^x to exit.
Now reboot the system and try to listen any music (a radio is the simplest way) if it is still alive!!! If not we have to troubleshoot where we made a mistake.
I saw that your "mpd.conf" already looks good: have you changed that line yet?
Let me know.
Greetings,
Francesco Hello
Unfortunately, I had to install the system in version 6.7.1 because in higher versions, after connecting the streaming from the Audirvana program, noise appeared in the speakers after a few minutes.
Nobody on the forum was able to help me so I went back to version 6.7.1. It's hard to say what the reason is. Some say that the version of the prop, others that the driver for the card, and others that the Audirvana. I gave up and I have version 6.7.1
I found this line in 1694 because I figured that some mistake had crept into the description.
I am about to install the new version of the software and do everything from scratch.
The only doubt I have is what to enter in the slave pcm position.
Posts: 570
Threads: 5
Joined: Mar 2020
Reputation:
31
Hello mrudzin,
the release seems to be not a problem.
Relating to slave pcm position, if you are earing the music after the installation it means that it is ok. Any way it is the default output address that you saw in the aplay -l
Quote:card 0: DAC [I-Saber Q2M DAC], device 0: I-Saber Q2M DAC i-saber-codec-i2c.1-0048-0 [I-Saber Q2M DAC i-saber-codec-i2c.1-0048 -0]
so card 0 device 0 then
Quote:slave.pcm "hw:0,0"
I already controlled that it is ok.
To try to go on please refere to the post #15 of this thread and let me have the related material and answers.
We will make it happen!!!
Greating,
Francesco
copy of post #15
Quote:Today, 12:04 AM (This post was last modified: Today, 12:08 AM by fdealexa.)
Hi,
I went through all the material and noticed it
1) your file system hasn't expanded yet - obviously that can't be the reason for the problem.
2) all your settings are the same as mine: the only difference is system version 6.7.1 vs 7.0.1: if I have enough time, tomorrow I'll build a system with 6.7.1 and check
3) I confirm the action I have already requested:
Code:
Code: - enable "verbose" to the mpd log
- clear system logs
- reboot the system
- start a song or radio
- send me the mpd log ("/ var / log / mpd / log")
Further more could you please send to me the results of the following command?
Code:
Code: ls -lia /var/tmp/peppyfifo
and could you please try, during the listening of music the following command?
Code:
Code: cat /var/tmp/peppyfifo
you should see garbage in the screen and cursor moving with the music change.
Please let me know,
Best regards,
Francesco
Posts: 13
Threads: 3
Joined: Feb 2021
Reputation:
0
(03-10-2021, 06:03 PM)fdealexa Wrote: Hello mrudzin,
the release seems to be not a problem.
Relating to slave pcm position, if you are earing the music after the installation it means that it is ok. Any way it is the default output address that you saw in the aplay -l
Quote:card 0: DAC [I-Saber Q2M DAC], device 0: I-Saber Q2M DAC i-saber-codec-i2c.1-0048-0 [I-Saber Q2M DAC i-saber-codec-i2c.1-0048 -0]
so card 0 device 0 then
Quote:slave.pcm "hw:0,0"
I already controlled that it is ok.
To try to go on please refere to the post #15 of this thread and let me have the related material and answers.
We will make it happen!!!
Greating,
Francesco
copy of post #15
Quote:Today, 12:04 AM (This post was last modified: Today, 12:08 AM by fdealexa.)
Hi,
I went through all the material and noticed it
1) your file system hasn't expanded yet - obviously that can't be the reason for the problem.
2) all your settings are the same as mine: the only difference is system version 6.7.1 vs 7.0.1: if I have enough time, tomorrow I'll build a system with 6.7.1 and check
3) I confirm the action I have already requested:
Code:
Code: - enable "verbose" to the mpd log
- clear system logs
- reboot the system
- start a song or radio
- send me the mpd log ("/ var / log / mpd / log")
Further more could you please send to me the results of the following command?
Code:
Code: ls -lia /var/tmp/peppyfifo
and could you please try, during the listening of music the following command?
Code:
Code: cat /var/tmp/peppyfifo
you should see garbage in the screen and cursor moving with the music change.
Please let me know,
Best regards,
Francesco
Hi
Thank you for your time. I fight as much as I can and I try to convey everything to you honestly.
Now I did so.
I installed the image 7.0.1 and did everything as instructed.
After entering the command
home / pi / peppyalsa / src / peppyalsa-client / var / tmp / peppyfifo
everything works. I can see stripes that move to the beat of the music.
Maybe it's really the fault of version 6.7.1?
Now I will finish the installation and enjoy a moment with music from the radio and a working display
Will I always have to do it manually to switch between GUI and peppy?
|