[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [freesci-develop] Sound system/mt32gm mapping
From: |
Matt |
Subject: |
Re: [freesci-develop] Sound system/mt32gm mapping |
Date: |
Sun, 5 Jan 2003 12:21:44 -0800 (PST) |
On Sun, 5 Jan 2003, Ruediger Hanke wrote:
> In sound/midi_mt32gm.c in the noteon/noteoff code there's the line
> param2 = (guint8)(volume * MIDI_mapping[param].volume) >> (7);
>
> which gives me a velocity of 0 or 1 all of the time so that I actually
> hear only silence.
>
> Could it be you meant
> param2 = (guint8)(volume * MIDI_mapping[param].volume >> (7));
> ??
>
> Or did I use a wrong (obsolete) source file there?
oops.. I think I introduced that when attempting to eliminate warnings.
I'll check in a fix later today.
Thanks for spotting this!
--
http://www.clock.org/~matt