Skip to content
项目

关于

Real-time audio input and FFT written entirely in Swift for iOS.

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

TempiFFT

Description

TempiFFT demonstrates how to input audio via AVFoundation for recording or processing and implements an FFT to display a real-time spectrum plot of incoming audio.

What's an FFT? Short for Fast Fourier Transform, it's a method for deconstructing an audio signal (or any time-based signal for that matter) into its constituent frequencies and intensities. The FFT function is a crucial component for nearly all audio DSP.

Doesn't Apple's Accelerate framework already include an FFT? Yes, and this project makes use of it. But Accelerate's FFT function (vDSP_fft_zrip) isn't trivial to call or set up correctly (esp. from Swift) and is just one necessary ingredient to a functional FFT.

What's “logical banding”? Actually I made that term up so maybe there's a better name for it, but logical banding adds an interface on top of the raw FFT data so that you can, for example, analyze the data at 5 bands per octave across a 6 octave range.

How do you pronounce Tempi? TEMP-ee.

Technologies

  • Swift
  • iOS
  • AVFoundation
  • DSP (Fast Fourier Transform)
  • CoreGraphics

License

CC0

To the extent possible under law, John Scalo has waived all copyright and related or neighboring rights to this work.

Contact

Contact me on Twitter - @scalo

探索相关项目

加载中…