project-owner / peppyalsa.doc

GNU General Public License v3.0
13 stars 6 forks source link

Plugin setup peppyalsa #3

Closed AlexPtushkin closed 1 year ago

AlexPtushkin commented 1 year ago

My /home/pi/.asoundrc consists of:

pcm.!default { type plug slave.pcm plugequal; } ctl.!default { type hw card 0 } ctl.equal { type equal; }

pcm.plugequal { type equal; slave.pcm bt } pcm.equal { type plug; slave.pcm plugequal; } pcm.bt { type plug slave.pcm { type bluealsa device "41:42:C4:33:46:32" profile "a2dp" delay -20000 } }

How to add configuration to it VU Meter and Spectrum Analyzer?

AlexPtushkin commented 1 year ago

Will this be right?

pcm.!default { type plug slave.pcm plugequal; } ctl.!default { type hw card 0 } ctl.equal { type equal; }

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

pcm.plugequal { type equal; slave.pcm bt type softvol slave.pcm "peppyalsa" control { name "PCM" card 0 } } pcm.equal { type plug; slave.pcm plugequal; } pcm.bt { type plug slave.pcm { type bluealsa device "41:42:C4:33:46:32" profile "a2dp" delay -20000 } }

pcm_scope.peppyalsa { type peppyalsa decay_ms 400 meter "/home/pi/myfifo" meter_max 100 meter_show 0 spectrum "/home/pi/myfifosa" spectrum_max 100 spectrum_size 30 }

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

pcm.dsp0 peppyalsa

project-owner commented 1 year ago

I don't have the answer right now. If you will find the solution please let me know. https://www.diyaudio.com/community/threads/peppy-player.288412/post-7404831

AlexPtushkin commented 1 year ago

Hello! Figured it out, everything worked! Registered on the site. Thank you! Have a good day.

project-owner commented 1 year ago

Hi, what is the configuration which worked?

AlexPtushkin commented 1 year ago

Hi! You have such a good project, but I’m slowly figuring it out. Everything worked: meter and spectrum.

asoundrc.txt

Have a good day.