SynthMaker

MIDI note delay

Archive · 2009 8 old posts

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

jobro ·

Is it possible to add a delay before a note is played? How would one go about doing that?

oddson ·

You could use the MIDI buffer but there would be serious limitations. If you're playing a note within SynthMaker you'd have more flexibility delaying the attack phase instead of the MIDI message.

jobro ·

That is the issue. 🙂 It is a MIDI project. But will check it out.

AngularMomentum ·

Or creating a MIDI note event with a timer/trigger delay started by gate or trigger. Pitch should be easily converted into MIDI note keypitch values.

oddson ·

AngularMomentum wrote: Or creating a MIDI note event with a timer/trigger delay started by gate or trigger. Pitch should be easily converted into MIDI note keypitch values.

Technically you can keep track of MIDI events yourself and then send them after a delay in green but:

1) Stock timer still doesn't work with a MIDI event trigger so you have to use one of the workarounds 2) It would involve green timing so the actual timing will not be rock solid under the current event mechanism 3) you would have to keep arrays of events in some form of first-in-first-out array system and you'd have to associate an input time with each so that it could be compared with the current-time (i.e. if input time + delay >= current time then recreate the MIDI event and fire).

So it's doable but not worth doing for spotty timing.

I'm getting really sick of writing forum posts with the phrase "current event mechanism"! 🙁

AngularMomentum ·

Heheh, yeah...forgot about that...

jobro ·

Leaving this to the crew to deal with then. I know how to theoretically do this. It is for an ear training tool, so it ain't that needed with spot on timing. The test is done in GameMaker with a MIDI extension, but that tool ain't good enough even though you can do some basic delays in it.

oddson ·

I did some work on this but got bogged down. Maybe someone else can pick it up.

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.