[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freesci-develop] Sound system/mt32gm mapping
From: |
Ruediger Hanke |
Subject: |
[freesci-develop] Sound system/mt32gm mapping |
Date: |
Sun, 05 Jan 2003 13:59:11 +0100 |
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?
RĂ¼diger Hanke
- [freesci-develop] Sound system/mt32gm mapping,
Ruediger Hanke <=