ws-music: music/s3m read + render (OpenMPT-matched master volume / mono rule / default panning), finer comparison bands, voice ownership fix
This commit is contained in:
1 parent
ac3e143ce8
commit
cf7c1b8ad2
12 files changed
+598
-15
No files matched your search
@@ -1,14 +1,14 @@
|
||||
# Tracker fixture helpers (used by tools/fixtures/{mod,s3m,xm,it}.py): small writers for MOD, S3M, XM and IT
|
||||
# (including IT 2.14 / 2.15 sample compression), synthesized samples, reference renders through openmpt123 (nix
|
||||
# libopenmpt) and the comparison features (per 2048-frame block: RMS of left / right / mid and 20 log-spaced band
|
||||
# libopenmpt) and the comparison features (per 2048-frame block: RMS of left / right / mid and 40 log-spaced band
|
||||
# magnitudes of the mid signal), computed the same way in tests/music/_similar.luau. Every module is generated here
|
||||
# (no third-party files), so the fixtures carry no licence.
|
||||
import json, math, os, struct, subprocess, tempfile
|
||||
|
||||
SR = 44100
|
||||
HOP = 2048
|
||||
BANDS = 20
|
||||
F_LO, F_HI = 100.0, 16000.0
|
||||
BANDS = 40
|
||||
F_LO, F_HI = 150.0, 16000.0
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------------------------- samples
|
||||
|
||||
Reference in new issue
Block a user