All Projects → Luccifer → SonogramView

Luccifer / SonogramView

Licence: MIT license
Audio visualisation of song

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to SonogramView

Bpm Analyser
Analyser BPM in Swift for your music/sounds/records, whatever..
Stars: ✭ 60 (-7.69%)
Mutual labels:  songs, bpm
Macsvg
macSVG - An open-source macOS app for designing HTML5 SVG (Scalable Vector Graphics) art and animation with a WebKit web view ➤➤➤
Stars: ✭ 789 (+1113.85%)
Mutual labels:  bezier, path
BezierKit
Bezier curves and paths in Swift for building vector applications
Stars: ✭ 190 (+192.31%)
Mutual labels:  bezier, path
Shapes
📐 Net standard geometry/shape manipulation library, can be used to merge / split shapes
Stars: ✭ 95 (+46.15%)
Mutual labels:  bezier, path
react-svg-curve
React components to draw different types of curves with svg
Stars: ✭ 42 (-35.38%)
Mutual labels:  bezier, path
Wechart
Create all the [ch]arts by cax or three.js - Cax 和 three.js 创造一切图[表]
Stars: ✭ 152 (+133.85%)
Mutual labels:  bezier, path
stroke-dasharray-interpolation-talk
Slides from 2015 D3.js talk
Stars: ✭ 17 (-73.85%)
Mutual labels:  path
global-prefix
Get the npm global path prefix. Same code used internally by npm.
Stars: ✭ 27 (-58.46%)
Mutual labels:  path
youtubly-android
An android app to download 📹 videos and 🎶 songs from youtube to phone internal storage. In a nutshell NewPipe for just audio.
Stars: ✭ 24 (-63.08%)
Mutual labels:  songs
SwiftUI-bez
Utilities for working with bezier curves in SwiftUI
Stars: ✭ 80 (+23.08%)
Mutual labels:  path
bliss
Bliss music library that can compute distance between songs
Stars: ✭ 76 (+16.92%)
Mutual labels:  songs
curve-editor
A simple bezier curve editor
Stars: ✭ 35 (-46.15%)
Mutual labels:  bezier
theeye-of-sauron
TheEye Dockers and QuickStart
Stars: ✭ 27 (-58.46%)
Mutual labels:  bpm
ludacris
🎶 Get song lyrics. No BS. https://liyasthomas.github.io/ludacris
Stars: ✭ 37 (-43.08%)
Mutual labels:  songs
DingoLingo
A Discord music bot written in Python with support for Youtube, SoundCloud, Spotify, Bandcamp, Twitter, and custom files.
Stars: ✭ 183 (+181.54%)
Mutual labels:  songs
micronaut-camunda-bpm
Integration between Micronaut and Camunda (Workflow Engine). We configure Camunda with sensible defaults, so that you can get started with minimum configuration: simply add a dependency in your Micronaut project to embed the workflow engine!
Stars: ✭ 73 (+12.31%)
Mutual labels:  bpm
path-replace-loader
Path replace loader for webpack
Stars: ✭ 14 (-78.46%)
Mutual labels:  path
pathtools
DEPRECATED This twig plugin for the Craft CMS brings convenient path & url manipulation functions & filters to your Twig templates.
Stars: ✭ 19 (-70.77%)
Mutual labels:  path
corebos
core Business Operating System. An OPEN SOURCE business application that helps small and medium business handle all the day to day tasks.
Stars: ✭ 128 (+96.92%)
Mutual labels:  bpm
PROJ Option Pricing Matlab
Quant Option Pricing - Exotic/Vanilla: Barrier, Asian, European, American, Parisian, Lookback, Cliquet, Variance Swap, Swing, Forward Starting, Step, Fader
Stars: ✭ 85 (+30.77%)
Mutual labels:  fourier-transform

SonogramView

Audio visualisation of song

Requirements

  • iOS 8.0+
  • macOS 10.10+
  • Xcode 8.0+

Installation:

Manually

First

Check SonogramView.swift or MacSonogramView.swift and copy it to your project, then take a look on example for iOS or macOS, it's pretty straightforward, and don't forget to make sure, that you have your audiofile added to project/downloaded.

Second

You whould init anywhere the SonogramView() as nib or fram - doesnt matter..

let sView: SonogramView = SonogramView()

Provide your fileURL like:

sView.addDurationOfFileWith(url: fileUrl!)

And just invoke the magic!

sView.convertToPoints()

Playground:

Try it in Playground! :)

import PlaygroundSupport

var fileUrl: URL?
do {
    fileUrl = PlaygroundSupport.playgroundSharedDataDirectory.appendingPathComponent("test.m4a")
    // User/Documents/Shared Playground Data
} catch {
    print(error)
}


var waveView: SonogramView = SonogramView()
waveView.addDurationOfFileWith(url: fileUrl!)
waveView.convertToPoints()
// And you are done!

// Customization of view
waveView.backgroundColor = .clear
let view = UIView(frame: CGRect(x: 0, y: 0, width: 300, height: 200))
view.backgroundColor = .white
view.addSubview(waveView)

waveView.frame.size.width = view.frame.width
waveView.frame.size.height = view.frame.height
waveView.center = view.center

PlaygroundPage.current.liveView = view // Showing in liveView with xCode Playground
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].