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

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

I need delay with high precision interpolation

DSP related issues, mathematics, processing and techniques

I need delay with high precision interpolation

Postby KG_is_back » Thu Feb 27, 2014 6:11 pm

I am working on a digital waveguide modeling of a string. the algorithm compares given string plucked recording by comparing the signal with a one period delayed version to extract feedback filter. It turned out to be very sensitive to precision of delay - rounding delay to integer samples works badly so I used linear interpolation. However, that turned out to be even worse, because linear interpolation messes with high frequency contend too much.

Does anyone have better interpolators implemented or guide me where to look for some algorithms?
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: I need delay with high precision interpolation

Postby MegaHurtz » Thu Feb 27, 2014 7:30 pm

The stock delay in Synthmaker has a nice clean spline to it, else google optimal 4. Probably has it.

Edit: liniar is not that bad compared to no interpolation..
You will only lose more. Liniar has about the best high frequency response around.
The spline will have a bit better post niquist, Ie no sagging in. optimal is worse, but the best around full spectrum.
192k @ 8ms
User avatar
MegaHurtz
 
Posts: 105
Joined: Mon Aug 11, 2008 6:29 pm
Location: Eindhoven/Nederland

Re: I need delay with high precision interpolation

Postby dentistguba » Thu May 01, 2014 7:03 pm

There was a pack of interpolators with visual graphs for synthmaker which should work in flowstone too here:

http://www.synthmaker.co.uk/forum/viewt ... f=4&t=9671

they aren't actually set up as delays but it's fairly easy to connect them up to multiple outs on a basic integer delay.

the stock 'interpolated delay' uses allpass interpolation. if you only want a static delay that should work (does have a small rounding error which can build up in feedback loops it seems) so not so good for the actual synthesis part but ok.

Oversampled linear is another way to get good results i think, could look at the 'oversampling toolkit' from synthmaker:
http://synthmaker.co.uk/dokuwiki/doku.p ... ersampling.

Good luck with your waveguides, I've been working on them a lot too. will put up a demo of some stuff soon including some drums and brass.
dentistguba
 
Posts: 13
Joined: Thu Jan 10, 2013 8:39 pm

Re: I need delay with high precision interpolation

Postby KG_is_back » Thu May 01, 2014 8:06 pm

thanks for advice, I had hard time finding something useful.
In the end allpass interpolation was good enough (I've came up with a way to decrease the sensitivity to the artifacts). The project is already working very fine, you may check here http://www.dsprobotics.com/support/viewtopic.php?f=3&t=2364
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: I need delay with high precision interpolation

Postby dentistguba » Fri May 02, 2014 12:13 am

yeah the allpass is often fine, I've been making nonlinear cymbal waveguides though which are pretty unstable with all the modulation so I've started looking beyond that. modelling a whole string with all delays replaced with series allpass interpolators worked pretty well but with predictably ridiculous CPU, might as well be doing FDM by that point which uses half the modules (as both directions use the same masses and springs). I'm still reliant on it's brother the dispersive allpass for detuning effects.

It seems that the best advice for people using flowstone for audio is to search the old synthmaker forum also, not necessarily that obvious from this site though.
dentistguba
 
Posts: 13
Joined: Thu Jan 10, 2013 8:39 pm


Return to DSP

Who is online

Users browsing this forum: No registered users and 52 guests