Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

Peppy player
Peppy player
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 21st September 2019, 07:37 PM   #51
johnyradio is offline johnyradio  United States
diyAudio Member
 
Join Date: Sep 2011
Quote:
Originally Posted by rpi View Post
- Implemented Equalizer UI.
Equalizer UI * project-owner/Peppy.doc Wiki * GitHub
Equalizer functionality was based on ALSA Equalizer
plugin. UI has five pre-defined frequency profiles for such music genres as Classical,
Jazz, Pop, Rock, Contemporary. Here is the screenshot showing Equalizer UI:

Click the image to open in full size.
Can equalizer be installed on Linux as a standalone app, without any of the other software, and without the hardware?

thx
  Reply With Quote
Old 21st September 2019, 09:07 PM   #52
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
Peppy player is using Alsaequal ALSA plugin. I believe it can be installed on any Linux distribution. I used the following command to install it on Raspbian OS using apt-get package manager:
Code:
sudo apt-get install -y libasound2-plugin-equal
You can use a package manager specific for your Linux distribution.

Then you need to add Equalizer plugin to your ALSA audio chain in file .asoundrc located in your user folder. Here is the example of that file:
Peppy.doc/.asoundrc-equal at master * project-owner/Peppy.doc * GitHub

The type of plugin is 'equal'.

When all that done you can set different bands from command line. The following page describes the whole process:
Adding equalization using alsaeq | HiFiBerry

And here is the player code snippet for setting equalizer band values:
Peppy/util.py at 5ed7747c5864bf7516f713cd50fdc3ff1a3f0f73 * project-owner/Peppy * GitHub
  Reply With Quote
Old 21st September 2019, 09:19 PM   #53
johnyradio is offline johnyradio  United States
diyAudio Member
 
Join Date: Sep 2011
Thx @rpi. I've already got alsaequal running on my arch.

But the eq is a terminal gui. I'd like to get the peppy EQ GUI. That's the only part of peppy I want, actually.

Click the image to open in full size.
  Reply With Quote
Old 21st September 2019, 09:26 PM   #54
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
It's a part of the player right now. If you have Python programming skills you can make it as a stand-alone app. I did that for VU-Meter. Originally it was also the part of the player then I created stand-alone app.
  Reply With Quote
Old 21st September 2019, 09:30 PM   #55
johnyradio is offline johnyradio  United States
diyAudio Member
 
Join Date: Sep 2011
unfortunately, i don't program python. thx tho'

There's the alsamixergui, but it doesn't seem to persist L-R locking on the EQ bands, when you re-open it. That's an inconvenience. And not as pretty as yours
  Reply With Quote
Old 26th October 2019, 06:00 PM   #56
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
I've just added two new projects to the Gallery.

Portable player by Francesco (Italy):
Gallery * project-owner/PeppyPlayers.doc Wiki * GitHub

Click the image to open in full size.

Herbert's Küchenradio (Germany):
Gallery * project-owner/PeppyPlayers.doc Wiki * GitHub

Click the image to open in full size.

Click the image to open in full size.
  Reply With Quote
Old 26th October 2019, 07:20 PM   #57
phofman is online now phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Simply amazing.

How do the voice commands work? Do you have to own the tracks, or does it fetch from google?
  Reply With Quote
Old 26th October 2019, 10:30 PM   #58
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
Thank you!


The player is using Google Assistant, which is a web service:

Click the image to open in full size.

In case of web services (Google Assistant, Amazon Alexa, Facebook Wit etc) the whole speech recognition logic is hosted on the corresponding web site. You just get recognized text and react in your software accordingly.

There are some speech recognition systems which can run locally on your machine and don't need the Internet access. I've tried one of them - PocketSphinx:
GitHub - cmusphinx/pocketsphinx: PocketSphinx is a lightweight speech recognition engine, specifically tuned for handheld and mobile devices, though it works equally well on the desktop
That was not so good experience. Its out-of-the-box functionality is almost unusable. You need to teach/train the model. But how you can deploy the software which will need that from each user? Though for your personal usage you can probably do that.
The new engine appeared recently: Snips | Voice AI Platform
But I suspect it's based on the PocketSphinx.

I'm trying to refactor the voice assistant in the player. Hopefully in the next release it will be more usable.

Last edited by rpi; 26th October 2019 at 10:33 PM.
  Reply With Quote
Old 26th October 2019, 11:22 PM   #59
phofman is online now phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
OK, but then you have to parse the received text and make sense of the commands. Sounds pretty AI to me. Do you have a fixed format, or do you use some AI tricks? In any case this direction makes your project a different league.
  Reply With Quote
Old 27th October 2019, 12:15 AM   #60
rpi is offline rpi  United States
diyAudio Member
 
Join Date: Apr 2015
Location: San Francisco
The voice assistant in the player executes simple navigation commands like 'go home', 'go back', 'play', 'pause' etc. That doesn't need too much AI It just receives the recognized text and checks if that text/command belongs to the current screen. If it does then it executes that navigation command.

The next level will be more complicated commands for example 'play pink floyd album wish you were here'. Even in this case you can just break the sentence into groups and react accordingly. More advanced approach is to create intent using web service and it will apply that logic for you and it will return something like this:
{intent: "play", artist: "pink floyd", album: "wish you were here"}. Then using this info you just lookup in your collection. Here is example:
Wit.ai
  Reply With Quote

Reply


Peppy playerHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FS: Marantz DV4600 DVD Player with RC4300DV Remote. Doubles as a great CD Player! matevana Swap Meet 0 17th July 2012 10:45 AM
Looking for a good CD player with USB flashdrive player 4pyros Digital Source 1 1st January 2011 06:42 AM
Cd Player Vs Dvd Player - The Facts pezza89 Solid State 12 23rd September 2007 08:42 PM
Converting car cd-player into an mp3 player... dionisis84 Car Audio 10 4th November 2006 10:00 PM
Stand Alone CD Player vs. DVD Combo-Player Tom D Digital Source 0 2nd January 2003 05:08 PM


New To Site? Need Help?

All times are GMT. The time now is 05:48 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Copyright ©1999-2019 diyAudio
Wiki