SynthMaker

maybe a little bug in code component?

Archive · 2005 7 old posts

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

lalo ·

check this out guys...

i'm just tweaking with the code component for pure learning ...

i'm trying to do a little 'clipped' sine wave (starting from an LFO code by the great stefan wich help me a lot to scratch the surface of waves coding 🙂 )

this schematic do what i want it to do

http://www.nusic.org/temps/clippedsine1.rar

this one with the option to insert the clipping value from a float edit does'nt works...the negative part of the wave doesn't do the right thing

http://www.nusic.org/temps/clippedsine2.rar

the same applies if i substitute in the first schematic the -0.5 values with (0.0-0.5) ..so seeems that something strange is goin' on with the 'minus' operator

thanx lalo

jorge ·

Very well spotted bug lalo, thanks. I'll have a look and let you know here when it's fixed.

jorge ·

I think it's fixed: [old link]

That was a really good one, thanks a lot lalo.

The problem was actually related with the compare operations. When comparing an SSE register with a memory location everything was fine but not when comparing two SSE registers.

lalo ·

hehe i found the bug in....easter eggs 😀

just to let ya know jorge that even a (-1 * 0.5) doesn't work too... maybe some thing related to operators syntax in mask comparisons?

i'll do some more experiment...

a sine bass synthesizer will be on its way...so it will come the time that i'll ask you that 'sample rate envelope' 🙂

lalo

jorge ·

lalo wrote: just to let ya know jorge that even a (-1 * 0.5) doesn't work too... maybe some thing related to operators syntax in mask comparisons?

(-1*0.5) should work fine with the latest version 0.9.2h because the problem was with the comparison, not the multiplication. I just tried it and it seems fine, let me know if it still doesnt work for you.

jorge ·

lalo wrote: a sine bass synthesizer will be on its way...so it will come the time that i'll ask you that 'sample rate envelope' 🙂

So the time will come but you're not asking yet? 🙂 It should be a 5 min job so I'll implement it when you need it.

lalo ·

great jorge! i'll try the fix... about the adsr... i'm tryin' to do some experiment with waveshaping/distortion on sine waves when i'll have some good stuff..it will be the time for the super-smooth adsr 🙂

thanx man!

EDIT : it works!! as anakin skywalker said with his great vehicle 🙂

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.