All Projects → Ibrahimhass → Ihequalizerview

Ibrahimhass / Ihequalizerview

Licence: mit
An Custom UIView which draws the output of an audio asset in real time.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Ihequalizerview

Closures
Swifty closures for UIKit and Foundation
Stars: ✭ 1,720 (+1522.64%)
Mutual labels:  cocoapods, uiview
Swifty360player
iOS 360-degree video player streaming from an AVPlayer.
Stars: ✭ 118 (+11.32%)
Mutual labels:  cocoapods, uiview
Shadowview
An iOS Library that makes shadows management easy on UIView.
Stars: ✭ 391 (+268.87%)
Mutual labels:  cocoapods, uiview
Flareview
Create Animatic flares around your uiview's. Visit http://stanlyhardy.github.io/FlareView for more info
Stars: ✭ 136 (+28.3%)
Mutual labels:  cocoapods, uiview
Aaviewanimator
AAViewAnimator is a set of animations designed for UIView, UIButton, UIImageView with options in iOS, written in Swift.
Stars: ✭ 33 (-68.87%)
Mutual labels:  cocoapods, uiview
Ios Hierarchy Viewer
iOS Hierarchy viewer - View and Coredata debugging made easy
Stars: ✭ 1,345 (+1168.87%)
Mutual labels:  uiview
Playerctl
🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
Stars: ✭ 1,365 (+1187.74%)
Mutual labels:  mediaplayer
Colormatchtabs
This is a Review posting app that let user find interesting places near them
Stars: ✭ 1,341 (+1165.09%)
Mutual labels:  cocoapods
Pluggableappdelegate
!! No longer supported !! A lightweight service-oriented AppDelegate for iOS, made in Swift.
Stars: ✭ 96 (-9.43%)
Mutual labels:  cocoapods
Sparse
Sparse is a simple parser-combinator library written in Swift.
Stars: ✭ 104 (-1.89%)
Mutual labels:  cocoapods
Datepicker
A Date Picker with Calendar for iPhone and iPad Apps.
Stars: ✭ 103 (-2.83%)
Mutual labels:  cocoapods
Puzzlemaker
Swift framework responsible for generating puzzles from the image
Stars: ✭ 99 (-6.6%)
Mutual labels:  cocoapods
Swiftcsvexport
Swift CSV Export is rich features framework and it helpful to read and write CSV in simple way.
Stars: ✭ 96 (-9.43%)
Mutual labels:  cocoapods
Lcprogresshud
一个超简单的活动指示器。适配横屏。
Stars: ✭ 100 (-5.66%)
Mutual labels:  cocoapods
Cuckoo
Boilerplate-free mocking framework for Swift!
Stars: ✭ 1,344 (+1167.92%)
Mutual labels:  cocoapods
Everlayout
Reusable, downloadable, up-datable iOS layouts
Stars: ✭ 103 (-2.83%)
Mutual labels:  cocoapods
Tkrubberindicator
A rubber animation pagecontrol
Stars: ✭ 1,337 (+1161.32%)
Mutual labels:  cocoapods
Http.swift
A tiny HTTP server engine written in swift.
Stars: ✭ 99 (-6.6%)
Mutual labels:  cocoapods
Rdgliderviewcontroller Swift
Control for a floating view gliding over a ViewController Edit
Stars: ✭ 102 (-3.77%)
Mutual labels:  cocoapods
Suggestionsbox
SuggestionsBox helps you build better a product trough your user suggestions. Written in Swift. 🗳
Stars: ✭ 98 (-7.55%)
Mutual labels:  cocoapods

IHEqualizerView

Version License Platform

A simple, intuitive audio asset visualiser for iOS.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

HighLights

Written purely in SWIFT. Very simple and lightweight. Color Coding for differnt output range.

  • Pale red for low output
  • Light red for medium
  • Red for high output
  • Based on the output distribution pattern of Recorder App from Apple
  • Option to pre-render audio file

Getting Started

To begin using IHEqualizerView you must first make sure you have the proper build requirements.

Build Requirements

iOS

10.0+

Installation

IHEqualizerView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'IHEqualizerView'

Adding Manually To Project

You can add IHEqualizerView to your project in a few ways:

The way to use IHEqualizerView is to download the IHWaveFormView class file in your project as is and use.

ScreenShot

simulator screen shot 16-aug-2017 12 23 44 am

10 pixel width

Usage

StoryBoard

Make the UIView a subclass of IHEqualizerView, make its outlet and initialise as follows:

@IBOutlet var musicView: IHWaveFormView!
extension ViewController: IHWaveFormViewDataSource {

func urlToPlay() -> URL {
    //Getting the Path of the Audio Asset in this case this is bundled in to the main Bundle with the fileName
    var url : URL?
    let path = Bundle.main.path(forResource: "bensound-sunny.mp3", ofType:nil)!
    url = URL(fileURLWithPath: path)
    return url!
    }
    
func lineWidth() -> CGFloat {
  return 2
    }

func lineSeperation() -> CGFloat {
    return 1
    }
    
func shouldPreRender() -> Bool {
    return true
}

}

Author

Md Ibrahim Hassan, [email protected]

License

IHEqualizerView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].