SynthMaker

The 'Slide' float component

Archive · 2005 6 old posts

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

lalo ·

Hi guys! i tried to use the 'Slide' module to smooth slider's output goin' to filters/volume and other things subjected to zipper noise.

I don't know if it is meant to be the solution to the zipper-noise problem at a smaller cpu cost than the poly way with an LPF...anyway the 'Slide' doesn't seems to be of help avoiding zipper noise... at the moment the LPF is the best solution.

this is one of those 'sensitive' areas for me (like tuning in the midi-to-poly and the osc/adsr triggering thing)..so sorry if i keep sealing this sea in my SM experiments 🙂

in the meantime i'm not tired to say

GREAT WORK JORGE AND MALC...SM is goin' to be a beautiful ..teen-age 🙂

lalo

malc ·

Hi lalo,

Interesting that you tried that because we initially created the Slide component to do just that. Of course as you've seen it doesn't work because the timers can only generate a maximum of 100 triggers per second which is too slow.

We decided to keep the component anyway because it can be used for other things - animation being one application.

That's the bad news.

The good news is that we have a solution which I think you'll be pretty happy with. If you give me 10 mins or so I'll post again and show you 🙂

malc ·

Ok lalo, here you go - feel free to skip the ramble that follows and go straight to the schematic at the bottom.

As you've said, up until now the best solution to the zipper noise problem has been the smooth module. This uses the code component to provide a simple low-pass filter (code courtesy of Stefan - thanks).

The problem with this is that it gets linked into the poly section code and eats a bit of cpu even if it's not being used. We originally thought that we could create something that was outside of the poly section that would only run when triggered. However, we found that this 'something' would need to run very fast in order to be of any use and this led us back to the poly section again.

The solution is pretty obvious and is made possible by the way that SM dynamically compiles code. All you need to do is have a way of adding in the smooth code when you need it. So what we've done is create a module that uses a selector to switch the float module in and out of the poly section code.

By doing this you take advantage of the processing power of the compiled code to do the smoothing and when you're done this gets taken out of the loop to maximise performance. In short, you can have your cake and eat it 🙂

The example below shows a 'de-zipper' module attached to a slider that is controlling the frequency of a sine wave osc. I've attached a Text View component to the Poly to Mono so that you can actually see the code changing as you start and stop moving the slider.

[old link]

Shifrin ·

What an elegant solution malc, very clever 🙂

Shif.

malc ·

Gotta give Jorge alot of the credit - it was his idea to swap the smooth in and out, I just had to work out how.

lalo ·

Oh yeah! guys Jorge and Malc what an elegant solution m8z 🙂

this lemme think about what jorge said about the 'switching noise' thing 😉 Glitches when doin' switching operations

great i'll try it today thanx

lalo

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.