jobro ·
Is it possible to add a delay before a note is played? How would one go about doing that?
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].