SynthMaker

Fast tick(not packets I think)

Archive · 2010 9 old posts

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

nix ·

Hey, I have been messing with ticks again, with the goal of midi sequencing. Here is an example->

Please check it for me if you like. It seems plain that when you send a tick to multiple sources you get more ticks, but they are in packets, not sequential. So I used a tick divide here. I think they are 1 increment steps now. Maybe we can use windows timer ticks if this works. I will stick it in a sequencer and see how close to sample accurate it is and add that to this thread 😉 It's not a great idea to display the climbing tick, it sucks a lot of cpu, but you can tell that it is not a multiple of any 1 number, and hence a packet, when you start and stop it a few times. Cheers folk, hope the example doesn't disappoint. I'm not sure how we will fare CPU wise when it is built into a sequencer.

rl ·

Sorry for being negative -I wish there would be a quick solution, but your idea doesn't work at all. Proof: just click on the schematic background and the counter will stop for a split second

nix ·

I imagine that means you won't be able to play live with it. It will be sampling a stream though, so it will correct again when you stop editing? I play with it today and see. No worries being frank, I sorta guess this one is for the devs to solve, and not a tinkerer like me 🙂

nix ·

I will do some more experiments, but 16th notes sound like they are in time. I will make a little audio example. It does go out of time , not when you click the plug, but it's window in the host. Then you can stop and play again and it will sound in time. I try a few more recordings to see how close it is.

Edits: Without hooking the fast tick up to a redraw, there is no improvement further than tick100 prim . If you hook it up to a redraw it uses 1 core of my quad3 machine. It's weird it needs a redraw to kick in. Anyway it's pretty good timing with the redraw, like perceptibly 32nd notes are not drifting. I guess they are like 100 samples out, but they sound fine to the ear. I will up a sequencer that uses this soon. I can't figure out how to get rid of the redraw 🙁 I've tried drawing nothing and drawing no area. Anyway, stay tuned for audio demos and sound forge pics Yep, I won't bother sound or pics, I can up the .osm though if anyone is curious. It is 100 samples out at worst at 44100. Unusable though for the redraw uses too much CPU. OK, I wasn't doing much else so here is the example->

Here is a screen showing how much it is out->

Here is some recorded audio->

I guess play the audio if you are curious. It seems fine.

attic ·

Great job Nix, this one is alot of fun. Thanks for sharing. 🙂

Sasu Honka ·

Thanks for sharing Nix! Sad to say, but on my XP laptop (very old) the timing is not even near your recording. It keeps drifting randomly all the time. Even I can play more rigid live and I am not very good keyboard player. I Could not see any abnormal spikes in windows CPU-meter.

I have almost stopped using SM because I get hiccups in almost everything I do and I have no faith in it getting better in near future. I am not able to finish my projects, they are just toys that sometimes seem to work and then don't.

I hope you (or someone else) finds a solution to accurate timing. I have tried various methods, but have not found a good one.

Keep up the good work!

infuzion ·

Sasu Honka wrote: I have almost stopped using SM because I get hiccups in almost everything I do and I have no faith in it getting better in near future. I am not able to finish my projects, they are just toys that sometimes seem to work and then don't.

I would give up on SM if you need green or MIDI timing. Audio code is rock-solid though.

nix ·

I hope something works for you soon Sasu, if you want to up one of your projects in help we could have at it. What I think you might need to do here if you like is: delete the module that has only the mgui and redraw in it. Then hook up a float readout instead. Now it should take all your CPU and have better timing. It's hacky for sure, I had to do that when I opened the project just now.

Sasu Honka ·

infuzion wrote: I would give up on SM if you need green or MIDI timing. Audio code is rock-solid though.

Yes, the audio code works fine! I do like the program in general but I really wish there was a sample accurate way to trigger MIDI.

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.