Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

Downsampling for saving CPU

DSP related issues, mathematics, processing and techniques

Re: Downsampling for saving CPU

Postby Iainmf » Fri Jul 07, 2017 10:55 am

Actually, now that I think about it, it might be possible depending on the layout of your compressor. :D You could do calculate gain reduction every 'x' samples, as long as you are calculating before the envelope follower and your envelope follower is running at the sample rate. The envelope follower will smooth out the steps. Although the attack and release times will have to be long enough to smooth the steps.
Iainmf
 
Posts: 10
Joined: Fri May 01, 2015 7:17 am

Re: Downsampling for saving CPU

Postby Iainmf » Mon Jul 10, 2017 5:31 am

Here is a band-limited hard limiter with the gain reduction calculated every 16 samples.
Attachments
undersample gain reduction 01.fsm
(63.5 KiB) Downloaded 65 times
Iainmf
 
Posts: 10
Joined: Fri May 01, 2015 7:17 am

Re: Downsampling for saving CPU

Postby MichaelBenjamin » Fri Oct 06, 2017 3:36 pm

The hop(x) is equivalent to downsampling to a new rate of audio_rate/x
The only thing that needs adjustment, is that all code parts depending on sample_rate need to be fed the hopped samplerate, not the audio_rate.
MichaelBenjamin
 
Posts: 14
Joined: Tue Jul 13, 2010 1:32 pm

Previous

Return to DSP

Who is online

Users browsing this forum: No registered users and 1 guest

cron