SynthMaker

Midi-slider questions (new user)

Archive · 2011 6 old posts

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

Noise11 ·

Hi ! I'm new to SM and make just my first attempts with the SM-free version... I've 3 questions:

1. The "default" slider, from the module-examples, sends data continuous... But how can I create such a Midi-slider: The slider should send data only once; always after mouse-relase; therefore always the last selected slider-value. But the conected (conected to the slider, for value-control) "Float Label"-module should display the slider-position continuous.

2. How can I create a Midi-slider which sends the data not linear (?) For example: - The "standard" (linear) slider sends the values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, etc. - but "my" Midi-slider should send the following values: 0, 1, 3, 4, 5, 7, 9, etc.

3. If I connect the "Float Label"-module to any slider (for value-control) then I can read the numeric-value (slider-position) there... But how can I create a label which displays "text-values" instead of the numeric-values (?) For example: - instead of the numeric values, like: 0, 1, 2, etc. - the "Float Label" should displays text-values, like: Left, L63, L62, etc.

Perhaps are any examples existing in the forum to these topics (?) but I could not find anything.

Thanks in advance!

lesobrod ·

Hi, welcome to forum!! )) Your questions are interesting so I try to help you but just partially. 😇

Noise11 wrote: 3. If I connect the "Float Label"-module to any slider (for value-control) then I can read the numeric-value (slider-position) there... But how can I create a label which displays "text-values" instead of the numeric-values (?) For example: - instead of the numeric values, like: 0, 1, 2, etc. - the "Float Label" should displays text-values, like: Left, L63, L62, etc.

Drag a "Label" (not "Float Label"!) primitive into your OSM. Go inside and find String "Label". Instead of it, you can create custom string, or Input port for your data and see values as a text Label. Another good primitive is a "Text View".

Noise11 wrote: 2. How can I create a Midi-slider which sends the data not linear (?) For example: - The "standard" (linear) slider sends the values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, etc. - but "my" Midi-slider should send the following values: 0, 1, 3, 4, 5, 7, 9, etc.

Well this is job for a green primitives! What exact non-linear low do you mean, please? So we have value "x"; can you write down y(x) symbolically or explain algo by words? 99% somebody on forum (maybe I) will help you to make a module for x->y(x) transformation!

cyto ·

I've made a example here to show you how to do a couple of things...

In it, you can see how to use a "float sample and hold" controlled by a mouse-left up (LUp) primitive. The slider has two outputs now. One is the continuous value, the other only updates when you release the mouse. You'll have to drill-down pretty far to see where I put the LUp primitive, but you can just follow the "mouseUp" trigger back to find it.

Also, lesobrod's advice for using green math for functional relations is good advice to heed. However, for outputting values that are not functionally related to the slider value, you can use the slider to control a selector. You just need to make sure the slider value is scaled to the amount of inputs to the selector. In the OSM I posted, I put together an example of how to go about doing this.

-cyto

cyto ·

I just noticed a flaw in my previous example. If, when moving the slider, you go out of range (ie. go below zero), the "mouse up" trigger will not be sent. This version uses a "bool to false" trigger from the "interact" output and accomplishes the same thing but without the aforementioned flaw...

-cyto

Noise11 ·

Hi, All 3 "problems" solved !

reg. 3.: I've "managed" it with the "Text View"-Module and the "Selector"-Primitive I don't know if this is the most efficient solution, but it works!

reg. 2.: I've "managed" it with the "Selector"-Primitive also here.

Thanks for the help/tips lesobrod 🙂

and reg. 1.: This is exactly what I need...

Thanks for the excellent example cyto 🙂

lesobrod ·

Noise11 wrote: Hi, All 3 "problems" solved !

It seems I become not so egoistic (as always) with this forum. Glad to see that another's problems solved. Hmm..[;..;]

Noise11 wrote: Thanks for the excellent example cyto 🙂

And from me too, cyto (^_^).

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.