Sound only plays once after scene change???

So my code is the basic soundtrack code

backgroundMusic = audio.loadStream("backgroundMusic.wav")  
  
backgroundMusicChannel = audio.play( backgroundMusic, { channel=1, loops=-1 } )  
  
local function onPlayTap (event) --function created for when the "play" button is pressed and changes the scene  
 if event.phase == "ended" then  
 audio.stop( backgroundMusicChannel )  
 end  
end  

but when I change the scene (after music is stopped) and come back to this scene the music doesn’t play. I dont really get it because at the beginning of the scene it plays it so there shouldnt be any reason not to :frowning:
Thanks For the support! [import]uid: 14461 topic_id: 19418 reply_id: 319418[/import]

What version of Corona are you using currently? [import]uid: 52491 topic_id: 19418 reply_id: 75012[/import]

I actually got it working I just used audio.fade() to fade it in and out instead of actually stopping it :slight_smile: Thanks for replying and I’m using Version 2011.704 (2011.12.8) [import]uid: 14461 topic_id: 19418 reply_id: 75015[/import]

Glad you solved it, apologies - I thought it sounded like it may have to do with the old audio bug present before build 634 :wink:

Peach :slight_smile: [import]uid: 52491 topic_id: 19418 reply_id: 75036[/import]