animate_it 0.3.1 → 0.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95bcfafc0a059c64d5f3a4097a308ba2b7b9fff58cafdb18de720926e02cb07e
4
- data.tar.gz: 268da7e42d644633ee56bafb7528e7051280474647873d31bad585b07bd472cb
3
+ metadata.gz: 0675f1e382659072fd53a4b9453d2a44b1bf8a208075bc43974522195540df1f
4
+ data.tar.gz: c3804ff10fa75939fd23716e555054b64ea0ba45f1eaa9beb36c8b23e5b7c025
5
5
  SHA512:
6
- metadata.gz: d4cd9739b39aecc9d9cedf7d159718a768b7ba26ad3c4382e6f1bd96226ba70c4d59d708c57c263124eb07d39f0ff21bf3daab91733e774ffa15457dd8f3cf9e
7
- data.tar.gz: c6f480ba02780a0c2cff836d061247961985138916607a318e6a4311456e8627684179dd52a81d16ab8fe30b413192f9126e9c3073306799299c8a8ff5ec06ec
6
+ metadata.gz: 06fe263c48072dc834609a78c5f3f3f09a2897872740e11d54fd8edcf2dcd986113ae1338ffd941f491077de0c4a3feb100cda5b679ef161052c8cbe123a55f3
7
+ data.tar.gz: d2f7f86b39e2aa3308dc98e9e6cd5bc4956716e03e0e81cc2a5857892ac9f1dea584634b13f3632450561285f361dbb3491964ac58a10296118e2a1375499b26
data/CHANGELOG.md CHANGED
@@ -6,10 +6,15 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.2] - 2026-07-23
10
+
9
11
  ### Fixed
10
12
  - Studio audio is now served with HTTP byte-range support (Accept-Ranges,
11
13
  206 Partial Content). Browsers refuse to seek media served without it, so
12
14
  play-pause-play and scrub-then-play restarted clips from 0:00.
15
+ - Multi-track renders no longer bury quiet tracks: the ffmpeg `amix` mux now
16
+ passes `normalize=0`, so declared per-segment gains are the only scaling
17
+ (amix's default divides every input by the track count).
13
18
 
14
19
  ## [0.3.1] - 2026-07-22
15
20
 
@@ -58,7 +63,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
58
63
  - `render_animate_it_video` executable and `animate_it:render` rake task.
59
64
  - `animate_it:install` generator.
60
65
 
61
- [Unreleased]: https://github.com/joinbuildit/animate_it/compare/v0.3.1...HEAD
66
+ [Unreleased]: https://github.com/joinbuildit/animate_it/compare/v0.3.2...HEAD
67
+ [0.3.2]: https://github.com/joinbuildit/animate_it/compare/v0.3.1...v0.3.2
62
68
  [0.3.1]: https://github.com/joinbuildit/animate_it/compare/v0.3.0...v0.3.1
63
69
  [0.3.0]: https://github.com/growth-constant/animate_it/compare/v0.2.0...v0.3.0
64
70
  [0.2.0]: https://github.com/growth-constant/animate_it/compare/v0.1.0...v0.2.0
@@ -1,3 +1,3 @@
1
1
  module AnimateIt
2
- VERSION = "0.3.1".freeze
2
+ VERSION = "0.3.2".freeze
3
3
  end
@@ -182,7 +182,10 @@ module AnimateIt
182
182
  gain = seg.source[:gain] || 1.0
183
183
  "[#{i + 1}:a]adelay=#{delay_ms}|#{delay_ms},volume=#{gain}[a#{i}]"
184
184
  end
185
- mix = "#{audios.length.times.map { |i| "[a#{i}]" }.join}amix=inputs=#{audios.length}:duration=longest[aout]"
185
+ # normalize=0: amix's default rescales every input by 1/N, which
186
+ # silently buries a voice-over under a music bed the moment a second
187
+ # track is declared. Declared gains are the only intended scaling.
188
+ mix = "#{audios.length.times.map { |i| "[a#{i}]" }.join}amix=inputs=#{audios.length}:duration=longest:normalize=0[aout]"
186
189
  [legs, mix].flatten.join(";")
187
190
  end
188
191
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: animate_it
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - growth-constant