DisPlayers-Audio-Visualizers
DisPlayer is a customizable audio visualization component that works with recording and playing back audio files.
The audio visualizer can be easily embedded into an app that features:
- audio comments to text or multimedia posts
- recording and sending audio files in a chat
- playing back audio files posted in a chat using a dedicated UI component
DisPlayer features 5 default visualization presets that can be customized by the background color (single tone or gradient), the wave color, the number of the wave’s bins/bars, and the wave amplitude.
Installation
The control can be easily embedded into an app:
CocoaPods (recommended)
Getting started
Getting started guide for DisPlayers-Audio-Visualizers
- You should added next classes into your project:
- This library contains four types of equalizer visualisation: (Histogram, Rolling, Wave and Circle Wave). And you should chose want kind of equalizer visualization you want and import that class into your project.
Histogram initialization example:
EZAudioPlayerDelegate
- You can also customize equalizer visualisation. You can change default settings for all equalizer visualisation types:
Some presets display audio frequencies as a separate waves, which provides more possibilities for cool sound visualization for your project.
Usage
CocoaPods is the recommended way to add DisPlayer to your project:
- Add a pod entry for DisPlayer to your Podfile pod 'DisPlayer'
- Install the pod(s) by running pod installation.
- Include DisPlayer wherever you need it with #import «Equalizers.h».
Requirements
DisPlayer works on iOS 8.0+ and is compatible with ARC projects.
It depends on the following Apple frameworks, which should already be included with most Xcode templates:
CoreGraphics.framework
QuartzCore.framework
CoreAudio.framework
You will need LLVM 3.0 or later in order to build “DisPlayer”