HackNeyed
Member

Posts: 380
Registered: 08-04 |
Super Jamie said:
Cool. Post a code fix here when you're done!
Feel free to find the dodgy beeping instrument in eawpats while you're there ;)
The quick and easy fix for Shompats is to open the default.cfg and locate the line “95 sweeper” and add amp=10.
95 sweeper amp=10
Now not so loud but still an annoying sound. So, alternatively download eawpats and copy sweeper.pat from it overwriting the one with Shompats and set amp=20 or there about. Also can be done with freepats and 095_Sweep_Pad.pat by renaming the file to sweeper.pat or the config line to “95 095_Sweep_Pad amp=20”
To fix eawpats for MAP05 of Doom II and MAP02 of Deus Vult (at the 0:39 mark) is quite simple and easy to find once I started looking into the configs because timidity++ gave no help in finding the offending instrument since it would not play it. ;)
In the gravis.cfg just comment out these 2 lines with a # symbol.
#71 whistle1 pan=59 note=60 keep=loop keep=env
#72 whistle2 pan=59 note=60 keep=loop keep=env
Interesting note I found here stating:
keep={loop|env}
By default, percussion instruments have their loop and
envelope information stripped. Strangely shaped envelopes
are removed automatically from melodic instruments as
well. keep can be used to prevent stripping envelope or
loop data. For example, the Short and Long Whistle per-
cussion instruments (General Midi numbers 71 and 72) need
to have `keep=loop keep=env' specified in the configura-
tion file.
Removing “keep=loop” from them makes them sound like a normal sports whistle again if you like that sort of thing though why the instrument is even played at all in Doom ports where it does not belong is beyond me and probability a question for someone who knows mus or midi to mus code.
Last edited by HackNeyed on 03-19-10 at 09:38
|