Can't get time parameter to work when fading out?

When I’m using audio.fadeOut(app.musicChannel) things work but when I use audio.fadeOut({channel = app.musicChannel, time = 2000} ), the time parameter gets ignored, and there will be no fading out of my *.m4a file. app.musicChannel is just an integer, something between 1 and 32. Maybe I’m misunderstanding the docs, I’ve only had one glass of coffee today, how is this supposed to work? I want to have my music very slowly fade out and keep playing for a bit more…

Thanks!

PS: Using build 2011.484, Mac simulator
PPS: Running into similar issues with audio.fade [import]uid: 10284 topic_id: 9672 reply_id: 309672[/import]

If you post some actual code then people can take a look…
Also you could try grafting your code and sounds in the SimpleMixer sample project. [import]uid: 6787 topic_id: 9672 reply_id: 35787[/import]

Sorry, preparing a test case for here I figured out what I was doing wrong! My wrapper uses “channels” too but those are actually pre-loaded sound handles (using a naming convention that started with my similar wrapper in JavaScript-PhoneGap actually). So when I wrote appPlaySound('intro.m4a', app.musicChannel) then I referenced what my framework means with “channel”, I wasn’t actually yet anywhere using the Corona channels… except I was now in the fadeOut, so it didn’t work.

Thanks for pushing me towards this! Now on to amend my wrapper :slight_smile: [import]uid: 10284 topic_id: 9672 reply_id: 36257[/import]