3

What is the best possible way to smoothly fade in/out a sound with SFML 1.6?

It has SetVolume() and SetAttenuation(). These two directly set these values. But I need a smooth transition from one sound to another.

nvoigt
  • 75,013
  • 26
  • 93
  • 142
blubberbernd
  • 3,641
  • 8
  • 35
  • 46

1 Answers1

3

I think the best way would be to set the volume lower and lower with each frame/time step.

priomsrb
  • 2,602
  • 3
  • 26
  • 34