Support our Sponsors:

Go Back   Touch Arcade > Developer Discussion > Developer Services and Trade

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2013, 07:10 PM
BrandonLassiter BrandonLassiter is offline
Member
iPhone 4S, iOS 6.x
 
Join Date: Aug 2012
Posts: 88
Default Extended SimpleAudioEngine

I have created an extension to SimpleAudioEngine that is opensource and free to use if anyone is interested. If the mods approve I will submit a link to it. I want nothing in return for it just looking to help out the community as it has helped me.

The basics of what it can do that SimpleAudioEngine cannot is built in toggle for mute/unmute (with an option to fade in/out), fade in/out background music to whatever level you want (and take as little or as much time as you want to perform the fade) and it also has the ability to save whatever volume levels you decide you want for your game i.e. if you want the background music to be at 0.5 and sound effects at 0.75 you do it once and then it saves those values and uses them everytime the game is opened (there is also a function built in so you can change the default values).
Reply With Quote
  #2  
Old 01-20-2013, 07:33 PM
Echoseven Echoseven is offline
Moderator
iPhone 4, iOS 5.x
 
Join Date: Jul 2011
Location: The red Skittle
Posts: 4,952
Default

We approve. Why wouldn't we?
(as long as it's not a dodgy link or anything)
Reply With Quote
  #3  
Old 01-20-2013, 08:19 PM
BrandonLassiter BrandonLassiter is offline
Member
iPhone 4S, iOS 6.x
 
Join Date: Aug 2012
Posts: 88
Default

haha well I know some people get upset about randomly posting links

http://www.brandonlassiter.com/portfolio/sound-manager - Download Page
http://www.brandonlassiter.com/portf...-documentation - Documentation Page
Reply With Quote
  #4  
Old 01-20-2013, 08:21 PM
BrandonLassiter BrandonLassiter is offline
Member
iPhone 4S, iOS 6.x
 
Join Date: Aug 2012
Posts: 88
Default

Let me know what you guys think! Also if you have any suggestions of other things to add to it I will try to update it accordingly
Reply With Quote
  #5  
Old 01-21-2013, 03:43 PM
BrandonLassiter BrandonLassiter is offline
Member
iPhone 4S, iOS 6.x
 
Join Date: Aug 2012
Posts: 88
Default

Just updated it with a few things:

1. Added pauseBGMusic. (Ability to pause background music)
2. Added resumeBGMusic. (Resume background music when paused)
3. Fixed bug for background music looping.
4. Added preloadSoundtrack. (Preload multiple audio files at once loaded into an array)
5. Added playSoundtrack. (Plays through the preloaded soundtrack)
6. Added stopSoundtrack. (Stops playing the soundtrack)

If there is anything anyone can think of to make this better let me know
Reply With Quote
  #6  
Old 01-24-2013, 10:47 AM
onnlv onnlv is offline
Junior Member
iPhone 5s, iOS 7.x
 
Join Date: Dec 2012
Location: Busan, Rep of Korea
Posts: 6
Default

Thanx for sharing your work
I'll try it later
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 2012, TouchArcade.com, LLC.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Copyright 2008 - 2011, TouchArcade.com. Privacy Policy / DMCA Copyright Agent