Go Back   Home > Forums > >

PC Based Computer music servers, crossovers, and equalization

CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc.
CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc.
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, 09:19 PM   #1071
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
Sample rate switching also works - kind of...
It took also 1-2 minutes to start a new track at 96k. And same blipping when playing.
  Reply With Quote
Old 12th October 2020, 10:27 PM   #1072
seashell is offline seashell
diyAudio Member
 
Join Date: Sep 2020
I don't think the pcm_hook and file are compatible at least for this use case. file doesn't create anything under the proc file system, and alsa doesn't pass the hw_params to the hw_params hook call. (Why??)

Anyway, I just updated the hook to make everyone's life easier. It does the parsing in the hook itself and passes "format rate channels" to the open command.

With commands 'echo open' and 'echo close':
Code:
aplay -D lbparams -r 48000 -f S32_LE -c 2 < /dev/random
close
Playing raw data 'stdin' : Signed 32 bit Little Endian, Rate 48000 Hz, Stereo
open S32_LE 48000 2
^CAborted by signal Interrupt...
close

Last edited by seashell; 12th October 2020 at 10:30 PM.
  Reply With Quote
Old 13th October 2020, 07:13 AM   #1073
lykkedk is offline lykkedk  Denmark
diyAudio Member
 
lykkedk's Avatar
 
Join Date: Dec 2002
Location: Denmark, Fredericia
@Henrik...

So i have as you know a working camillagui installed on my pCP/SuperPlayer_v2.0

The webinterface shows what it should without the plotting function as expected. -This if because i don't have mathplotlib, numpy etc. installed.

Well, i had this on my mind if it was possible somehow to make the SuperPlayer send the "plotting" information via lan, whatever to my laptop.
Then on my laptop i can ran the heavystuff so to see the plotting.

I'am not sure it's possible at all, but could be very cool in such situations where the stuff is running on a lowspec. hardware platform aka' raspberry pi's (especially pCP/Tinycore which resides in RAM)...

Just a crazy thought

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 13th October 2020, 08:33 AM   #1074
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
Let the browser do the graphing work with some java-script...
  Reply With Quote
Old 13th October 2020, 09:22 AM   #1075
HenrikEnquist is offline HenrikEnquist  Sweden
diyAudio Member
 
Join Date: Apr 2016
Location: Lund
Quote:
Originally Posted by lykkedk View Post
...
Well, i had this on my mind if it was possible somehow to make the SuperPlayer send the "plotting" information via lan, whatever to my laptop.
Then on my laptop i can ran the heavystuff so to see the plotting.
...
No that's not a crazy idea.



Quote:
Originally Posted by pi r View Post
Let the browser do the graphing work with some java-script...
That is of course the proper way to do it. The only reason I use numpy+matplotlib to generate images server-side is because it allows me to reuse the existing python code for evaluating the various filters. I want to get away from this at some point, but to get there I have to rewrite a lot of python code in javascript. This will take quite some time (especially since I'm not very good with js).
  Reply With Quote
Old 13th October 2020, 11:00 AM   #1076
torgeirs is offline torgeirs  Norway
diyAudio Member
 
Join Date: Aug 2011
Quote:
Originally Posted by fluid View Post
It's the other way round Resolution in Hz = Sampling Frequency / Taps (Co-efficients), I think you know that but just to be clear for anyone else

Taps / Sampling Frequency gives you filter length in seconds.

Thank you Fluid.
Lower sampling = steeper filters and narrower dips and peaks.
Just on a sidenote to advocate against my suggestion. Steeper filters and narrower dips and peaks of the filters can be bad for sound quality. So have a eye on the group delay!

Last edited by torgeirs; 13th October 2020 at 11:13 AM.
  Reply With Quote
Old 13th October 2020, 11:17 AM   #1077
torgeirs is offline torgeirs  Norway
diyAudio Member
 
Join Date: Aug 2011
So Henrik, group delay plot in addition to frequency response and phase response can be very useful for complex filters.
  Reply With Quote
Old 13th October 2020, 11:19 AM   #1078
TNT is offline TNT  Sweden
diyAudio Member
 
Join Date: Apr 2003
Location: Sweden
CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc.
I also have bursts of plipps and plopps... their duration is typically during say 2-15 seconds and these bursts re-occur anything between 2-3 minutes to 15 minutes.

My setup...


Camilla in a Mac Mini (1 TB SSD, one logical core out of 8 show 20% load) feeding a RME Digiface USB... over USB

Did Save from GUI:

devices:
adjust_period: 10
capture:
channels: 2
device: Soundflower (2ch)
format: FLOAT32LE
type: CoreAudio
capture_samplerate: 0
chunksize: 32768
enable_rate_adjust: true
enable_resampling: false
playback:
channels: 2
device: Digiface USB (24007543)
format: FLOAT32LE
type: CoreAudio
queuelimit: 100
resampler_type: BalancedAsync
samplerate: 44100
silence_threshold: 0
silence_timeout: 0
target_level: 16384
filters:
-6dB:
parameters:
gain: -6
inverted: false
type: Gain
lowpass_fir:
parameters:
filename: /Users/audio1/Documents/Ca+Di/Camilla/FIRs/eggPhase.txt
format: TEXT
read_bytes_lines: 0
skip_bytes_lines: 0
type: File
type: Conv
mixers: {}
pipeline:
- channel: 0
names:
- lowpass_fir
- -6dB
type: Filter
- channel: 1
names:
- lowpass_fir
- -6dB
type: Filter



//
__________________
More distortion to the people! Timing . . . . is paramount.
  Reply With Quote
Old 13th October 2020, 11:33 AM   #1079
HenrikEnquist is offline HenrikEnquist  Sweden
diyAudio Member
 
Join Date: Apr 2016
Location: Lund
Quote:
Originally Posted by torgeirs View Post
So Henrik, group delay plot in addition to frequency response and phase response can be very useful for complex filters.
Ok, I'll add that to my list.


Quote:
Originally Posted by TNT View Post
I also have bursts of plipps and plopps... their duration is typically during say 2-15 seconds and these bursts re-occur anything between 2-3 minutes to 15 minutes.
The problem is most likely here:
Code:
enable_resampling: false
Try enabling resampling, and the problems should hopefully go away.
There is no way to adjust the rate of the SoundFlower device, so we have to use asynchronous resampling to match capture and playback rates.
  Reply With Quote
Old 13th October 2020, 11:36 AM   #1080
TNT is offline TNT  Sweden
diyAudio Member
 
Join Date: Apr 2003
Location: Sweden
CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc.
But everything is on 44,1 ...

But please, suggest a setting.. how can one do 44,1 -> ~44,1? :-)

//
__________________
More distortion to the people! Timing . . . . is paramount.
  Reply With Quote

Reply


CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc.Hide 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
The room correction or speaker correction? What can we do with dsp power now availabl Raimonds Full Range 233 28th January 2017 07:51 AM
Introducing OpenDRC, Open Digital Room Correction engine minidsp miniDSP 20 20th January 2016 05:37 PM
What the difference between dsp room correction eq and software correction erez1012 PC Based 0 10th March 2014 07:07 PM
Writing a Cross-Platform, Free Software Modeling Tool and TS-Parameter DB justinzane Software Tools 6 31st December 2013 06:55 AM
FS: DAC, room-correction, active crossovers, amp, speakers! taloyd Swap Meet 4 14th April 2009 03:16 PM


New To Site? Need Help?

All times are GMT. The time now is 04:36 AM.


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