TuningFork is a simple utility for processing microphone input and interpreting pitch, frequency, amplitude, etc.
TuningFork powers the Partita instrument tuner app.
Add the following to your Podfile:
pod'TuningFork'Add the following to your Cartfile:
github"comyarzaheri/TuningFork""master"import TuningFork
classMyTunerDelegate:TunerDelegate{func tunerDidUpdate(tuner:Tuner, output:TunerOutput){
// Dreams come true here
print(output.pitch, output.octave)}}lettuner=Tuner()letdelegate=MyTunerDelegate()
tuner.delegate = delegate
tuner.start()TuningFork is available under the MIT License.
