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

SuperPlayer... The ugly hacked squeezelite samplerate auto switching machine
SuperPlayer... The ugly hacked squeezelite samplerate auto switching machine
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 11th October 2020, 02:51 PM   #1
lykkedk is offline lykkedk  Denmark
diyAudio Member
 
lykkedk's Avatar
 
Join Date: Dec 2002
Location: Denmark, Fredericia
Default SuperPlayer... The ugly hacked squeezelite samplerate auto switching machine

Hey all!

As i feel guilty filling Henrik's amazing CamillaDSP thread with my stuff i am opening this thread to use for this SuperPlayer i hacked and created "howto's" for.
When i did this hack, and decided to make auto sample rate switching possible for my squeezelite/camilladsp combo, i didn't throught it would be as of any interest... But i was wrong, there seem to be a lot of people out there using it, part of it or whatever, cool... I'am really glad to contribute.

Lykkedk (Jesper Lykke) * GitHub

I have three repositories, the original SuperPlayer and a SuperPlayer v2 for upgrading the SuperPlayer to newer versions of CamillaDSP.
Along with that i have a fork of squeezelite, with the hack i did in the [Master] branch

I AM NOT at all any guru into programming or Linux, but been using it on and off for many years i know my way around it a bit through
  • Also i am not allway's fast at reply's... so hoping everyone contribute here.

I hope this thread will be usefull, welcome!

Jesper.
__________________
DCG3 Dual DCSTB, AK4490 Dual SuperDAC
AlephJ Mimi! http://www.diyaudio.com/forums/pass-...mimi-mini.html. Github https://github.com/Lykkedk/SuperPlayer

Last edited by lykkedk; 13th October 2020 at 05:16 PM. Reason: Development
  Reply With Quote
Old 11th October 2020, 04:52 PM   #2
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
Great Jesper..!


/Pierre
  Reply With Quote
Old 11th October 2020, 05:00 PM   #3
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
And to fill in with some real content from the discussion at Henrik's CamillaDSP-thread:


I suspect that the -v option for "Visualiser support" in squeezelite, has to do with providing data for the VU-meter in the Jivelite GUI. I vill try to check that.
  Reply With Quote
Old 11th October 2020, 05:15 PM   #4
lykkedk is offline lykkedk  Denmark
diyAudio Member
 
lykkedk's Avatar
 
Join Date: Dec 2002
Location: Denmark, Fredericia
Thanks Pierre.



Jesper.
__________________
DCG3 Dual DCSTB, AK4490 Dual SuperDAC
AlephJ Mimi! http://www.diyaudio.com/forums/pass-...mimi-mini.html. Github https://github.com/Lykkedk/SuperPlayer
  Reply With Quote
Old 11th October 2020, 10:11 PM   #5
wineds is offline wineds  Australia
diyAudio Member
 
Join Date: Apr 2006
Location: Melbourne
Quote:
Originally Posted by pi r View Post
And to fill in with some real content from the discussion at Henrik's CamillaDSP-thread:


I suspect that the -v option for "Visualiser support" in squeezelite, has to do with providing data for the VU-meter in the Jivelite GUI. I vill try to check that.
Here is a version built with what you need. Just tested on DietPi but should also work on PCP. All I did was add -DVISEXPORT to the first line of the rpi makefile and built it.

Jesper, I hope you don't mind but I think you should note the source location in case someone wants to try and build it. Its working now with the latest Squeezelite build 1.9.7 1278.


viz : GitHub - ralph-irving/squeezelite: Lightweight headless squeezebox player for Logitech Media Server


Also attached is your Hacked_squeezelite.zip archive which contains the modified output_alsa.c and Makefile.rpi.
Attached Files
File Type: zip Hacked_squeezelite.zip (74.3 KB, 9 views)
File Type: zip squeezelite-custom.zip (67.7 KB, 6 views)

Last edited by wineds; 11th October 2020 at 10:40 PM.
  Reply With Quote
Old 11th October 2020, 10:48 PM   #6
wineds is offline wineds  Australia
diyAudio Member
 
Join Date: Apr 2006
Location: Melbourne
In case someone wants to setup their own build environment on DietPi :

```
Code:
git clone https://github.com/ralph-irving/squeezelite.git]
if git is not installed : 
sudo apt-get install git
sudo apt-get install build-essential
sudo apt-get install libssl-dev
```

Last edited by wineds; 11th October 2020 at 11:17 PM.
  Reply With Quote
Old 12th October 2020, 03:49 AM   #7
lykkedk is offline lykkedk  Denmark
diyAudio Member
 
lykkedk's Avatar
 
Join Date: Dec 2002
Location: Denmark, Fredericia
wineds;

Quote:
Jesper, I hope you don't mind but I think you should note the source location in case someone wants to try and build it. Its working now with the latest Squeezelite build 1.9.7 1278.
I will eventually "clone" the repos, as Henrik suggested some time ago, but as i wrote in Camilla thread i'am not there yet.
Or do you mean otherwise?

Good day.

Jesper.
__________________
DCG3 Dual DCSTB, AK4490 Dual SuperDAC
AlephJ Mimi! http://www.diyaudio.com/forums/pass-...mimi-mini.html. Github https://github.com/Lykkedk/SuperPlayer
  Reply With Quote
Old 12th October 2020, 06:01 AM   #8
wineds is offline wineds  Australia
diyAudio Member
 
Join Date: Apr 2006
Location: Melbourne
All good jesper!
  Reply With Quote
Old 12th October 2020, 10:09 AM   #9
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
Thanks wineds..!

I now have a Rpi setup for building, and just started to dive in to the code. Your example verified my guesses of where to put Jesper's code.

But I did cut the corner and tested your squeezelite.
Unfortunately - Nice try, but no cigar...

Your version also lacks support for the -v option, and can't be started by cPC.

Last edited by pi r; 12th October 2020 at 10:13 AM.
  Reply With Quote
Old 12th October 2020, 10:22 AM   #10
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
@wineds..!

Now I'm confused. Your version of squeezelite is identical with Jesper's. Meaning same version no: v1.9.7-1218. I had expected 1.9.7-1278..?
  Reply With Quote

Reply


SuperPlayer... The ugly hacked squeezelite samplerate auto switching machineHide 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
How to make a digital input for Sony XA7ES Superplayer? ideainnova Digital Source 5 27th October 2015 08:46 PM
DIY auto record cleaning machine JimmyNeutron Analogue Source 31 23rd April 2015 06:31 PM
Dual bank auto-switching supercapacitor power supply? sharpi31 Power Supplies 6 28th November 2013 08:10 PM
Auto switching 2 s/pdif inputs? Ryssen Digital Line Level 0 9th June 2010 05:49 AM
Auto switching. Xterrian Everything Else 0 4th January 2003 05:36 AM


New To Site? Need Help?

All times are GMT. The time now is 05:24 AM.


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