CMEqualizerIndicatorView
is an OS X library used to visually indicate the play, pause, or stop state of audio. CMEqualizerIndicatorView is designable in Interface Builder for quicker mockups.
- Download CMEqualizerIndicatorView and try the included example project.
- Copy the
CMEqualizerIndicatorView
directory into your project - Import the header file at the top of your document, like so:
#import "CMEqualizerIndicatorView.h"
Quick demonstration.
CMEqualizerIndicatorView *equalizerIndicatorView = [[CMEqualizerIndicatorView alloc] initWithFrame: CGRectMake(0,0,16,16)];
equlizerIndicatorView.tintColor = [NSColor blueColor];
[equalizerIndicatorView startAnimated:YES]; // audio begins playing
[equalizerIndicatorView pauseAnimated:YES]; // audio is paused
[equalizerIndicatorView stopAnimated:YES]; // audio ends playback
There's also an example project in the repo.
Check out this video demo.
CMEqualizerView is a fork of Alex Givens's AGEqualizerView for iOS.