JOCLoudness 1.0.4 → 1.0.5

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 +4 -4
  2. data/README.md +21 -7
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb8af76bd2940127a19168cf9cfb55fffd518e3b
4
- data.tar.gz: f9899fe2b6742691e424c191858501fcfa08ae5d
3
+ metadata.gz: 66110ebcbb7dc1502a197e58b4c76ad450a60251
4
+ data.tar.gz: a5efe7a8e7dce8de97086233f263737068818377
5
5
  SHA512:
6
- metadata.gz: a2035f0f602259e61903eaf6c99f90832dfc1fcfd4c84ccd046fd09e97597428139b2501702cfd32e060f6097d38ad6d4d2424db28efbd2db944fcb61b736395
7
- data.tar.gz: aa8f1600df07654bb25df636d7322ce660781bcbe3a02f7813df25614ae0534ecd4d042b2795291eb62ffe0e8a47717aa724b08ca21e102b9578a05f444dd483
6
+ metadata.gz: d23323ae41d5ef93542206113aa4b0696a39afb40be74757b8c7358b8699dc91c104440bd374462039cddd3a77b54c5386cc25d6de3348f7e9fda953a6d99a7f
7
+ data.tar.gz: 94f6d2cc6832946a9c43d45e7c00fa22c8a137886128a050a80a074fe76135c49c64aab98f81cd2f624e2586dc40800eba78c7b435efb5feeee77b6a975eec91
data/README.md CHANGED
@@ -1,21 +1,26 @@
1
- JOCLoudnessRuby
2
- ===============
1
+ JOCLoudness
2
+
3
+ [![Version ](https://badge.fury.io/rb/JOCLoudness.svg) ](https://rubygems.org/gems/JOCLoudness)
3
4
 
4
5
  The JOCLoudnessRuby is a native ruby code able to load a wav file and calculate its Loudness in LKFS following the ITU-R BS.1770
5
6
 
6
7
  Accepted formats (.WAV):
7
- * Headers of 16, 18, 40 bytes
8
- * Any sampling frequency
9
- * Any number of channels
10
- * PCM 8,16,24 bits per sample or FLOAT 32 bits per sample
8
+ - Headers of 16, 18, 40 bytes
9
+ - Any sampling frequency
10
+ - Any number of channels
11
+ - PCM 8,16,24 bits per sample or FLOAT 32 bits per sample
11
12
 
12
13
  Note 1: This module recalculates automatically the filter coefficients depending on input file sampling frequency
14
+
13
15
  Note 2: ITU-R BS.1770 is a NOT gated measure
14
16
 
15
17
 
18
+
16
19
  Usage examples:
17
20
 
18
21
  - Simple:
22
+
23
+ ```ruby
19
24
  require 'JOCLoudness'
20
25
 
21
26
  wavfilename = "c:\\Test.wav"
@@ -32,9 +37,12 @@ begin
32
37
  rescue Exception => e
33
38
  puts "Error: #{e.message}, Trace: #{e.backtrace.inspect}"
34
39
  end
40
+ ```
41
+
35
42
 
36
43
 
37
44
  - Advanced:
45
+ ```ruby
38
46
  require 'JOCLoudness'
39
47
 
40
48
  wavfilename = ARGV[0]
@@ -51,4 +59,10 @@ begin
51
59
 
52
60
  rescue Exception => e
53
61
  puts "Error: #{e.message}, Trace: #{e.backtrace.inspect}"
54
- end
62
+ end
63
+ ```
64
+
65
+ You can download test files from https://tech.ebu.ch/loudness (See test material)
66
+
67
+
68
+ If you want more information about loudness you can go to http://www.jordicenzano.name/projects/loudness
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: JOCLoudness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordi Cenzano