SynthMaker

Fractional Delay Karplus

Archive · 2005 11 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

sambean ·

Hi Peeps!

Just been working on a fractional delay module using first order interpolation (from JOS' website), though some of you may find it useful..

Here's an example of it inside the karplus-strong example (making it in-tune)

http://freespace.virgin.net/cc.lai/Frac ... rplus6.osm

may be useful for chorus, pitchshifter, physical modelling etc..

Have fun

sam

edit [module input name changed freq -> delay] edit [frac = 0 error fixed]

Shifrin ·

Cheers Sam 🙂

Shif.

rl ·

neat stuff Sam.

.. there seems to be a little bug:

... f = rndint(freq); frac = freq - f; frac = 0; ...

so frac is always 0.

sambean ·

🙂

just keeping you on your toes...

Anyway, fixed now

Cheers rl!

sambean ·

Hi again,

Just realised some of the maths I used for this is wrong! So it's not doing what it says...

It's on the right tracks I think, but I'm not calculating the coef properly in the allpass section

I also have some doubts about rndint(x), does it round down, or to the nearest?

I'll leave the link if anyone feels the desire to muck about (it's based on the fractional delays from jos' website)

I'll update any progress,

sorry peeps,

Sam

Shifrin ·

sambean wrote: I also have some doubts about rndint(x), does it round down, or to the nearest?

It truncates, i.e. rounds down to the nearest integer (afaik!) - so if you want it to round to nearest integer add 0.5 to the integer you're rounding (which I assume you know anways!) 🙂

Shif.

sambean ·

Ta Shif,

Hehe, didn't think of the easy way!

Was using comparisons and subractions..

Gonna see if I can get it working to-nite, also working on a delay line pitchshifter..

keep y'all posted

sambean ·

Got it working now..

It's only working on linear interpolation at the mo, so some fractional notes sound a little bit muted, this should hopefully be sorted soon

Just to highlight the effect, I've added a tremolo control which modulates the delay length slightly

http://freespace.virgin.net/cc.lai/Frac ... rplus6.osm

sam

sambean ·

only me!

Changed the delay again,...

Fixed the glitchyness, it now sounds smooth and can handle pretty heavy modulation

http://freespace.virgin.net/cc.lai/Frac ... rplus6.osm

going to have a shot at that SSE chrous now..

g'nite

sambean ·

Well here's the first stages of an SSE chorus..

the delay modulation has'nt been calibrated, I've not read up on it yet, but you get the idea, a 4 voice chorus, 2 voices left + right using SSE poly delay..

easily expandable into more voices, different modulation, etc, etc..

http://rapidshare.de/files/3219203/Chorus.osm.html

hope it's useful

Sam

Shifrin ·

Tried to d/l the updates you posted but having some trouble, will try again tomorrow 😉

Cheers,

Shif.

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.