SuperPlayer - The DSP_Engine (CamillaDSP) samplerate switching & ESP32 remote control

Sorry I don't speak English, I use the Deepl translator.

I installed it without any difficulty unlike Superplayer which I didn't manage to make it work with my filters. On the other hand, there is an error in the template file, there is a / after $samplerate$ missing in the path pointing to the bin files. Thanks a lot, the sound is very good.
 
Sorry I don't speak English, I use the Deepl translator.

I installed it without any difficulty unlike Superplayer which I didn't manage to make it work with my filters. On the other hand, there is an error in the template file, there is a / after $samplerate$ missing in the path pointing to the bin files. Thanks a lot, the sound is very good.

Hi again...

I tried unsquash-ing the compressed file which paste the template in the camilladsp directory, i do not get any mistaken / ? -Maybee you named the filters uncorrectly?

My filters are named like this ::
Code:
filters:
  # l_prefir:
  #   type: Conv
  #   parameters:
  #     type: File
  #     filename: /home/tc/camilladsp/filters/44100/[COLOR="Red"]44100l_prefir.bin[/COLOR]
  #     format: FLOAT32LE
  #
  # r_prefir:
  #   type: Conv
  #   parameters:
  #     type: File
  #     filename: /home/tc/camilladsp/filters/44100/[COLOR="red"]44100r_prefir.bin[/COLOR]
  #     format: FLOAT32LE

This is the uncompressed template as it look's default when seashell_alsa.tcz is ran. ::
Code:
devices:
  samplerate: $samplerate$
  chunksize: 4096
  queuelimit: 1
  capture:
    type: File
    channels: $channels$
    filename: "/dev/stdin"
    format: $format$
  playback:
    type: Alsa
    channels: $channels$
    device: "sound_out"
    format: S32LE

filters:
#  l_prefir:
#    type: Conv
#    parameters:
#      type: File
#      filename: /home/tc/camilladsp/filters/$samplerate$l_prefir.bin
#      format: FLOAT32LE

#  r_prefir:
#    type: Conv
#    parameters:
#      type: File
#      filename: /home/tc/camilladsp/filters/$samplerate$r_prefir.bin
#      format: FLOAT32LE

#  l_fir:
#    type: Conv
#    parameters:
#      type: File
#      filename: /home/tc/camilladsp/filters/$samplerate$l_fir.bin
#      format: FLOAT32LE

#  r_fir:
#    type: Conv
#    parameters:
#      type: File
#      filename: /home/tc/camilladsp/filters/$samplerate$r_fir.bin
#      format: FLOAT32LE

  clipgain_l:
    type: Gain
    parameters:
      gain: -10.0
      inverted: false

  clipgain_r:
    type: Gain
    parameters:
      gain: -10.0
      inverted: false

pipeline:
#- type: Filter
#  channel: 0
#  names:
#    - l_prefir
#- type: Filter
#  channel: 1
#  names:
#    - r_prefir

#- type: Filter
#  channel: 0
#  names:
#    - l_fir
#- type: Filter
#  channel: 1
#  names:
#    - r_fir

- type: Filter
  channel: 0
  names:
    - clipgain_l
- type: Filter
  channel: 1
  names:
    - clipgain_r

Hope this help's you ? -- Good luck :)

Jesper.
 
Dear All,


I should create a Biquads filter. Something like:


filters:
Filter_1:
type: Biquad
parameters:
type:peaking
freq: 2380.0
gain: 7.2
q: 1.005
Filter_2:
type: Biquad
parameters:
type: Peaking
freq: 1822.0
gain: -3.7
q: 1.000
Filter_3:
type: Biquad
parameters:
type: Peaking
freq: 5778.0
gain: -5.0
q: 1.000
Some_gain:
type: Gain
parameters:
gain: -6.3
inverted: false



I could edit the template file, but I did not get how to active the filter.


Could someone help with this?


Thank you!
 
Thank you

Cool :)

So you made it work then ?
I will look for the / path thing.

Jesper.

Yes, it works perfectly well.

For the path of the convolution files, I thought you put them in the folders 44100, 48000... I'm sorry.
I did so:
filename: /home/tc/camilladsp/filters/$samplerate$/$samplerate$L_prefir.dbl
Which gives filename: /home/tc/camilladsp/filters/44100/44100L_prefir.dbl.

Thank you very much for allowing me to use camilladsp in an easy way. My skills under linux are very limited.
 
Hi guy's here! :p

I have started a winter project just for fun.
It's a Bluetooth Low Energy (BLE) remote controller for the SuperPlayer, or any other piCorePlayer setup's :eek:

The project is in early alpha, and i just started to get things working now.

The remotecontroller is a ESP32 devkit, the player is piCorePlayer 6.1 running on my testrig...

(Nevermind my black nail, it's while i was doing some armateur capenters work)

29. november 2020 - YouTube

Jesper.
 
That is another great project!!!


Unfortunately I am still stuck with the room correction in the super player. I have installed the Super Player, I have found the room correction with REW but I cannot understand how to make it works.


Please, could someone give me some instruction to make some baby steps forward?


Cheers!!


Francesco.
 
Hi...

Is it possible that you post the following here:

login to the piCorePlayer with ssh tc@xx.xx.xx.xx passwd piCore <-- You proberly know

Then paste output's of the the following here:

A.
Code:
ls -all /home/tc/camilladsp
B.
Code:
cat /home/tc/camilladsp/template/config_template.yml
C.
Code:
cat /etc/asound.conf
D.
Code:
ps aux | grep squeezelite

Let's do this for a start.
Let's see if we can make it work then...

Jesper.
 
Yes... !

How can we do that TNT?
As long it's possible, i can make the python "bluepy" code do it i guess.

Jesper
If you wait a little, then CamillaDSP will get a volume control that should work nicely for this. It will soon be done (I have it working but I want to test it a little more). It's a "Volume" filter you add somewhere in the pipeline for each channel (at the end, followed by a Dither filter for example), and then a SetVolume command over the websocket changes the volume for all channels. It changes the volume smoothly and you can set how long time the change should take.
 
@Henrik

It's sounds :) good.

I look forward to it.
Meanwhile i do a lot of code cleanup.
It's now very responsive but i still have a long way to go.

But... I think the code is the easy part (well i used ++++++++++++hour's getting here), the tricky part is to have it batterypowered + charging solution and the hardest part i guess is the box+ turning knob :p

If anyone know about those things (battery+charger + box with turning knob) ... please write here!

Jesper.

Jesper.
 
Hi...

Is it possible that you post the following here:

login to the piCorePlayer with ssh tc@xx.xx.xx.xx passwd piCore <-- You proberly know

Then paste output's of the the following here:

A.
Code:
ls -all /home/tc/camilladsp
B.
Code:
cat /home/tc/camilladsp/template/config_template.yml
C.
Code:
cat /etc/asound.conf
D.
Code:
ps aux | grep squeezelite
Let's do this for a start.
Let's see if we can make it work then...

Jesper.


Hi Jesper,


Many for finding the time to answer and help me.


The SP is working, at least I can listen at my music :). Please find the output required below. As you can see everything is as for default.



I would like to apply the filter/room correction found by REW.


Last time HenrikEnquist helped me to understand how to edit the simple rate file in the Super Player 2.0. With the new CamillaDSP release things are slightly changed and I cannot understand how to carry on to build my filter. The main issue is that before there was a filter file for each simplpe rate, now I cannot find any more these files. Attached you can find the filter found by REW. I have applied the filter in Equalizer APO and it is working fine. As said, I would like to apply the filter in the Super Player.


Thank you again!!
Francesco
 

TNT

Member
Joined 2003
Paid Member
Re the Volume function... there is a safety aspect with it in the way of not pushing play att max gain... so it would be very good with a feedback possibility for transmitting the gain setting back to the controller - i.e. the ideal volume box on the table has a reading of set gain/att. And perhaps a mute/crisis button.

//
 
Hi Jesper,


Many for finding the time to answer and help me.


The SP is working, at least I can listen at my music :). Please find the output required below. As you can see everything is as for default.



I would like to apply the filter/room correction found by REW.


Last time HenrikEnquist helped me to understand how to edit the simple rate file in the Super Player 2.0. With the new CamillaDSP release things are slightly changed and I cannot understand how to carry on to build my filter. The main issue is that before there was a filter file for each simplpe rate, now I cannot find any more these files. Attached you can find the filter found by REW. I have applied the filter in Equalizer APO and it is working fine. As said, I would like to apply the filter in the Super Player.


Thank you again!!
Francesco

Hey... Try to look at post #163.

The main issue is that before there was a filter file for each simplpe rate
It's because $samplerate$ is the part of the filename.

Example ::
The /home/tc/camilladsp/filters/$samplerate$l_prefir.bin will be like this in your'e path.
/home/tc/camilladsp/filters/44100l_prefir.bin, because $samplerate$ is set by the plugin (in this example 44100).

Btw: I see no attachment's in your'e post?
Attached you can find the filter found by REW.

Jesper.
 
Battery charger:
Ideally you'd want one that cuts the load when the battery is discharged, to save battery life. But those are... rare. So:

Or - get this ESP32 whit a built-in charger:

Rotary encoder and knob:

A stylish box:

OK - maybe the box was a joke... :D

(I have no idea why m.nu seems to discriminate Danes in their shop. Perhaps some old story about "Danskjävlar"... :tongue: )


/ πr