JOCLoudness 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66110ebcbb7dc1502a197e58b4c76ad450a60251
|
4
|
+
data.tar.gz: a5efe7a8e7dce8de97086233f263737068818377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d23323ae41d5ef93542206113aa4b0696a39afb40be74757b8c7358b8699dc91c104440bd374462039cddd3a77b54c5386cc25d6de3348f7e9fda953a6d99a7f
|
7
|
+
data.tar.gz: 94f6d2cc6832946a9c43d45e7c00fa22c8a137886128a050a80a074fe76135c49c64aab98f81cd2f624e2586dc40800eba78c7b435efb5feeee77b6a975eec91
|
data/README.md
CHANGED
@@ -1,21 +1,26 @@
|
|
1
|
-
|
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
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
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
|