Ofa Ruby

Ruby binding to libofa
Alternatives To Ofa Ruby
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Libviface30
2 years ago2C++
C++ bindings for Linux tun/tap and netdevice interface
Multigestureview20
2 years ago1mitC#
A container View for Xamarin.Forms that supports event binding for gestures like Long Press, Tap and Right Click.
Ocaml Tuntap19
4 days ago4iscOCaml
Bindings to UNIX tuntap facilities
Clearbit Go121a year ago3November 12, 20216mitGo
Go bindings for Clearbit
React Touchable10
9 years agomitJavaScript
Touch bindings in react
Parquet Cascalog7
4 years ago1October 05, 2015Java
Cascading sink tap for parquet files, with some minimal clojure bindings
Taps5
13 years ago
Easy CMDB Integration
Ofa Ruby5
10 years ago4March 03, 2013Ruby
Ruby binding to libofa
Swiftuimenu4
3 years agomitSwift
Homebrew Py4
11 years ago1Ruby
Python-related additional packages for Homebrew
Alternatives To Ofa Ruby
Select To Compare


Alternative Project Comparisons
Readme

libofa for Ruby

This Ruby gem wraps the OFA library (libofa) that is an open-source audio fingerprint created and provided by MusicIP (now called AmpliFIND Music Services).

Install

gem install ofa -- --with-ofa-include=<libofa-dir>/include --with-ofa-lib=<libofa-dir>/lib

or if you're using Bundler:

bundle config build.ofa --with-ofa-include=<libofa-dir>/include --with-ofa-lib=<libofa-dir>/lib

If you're using OSX and Homebrew you can install libofa by using my tap:

brew tap tanob/custom
brew install libofa

How to use

require 'ofa'

sample_rate = 44100
stereo = true
data = File.read('music.wav')
puts "Using libofa version: #{Ofa::version.join('.')}"
puts 'Calculated PUID:', Ofa::create_fingerprint(data, data.size/2, sample_rate, stereo)
Popular Bindings Projects
Popular Tap Projects
Popular Libraries Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Ruby
Bindings
Tap
Bundler
Fingerprint