SwiftySound icon indicating copy to clipboard operation
SwiftySound copied to clipboard

Fade option on stopping all playing files

Open boombox2000 opened this issue 8 years ago • 2 comments

This is more of a feature request:

Would it be possible to add a fade out option with a parameter for how long the fade out should be when calling the stopall function?

The use cases would be when using the loop function for multiple playing files you may want to fade out those sounds instead of stopping them at once.

boombox2000 avatar Sep 28 '17 05:09 boombox2000

Thanks for the suggestion. I'll look into it.

adamcichy avatar Sep 28 '17 05:09 adamcichy

This might be a solution:

https://littlebitesofcocoa.com/265-fading-audio-with-avaudioplayer

JanX2 avatar May 30 '18 11:05 JanX2