Hekksy Posted April 22, 2011 Would be awesome and very handy if implemented! Thanks for responding. 0 Quote Share this post Link to post
Ralphis Posted April 24, 2011 I definitely second Vulture's request for allowing BASSMIDI's volume to be adjusted through an engine like Odamex. I enjoy using BASSMIDI very much but it is difficult to use with Odamex because the volume of the music cannot be turned down independently. I'm sure that if this were corrected A TON of Odamex, PRBoom, Chocolate Doom, and Eternity (as well as any other engine that uses midi and sdl_mixer) users would absolute love to use BASSMIDI. Very happy with BASSMIDI, this is the only missing piece. 0 Quote Share this post Link to post
Quasar Posted April 24, 2011 Ralphis said: I'm sure that if this were corrected A TON of Odamex, PRBoom, Chocolate Doom, and Eternity (as well as any other engine that uses midi and sdl_mixer) users would absolute love to use BASSMIDI. Expand Yes. As my comment here: http://msdn.microsoft.com/en-us/library/dd798480%28v=vs.85%29.aspx suggests, people around here have had it with Microsoft's ridiculous decision to tie the Vista/7 software sequencer's volume level to the appplication's system audio stack volume. We need independent controls for MIDI and digital sfx output levels ;) 0 Quote Share this post Link to post
mudlord Posted April 26, 2011 You mean like: http://stashbox.org/1106004/config.JPG ? 0 Quote Share this post Link to post
Ralphis Posted April 27, 2011 That's awesome. Would it be possible to somehow tie that into the midi control in particular? So that if I slide the midi bar in Odamex, it would actually slide that up and down instead of the Windows wave volume? 0 Quote Share this post Link to post
mudlord Posted April 27, 2011 That volume in that control, is tied to the synth volume itself, not MIDI or any other volume. So, its independant of the system volume. Is there a API for Odamex or something? Not much can be done if there is no MIDI API anymore in Windows. 0 Quote Share this post Link to post
Ralphis Posted April 27, 2011 Well Odamex uses SDL_Mixer for sound (as well as almost every other Doom port that isn't ZDoom). For whatever reason, SDL_Mixer can't adjust the midi volume on Windows Vista/7 independently from the rest of the wave sounds. What this results in is either having music blaring and not being able to hear many sounds OR having to play with no music at all to hear sounds. Many of the Doom engines (and other classic games that use midi and sdl_mixer) have been looking for a solution to this that also is compliant with the GPL. I'm no expert on these sorts of affairs when it comes to the fine details of things, but being able to control the BASSMIDI volume from within these engines would be a huge advantage to literally dozens upon dozens of old school game engine ports that use midi for music. Perhaps this is all outside of the scope of your BASSMIDI windows driver, but it was worth bringing up to somebody that obviously understands midi on these newer Windows platforms since the rest of the internet has apparently not been able to figure out a solution to this (except for FMOD, which uses an incompatible license and is closed source). 0 Quote Share this post Link to post
mudlord Posted April 27, 2011 That would be easy. Whats in testing is that the driver uses some registry keys for internal synth settings. These settings in the config are controlled by: Quote void load_settings() { long lResult; DWORD voices; DWORD volume; CRegKeyEx reg; lResult = reg.Create(HKEY_CURRENT_USER, L"Software\\BASSMIDI Driver"); reg.QueryDWORDValue( L"voices",voices); reg.QueryDWORDValue( L"volume",volume); reg.Close(); slider_voices.SetPos(voices); slider_volume.SetPos(volume); } void save_settings() { DWORD voices = slider_voices.GetPos(); DWORD volume = slider_volume.GetPos(); HKEY hKey, hSubKey; long lResult; CRegKeyEx reg; lResult = reg.Create(HKEY_CURRENT_USER, L"Software\\BASSMIDI Driver"); reg.SetDWORDValue(L"voices",voices); reg.SetDWORDValue(L"volume",volume); reg.Close(); } Expand Note that the CRegKeyEx code is WTL, but should be very easy to port to other Doom based stuff. "voices" is from 0 to 256, where 0 is unlimited. "volume" is a linear value from 0 to 10000. All this is subject to change. Of course, that fucks up because then you need to set the volume back to where you want it for other apps. Maybe thats something the end users can deal with. 0 Quote Share this post Link to post
rfnagel Posted April 27, 2011 mudlord said: You mean like: http://stashbox.org/1106004/config.JPG ? Expand I like the looks of that new config utility :) BTW, any chance of a "global reverb" slider of sorts that I mentioned over in the XMPlay forums? I'm no coder by any sense of the term (so's this all looks like gobbledygook to me <grin>), but I think Ian had posted a possible way to implement something like this here -> http://www.un4seen.com/forum/?topic=5337.msg86791#msg86791 . 0 Quote Share this post Link to post
mudlord Posted April 27, 2011 What settings do you want changed? Static soundfont loading is possible for those insane enough to try. Along with volume controls (I tested it). 0 Quote Share this post Link to post
rfnagel Posted April 27, 2011 mudlord said: What settings do you want changed? Expand Something like a global reverb slider that could dramatically increase (or decrease) the reverb even moreso than the usual reverb MIDI controllers (CC#91) embedded in any given MIDI file (overriding the embedded MIDI controllers). Something like what the XMPlay MIDI plugin can do in the lower-right of this pic -> http://www.cmoo.com/snor/weeds/SoundFonts/XMPlay/XMPlay_MIDI_Mixer_Panel.gif :) AFAIK, Ian had posted some way to do this within this message post -> http://www.un4seen.com/forum/?topic=5337.msg86791#msg86791 , but (as a non-coder) I dunno if it's possible. 0 Quote Share this post Link to post
Hekksy Posted April 29, 2011 Anywhere I can download the newest build with your volume implementation? 0 Quote Share this post Link to post
rfnagel Posted May 19, 2011 Just a heads-up: Mudlord has uploaded a new version of the BASSMIDI Driver (currently version 2.0). New web site for the BASSMIDI Driver is here -> https://github.com/mudlord/bassmididrv Download is here -> https://github.com/downloads/mudlord/bassmididrv/bassmididrv2.0.exe Version History/ChangeLog is here -> https://github.com/mudlord/bassmididrv/raw/master/CHANGES.txt 0 Quote Share this post Link to post
PRIMEVAL Posted May 19, 2011 Will have to take a look at this later tonight. :) Got some new soundfonts to test with it, as well. Crisis GM is sounding pretty neat on my Desktop. 0 Quote Share this post Link to post
rfnagel Posted August 12, 2012 Hiya Folks, Long time, no type. Just a few heads-ups: MudLord finally created a PERMANENT home for the BASSMIDI Driver at http://www.mudlord.info/bassmididrv . FYI, the driver has went through quite a bit of changes, and the latest release version is 3.1. One of the MOST EXCELLENT features of this new version is the SUPER LOW LATENCY that could be seen in v1.06 of the driver (in other words, perfect for realtime performance and sequencing)! Also, this new version supports packed/compressed SoundFonts, and includes a SoundFont packer utility :) Anyhow, surf here: http://www.mudlord.info/bassmididrv ...and the direct download is here: http://www.mudlord.info/bassmididrv/bassmididrv.exe P.S. Directly from the BASSMIDI Driver readme: Quote Installation ------------ First-Time Installation: 1) Download the latest released version of the BASSMIDI Driver from http://www.mudlord.info/bassmididrv/bassmididrv.exe . 2) Run the installer (BASSMIDIDrv.exe). The installer will register the BASSMIDI Driver with the system. 3) Configure the desired SoundFont usage using the included BASSMIDI Driver Configuration Utility (BASSMIDIDrvcfg.exe). Upgrade Installation: 1) Download the newly released version of the BASSMIDI Driver from http://www.mudlord.info/bassmididrv/bassmididrv.exe . 2) Run the new installer (BASSMIDIDrv.exe). You will be prompted to uninstall the previous version of the BASSMIDI Driver. 3) Run the new installer again (BASSMIDIDrv.exe), and follow the instructions for the "First-Time Installation" section above. Expand 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.