SynthMaker

Question to Combined multiplier-Add

Archive · 2007 9 old posts

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

AndydeMaro ·

Hello Please Help me

I have a question to Combined multiplier-Add.

I have in CodeModule this Code:

streamin A; streamin B; streamin C; streamout out;

out = A * B + C;

this is OK or BadCode ??????

de Andy

stefan ·

It's OK 🙂

Why do you ask? Anything gone wrong?

AndydeMaro ·

stefan wrote: It's OK 🙂

Why do you ask? Anything gone wrong?

Thanks stefan for the Replay, I was not sure it Is right

de Andy

exonerate ·

just to point out with multiplies and additions you can do them in any order and the result will be the same, so you could have wrote it like....

streamin A; streamin B; streamin C; streamout out;

out = C * B + A;

or any combination for that matter and you would get the same result.

cheers 😉

AndydeMaro ·

exonerate wrote: just to point out with multiplies and additions you can do them in any order and the result will be the same, so you could have wrote it like....

streamin A; streamin B; streamin C; streamout out;

out = C * B + A;

or any combination for that matter and you would get the same result.

cheers 😉

Thanks for the Infomation, has Idea for my Unsion detunner Problem of my Post..?????????

gregh ·

how is c*b+a = a*b+c ? very strange for me

exonerate ·

sorry i didn't think before posting, which is a usual occurance for me 🙂

what i mean to write was (B*A)+C or C+(A*B) or C+(B*A)

like i said i didn't think but that was the point i was trying to make, you can multiply and add in any order, but obviously you have to keep the addition seperate from the multiplies.

i will screw my head on one of these days 😉

cheers 😉

gregh ·

that's a relief - i was thinking i'd have to learn some strange new non-distributive maths 🙂

exonerate ·

😀 😉

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.