br_waveform 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +29 -0
  3. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f61e4b9cb495baadf14dd059647e368b3f557632
4
+ data.tar.gz: 5dcd2ec25dec61fc85964f03430e15b983eedf55
5
+ SHA512:
6
+ metadata.gz: 9649a27c43f94416388b60e624e3a8669ba221f27e49980d6683d589074c2df8ec5e46c190d94b8d764118aba4438481c7c28afdcdb466d03e405d1e5a5d20b0
7
+ data.tar.gz: 0e65711478188f8665d7403894f216ee56d5c6a7c2f6c624b65ea3838c9a57d442b7620655041fe5fd4d4af5a4cc4902e78721dd50717b10963006c2014970cc
data/README.rdoc ADDED
@@ -0,0 +1,29 @@
1
+ = Br-Waveform
2
+ Generate waveform using wavefile gem to read converted wav file by ffmpeg
3
+
4
+ == Install
5
+
6
+ gem install br_waveform
7
+
8
+ == Usage
9
+
10
+ require 'br_waveform'
11
+ waveform = BrWaveForm.new("my_song.mp3")
12
+ waveform.generate "my_song_waveform.png"
13
+
14
+ == Params
15
+ * *filename*. Output filename (waveform.png) (required)
16
+ * *height*. Height of the waveform in pixel. Default: 60
17
+ * *numberOfBar*. Total bar generated from wav file. Default: 100
18
+ * *barWidth*. Set bar width. Default: 4
19
+ * *spacing*. Set bar spacing. Default: 2
20
+ * *flip*. Set bar flip. If flipped, the bar will be drawn from the top, otherwise from the bottom. Default: false
21
+
22
+ == License
23
+ Copyright (C) 2015 *Brian Doan*
24
+
25
+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
26
+
27
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
28
+
29
+ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: br_waveform
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brian Doan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-08-29 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Generate PNG waveform from audio files
14
+ email: quangkhoidoan@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - README.rdoc
20
+ homepage: http://rubygems.org/gems/br-waveform
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.2.2
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Generate PNG waveform from audio files
44
+ test_files: []
45
+ has_rdoc: