SynthMaker

BPM Delay math ?

Archive · 2005 15 old posts

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

Nu Audio Science ·

Lets say the host tempo was 100 BPM The sinc here would be as in 1/4 beat or 1/8 beat and so on

Host tempo x sinc x Sample rate = Delay samples needed ?

edit* Should have added, I would check this out but im having a bad problem in FX compiling at the moment.

Shifrin ·

Forum 'Search' is your friend 😉

Couple of questions (ex-SE user)

Shif.

Nu Audio Science ·

Really sorry dude should have spotted that DOH I will start using search 🙁 Wheres that repository 🙂

Nu Audio Science ·

While we have this oppened back up though is there anyway to put a feedback on this, Can you actually feedback into the delay ?

Shifrin ·

Nu Audio Science wrote: While we have this oppened back up though is there anyway to put a feedback on this, Can you actually feedback into the delay ?

Absolutely, without it I couldn't have ported Freeverb (i.e. made the allpass/comb filters). Just take an output from the Delay module, multiply it by a feedback amount. i.e. a 'Float' in the range 0.0 to 0.99. That's it!

Any problems let me know!

Shif.

Nu Audio Science ·

Cool Hopefully i can rebuild one of my SE FX If i ever get FX to compile and work in T 🙁

Nu Audio Science ·

floatin samplerate; floatin bpm; floatin rate;

floatout samples;

float s,d,bt,bs,pt; s=60; d=1; bt= bpm/s; bs= bt/d; pt= bs*rate; samples= pt*samplerate;

I'm guessing this cant be done with a code component because you would need floats ? Does the code look right though ?

infuzion ·

Nu Audio Science wrote: Really sorry dude should have spotted that DOH I will start using search 🙁 Wheres that repository 🙂

I forget to use search too 🙂 It might be a good idea to add this info in the Wiki; I'm sure others will ask the same question 🙂 [old link]

Shifrin ·

Nu Audio Science wrote: I'm guessing this cant be done with a code component because you would need floats ? Does the code look right though ?

Your line :-

bs = bt/d;

Should be :-

bs = d/bt;

If d = 1, then dividing through by i t won't do anything 😉 You're right you can't do this in the code component ATM, AFAIK 🙂

Shif.

Tom7777 ·

Nu Audio Science as far as i know you cannot use float inputs with the code module for DSP stuff. I think there might be some module in the future that will be able to do that type of stuff though 🙂

jorge ·

Nu Audio Science wrote: I'm guessing this cant be done with a code component because you would need floats ?

Not yet, but there's a way around it:

[old link]

Tom7777 ·

Cool thanks jorge, interesting stuff 🙂

Nu Audio Science ·

Cheers Jorge 🙂

Nu Audio Science ·

Sorry Shif just spotted your post, I'm chuffed man only one mistake, My first bit of code WOOHOO.

Just out of interest if you do try to do this using polyins and connecting it to the delay you get a sort of signal booster, Strange but true, Its a bit like the drive you get when overdriving the amps on a desk, Dunno how stable it is though ?

Shifrin ·

Nu Audio Science wrote: Sorry Shif just spotted your post, I'm chuffed man only one mistake, My first bit of code WOOHOO.

Yep, works great! I'm actually quite pleased that Jorge posted that 'fix' for doing code stuff with floats, got one or two daft things I'm going to try out!

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.