Skip to content

amplifiedapp/jacked

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jacked

The gem that gets information from audio files.

Build Status

Installation

Add this line to your application's Gemfile:

gem 'jacked'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jacked

Usage

To initialize write:

jacked = Jacked.create("path/to/file")

to get the file_type

jacked.file_type #=> audio

to get the file_format

jacked.file_format #=> mp3, wav, etc...

to get the duration

jacked.duration #=> in seconds. eg.: 234

to get the waveform (in json format)

jacked.waveform #=> get a json with: width, height and data

About

The gem that gets the information from audio files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published