SynthMaker

redraw problem ? Why ???

Archive · 2006 10 old posts

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

autodafe ·

Hi,i was building a simple slider to build a sequencer window

why doesn't it redraw properly? if you move the mouse quite fast the FRREctangle leaves some "dirt" on the black background...

OSM HERE: www.autodafe.net/Synthmaker/VerticalSlider.osm

malc ·

Hi autodafe,

I'm away at the moment and don't have SM here so I can't look at your schematic. It looks like the redraw area is not being computed correctly.

Is the slider supposed to be a solid bar like in the first picture whose height changes? Or is it supposed to a square that moves up and down? I suspect it's the latter in which case you need to make sure that your redraw area needs to be a combination of the previous area and the new area. However, you can make it easy by just using a Redraw component to redraw the whole area occupied by the slider.

Malc.

jorge ·

Hi autodafe

As Malc suggested, deleting the RedrawArea component and replacing it with a Redraw component works here:

skOre ·

If in doubt, expand the redraw area. Note that for your manuals 🙂

autodafe ·

thanks everybody. it should be a "solid" bar which expands and change color gradually.. i've tried the simple "redraw" before but couldn't get it working... i will try again in a few minutes...

i'll let you know...

autodafe ·

OK, many thanks.

I replaced the "REDRAW AREA" with a "REDRAW" component and everything is ok now . 😀

sonicfire ·

Sorry, i know this topic is a bit old - but - why cant you move the slider on the main GUI? (When in editing mode)... you can place the background image but not the slider?

jorge ·

sonicfire wrote: Sorry, i know this topic is a bit old - but - why cant you move the slider on the main GUI? (When in editing mode)... you can place the background image but not the slider?

Because the background image module has an MGUI component inside while the sliding module doesnt. To make the sliding module moveable in the front panel insert an MGUI inside it and connect the View input going through it.

The MGUI component is where the front panel x and y coordinates are stored, it basically transforms what comes after it into a front panel moveable object.

Probably better behaviour would be to integrate the background and the sliding into one front panel object sharing the same MGUI, quite easy to do.

I assume you're just learning but if what you want is a working version of the slider in this thread let me know and I'll fix it and post the schematic.

sonicfire ·

thank you very much! 🙂

yes, i am just learning 😇 . All seems very complex to me - but hopefully someday i will also be able to create something more complex with SM! 😀

jorge ·

sonicfire wrote: yes, i am just learning 😇 . All seems very complex to me - but hopefully someday i will also be able to create something more complex with SM! 😀

Just remember that you can stay at whichever level you want, you dont have to go low level. Any high level module that you might need, try posting a request here in the forum and I bet very shortly after you'll have it.

And if you still want to learn low level ( you can go as low as you want all the way down to assembler code ) just keep asking questions, I can try to explain starting with very simple examples.

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.