denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Midi input via Fluidsynth is broken


From: Richard Shann
Subject: Re: [Denemo-devel] Midi input via Fluidsynth is broken
Date: Fri, 29 Jan 2010 19:18:35 +0000

On Fri, 2010-01-29 at 12:10 -0600, Jeremiah Benham wrote:
> 
> Is tone store required for this in midi input?

no - the tone store being the GList of "tones" - some special type I
created for pitches that are then applied to the notes.

There is something else - a little (two note???) buffer between the
input (which may be under interrupt) and the actual taking of the pitch
for inserting (which is taken by a callback under a timer). That is
because you can't do all the actual taking of the note, the
insertion/editing/putting into tone store, whatever, you can't do that
when the note comes in, as it may be arriving in a interrupt routine.
All you can do is put it somewhere for collection by a non-interrupt, a
g_timer callback.

Richard





reply via email to

[Prev in Thread] Current Thread [Next in Thread]