An open API service indexing awesome lists of open source software.

https://github.com/comyar/TuningFork

:musical_keyboard: Simple Tuner for iOS
https://github.com/comyar/TuningFork

Last synced: 3 months ago
JSON representation

:musical_keyboard: Simple Tuner for iOS

Awesome Lists containing this project

README

          

![](header.png)

### Overview

TuningFork is a simple utility for processing microphone input and interpreting pitch, frequency, amplitude, etc.

TuningFork powers the [Partita](https://github.com/comyar/Partita) instrument tuner app.

# Usage

### Quick Start

##### CocoaPods

Add the following to your Podfile:

```ruby
pod 'TuningFork'
```
##### Carthage

Add the following to your Cartfile:

```ruby
github "comyarzaheri/TuningFork" "master"
```

### Using a Tuner

```swift
import TuningFork

class MyTunerDelegate: TunerDelegate {
func tunerDidUpdate(tuner: Tuner, output: TunerOutput) {
// Dreams come true here
print(output.pitch, output.octave)
}
}

let tuner = Tuner()
let delegate = MyTunerDelegate()
tuner.delegate = delegate
tuner.start()
```

# License

TuningFork is available under the [MIT License](LICENSE).

# Contributors

* [@comyar](https://github.com/comyar)