SynthMaker

tick25 or BSwitchTrig bug?!?

Archive · 2005 4 old posts

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

NothanUmber ·

Are you sure that tick 25 creates a new trigger signal 25 times per second and not per hour? Although it does what it should the update in this quantization code is way too slow...

http://home.in.tum.de/~strixner/Tick25_bug.osm

Greetings, NothanUmber

P.S.: the bug could also be in the BSwitchTrig component...

infuzion ·

Timer35 still seems to work; try the animated boucing balls: timers / animation

NothanUmber ·

Well it's working, but the response time is more in the range of several seconds than 25 times per second (Hm, can't find a Timer35 in 0.9.3w...)

Greetings, NothanUmber

malc ·

Hi NothanUmber,

I think I know what the problem is. The Ticker 25 is a Windows timer. As such it sends timing messages using the standard windows message loop. Redraw messages also use the message loop and in this case I think the redraw messages are processed first. Because there are alot of redraws the timer messages are being held up.

Try deleting all the data components that you're using to debug and see if that makes a difference - I found that it did.

There may be something we can do about the Tick25 so I'm going to try it out. I'll let you know if it works.

Incidentally, if you're just trying to quantize the pitch bend, do you really need the timer? Could you not just use integer arithmetic, divide by the quantize level, round and re-multiply say? Just a thought.

Regarding the Timer35, the Ticker 25 is the old WTimer component that was in the bouncing balls example. It was renamed and changed from a 30 triggers/sec to 25 in a later release. If you want a faster rate there is the Timer component.

Thanks for highlighting this.

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.