The Daily Click ::. Forums ::. Klik Coding Help ::. does anyone know how to change midi volume in-game?
 

Post Reply  Post Oekaki 
 

Posted By Message

NMasutaa



Registered
  26/12/2004
Points
  301
18th June, 2007 at 22:23:47 -

Does anyone know how to change midi volume in-game in Multimedia Fusion 2? Is there any extension that allows you to do so? Note that I tried the Mixer object and it didn't seem to work too well.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
19th June, 2007 at 15:57:41 -

Yes. But don't do it, changing the user's MIDI settings is annoying as hell, especially because I keep my volume extra low (when using headphones, sound would be mind-numbinly loud if I didn't).

The mixer object should work, what's the problem? But if you use it, PLEASE keep the MIDI volume relative to the user's current settings, like keep the user's volume in a variable and use some simple math or something. And reset it to the user volume when ending the application.

 
Old member (~2004-2007).

BROO



Registered
  31/10/2002
Points
  595
19th June, 2007 at 16:35:38 -

"Didn't seem to work too well?". What do you mean by telling "too well?".

Maybe you should do some combination of playing files with MCI object and changing volume by mixer object (yes... that's crazy :---))? Unfortunately MCI doesn't have any command that gives access to MIDI volume :---(.

 
n/a

NMasutaa



Registered
  26/12/2004
Points
  301
19th June, 2007 at 18:08:06 -

What I meant was that it seemed that using the Mixer object wasn't affecting the volume.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
19th June, 2007 at 19:45:14 -

That's weird, because (I think) that object interfaces directly with the Windows volume control stuff. What are you doing exactly? Does the example that comes with it work?

 
Old member (~2004-2007).

BROO



Registered
  31/10/2002
Points
  595
20th June, 2007 at 03:56:12 -

And do you possess Windows Vista(R)?

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1971

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
20th June, 2007 at 12:59:51 -

In the old MMF you can use the Volume extension, which was apparently designed specifically to fix a problem with midi volume control on some computers. I don't know if it works with MMF2 (it doesn't on mine, but then even the ones that should work don't for me), but you can try it.

http://www.angelfire.com/mech/banshee/volume.cox

(the download from the clickteam extension list didn't seem to be working so I posted it here - you'll need to copy & paste the link btw)

 
n/a

Deleted User
20th June, 2007 at 13:28:34 -

I thought the mixer object didn't work with XP or something.

 

NMasutaa



Registered
  26/12/2004
Points
  301
21st June, 2007 at 14:43:17 -

Thanks, I actually got it to work now though (just changed the wave volume instead of SW volume). And yes, I do have Windows Vista.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click