ws-music: music/sf2 + SoundFont tests vs FluidSynth (envelope r 0.995, band spectra r >= 0.969, pitch peaks within 0.6%), gain ramp per block, bench lines
tools/bench.sh: also generates the midi + sf2 fixtures (the bench renders their songs). licenses: TinySoundFont MIT row in NOTICE.md.
This commit is contained in:
1 parent
d2280d3b77
commit
6986b82ab9
10 files changed
+707
-11
No files matched your search
@@ -25,7 +25,7 @@ export type WriteOptions = {
|
||||
}
|
||||
|
||||
local function bytesOf(b: buffer, p: number, n: number): { number }
|
||||
local t = table.create(n)
|
||||
local t: { number } = table.create(n)
|
||||
for i = 0, n - 1 do
|
||||
t[i + 1] = readu8(b, p + i)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user