Go Back   Home > Forums > >

PC Based Computer music servers, crossovers, and equalization

SuperPlayer - The DSP_Engine (CamillaDSP) samplerate switching & ESP32 remote control
SuperPlayer - The DSP_Engine (CamillaDSP) samplerate switching & ESP32 remote control
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
Old 12th October 2020, 11:43 AM   #11
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
And I can confirm that the VU-meters don't work with these sueezelite-customs.
  Reply With Quote
Old 12th October 2020, 11:54 AM   #12
lykkedk is offline lykkedk  Denmark
diyAudio Member
 
lykkedk's Avatar
 
Join Date: Dec 2002
Location: Denmark, Fredericia
Quote:
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.
I think the code should start at line ~352

I actually created a new buildmachine yesterday, but did not try it.
Eventually i can try when i get back home from work.

I think i can build it with thoose build options without the ones in RED:
LINUX ALSA EVENTFD RESAMPLE FFMPEG OPUS VISEXPORT IR GPIO RPI DSD SSL NO_SSLSYM

Should i give it a try guy's ???

EDIT --> See also this post : CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc.

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; 12th October 2020 at 12:01 PM.
  Reply With Quote
Old 12th October 2020, 12:06 PM   #13
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
I'll do that - as an exercise...
  Reply With Quote
Old 12th October 2020, 12:27 PM   #14
wineds is offline wineds  Australia
diyAudio Member
 
Join Date: Apr 2006
Location: Melbourne
Quote:
Originally Posted by pi r View Post
@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..?
Yeah sorry initially I uploaded 1218 then I thought I changed it to 1278 bit maybe something went wrong. Probably you will build what you need before i can correct that 😋
  Reply With Quote
Old 12th October 2020, 01:17 PM   #15
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
Maybe eventually...

Meanwhile I get errors...
I followed this instruction to install build environment:
Build Squeezelite
I just cloned git, and tried to build with unmodified Makefile.rpi.
This came out:

Code:
cc -Wall -fPIC -O2 -fcommon  -DOPUS -DALAC -DRESAMPLE -DVISEXPORT -DDSD -DIR -DGPIO -DRPI -DUSE_SSL -DLINKALL -I./include -I./include/opus -I./include/alac -I/usr/local/include -s -march=armv6 -mfloat-abi=hard -mfpu=vfp stream.c -c -o stream.o
stream.c:31:10: fatal error: openssl/ssl.h: Filen eller katalogen finns inte
 #include "openssl/ssl.h"
         ^~~~~~~~~~~~~~~
compilation terminated.
Removing -DUSE_SSL:
Code:
g++  -Wall -fPIC -O2 -fcommon  -DOPUS -DALAC -DRESAMPLE -DVISEXPORT -DDSD -DIR -DGPIO -DRPI -DLINKALL -I./include -I./include/opus -I./include/alac -I/usr/local/include -s -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wno-multichar alac_wrapper.cpp -c -o alac_wrapper.o
alac_wrapper.cpp:23:10: fatal error: ALACDecoder.h: Filen eller katalogen finns inte
 #include "ALACDecoder.h"
          ^~~~~~~~~~~~~~~
compilation terminated.
And removing -DALAC:
Code:
pus -I./include/alac -I/usr/local/include -s -march=armv6 -mfloat-abi=hard -mfpu=vfp opus.c -c -o opus.o
opus.c:44:10: fatal error: opusfile.h: Filen eller katalogen finns inte
 #include <opusfile.h>
          ^~~~~~~~~~~~
compilation terminated.
And removing -DOPUS:
Code:
cc main.o slimproto.o buffer.o stream.o utils.o output.o output_alsa.o output_pa.o output_stdout.o output_pack.o output_pulse.o decode.o flac.o pcm.o mad.o vorbis.o mpg.o dsd.o dop.o dsd2pcm/dsd2pcm.o process.o resample.o output_vis.o ir.o gpio.o minimal_gpio.o faad.o -L./lib -L/usr/local/lib -s -lgomp -lpthread -lm -lrt -lmad -lmpg123 -lFLAC -lvorbisfile -lvorbis -logg -lsoxr -llirc_client -lfaad -lasound -o squeezelite
/usr/bin/ld: resample.o: undefined reference to symbol 'dlopen@@GLIBC_2.4'
/usr/bin/ld: //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO saknas från kommandoraden
collect2: error: ld returned 1 exit status
make: *** [Makefile:153: squeezelite] Fel 1
and so on...
Not supposed to work out of the box..?
  Reply With Quote
Old 12th October 2020, 02:11 PM   #16
lykkedk is offline lykkedk  Denmark
diyAudio Member
 
lykkedk's Avatar
 
Join Date: Dec 2002
Location: Denmark, Fredericia
I just build a version, with thoose build options:
Quote:
LINUX ALSA EVENTFD RESAMPLE VISEXPORT IR GPIO RPI DSD SSL NO_SSLSYM
And it's the newest one:
Quote:
Squeezelite v1.9.7-1278
The makefile is like this:
Quote:
OPTS = -DRESAMPLE -DVISEXPORT -DDSD -DIR -DGPIO -DRPI -DUSE_SSL -DNO_SSLSYM -I./include -I./include/opus -I./include/alac -I/usr/local/include -s -march=armv6 -mfloat-abi=hard -mfpu=vfp

LDFLAGS=-L./lib -L/usr/local/lib -s -lgomp

include Makefile
Also i forke'd the original squeezelite repos.
GitHub - Lykkedk/squeezelite: Lightweight headless squeezebox player for Logitech Media Server

The changes i did in the code & Makefile.rpi are in the [master] branch.

Only catch.... I did not test the binary squeezelite yet

Jesper.
Attached Files
File Type: zip squeezelite.zip (68.9 KB, 1 views)
__________________
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, 03:08 PM   #17
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
I did...

-v option is available.
And now it starts form pCP..!

Well done Jesper..!

Even the VU-meters work (if someone wants them?)
  Reply With Quote
Old 12th October 2020, 03:29 PM   #18
TNT is offline TNT  Sweden
diyAudio Member
 
Join Date: Apr 2003
Location: Sweden
SuperPlayer - The DSP_Engine (CamillaDSP) samplerate switching &amp; ESP32 remote control
I will try this once I have sorted out my basic configuration ;-)

Thanks for sharing!

//
__________________
More distortion to the people! Timing . . . . is paramount.
  Reply With Quote
Old 12th October 2020, 03:30 PM   #19
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
Jesper, I forgot to praise you for your achievement on GitHub.


Very well done..!


To prevent confusion, maybe the name "squeezelite" should be changed (if possible afterwards). Perhaps to "squeezelite-custom" or "pCP-squeezelite-custom" or something?
  Reply With Quote
Old 12th October 2020, 03:36 PM   #20
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
And as expected my build-attempts fails with your makekfile as well.


How have you configured your Rpi to make building work?
  Reply With Quote

Reply


SuperPlayer - The DSP_Engine (CamillaDSP) samplerate switching &amp; ESP32 remote controlHide this!Advertise here!
Thread Tools

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
CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc. HenrikEnquist PC Based 1492 Yesterday 09:57 PM
WM8741 Samplerate Issue Lars Nielsen Digital Line Level 21 6th June 2019 07:26 AM
ESP32 i2s Audio Widget with LAN sgpu Digital Line Level 2 10th June 2018 05:23 PM
How to make a digital input for Sony XA7ES Superplayer? ideainnova Digital Source 5 27th October 2015 09:46 PM
different samplerate question goobicii Digital Line Level 6 14th June 2015 07:28 PM


New To Site? Need Help?

All times are GMT. The time now is 06:00 PM.


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