0
0

Does any one know how to fade music out using Fmod. I tried reducing the sound every few milli-seconds however my program continually crashed.

  • You must to post comments
0
0

Using a performance counter to check current elasped time, when 25 miliseconds have past i reduce sound by 1 unit until it reaches 0.
However this causes the program and music hang and eventually crash

Using setmastervolume

  • You must to post comments
0
0

When using Fmod in vb i create one subroutine that runs all the time, it’s called on loading and does not stop until you close. Just a nasty loop, the frist few lines control the timing, so it automatically adjusts to different computer speed ( using a performance counter), all my intensive stuff is dealt with within the sub, Spectrum, Dsp stuff, auto crossfading, the important thing is to make sure that the sub releases control to the rest of the computer,or else the bugger locks up (if you want to be ugly use doevents, but there better ways). I have a full screen width specturm, the bars are skinned the values and ramped to the full spectrum and rounded to make it look nice and gravity drop-off. I was suprised at the speed i managed,it’s certainly looks as if its NOT written in VB), i did post some stuff on this ages ago, but i’ve been loafing in thailand and have not kept my promise to post the code….soon… if ya’ want it???, however i have yet to find the holy grail on fmod vb use……@@~~ a bmp counter that works ##@@@ and a usable way of loading a track into diplay as a waveform for visual editting or mixing….drat!!!!!!,, and ideas

  • You must to post comments
0
0

I would be interested in seeing your spectrum code. You say you made it VB, do have an oscilliscope as well? If not, I would be glad to share my code for a simple Oscilliscope using the StdCall version of FMOD.

  • You must to post comments
0
0

i have not got internet at home, but will get it to you, there’s nothing special about the code, it’s pretty much the same as posted before, until i’ve included some ramping functions and a VERY simple ’rounding off’ code it make it look nice ( also gravity drop off etc ), the thing that makes it look so nice is its fast, i think this is becauase of this ‘eternal’ loop sub that im using.

ps. im looking at doing some work with an icecast server, have you looked into using fmod with internet streaming?

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.