SynthMaker

Coding Modules

Archive · 2005 22 old posts

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

Tom7777 ·

Hi im very interested in starting to use the coding modules. Im guessing the Assembler is for ASM code but what can be input to the Code module? Is it something like C++ code of which i have heard there is various different types. The main thing i want to start doing is using it for effects like delays, is this possible yet if so please could someone show some code to do this. Thanks

jorge ·

Tom7777 wrote: Im guessing the Assembler is for ASM code but what can be input to the Code module?

Malc has been working on some documentation including a section on the Code component, it will most probably be online later today.

Tom7777 wrote: The main thing i want to start doing is using it for effects like delays, is this possible yet if so please could someone show some code to do this.

At the moment you cant create delays inside the code component, you need arrays for that. It's something that stefan has been asking for too and it I think will be implemented soon.

Tom7777 ·

Cool thanks that will help me alot. What the most helpfull format to do this i think would be to have a osc or effect ect coded then give it as an example download with a tutorial on what each line of code is doing.

stefan ·

I have already pasted code module code for both oscillators and filters here in the forums 🙂

Tom7777 ·

Hi i found a oscillators code for a mono sine i think but i didnt see a filter code anywhere.

Shifrin ·

Tom7777 wrote: Hi i found a oscillators code for a mono sine i think but i didnt see a filter code anywhere.

State Variable Filter for Synthmaker 😉

Shif.

Tom7777 ·

Cool thanks 🙂

Tom7777 ·

Ok as this is related to my orginal question im going to ask another. Is there plans for other code modules such as java or html. I think those would be quite cool. Maybe if you enabled the parts of the source that let you make rollover images and text effects. I think what your doing with the coding modules is great but html and java would take GUI design to the next level with opacity fade in images, scrollers, rollovers ect. That would be crazy cool 🙂

malc ·

We had want to allow you to be able to code GUI stuff at some point in the future. However, I doubt this would use java or HTML. You would be able to do all the things you're talking about though. Some of these you can already do using existing GUI components - maybe all in fact.

Tom7777 ·

Cool, I thought it would be possible to make some stuff like this but i have not had much luck so far. If you have any spare time could you please post an example of fading between images that interests me very much but i have not been able to create any of these really. I had worked out animation though so any examples would be great and get me started on more complex things. Thanks

Tom7777 ·

Oh also is the Assembler code languange a shortened SM version or does it have all command strings to allow people to create games and app type functions because i did a test but no results on that sort of thing.

malc ·

The bitmap fading may not be possible yet - I'll need to check. If it isn't then the components to do it will be easy to add. Leave it with me.

The assembler is a subset of x86 with some of our own commands thrown in. To some extent this has been overshadowed by the code component which is much easier to use and produces results that are equally as fast.

Tom7777 ·

Thanks malc im looking forward to that module 🙂

stefan ·

It is probably doable already. You could draw a rectangle over each of the two pics and fade the alpha of that rectangle.

Tom7777 ·

Hi stefancrs, could you post an example please if possible. Thanks

stefan ·

I tried to knock one up, but unfortunately there does not seem to be any way to force two gui's to be added together. Making two pictures fade to black with a ratio knob was a no-brainer, but adding these two together did not quite work for me.

Malc?

malc ·

There are a couple of components in the pipeline that will make this possible I think. These convert between bitmaps and argb. fading would then be a simple manner of adjusting the alpha channel for one of the bitmaps.

Shifrin ·

malc wrote: There are a couple of components in the pipeline that will make this possible I think. These convert between bitmaps and argb. fading would then be a simple manner of adjusting the alpha channel for one of the bitmaps.

I saw those components in the 0.9.1c beta. I'd love to have a play with them, and know how they work 🙂

Shif.

malc ·

I'll check with jorge to see if they are working well enough to go out 🙂

Shifrin ·

malc wrote: I'll check with jorge to see if they are working well enough to go out 🙂

Nice one 😀

Shif.

Tom7777 ·

Thanks everyone

Tom7777 ·

Stefancrs i am also interested in images that fade to black on mouse over and also animated fading which im guessing would have something to do with a ramp osc so it resets (sine im guessing would go to end and reverse), If you got any results like this i am also very interested in any full/semi working effects as i dont really know how yet. I havent really been using the GUI stuff much so i havent learnt as much with it as i have with the audio modules which im now much better with. One other thing i can't work out is how to do the arranging of which image is above and under (sorting) which relates to this feature i requested -

Module Ordering

Thanks 🙂

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.