wavefile 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +9 -2
- data/lib/wavefile.rb +1 -1
- data/lib/wavefile/buffer.rb +1 -1
- data/lib/wavefile/chunk_readers/sample_chunk_reader.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74dc03a8b43dd34032083def685191fb8795bcc19f0d6dc2459377249e72b262
|
4
|
+
data.tar.gz: 9388445c1d4f394ea3929b7bb49e01b4db1c3058ec497d17a7e783f94389d093
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '087d89fb1b379afb39afa0173e41ee67a6c609b4969054bfe3b81eff367410dc46623a4e5e5bf52de1f59b13186f40a935c2eef70168a4b2a75cce5a9fd5487f'
|
7
|
+
data.tar.gz: cd180b60e9f70e2ec60ff8431192d9aec10aaf06554591a725a9594d5ed8efd1479abb2219495addbe8dd91c4f6ee5220c10371be95dc1836c5f863ba27b7227
|
data/README.markdown
CHANGED
@@ -43,7 +43,7 @@ Note that if you're installing the gem into the default Ruby that comes pre-inst
|
|
43
43
|
|
44
44
|
WaveFile has been tested with these Ruby versions, and appears to be compatible with them:
|
45
45
|
|
46
|
-
* MRI 2.
|
46
|
+
* MRI 2.7.0, 2.6.5, 2.5.7, 2.4.9, 2.3.8, 2.2.10, 2.1.10, 2.0.0-p648
|
47
47
|
|
48
48
|
2.0 is the minimum supported Ruby version.
|
49
49
|
|
@@ -68,7 +68,14 @@ This gem lets you read and write audio data! You can use it to create Ruby progr
|
|
68
68
|
* Written in pure Ruby, so it's easy to include in your program. There's no need to compile a separate extension in order to use it.
|
69
69
|
|
70
70
|
|
71
|
-
# Current Release: v1.1.
|
71
|
+
# Current Release: v1.1.1
|
72
|
+
|
73
|
+
Released on December 29, 2019, this version contains this change:
|
74
|
+
|
75
|
+
* Removes `warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call` output when reading a file with a `smpl` chunk using Ruby 2.7.0. (And presumably, higher Ruby versions as well, but Ruby 2.7.0 is the most recent Ruby version at the time of this release).
|
76
|
+
|
77
|
+
|
78
|
+
# Previous Release: v1.1.0
|
72
79
|
|
73
80
|
Released on January 20, 2019, this version has these changes:
|
74
81
|
|
data/lib/wavefile.rb
CHANGED
data/lib/wavefile/buffer.rb
CHANGED
@@ -86,7 +86,7 @@ module WaveFile
|
|
86
86
|
# Public: Converts the sample data contained in the Buffer to a new format. The sample
|
87
87
|
# data is converted in place, so the existing Buffer is modified.
|
88
88
|
#
|
89
|
-
# new_format - The format that the sample data should be converted to. See Buffer#
|
89
|
+
# new_format - The format that the sample data should be converted to. See Buffer#convert
|
90
90
|
# for how samples will be mapped if the new number of channels differs from
|
91
91
|
# the original number of channels.
|
92
92
|
#
|
@@ -49,7 +49,7 @@ module WaveFile
|
|
49
49
|
loop_fields[:type] = loop_fields[:type]
|
50
50
|
loop_fields[:fraction] /= 4_294_967_296.0
|
51
51
|
|
52
|
-
fields[:loops] << SamplerLoop.new(loop_fields)
|
52
|
+
fields[:loops] << SamplerLoop.new(**loop_fields)
|
53
53
|
end
|
54
54
|
|
55
55
|
if sampler_data_size > 0
|
@@ -62,7 +62,7 @@ module WaveFile
|
|
62
62
|
fields[:sampler_specific_data] = ""
|
63
63
|
end
|
64
64
|
|
65
|
-
SamplerInfo.new(fields)
|
65
|
+
SamplerInfo.new(**fields)
|
66
66
|
end
|
67
67
|
|
68
68
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wavefile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Strait
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: You can use this gem to create Ruby programs that work with audio, by
|
14
14
|
reading and writing Wave sound files (*.wav). Since it is written in pure Ruby (as
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
rubygems_version: 3.
|
156
|
+
rubygems_version: 3.1.2
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: A pure Ruby library for reading and writing Wave sound files (*.wav)
|