Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.
/ TuningFork Public archive

🎹 Simple Tuner for iOS

License

Notifications You must be signed in to change notification settings

comyar/TuningFork

Repository files navigation

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