SynthMaker

SWITCH BETWEEN IMAGE

Archive · 2010 16 old posts

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

aviadderi1 ·

HII

how to add SWITCH that change BETWEEN images on my plugin?

i want to add a bypass switch when i push him the plugin will change image backround to other image

thanke you synthmaker you the best

tektoog ·

Hey, have a look at this, it might be what you're looking for: [old link] Hope this helps...

aviadderi1 ·

thank you but its not exactly what i need

i meen to switch between tow jpeg i take the "image tool" and load a image on him i take another "image tool" and load image on him tow {the image have not connectors on him}

that meens that i have tow backgrounds on my plugin

but i only can see one of tham if i have a switch between tham

thanks

nix ·

Put 2 images in a module. Then put a mgui primitive in that module. Go inside the images and make a V input on each that is wired to the mgui of each Then go back the top module make a switch between the 2 images using the V connectors you made It should work now? I can make you an example if you need 🙂

aviadderi1 ·

nix thank you

i try to do what you tell me but i only success to do a "v" on the image

{im sorry i so new on synthmaker}

i will be happy if you can send an example

thank you

nix ·

Here you are->

There also is a redraw when it switches that I forgot. Let me know how you go with it 🙂

aviadderi1 ·

thank its great i put my images instead yours and its work fine

but i need the switch will be on the image plugin like a volume knob i try everything what i missing????????????????

nix ·

I'll come back soon with it 🙂 It's probably a matter of routing mgui module(s) If you would like me to fix your schematic, you can pm it to me. Sendspace is one file host. Cheers 🙂

tektoog ·

Hey,

is that what you want?

aviadderi1 ·

o.k im goin to go crazy i cant do it

please help!!!!!!!!

here is my project with the tow pictures that i want to switch BETWEEN them

http://www.sendspace.com/file/0j301c

i want to creat a switch that do bypass plugin when he change the image

thank you for hellp

nix ·

Here you are->

Now you need a funky old looking switch 🙂

aviadderi1 ·

wow thank you this is exactly what im trying to do thank you man

say... its possible to add fade in between the images? when i push the switch the picture will change but with effect like fade in.

thanks

nix ·

I think that trogluddite has done it here-> 7 Segment Displays Maybe not, I'm not sure. Anyway I'll have a look 🙂 and get back to you It is certainly possible to fade vector(internal) shape's colour and opacity. I've pm trog to find out. You can however use SMs colour chooser to colour .bmp or .png images. That is what he had done. The component I ask him about is the colour matrix primitive. Cheers 🙂

trogluddite ·

Here Nix's example but with a fade module to fade between the bitmaps.

Note that this only works with bitmaps - if you wanted to fade a panel with knobs, displays etc. on it, you would have to sample the view to a bitmap first, and then fade the bitmap. There's currently no easier way to apply alpha to a complex GUI view. It could be done with the matrix, as nix suggested, but if it's only the alpha that you want to change, this is the easiest way. The matrix is much more complex to use, and is a bit slow for this kind of animation.

nix ·

Thanks man, That's a cool functionality. I check your example 🙂

aviadderi1 ·

wow thanks you all for hellp me

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.