Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
4be9634
feat(sonku): add bounded phase-aware stereo music-integrity stage
masarray Nov 13, 2026
d40ce26
fix(sonku-dsp): retain anti-phase stereo music while preserving measu…
masarray Nov 13, 2026
f19940e
test(sonku): prove exact centered HRTF, anti-phase stereo energy and …
masarray Nov 13, 2026
5e14e38
test(sonku): publish reproducible lossless music-integrity headphone …
masarray Nov 13, 2026
a432d8d
fix(sonku): render real line breaks in offline headphone A/B listenin…
masarray Nov 13, 2026
119d37d
ci(sonku): support fast three-track music integrity headphone AB with…
masarray Nov 13, 2026
2d3715b
fix(sonku): correct literal WAV listening-guide newline escapes
masarray Nov 13, 2026
881f04c
docs(sonku): root-cause cancellation, public dearVR research and mult…
masarray Nov 13, 2026
a5f3ea8
ci(sonku): keep audio-only phase work in fast native WAV and CPU lane…
masarray Nov 13, 2026
f7cd174
test(sonku): honor existing 8ms wet/dry smoothing before asserting bi…
masarray Nov 13, 2026
9bf0f7c
feat(sonku-audio): detect coherent stereo mid separately from anti-ph…
masarray Nov 13, 2026
bed18ba
feat(sonku-dsp): phase-coherent Mid HRTF with zero extra per-sample FIR
masarray Nov 13, 2026
c105273
test(sonku): measure native coherent-mid 2 kHz HRIR vs previous rear …
masarray Nov 13, 2026
67ecb1b
test(sonku): render five matched native WAVs against immutable alpha.…
masarray Nov 13, 2026
59e4a27
test(sonku): validate pinned alpha.23 vs candidate PCM in five matche…
masarray Nov 13, 2026
fe1fa6c
ci(sonku): qualify spectral and anti-phase PCM against pinned alpha.2…
masarray Nov 13, 2026
27b384d
docs(sonku): record 7.2/11.6dB coherent comb mechanism and zero-extra…
masarray Nov 13, 2026
a1a8af0
docs(sonku): pin objective 7.19/11.64dB and anti-phase RMS from nativ…
masarray Nov 13, 2026
870e8b0
test(sonku): protect ROOM ON anti-phase source at 44.1/48k across arb…
masarray Nov 13, 2026
d4964e4
test(sonku): 380-point 44.1/48k KEMAR music spectral fidelity audit
masarray Nov 13, 2026
b0d32b2
test(sonku): normalize spectral dB against exact center magnitude eve…
masarray Nov 13, 2026
83e7836
ci(sonku): add fast 380-point spectral music guard to exact-source WA…
masarray Nov 13, 2026
9dd16d3
docs(sonku): record 380-point spectral integrity coverage and explici…
masarray Nov 13, 2026
0807b92
feat(sonku): protect mixed-polarity frequency bands in native side guard
masarray Nov 13, 2026
93e749b
test(sonku): native A/B WAV proves masked treble rescue without bass …
masarray Nov 13, 2026
ba11faf
fix(sonku): suppress multiband protection tail on exact digital silence
masarray Nov 13, 2026
3ee29c2
test(sonku): audit treble interaural phase, level and accurate headph…
masarray Nov 13, 2026
301ef48
fix(sonku): write actual line breaks in six-pair headphone listening …
masarray Nov 13, 2026
7fd6446
perf(sonku): measure native callback p50/p95/p99 for 64–512 frame buf…
masarray Nov 13, 2026
a1e6a12
fix(sonku): terminate per-buffer CPU percentile log lines correctly
masarray Nov 13, 2026
4992ee3
feat(sonku): prototype directional measured-KEMAR early reflections i…
masarray Nov 13, 2026
11b6d2e
test(sonku): P2 directional room same-source WAV A/B, objective evide…
masarray Nov 13, 2026
0e52b07
fix(sonku): ensure P2 headphone A/B guide uses real line breaks
masarray Nov 13, 2026
8f7a05c
fix(sonku): keep immutable alpha.23 baseline build independent of P2-…
masarray Nov 13, 2026
56dcd1e
perf(sonku): linearize directional reflection FIR reads with mirrored…
masarray Nov 13, 2026
af4e402
test(sonku): prove P2 moving parity and near/far; reject unproven rin…
masarray Nov 13, 2026
395e2fb
test(sonku): quantify P2 binaural harmonic coloration and tonality re…
masarray Nov 13, 2026
8761f78
feat(sonku): P3 zero-spread directional reflection fusion with exact …
masarray Nov 14, 2026
68d944a
test(sonku): preserve physically correct anti-phase null in P3 wet-on…
masarray Nov 14, 2026
96763f0
test(sonku): verify P3 native 140-tap reference/fused WAV phase and h…
masarray Nov 14, 2026
77d1fc9
perf(sonku): P4 opt-in contiguous full-KEMAR reflected FIR, cross-wra…
masarray Nov 14, 2026
333f5a6
test(sonku): certify P4 original independent-stereo native PCM byte i…
masarray Nov 14, 2026
c30e538
test(sonku): quantify P4 16-bit rounding, sample RMS and 5-band stere…
masarray Nov 14, 2026
5ae4d88
fix(sonku): P5 reject stale directional HRIR ring samples on ROOM rea…
masarray Nov 14, 2026
c0cef6d
feat(sonku-p6): prepare immutable directional KEMAR realtime profile …
masarray Nov 14, 2026
08e3c82
ci(vocal-harmony): forward-port scoped main workflow so SonKu P6 cann…
masarray Nov 14, 2026
b2c91b7
test(sonku-p6): render four exact-native ROOM A/B WAV pairs with caus…
masarray Nov 14, 2026
e8993ca
test(sonku-p6): register focused native CTest and verify real JUCE pr…
masarray Nov 14, 2026
23bd400
fix(sonku-p6): select matched 44.1k KEMAR bank within accepted ASIO r…
masarray Nov 14, 2026
ac93301
ci(sonku): add scoped exact-SHA Windows JUCE adapter opt-in qualifica…
masarray Nov 14, 2026
2b6449f
data(sonku-p7): pin complete MIT KEMAR measured multi-elevation 44.1/…
masarray Nov 14, 2026
32cb63a
feat(sonku-p7): measured KEMAR elevation for physically modeled floor…
masarray Nov 14, 2026
9ecca8d
test(sonku-p7): prove 6-boundary measured elevation, physical floor/c…
masarray Nov 14, 2026
17a9796
ci(sonku-p7): fast original WAV evidence and scoped 1-4 instance nati…
masarray Nov 14, 2026
49708b1
fix(sonku-p7): make pinned KEMAR bank regeneration script produce rea…
masarray Nov 14, 2026
5849af8
test(sonku-p7): enforce no stale vertical reflections on room reactiv…
masarray Nov 14, 2026
fa4b6b5
ci(sonku): skip redundant Windows JUCE rebuild for P7-only research c…
masarray Nov 14, 2026
db2844c
test(sonku-p7): run P0-P6 negative-control native PCM and 380-point K…
masarray Nov 14, 2026
57bbc13
test(sonku-p7): publish per-ear musical harmonic tonality, ILD and ph…
masarray Nov 14, 2026
15c986b
feat(sonku-p71): quiescent true-XYZ measured direct HRIR plus physica…
masarray Nov 14, 2026
5ee220d
test(sonku-p71): validate measured XYZ direct and six-boundary PCM an…
masarray Nov 14, 2026
ff5093e
test(sonku-p71): measure direct XYZ musical tonality, ILD/phase and 1…
masarray Nov 14, 2026
f6a5148
perf(sonku-p71): split full-tap FIR from bounded warm-up without per-…
masarray Nov 14, 2026
866c200
fix(sonku-p71): preserve strict quiescent edit gate through reset and…
masarray Nov 14, 2026
444ec9b
test(sonku-p71): correct reset-vs-orbit assertion order and qualify X…
masarray Nov 14, 2026
9332029
bench(sonku-p71): interleaved old-vs-new 4-insert warm-FIR CPU eviden…
masarray Nov 14, 2026
fdc1a09
feat(sonku-p72): atomic realtime XYZ SPSC edit and versioned v3 nativ…
masarray Nov 14, 2026
f21744d
test(sonku-p72): prove atomic live elevation and real JUCE v3/v2/v1 A…
masarray Nov 14, 2026
a0b7fdf
build(sonku-p72): gate measured XYZ native JUCE, v3 and two focused C…
masarray Nov 14, 2026
08596bf
ci(sonku-p72): targeted Linux native and Windows real JUCE v3/audio A…
masarray Nov 14, 2026
64f5912
refactor(sonku-p73): one typed v2/v3 SonKu JSON control contract for …
masarray Nov 14, 2026
6d0ceb5
feat(sonku-p73): wire native GUI dispatcher to one v2/v3 accepted-sta…
masarray Nov 14, 2026
a2bfcd0
feat(sonku-p73): capability-gated compact elevation GUI with strict n…
masarray Nov 14, 2026
7729ea4
style(sonku-p73): honor native capability-gated elevation hidden stat…
masarray Nov 14, 2026
eab54df
test(sonku-p73): real JUCE typed v2/v3 bridge decode, atomic invalid …
masarray Nov 14, 2026
ba7b36e
test(sonku-p73): gate v2/v3 GUI geometry and JUCE typed bridge contra…
masarray Nov 14, 2026
cf34921
fix(sonku-p73): repair Python bridge regression assertion syntax befo…
masarray Nov 14, 2026
9374719
reconcile(sonku): native XYZ P7.3 plus current Player/main for physic…
masarray Nov 14, 2026
f4a4453
ci(sonku): compile entire opt-in XYZ JUCE app and verify portable Win…
masarray Nov 14, 2026
8b7ebe2
docs(sonku): reproducible Windows ASIO/headphone FAT protocol and dea…
masarray Nov 14, 2026
e3381f8
ci(sonku): attach hash-verified MIT KEMAR attribution and physical FA…
masarray Nov 14, 2026
bf0f43f
fix(ci): valid SonKu P7.4 YAML and hash-verified MIT field package no…
masarray Nov 14, 2026
c0c866d
fix(sonku-ci): use existing fail-closed field FAT qualification statu…
masarray Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions .github/workflows/sonku-native-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
name: SonKu native JUCE Windows (focused experimental quality)
# Verify the REAL JUCE adapter in a single targeted opt-in build.
# No full mixer executable, installer, Chromium, hardware ASIO or Vocal Harmony.
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
paths:
- 'engine/builtin_fx/sonku/**'
- 'engine/builtin_fx/SonKuSpatialProcessor.h'
- 'tests/sonku_native_state_test.cpp'
- 'tests/sonku_p6_realtime_quality_test.cpp'
- '.github/workflows/sonku-native-windows.yml'
permissions:
contents: read
concurrency:
group: sonku-native-windows-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
scope:
name: Classify exact new source changes, avoid unrelated Windows repeats
runs-on: ubuntu-latest
timeout-minutes: 3
outputs:
compile: ${{ steps.delta.outputs.compile }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2
- name: Compare exact PR synchronization range, fail open if unknown
id: delta
shell: bash
env:
ACTION: ${{ github.event.action }}
BEFORE: ${{ github.event.before }}
run: |
set -euo pipefail
# On initial or uncertain pushes always compile; never guess.
if [[ "$ACTION" != synchronize || ! "$BEFORE" =~ ^[0-9a-f]{40}$ || "$BEFORE" =~ ^0+$ ]]; then
echo "compile=true" >> "$GITHUB_OUTPUT"
echo "SONKU_WINDOWS_COMPILE_REASON=initial_or_unverifiable_delta"
exit 0
fi
if ! git cat-file -e "$BEFORE^{commit}" 2>/dev/null; then
if ! git fetch --no-tags --depth=1 origin "$BEFORE"; then
echo "compile=true" >> "$GITHUB_OUTPUT"
echo "SONKU_WINDOWS_COMPILE_REASON=missing_predecessor"
exit 0
fi
fi
if ! git diff --name-only --no-renames "$BEFORE" HEAD > "$RUNNER_TEMP/sonku-delta.txt"; then
echo "compile=true" >> "$GITHUB_OUTPUT"
exit 0
fi
cat "$RUNNER_TEMP/sonku-delta.txt"
# P7-only MIT measured data and six-plane lab files are compiled
# OUT of the real JUCE P6 build. They have their own Linux CI.
if grep -Eq '^((CMakeLists.txt)|(engine/builtin_fx/SonKuSpatialProcessor.h)|(engine/builtin_fx/sonku/(SonKuEarlyReflections|SonKuSpatialCore|SonKuStereoIntegrity|SonKuMeasuredHrir|SonKuMusicalReverb).h)|(tests/sonku_(native_state|p6_realtime_quality)_test.cpp)|(\.github/workflows/sonku-native-windows.yml))$' "$RUNNER_TEMP/sonku-delta.txt"; then
echo "compile=true" >> "$GITHUB_OUTPUT"
echo "SONKU_WINDOWS_COMPILE_REASON=real_native_adapter_change"
elif grep -Eq '^engine/builtin_fx/sonku/' "$RUNNER_TEMP/sonku-delta.txt" &&
grep '^engine/builtin_fx/sonku/' "$RUNNER_TEMP/sonku-delta.txt" |
grep -Ev '^engine/builtin_fx/sonku/(SonKuMeasuredHrir3D|SonKuVerticalImageSource).h$' >/dev/null; then
echo "compile=true" >> "$GITHUB_OUTPUT"
echo "SONKU_WINDOWS_COMPILE_REASON=unknown_sonku_native_header"
else
echo "compile=false" >> "$GITHUB_OUTPUT"
echo "SONKU_WINDOWS_COMPILE_REASON=research_or_docs_only"
fi
native-juce:
needs: scope
if: ${{ needs.scope.outputs.compile == 'true' }}
name: Windows MSVC SonKu native adapter + core (opt-in ON)
runs-on: windows-2022
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Verify immutable PR head
shell: pwsh
env:
EXPECTED: ${{ github.event.pull_request.head.sha }}
run: |
$sha = (& git rev-parse HEAD).Trim()
if ($LASTEXITCODE -ne 0 -or $sha -ne $env:EXPECTED) {
throw "SONKU_SHA_MISMATCH expected=$env:EXPECTED actual=$sha"
}
Write-Host "SONKU_QUALIFICATION_SOURCE_SHA=$sha"
- uses: actions/checkout@v4
with:
repository: juce-framework/JUCE
ref: 8.0.15
path: third_party/JUCE
persist-credentials: false
- name: Provide pinned WebView2 CMake SDK (no installer)
shell: pwsh
run: |
nuget install Microsoft.Web.WebView2 -Version 1.0.3485.44 -OutputDirectory .deps -NonInteractive
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Configure only CTest catalog with experimental P6 ON
shell: pwsh
run: |
cmake -S . -B build-sonku-p6 -G "Visual Studio 17 2022" -A x64 `
-DJUCE_ROOT="${{ github.workspace }}/third_party/JUCE" `
-DJUCE_WEBVIEW2_PACKAGE_LOCATION="${{ github.workspace }}/.deps" `
-DARMIX_SONKU_EXPERIMENTAL_DIRECTIONAL_RT=ON -DBUILD_TESTING=ON
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$result = (& ctest --test-dir build-sonku-p6 -C Release --show-only=json-v1 | Out-String | ConvertFrom-Json)
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$found = @($result.tests | ForEach-Object { $_.name })
foreach($name in @('NativeSonKuSessionV1V2AndAudioAppliedAck',
'NativeSonKuP6PreparedRoomDirectionalAndChunkParity')) {
if($name -notin $found) { throw "SONKU_CTEST_TARGET_NOT_REGISTERED:$name" }
}
- name: Build ONLY two SonKu source targets (no installer/full app)
shell: pwsh
run: |
cmake --build build-sonku-p6 --config Release --parallel 2 --target ARMixSonKuNativeStateTests ARMixSonKuP6PreparedTests
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Execute native JUCE acceptance, PCM and state CTests
shell: pwsh
run: |
ctest --test-dir build-sonku-p6 -C Release --output-on-failure `
-R '^NativeSonKu(SessionV1V2AndAudioAppliedAck|P6PreparedRoomDirectionalAndChunkParity)$'
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-Host 'SONKU_P6_WINDOWS_JUCE_NATIVE_ON=PASS (no physical ASIO)'
93 changes: 93 additions & 0 deletions .github/workflows/sonku-p7-research.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: SonKu P7 measured-elevation research (scoped native)
# Compile licensed multi-elevation KEMAR ONLY in the research tests.
# Production DSP, GUI, Harmony CI, installer and full JUCE are not touched.
on:
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'engine/builtin_fx/sonku/**'
- 'tests/sonku_p7_*'
- 'tests/sonku_p71_*'
- 'tools/sonku_offline_listening.cpp'
- 'tools/sonku_p7_cpu.cpp'
- '.github/workflows/sonku-p7-research.yml'
permissions:
contents: read
concurrency:
group: sonku-p7-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
six-surface:
name: P7 full measured KEMAR, 6 planes, native stereo WAV and CPU
runs-on: ubuntu-latest
timeout-minutes: 9
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Proven P6 LIGHT/default contract and P5 stale-history regression
run: |
g++ -std=c++20 -O2 -Wall -Wextra -pedantic tests/sonku_p6_realtime_quality_test.cpp -o /tmp/p6
/tmp/p6
g++ -std=c++20 -O2 -Wall -Wextra -pedantic tests/sonku_p5_room_reactivation_test.cpp -o /tmp/p5
/tmp/p5
- name: Confirm deterministic MIT bank extractor syntax without network
run: python -m py_compile scripts/generate_sonku_measured_hrir3d.py
- name: Preserve all prior P0-P4 source audio invariants on unmodified production profile
run: |
set -euo pipefail
for source in sonku_spatial_core_test sonku_multiband_phase_test sonku_directional_reflections_test sonku_p3_spread_zero_fusion_test sonku_p4_contiguous_reflections_test; do
g++ -std=c++20 -O2 -Wall -Wextra -pedantic tests/${source}.cpp -o "/tmp/${source}"
"/tmp/${source}"
done
g++ -std=c++20 -O2 -Wall -Wextra -pedantic tests/sonku_hrir_spectral_audit.cpp -o /tmp/sonku-p7-spectral
mkdir -p sonku-p7-evidence
/tmp/sonku-p7-spectral > sonku-p7-evidence/P7-LEGACY-KEMAR-380-POINTS.csv
test "$(($(wc -l < sonku-p7-evidence/P7-LEGACY-KEMAR-380-POINTS.csv)-1))" -eq 380
- name: P7 measured 14-elevation KEMAR + native source six-plane PCM
run: |
g++ -std=c++20 -O2 -Wall -Wextra -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 tests/sonku_p7_six_surface_test.cpp -o /tmp/p7
/tmp/p7
- name: P7.1 true XYZ source direct HRTF 44.1/48k and phase-safe spatial PCM
run: |
g++ -std=c++20 -O2 -Wall -Wextra -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 -DSONKU_P71_DIRECT_XYZ_RESEARCH=1 tests/sonku_p71_xyz_direct_test.cpp -o /tmp/p71
/tmp/p71
- name: Four matched P6 four-wall versus P7 six-plane realtime ROOM WAV pairs
run: |
g++ -std=c++20 -O2 -Wall -Wextra -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 tools/sonku_offline_listening.cpp -o /tmp/p7-render
mkdir -p sonku-p7-evidence
/tmp/p7-render sonku-p7-evidence --p7-six-surface-only
python tests/sonku_p7_six_surface_audio_audit.py sonku-p7-evidence
- name: P7.1 measured direct elevation original same-source 12 WAVs
run: |
g++ -std=c++20 -O2 -Wall -Wextra -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 -DSONKU_P71_DIRECT_XYZ_RESEARCH=1 tools/sonku_offline_listening.cpp -o /tmp/p71-render
/tmp/p71-render sonku-p7-evidence --p71-xyz-direct-only
- name: P7.1 fused FIR fast path against exact P7 original WAV reference
run: |
mkdir -p /tmp/sonku-p71-fir-fast
/tmp/p71-render /tmp/sonku-p71-fir-fast --p7-six-surface-only
python tests/sonku_p71_fir_parity_audit.py sonku-p7-evidence /tmp/sonku-p71-fir-fast
- name: P7.1 measure same-source XYZ direct stereo musical integrity / per-ear acoustics
run: |
python tests/sonku_p71_xyz_audio_audit.py sonku-p7-evidence
- name: Informational CPU 1/2/4 inserts P6 versus P7 48k/128
run: |
g++ -std=c++20 -O2 -Wall -Wextra -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 tools/sonku_p7_cpu.cpp -o /tmp/p7-bench
/tmp/p7-bench | tee sonku-p7-evidence/SONKU-P7-CPU-REPORT.txt
- name: Informational P7.1 direct XYZ CPU 1/2/4 inserts, 0/+25/-25 degrees
run: |
g++ -std=c++20 -O2 -Wall -Wextra -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 -DSONKU_P71_DIRECT_XYZ_RESEARCH=1 tools/sonku_p7_cpu.cpp -o /tmp/p71-bench
/tmp/p71-bench | grep SONKU_P71_CPU | tee sonku-p7-evidence/SONKU-P71-CPU-REPORT.txt
- name: P7.1 controlled interleaved old-vs-fast FIR benchmark (informational)
run: |
g++ -std=c++20 -O2 -Wall -Wextra -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 tools/sonku_p71_hotpath_benchmark.cpp -o /tmp/p71-original
g++ -std=c++20 -O2 -Wall -Wextra -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 -DSONKU_P71_DIRECT_XYZ_RESEARCH=1 tools/sonku_p71_hotpath_benchmark.cpp -o /tmp/p71-fast
python tests/sonku_p71_interleaved_cpu_audit.py /tmp/p71-original /tmp/p71-fast sonku-p7-evidence
- name: Upload 8 matched lossless WAV and JSON/CPU evidence
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: SonKu-P7-Measured-Six-Surface-${{ github.run_id }}
path: sonku-p7-evidence/*
if-no-files-found: ignore
retention-days: 14
54 changes: 54 additions & 0 deletions .github/workflows/sonku-p71-windows-core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: SonKu P7.1 native Windows core — focused and no JUCE SDK
# P7.1 research only, independent of installer, ASIO, and Vocal Harmony.
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
paths:
- 'engine/builtin_fx/sonku/SonKuSpatialCore.h'
- 'engine/builtin_fx/sonku/SonKuEarlyReflections.h'
- 'engine/builtin_fx/sonku/SonKuVerticalImageSource.h'
- 'engine/builtin_fx/sonku/SonKuSourcePlacement3D.h'
- 'engine/builtin_fx/sonku/SonKuMeasuredHrir3D.h'
- 'tests/sonku_p71_xyz_direct_test.cpp'
- 'tests/sonku_p71_windows/CMakeLists.txt'
- '.github/workflows/sonku-p71-windows-core.yml'
permissions:
contents: read
concurrency:
group: sonku-p71-win-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
native:
name: Windows MSVC 20 — P7.1 XYZ and P6 default PCM (two tiny targets)
runs-on: windows-2022
timeout-minutes: 12
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Refuse stale/incorrect source SHA
shell: pwsh
env:
EXPECTED_SHA: ${{ github.event.pull_request.head.sha }}
run: |
$actual=(& git rev-parse HEAD).Trim()
if($LASTEXITCODE -ne 0 -or $actual -ne $env:EXPECTED_SHA) {
throw "SONKU_P71_SHA_MISMATCH expected=$env:EXPECTED_SHA actual=$actual"
}
Write-Host "SONKU_P71_WINDOWS_CORE_SHA=$actual"
- name: Configure isolated MSVC source tests (no JUCE or WebView2)
shell: pwsh
run: |
cmake -S tests/sonku_p71_windows -B build-p71-win -G "Visual Studio 17 2022" -A x64
if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Compile two exact native C++20 source regression targets
shell: pwsh
run: |
cmake --build build-p71-win --config Release --parallel 2 --target SonKuP71XYZSource SonKuP6DefaultRegression
if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: 44.1k/48k measured HRTF XYZ PCM and P6 default assertions
shell: pwsh
run: |
ctest --test-dir build-p71-win -C Release --output-on-failure
if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-Host 'SONKU_P71_MSVC_SOURCE_PCM=PASS no_ASIO_hardware_claim'
114 changes: 114 additions & 0 deletions .github/workflows/sonku-p72-native-xyz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: SonKu P7.2 native XYZ ACK and v3 state — isolated
# No installer / full mixer compile. JUCE source adapter and pure C++ PCM.
# Production remains LIGHT and SONK v2; P7.2 opt-in flag OFF by default.
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
paths:
- 'engine/builtin_fx/SonKuSpatialProcessor.h'
- 'engine/builtin_fx/sonku/**'
- 'tests/sonku_p72_*'
- 'src/SonKuNativeBridgeContract.h'
- 'site/preview-v2/assets/mixer-native-sonku.js'
- 'tests/sonku_p73_*'
- 'tests/native_peq_assembly_test.py'
- 'CMakeLists.txt'
- '.github/workflows/sonku-p72-native-xyz.yml'
permissions:
contents: read
concurrency:
group: sonku-p72-native-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
source:
name: Pure native 44.1/48k PCM, SPSC-safe XYZ edit and P6/P7.1 parity
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Exact PR commit fingerprint
shell: bash
env:
EXPECTED: ${{ github.event.pull_request.head.sha }}
run: |
test "$(git rev-parse HEAD)" = "$EXPECTED"
echo "SONKU_P72_EXACT_SHA=$EXPECTED"
- name: P7.3 JS grammar, actual geometry/capability and bridge regression
run: |
set -euo pipefail
node --check site/preview-v2/assets/mixer-native-sonku.js
node tests/sonku_p73_gui_contract_test.js
python -m unittest discover -s tests -p native_peq_assembly_test.py
- name: Compile and execute original default native PCM contracts
run: |
set -euo pipefail
g++ -std=c++20 -O2 -Wall -Wextra -Werror -pedantic tests/sonku_p6_realtime_quality_test.cpp -o /tmp/sonku-p6
/tmp/sonku-p6
g++ -std=c++20 -O2 -Wall -Wextra -Werror -pedantic -DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 -DSONKU_P71_DIRECT_XYZ_RESEARCH=1 tests/sonku_p71_xyz_direct_test.cpp -o /tmp/sonku-p71
/tmp/sonku-p71
- name: P7.2 live native ROOM edit + complete measured direct PCM
run: |
set -euo pipefail
g++ -std=c++20 -O2 -Wall -Wextra -Werror -pedantic \
-DSONKU_P7_MEASURED_ELEVATION_RESEARCH=1 \
-DSONKU_P71_DIRECT_XYZ_RESEARCH=1 \
-DSONKU_P72_NATIVE_XYZ_RT=1 \
tests/sonku_p72_realtime_xyz_test.cpp -o /tmp/sonku-p72
/tmp/sonku-p72
windows-juce:
name: Windows MSVC JUCE real native PCM→ACK→v3/legacy state
runs-on: windows-2022
timeout-minutes: 21
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Exact immutable source SHA before compilation
shell: pwsh
env:
EXPECTED: ${{ github.event.pull_request.head.sha }}
run: |
$sha = (& git rev-parse HEAD).Trim()
if($LASTEXITCODE -ne 0 -or $sha -ne $env:EXPECTED) { throw "SONKU_P72_SHA_MISMATCH:$sha" }
Write-Host "SONKU_P72_WINDOWS_SOURCE_SHA=$sha"
- uses: actions/checkout@v4
with:
repository: juce-framework/JUCE
ref: 8.0.15
path: third_party/JUCE
persist-credentials: false
- name: Pinned WebView2 CMake configure SDK (no installer)
shell: pwsh
run: |
nuget install Microsoft.Web.WebView2 -Version 1.0.3485.44 -OutputDirectory .deps -NonInteractive
if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Configure research option explicitly ON; verify only required targets
shell: pwsh
run: |
cmake -S . -B build-sonku-p72 -G "Visual Studio 17 2022" -A x64 `
-DJUCE_ROOT="${{ github.workspace }}/third_party/JUCE" `
-DJUCE_WEBVIEW2_PACKAGE_LOCATION="${{ github.workspace }}/.deps" `
-DARMIX_SONKU_EXPERIMENTAL_NATIVE_XYZ_RT=ON -DBUILD_TESTING=ON
if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$tests = (& ctest --test-dir build-sonku-p72 -C Release --show-only=json-v1 | Out-String | ConvertFrom-Json)
if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$found = @($tests.tests | ForEach-Object { $_.name })
foreach($name in @('NativeSonKuP72AtomicXyzLiveEditSource',
'NativeSonKuP72JuceV3XyzLiveAckV1V2Restore',
'NativeSonKuSessionV1V2AndAudioAppliedAck')) {
if($name -notin $found) { throw "SONKU_P72_MISSING_CTEST:$name" }
}
- name: Build only two P72 source/JUCE targets + original light regression
shell: pwsh
run: |
cmake --build build-sonku-p72 --config Release --parallel 2 --target ARMixSonKuP72SourceTests ARMixSonKuP72NativeTests ARMixSonKuNativeStateTests
if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Run native v3 ACK and v1/v2 corruption/restore CTests
shell: pwsh
run: |
ctest --test-dir build-sonku-p72 -C Release --output-on-failure `
-R '^NativeSonKu(P72AtomicXyzLiveEditSource|P72JuceV3XyzLiveAckV1V2Restore|SessionV1V2AndAudioAppliedAck)$'
if($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-Host 'SONKU_P72_JUCE_WINDOWS_3_CTESTS_PASS_NO_PHYSICAL_ASIO'
Loading
Loading