denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] MIDI messages from denemo to qsynth via JACK


From: Richard Shann
Subject: [Denemo-devel] MIDI messages from denemo to qsynth via JACK
Date: Wed, 12 Aug 2009 10:07:45 +0100

Here are some notes about denemo's jackmidi output, just in case they
may be useful to anyone.

I have been looking that the qsynth message output when denemo plays the
note middle c 
This is with my experimental denemo compiled with the "setting of the
channel to 0 code", that I mentioned yesterday, omitted:

fluidsynth: noteon      1       60      65      00009   146.239 146.237 0.000   
2
fluidsynth: noteon      1       60      65      00009   146.239 146.237 0.000   
3
fluidsynth: noteoff     1       60      0       00009   147.238 147.236 0.998   
2
fluidsynth: noteoff     1       60      0       00009   147.238 147.236 0.998   
2

The output seems to mean:

noteon/off  channel  midinote velocity unknown_counter time time time-delta 
unknown

e.g.

noteon      1=channel        60=middle c  00009=unknown 146.239=time_secs 
146.237=time 0.000=time_delta_secs 2=unknown

there seem to be two noteon and two noteoff messages for each note.

In jackmidi.c the notes are sent

        /* First, send it via midi_out. */
one of these reserve buffer things
and then
        /* Send it via proper output port. */
another of these reserve buffer things

but commenting out one or other of these outputs results in either silence or 
two noteons and two noteoffs, most unexpected!


Richard








reply via email to

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