Thank you for your donation!


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


PeppyMeter and moOde
(10-15-2023, 07:11 PM)pisuke74 Wrote: hi. I use a pi4 with this SUNFOUNDER - Schermo touch Raspberrry Pi 4 HDMI da 7 pollici, 1024 x 600, LCD and with hifibarry day plus.

grazie mille Francesco

[img]blob:https://moodeaudio.org/2aab227e-f4e8-416e-901d-916be4065f5a[/img]


the config file is this one. [img]blob:https://moodeaudio.org/60cd3dbb-85c5-448e-8a11-903850a51e73[/img]

this is the result of the command [img]blob:https://moodeaudio.org/c74d7b3e-96b4-4827-a381-f985ffc5d602[/img]

Sorry, pisuke74,
I dont see any of the images.
Could you please try again..
Furthermore, due you are not using the standard 7 inch on the DSI port, would you please send also the config.txt in the boot directory? 
Best regards (ciao),
Francesco
Reply
Per la directory di avvio devo togliere la ad? Perché dovrei smontare tutto . Poi oggi cerco di rifare screen che a me fa vedere

Possiamo usare italiano oppure meglio usare inglese ?
Reply
(10-16-2023, 10:19 AM)pisuke74 Wrote: Per la directory di avvio devo togliere la ad? Perché dovrei smontare tutto . Poi oggi cerco di rifare screen che a me fa vedere

Although you are both italian (as I am, btw) it would be better to write in English here, in order for everybody to benefit.
Reply
(10-16-2023, 10:19 AM)pisuke74 Wrote: Per la directory di avvio devo togliere la ad? Perché dovrei smontare tutto . Poi oggi cerco di rifare screen che a me fa vedere

Possiamo usare italiano oppure meglio usare inglese ?

Hi pisuke74,
We have to use English, at last for respect and benefit to all the other component of the forum.
The issue of the default user is connected to several commands chained to the related location.
My opinion is, anyway, connected to the resolution of your display: please have a look at 3-4 pages before in this thread.
Best regards,
Francesco 
P.S.: @Nutul Al, I completely agree with you and It is a pleasure to know you are italian too. Ciao
Reply
Next days I will post all

How can I copy config file via terminal? Or I have to remove sd and see it in the boot partition?
Reply
(10-17-2023, 09:09 AM)pisuke74 Wrote: Next days I will post all

How can I copy config file via terminal? Or I have to remove sd and see it in the boot partition?

An example about how to copy the file test.txt from the home directory in the PI, assuming the username is "pi" and the PI name in the network is "moode":
(the use of .local for the DNS name is to tell the router to not use internat DNS resolve, as the address is in the local network, so it is faster)

scp pi@moode.local:/home/pi/test.txt .

it will ask you for the password of "pi" on the Raspberry. Replace username / machine name / file name with those of your use case.

general rule:
scp <usrname>@<machine name / IP address>:<complete file path beginning with "/"> <local path>
(if local path is left empty - or "." as in the example - the file will be copied to the directory you are executing the command from.
Under Windows with "putty" you may want to specify it like "C:\test\downloads\" for example)

HTH
Reply
(10-17-2023, 09:09 AM)pisuke74 Wrote: Next days I will post all

How can I copy config file via terminal? Or I have to remove sd and see it in the boot partition?

Hi pisuke74,
When I ask for "config.txt in the boot directory", I mean that I would like to see the result of the following command from the terminal emulator (putty):

Code:
cat /boot/config.txt

or, for "config.txt in the peppymeter directory":

Code:
cat home/pi/PeppyMeter/config.txt

Then copy and past on the answer (screenshot).

I hope this help.
Best regards and thanks,
Francesco
Reply
Hi everyone,

I feel pretty sad, because I read a lot, apply a lot dive a bit into alsa... But I am unable to make the alsa peppy meter works Sad

I have a rpi 4 (4Go), with a IQ Audio DAC Amp+

I have followed https://github.com/project-owner/PeppyMeter.doc/wiki and the pretty good https://github.com/FdeAlexa/PeppyMeter_and_moOde for specific moode.
I have a moode 8.3.6-1 installation.

What is happening (or in fact not happening)...

My /etc/alsa/conf.d/_sndaloop.conf is

Code:
cho7@moode:~ $ cat /etc/alsa/conf.d/_sndaloop.conf
#
# This file provides a default Loopback device by overriding the _audioout device defined in /etc/alsa/conf.d/
#
# The trailing underscores are removed/added by job "alsa_loopback" to effectively turn the override On/Off.
# This job is submitted by snd-config.php and corresponds to the setting "ALSA loopback ON/OFF".
#
pcm.!_audioout {
 type plug
 slave.pcm {
   type multi
   slaves {
     a { channels 2 pcm "plughw:0,0" }
     b { channels 2 pcm "pippopeppy" }
   }
   bindings {
     0 { slave a channel 0 }
     1 { slave a channel 1 }
     2 { slave b channel 0 }
     3 { slave b channel 1 }
   }
 }
 ttable [
   [ 1 0 1 0 ]   # left  -> a.left,  b.left
   [ 0 1 0 1 ]   # right -> a.right, b.right
 ]
}

pcm.pippopeppy {
       type meter
       slave.pcm "hw:Loopback,0,0"
       scopes.0 peppyalsa
}

pcm_scope.peppyalsa {
       type peppyalsa
       decay_ms 400
       meter "/var/tmp/peppyfifo"
       meter_max 100
       meter_show 0
}

pcm_scope_type.peppyalsa {
       lib /usr/local/lib/libpeppyalsa.so
}


My git clone of peppy is on "Renoir Edition".
the /var/tmp/peppyfifo is well present, but when running the peppyalsa-client sample code with the path to the /var/tmp/peppyfifo, nothing happen.. (being root or user)
Code:
cho7@moode:~/peppyalsa/src $ ./peppyalsa-client /var/tmp/peppyfifo
Peppy ALSA Client. Goya Edition. 2018/09/08
Using provided pipe name /var/tmp/peppyfifo
L:
R:

I try to play audio sample with the speaker-test, or moode with no success.
I try to use a software mixer instead of the hardware mixer but without more luck...

For info my aplay output:

Code:
cho7@moode:~/peppyalsa/src $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 [IQaudIO DAC HiFi pcm512x-hifi-0]
 Subdevices: 0/1
 Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
 Subdevices: 7/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

and here I am... No more idea on my side Sad

I hope someone got a finger showing me my dumby error !

Tx by advance people !
Reply
Hi chossette,
Tomorrow I will try to replicate your configuration.
Best regards,
Francesco
Reply
Hi chossette,
I have built a system similar to yours (IQaudIO Pi-DAC+ instead of IQ Audio DAC Amp+) FROM SCRATCH and I did several tests:
1. Using "pi" as default user and following the instruction on GITHUB: everythings OK
2. Using "cho7" as default user and following the instruction on GITHUB: everythings OK
3. Modifing the /etc/alsa/conf.d/_sndaloop.conf with slave.pcm "hw:Loopback,0,0" instead of slave.pcm "hw:Loopback,0": everythings OK
4. Coping your /etc/alsa/conf.d/_sndaloop.conf with slave.pcm in my configuration: everythings OK.

I have a question: after the installation of alsa, modification of /etc/alsa/conf.d/_sndaloop.conf and reboot, when you try the "peppyalsa-client" and play the music: YOU LISTEN THE MUSIC?
Best regards,
Francesco
Reply


Forum Jump: