SynthMaker

cbit request: how to use a knob to control a parameter

Archive · 2004 4 old posts

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

jorge ·

cbit, here is how you change the example schematic in version 0.7.9g to use a front panel and knobs rather than having to type the parameters. The example file looks as follows:

I'll explain how to do it for the oscillator frequency parameter and then you can do it for the other parameters.

--- Using a knob instead of an edit component ---

First drag a knob from the toolbox:

into the schematic:

connect the knob to the frequency input of the oscillator:

now, you can move the knob rather than having to type the parameter.

--- Creating a front panel ---

Drag a VSTview module from the toolbox:

into the schematic

connect the output of the VSTview module to the knob, it should become visible in the front panel:

--- Changing the max parameter of the knob ---

You can change the range of the knob to more sensible values as follows:

click on the P in the navigation panel:

a properties dialog box should appear:

change the max value to 0.05, frequencies go from 0 to 1 with 1 meaning 22050Hz at a sampling rate of 44100Hz, so 0.05 in Hz would be 0.05*22050Hz=1102.5Hz. If you're interested I'll show you how you can get synthmaker to do those calculations for you automaticaly.

Please feel free to post any other questions.

cbit ·

Thanks for the explanation, very useful to know.

I was wondering if this was possible: I'd like to add a looping wav player device to this same example layout.. so that i can experiment with parameters and hear their effect on sound without having to use my souncard input as a sound source. Is it possible to set up something like this at the moment?

thanks again.

jorge ·

My next work on Monday will be creating a WaveFile component. I'll post a message here when its finished, most probably on Monday.

jorge ·

Latest version has an initial version of a wave player:

[old link]

and here is an example file using it:

[old link]

here is a standalone version of it:

[old link]

here is a screen capture of the schematic:

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.