A simple framework to load and play sounds in your app

SoundManager

A simple framework to load and play sounds in your app.

Supported platforms

This framework is compatible with iOS, ipadOS and TvOS.

Usage

  • Import the module in your source file
  • Load a sound once
  • Play the sound as many times as you want without loading the file again

You can use the alias Sounds to manage the library.

Sample code

`import SoundManager

// Load the sound file once
Sounds.loadSound(“My sound”, fileName: “mySampleSound.wav”)
// And play it
Sounds.playSound(“My sound”)
// vibrate your device
Sounds.vibrate()`

Author

This package was developed by Jonathan Chacón .

Please, if you have any question or suggestion you can contact me at Tyflos Accessible Software web site.

Contributing

Pull requests are welcome. Feel free to create pull requests for any kind of improvements, bug fixes or enhancements. For major changes, please open an issue first to discuss what you would like to change.

License

This software was published under the MIT license

GitHub

View Github