Skip to content

comyar/TuningFork

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Overview

Build Status Version Carthage compatible License git-brag-stats

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