Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/efremidze/peep
Easy Sound Generator 🐥
https://github.com/efremidze/peep
audio carthage cocoapods feedback generator ios sound swift vibrate
Last synced: 2 months ago
JSON representation
Easy Sound Generator 🐥
- Host: GitHub
- URL: https://github.com/efremidze/peep
- Owner: efremidze
- License: mit
- Created: 2017-09-11T09:01:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-28T01:29:59.000Z (over 2 years ago)
- Last Synced: 2024-11-08T09:24:03.729Z (3 months ago)
- Topics: audio, carthage, cocoapods, feedback, generator, ios, sound, swift, vibrate
- Language: Swift
- Homepage:
- Size: 181 KB
- Stars: 86
- Watchers: 6
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Peep
[![Build Status](https://travis-ci.org/efremidze/Peep.svg?style=flat)](https://travis-ci.org/efremidze/Peep)
[![Version](https://img.shields.io/cocoapods/v/Peep.svg?style=flat)](http://cocoapods.org/pods/Peep)
[![License](https://img.shields.io/cocoapods/l/Peep.svg?style=flat)](http://cocoapods.org/pods/Peep)
[![Platform](https://img.shields.io/cocoapods/p/Peep.svg?style=flat)](http://cocoapods.org/pods/Peep)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)**Peep** is an easy sound generator library.
```
$ pod try Peep
```## Requirements
- iOS 10.0+
- Xcode 8.0+
- Swift 5 (Peep 3.x), Swift 4 (Peep 2.x), Swift 3 (Peep 1.x)## Usage
Playing sounds is super simple.
```swift
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"))
```### Haptic Feedback
Add haptic feedback to Peep using [Haptica](https://github.com/efremidze/Haptica).
```swift
Haptic.impact(.light).generate()
```## Installation
### CocoaPods
To install with [CocoaPods](http://cocoapods.org/), simply add this in your `Podfile`:
```ruby
use_frameworks!
pod "Peep"
```### Carthage
To install with [Carthage](https://github.com/Carthage/Carthage), simply add this in your `Cartfile`:
```ruby
github "efremidze/Peep"
```## Communication
- If you **found a bug**, open an issue.
- If you **have a feature request**, open an issue.
- If you **want to contribute**, submit a pull request.## Credits
* https://github.com/mergesort/FeedbackEffect
## License
Peep is available under the MIT license. See the LICENSE file for more info.