Easy Sound Generator 🐥
Peep is an easy sound generator library.
$ pod try Peep
Playing sounds is super simple.
import Peep
// play alert tone
Peep.play(sound: AlertTone.tweet)
// play key press
Peep.play(sound: KeyPress.tap)
// play haptic feedback
Peep.play(sound: HapticFeedback.selection)
// play url
Peep.play(sound: Bundle.main.url(forResource: "Success", withExtension: "m4a"))
Add haptic feedback to Peep using Haptica.
Haptic.impact(.light).generate()
To install with CocoaPods, simply add this in your Podfile
:
use_frameworks!
pod "Peep"
To install with Carthage, simply add this in your Cartfile
:
github "efremidze/Peep"
Peep is available under the MIT license. See the LICENSE file for more info.