Home

Awesome

Overview

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

TuningFork powers the Partita instrument tuner app.

Usage

Quick Start

CocoaPods

Add the following to your Podfile:

pod 'TuningFork'
Carthage

Add the following to your Cartfile:

github "comyarzaheri/TuningFork" "master"

Using a Tuner

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.

Contributors