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 3rd November 2020, 07:41 PM   #1291
HenrikEnquist is offline HenrikEnquist  Sweden
diyAudio Member
 
Join Date: Apr 2016
Location: Lund
Quote:
Originally Posted by torgeirs View Post
Managed to compile 0.4.0 and pycamilladsp-plot on windows. Works great!
Still wish for:
Code:
   
   def groupdelay(self,f):
        _f, Avec = self.complex_gain(f)
        groupdelay = [cmath.groupdelay(A) for A in Avec]
        return f, groupdelay
What is Group Delay
Thanks for the feedback!

Since I don't use numpy any more it takes a little more work to make the group delay plots. The calculation is simple, but the phase must first be unwrapped. There is a clever routine in numpy for this but now I must make my own. The next release of the gui will just be for bugfixes. After that I will take a look at this.
  Reply With Quote
Old 3rd November 2020, 07:47 PM   #1292
HenrikEnquist is offline HenrikEnquist  Sweden
diyAudio Member
 
Join Date: Apr 2016
Location: Lund
New beta!
All versions from 0.2.2 to 0.4.0beta5 are affected by a bug in the synchronous resampler that generates high frequency noise at half the sampling frequency. (The asynchronous resampler isn't affected, it has been ok the whole time).

If you use the synchronous resampler, update right away!
Get it from here: Release v0.4.0 beta 6 * HEnquist/camilladsp * GitHub
  Reply With Quote
Old 3rd November 2020, 09:21 PM   #1293
pi r is offline pi r  Sweden
diyAudio Member
 
Join Date: Jul 2014
Beta-6 installed and quick-tested on my pCP Rpi - OK..!

I actually used synchronous up-sampling from 24k to 48k for low res radio stream. If the noise was half input sample rate, it would be at 12kHz..?
Lucky me I don't hear anything over 10k anyway...


Edit:
oups... chaned beta no.

Last edited by pi r; 3rd November 2020 at 09:24 PM.
  Reply With Quote
Old 4th November 2020, 12:53 AM   #1294
eris is offline eris  United States
diyAudio Member
 
Join Date: Jan 2007
Location: rocky mountains
Send a message via AIM to eris
Does Camilla use NEON instructions when compiled on ARM / Pi platforms?
__________________
----
Don't believe everything you think!
  Reply With Quote
Old 4th November 2020, 06:28 AM   #1295
HenrikEnquist is offline HenrikEnquist  Sweden
diyAudio Member
 
Join Date: Apr 2016
Location: Lund
Quote:
Originally Posted by pi r View Post
I actually used synchronous up-sampling from 24k to 48k for low res radio stream. If the noise was half input sample rate, it would be at 12kHz..?
The noise was at half the target samplerate so the interpolation filter of most dacs would get rid of most of it. Probably why it went undetected for so long


Quote:
Originally Posted by eris View Post
Does Camilla use NEON instructions when compiled on ARM / Pi platforms?
Yes, if you ask for it (see the readme) the compiler uses NEON via auto-vectorization. There aren't so many loops where it manages to do that so in practice it doesn't give very much improvement. Depending on what filters etc you use you will get a speedup of 0 to 10%.
  Reply With Quote
Old 4th November 2020, 03:37 PM   #1296
Simofil is offline Simofil  Italy
diyAudio Member
 
Join Date: Feb 2017
Location: Italy
Error while compiling from the develop branch

Click the image to open in full size.
  Reply With Quote
Old 4th November 2020, 04:43 PM   #1297
HenrikEnquist is offline HenrikEnquist  Sweden
diyAudio Member
 
Join Date: Apr 2016
Location: Lund
Looks like you are using an old version of rustc. Can you update to 1.43 or newer?
  Reply With Quote
Old 4th November 2020, 06:05 PM   #1298
Simofil is offline Simofil  Italy
diyAudio Member
 
Join Date: Feb 2017
Location: Italy
The latest on debian repository is 1.41.1. only by switching to sid(unstable) there is the newest version. About the "uint" error following the compiler suggestion (adding std: will fix the error. About the matches macro, is there a way to substitute it with a function that doesn't brake compatibility with "older" rustc versions?
  Reply With Quote
Old 4th November 2020, 06:28 PM   #1299
HenrikEnquist is offline HenrikEnquist  Sweden
diyAudio Member
 
Join Date: Apr 2016
Location: Lund
Quote:
Originally Posted by Simofil View Post
The latest on debian repository is 1.41.1. only by switching to sid(unstable) there is the newest version. About the "uint" error following the compiler suggestion (adding std: will fix the error. About the matches macro, is there a way to substitute it with a function that doesn't brake compatibility with "older" rustc versions?
Rust is moving fast and the versions provided by the various linux distributions are usually "old". The recommended way to install it is by using rustup: rustup.rs - The Rust toolchain installer


If you want to use the older compiler, then change to the deprecated "std::usize" and replace the matches! macro with the version before this commit: Clippy warnings * HEnquist/camilladsp@356ee73 * GitHub
  Reply With Quote
Old 4th November 2020, 07:10 PM   #1300
Simofil is offline Simofil  Italy
diyAudio Member
 
Join Date: Feb 2017
Location: Italy
Thanks again, I'm just not used to such fast released languages. I've made an LXC container using debian testing repository (now at rustc 1.46) and camilladsp got compiled without any problem. Thanks again
  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:33 AM.


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