audio perf: resample planar history + shared dot loop, mdct inverse fused unfold + fft index hoisting, AudioOps strided loops / remix term lists, wav sample loops, SILK LPC in locals, upvalue hoisting (Celt, Mpa), --!optimize 2 on every audio module; tools/bench_audio.luau
This commit is contained in:
1 parent
01c044805f
commit
051aca5b74
98 files changed
+707
-171
No files matched your search
@@ -1,4 +1,5 @@
|
||||
--!strict
|
||||
--!optimize 2
|
||||
-- codecs/audio/Tracker/Load: helpers mapping other tracker formats' effects onto the engine's S3M / IT or MOD / XM families.
|
||||
-- Ported from OpenMPT's ModCommand helpers (ConvertModCommand, ConvertToVolCommand, FillInTwoCommands, GetEffectWeight,
|
||||
-- CPattern::WriteEffect; BSD licence, licenses/openmpt-LICENSE.txt).
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
--!strict
|
||||
--!native
|
||||
--!optimize 2
|
||||
-- codecs/audio/Tracker/Mixer: tracker voice mixing (loops, IT sustain loops, IT two-pole resonant filter, click ramps).
|
||||
-- No third-party code.
|
||||
local floor, ceil, min = math.floor, math.ceil, math.min
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
--!strict
|
||||
--!native
|
||||
--!optimize 2
|
||||
-- codecs/audio/Tracker/Pcm: raw 8 / 16-bit tracker sample data (signed / unsigned, XM / IT 2.15 delta coding,
|
||||
-- interleaved or planar stereo) <-> f32.
|
||||
local readu8, readi8, readu16, readi16 = buffer.readu8, buffer.readi8, buffer.readu16, buffer.readi16
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
--!strict
|
||||
--!native
|
||||
--!optimize 2
|
||||
-- codecs/audio/Tracker/Player: the tracker sequencer for the MOD, S3M, XM and IT effect families.
|
||||
-- Written from the format documents (ProTracker 2.3 docs, the XM spec and FT2 behaviour notes, ST3 TECH.DOC, ITTECH.TXT);
|
||||
-- no third-party code.
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
--!strict
|
||||
--!native
|
||||
--!optimize 2
|
||||
-- codecs/audio/Tracker/Tables: tracker lookup tables, from the public format documents (ProTracker 2.3 effect docs,
|
||||
-- FT2 / XM spec, ST3 TECH.DOC, ITTECH.TXT).
|
||||
local Tables = {}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
--!strict
|
||||
--!optimize 2
|
||||
-- codecs/audio/Tracker: the shared tracker engine behind music/mod, s3m, xm and it, and the formats mapped onto them.
|
||||
-- Written from the format documents (ProTracker 2.3, the XM spec + FT2 behaviour, ST3 TECH.DOC, ITTECH.TXT); libxmp /
|
||||
-- OpenMPT were used only as reference players for tests.
|
||||
|
||||
Reference in new issue
Block a user