iOS 0.3.1: engine, model and file formats in C++, verified against Kotlin; longer settings

Engine (sequencer, mixer, FX chains, MIDI effects) renders four whole songs like
AudioEngine.kt (two bit-exact, two within 9e-6). ProjectIo / SngFormat / PresetIo
round-trip the Kotlin-written files; Float.toString is JDK 17's, checked on all
2^32 floats. Params now holds 255-character values (sample ids were cut).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-16 01:50:51 +01:00
co-authored by Claude Opus 5.5
parent b1dc5ed8db
commit 7bc54e6466
20 changed files with 3746 additions and 41 deletions
+11 -1
View File
@@ -70,10 +70,20 @@ build/core/sampler_test: $(CORE_SRC) $(CORE_HDR) core/tests/sampler_test.cpp
mkdir -p build/core
$(CXX) $(CXXFLAGS) -Icore/src/sampler -o $@ $(CORE_SRC) core/tests/sampler_test.cpp
core-test: build/core/golden_test build/core/sampler_test
build/core/engine_test: $(CORE_SRC) $(CORE_HDR) core/tests/engine_test.cpp
mkdir -p build/core
$(CXX) $(CXXFLAGS) -o $@ $(CORE_SRC) core/tests/engine_test.cpp
build/core/io_test: $(CORE_SRC) $(CORE_HDR) core/tests/io_test.cpp
mkdir -p build/core
$(CXX) $(CXXFLAGS) -o $@ $(CORE_SRC) core/tests/io_test.cpp
core-test: build/core/golden_test build/core/sampler_test build/core/engine_test build/core/io_test
@test -f $(GOLDEN)/input.f32 || $(MAKE) --no-print-directory golden
build/core/golden_test $(GOLDEN) $(TYPES)
build/core/sampler_test
build/core/engine_test $(GOLDEN)/songs
build/core/io_test $(GOLDEN)/songs ../app/src/test/resources/mikroseq
# ------------------------------------------------------------------ app
AU_SRC := app/FX/SizzleDeviceAU.mm app/FX/SizzleEffectAU.mm app/FX/SizzleInstrumentAU.mm