Re: winamp plugin with an fm801
Brought to you by:
dynamite
From: Darron B. <da...@ke...> - 2005-05-30 12:25:29
|
In message <200...@gm...>, Simon Peter wrote: Hello, thanks for your reply. >> I would like to update any code locally for the plugin/core to >> determine if the other registers mentioned above are indeed stopping >> noise emanating from the fm801 or not, hence I would like some advice >> from knowledgable adplug coders as to what source files I need to play >> with to try and get this to make a sound. > >All important stuff for the hardware OPL output is in the file >src/realopl.cpp inside the AdPlug core library. The hardware-writing >methods there are detect() and hardwrite(). Ok, thank you very much for directing me there. >The Winamp plugin does not touch the hardware OPL itself, so you >shouldn't need to look there. All work is done by the core library. Ok. >> PS. There is no means to adjust the FM volume in windows via the sound >> control applet, plus using the FM synth as the output midi device >> works in media player. > >Hm. Seems either your driver doesn't support it or your card does not >have a hardware mixer for the OPL chip. In the latter case, sound should >always be hearable as the OPL doesn't have an output mixer itself and >plays everything at full volume. Though more likely would be that your >driver doesn't support the OPL mixer control and the volume is always >turned off, so you don't hear anything. In the meantime since posting, i have written a small desktop applet which utilises the giveio.sys kernel driver to write to the fm801 ports. the registers mentioned do indeed affect the synth volume, so my applet can vary the volume level when playing back a midi in media player for example. I also wrote some quick code to mangle all the voices simultaneuously at a click of a button (changing their waveform), this proves that the opl3 registers are also at their correct place as the midi voices distort momentarily when playing in media player. however, winamp still fails to make any noise on the fm801 with opl mods, so I can only assume at this time, that there is a problem regarding the plugin's method of driving the core player on my setup. >Good luck on your experiments! And if you find out something, i'd be >happy to include it in AdPlug. i will endeavour to work out what is going on with my system, once i have something more useful to show you, ill post here. Cheers, take care darron -- // / {:)==={ Darron Broad <da...@ke...> \\ \ |