SynthMaker

wet dry knob help

Archive · 2009 8 old posts

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

pawn1one ·

I saw it some where just cant find it now I am looking for a simple explination on how to hook up a basic wet/dry knob. I tried to take apart the stock Chorus/Flanger mix knob but I get lost after about the third module I have to enter.

Nu Audio Science ·

Connect a dial to a multiplier (amp) Then invert the output from the same dial and connect it to another multiplier (Amp) Now when one goes up the other will go down 😉

NAS

MichaelBenjamin ·

assumed all your control values are between 0-1, for a simple wet/dry you multiply your wet signal with the control value (0-1) and the dry signal with the inverted control value (1-0). to invert a control value, subtract it from 1.

example in code:

streamin wet; streamin dry; streamin ctrl;//control value between 0-1 streamout mix; mix=wet*ctrl+dry*(1-ctrl);

oddson ·

The simple non-code method:

It assumes a control input in the [0,1] range.

It's essentially the reverse of a simple stereo pan (x and 1-x become signal multipliers).

And like a pan control you may find the apparent volume does not stay stable while sweeping through the range.

You can search here and elsewhere for 'panning law' if that is an issue in your application.

pawn1one ·

Thanks again guys I conected it up & it works great the code and the noncoded version are the samething I'm guessing, I just understand the noncoded vesion better. does the coded version use less CPU?

I still dont get some things about it though...

I get that srteamin wet, dry and ctrl are the inputs and streamout mix is the mixed Output and that wet*ctrl is the streamin wet multi by streamin ctrl and then we add the dry signal.

the part that I lose it on is the dry(1-control); "is this the floating point data?"

what does this (1-control) mean? and is the //control value between 0-1 just a note from Micheal

speakin of the floating point data, how do you know how to hook it up is there some general rules to follow? What would changing the # in the float do to the knob?

MichaelBenjamin ·

for example if your knob is at mid with a value of 0.5, then the dry signal gets halved in volume (dry*0.5) and the wet signal also gets halved (1-0.5)=0.5, so 0.5*wet. if your knob outputs 1, then the dry is is full volume (dry*1) and the wet signal is at zwero volume (1-1)=0, so 0*wet.

if you are unsure what things do, connect some readout boxes (press f) and the mono stream analyser for stream data and look at the numbers. oddsons example is much better to get the basics. the code version however will use less cpu in general, and for every stream data you should merge and optimize the code to get near a reasonable cpu use, but its not very important at the start. note that everything green in sm is only processed on demand, so it practically uses 0% cpu.

ah and yes, everything after // is ignored by the computer so you can write comments

sunsynth ·

Hi,

Michael please correct your code:

streamin ctrl; => mix=wet*control+dry*(1-control);

MichaelBenjamin ·

yes this was a typo, now i understand your confusion.

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.