Thanks. That worked great.
Now, I have a new request from the user (don't you just LOVER scope creep!?).
They want to be able to control the volume automatically.
Have the songs "fade out" or "fade in".
Thanks. Those APIs work great. I can set and monitor the volume on the wave device. Now my only problem is trying to do the actual fade. Volumes are expressed in Hex (FFFFFFFF being max, 00000000 being min). The first 4 are for one channel, the second for the other.
I want to do a fade effect, but I'm not sure how to increment/decrement the value.
Sorry, hex has never been my strong point.
OK, I check it out. I don't get it. I wanted to convert the hex values to numbers, increment/decrement them, convert them back and then adjust the volume.
I seem to get wierd results.
Here's some stuff I copied from the Debug window.
?&HFFFF
-1
?hex(-1)
FFFF
?hex(65535)
FFFF
How can hex(-1) be the same as hex(65535)?
When I get the volume with &HFFFF it returns -1. That's SUPPOSED to be max volume.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.