Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
62 changes: 43 additions & 19 deletions .github/workflows/p1-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ jobs:
sonku-p90-source:
# Runs only on the P9 research PR, even while its production jobs skip.
name: SonKu P9 exact-source C++ PCM preflight
if: ${{ github.event_name == 'pull_request' && (startsWith(github.event.pull_request.head.ref, 'research/sonku-p90-') || (startsWith(github.event.pull_request.head.ref, 'research/sonku-p91-p92-') || (startsWith(github.event.pull_request.head.ref, 'feat/sonku-p93-') || (startsWith(github.event.pull_request.head.ref, 'research/sonku-p94-') || startsWith(github.event.pull_request.head.ref, 'feat/sonku-p95-'))))) }}
if: ${{ github.event_name == 'pull_request' && (startsWith(github.event.pull_request.head.ref, 'research/sonku-p90-') || (startsWith(github.event.pull_request.head.ref, 'research/sonku-p91-p92-') || (startsWith(github.event.pull_request.head.ref, 'feat/sonku-p93-') || (startsWith(github.event.pull_request.head.ref, 'research/sonku-p94-') || startsWith(github.event.pull_request.head.ref, 'feat/sonku-p95-') || startsWith(github.event.pull_request.head.ref, 'feat/sonku-p98-'))))) }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -675,6 +675,12 @@ jobs:
node --check site/preview-v2/assets/mixer-native-sonku.js
node tests/sonku_p90_dropdown_stability_test.cjs
node tests/sonku_p93_circular_gui_contract_test.cjs
# Keep retired P8.9/P9.0 research workflows YAML-valid, but never
# rebuild their heavy Windows FAT on a P9.8 audio tuning PR.
python3 scripts/verify_sonku_legacy_workflows.py
if [[ "${{ github.head_ref }}" == feat/sonku-p98-* ]]; then
node tests/sonku_p98_gui_contract_test.cjs
fi
FLAGS="-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 -DSONKU_P75_MUSIC_SAFE_RESEARCH=1 -DSONKU_P80_TRANSPARENT_BASS_RESEARCH=1 -DSONKU_P82_MULTIBAND_ROOM_RESEARCH=1 -DSONKU_P83_PHYSICAL_SPEAKER_RESEARCH=1 -DSONKU_P84_SINGLE_CORE_FUSION_RESEARCH=1 -DSONKU_P85_WORLD_COHERENCE_RESEARCH=1 -DSONKU_P86_HORIZONTAL_FOCUS_RESEARCH=1 -DSONKU_P87_MUSIC_BODY_RESEARCH=1 -DSONKU_P88_PERCEPTUAL_ALIGNMENT_RESEARCH=1 -DSONKU_P89_DEPTH_COHERENCE_RESEARCH=1 -DSONKU_P90_TRUE_EXTERNAL_RESEARCH=1"
g++ $FLAGS tests/sonku_p90_true_external_source_test.cpp -o /tmp/sonku-p90
/tmp/sonku-p90
Expand All @@ -684,10 +690,10 @@ jobs:
g++ $FLAGS -DSONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1 tests/sonku_p94_front_back_depth_source_test.cpp -o /tmp/sonku-p94
/tmp/sonku-p94
python3 scripts/verify_sonku_p94_acoustic_levels.py /tmp/sonku-p94-reference /tmp/sonku-p94
if [[ "${{ github.head_ref }}" == feat/sonku-p95-* ]]; then
if [[ "${{ github.head_ref }}" == feat/sonku-p95-* || "${{ github.head_ref }}" == feat/sonku-p98-* ]]; then
g++ $FLAGS -DSONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1 -DSONKU_P95_MUSICAL_PRESENCE_RESEARCH=1 tests/sonku_p95_musical_presence_source_test.cpp -o /tmp/sonku-p95
/tmp/sonku-p95
if [[ "${{ github.head_ref }}" == feat/sonku-p95-p96-* ]]; then
if [[ "${{ github.head_ref }}" == feat/sonku-p95-p96-* || "${{ github.head_ref }}" == feat/sonku-p98-* ]]; then
g++ -std=c++20 -O2 -Wall -Wextra -Werror -pedantic tests/sonku_p96_distance_reinforcement_source_test.cpp -o /tmp/sonku-p96-bands
/tmp/sonku-p96-bands
g++ $FLAGS -DSONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1 -DSONKU_P95_MUSICAL_PRESENCE_RESEARCH=1 -DSONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH=1 tests/sonku_p95_musical_presence_source_test.cpp -o /tmp/sonku-p96-full
Expand All @@ -698,7 +704,7 @@ jobs:
/tmp/sonku-p96-candidate > /tmp/sonku-p96-candidate.csv
cat /tmp/sonku-p96-reference.csv /tmp/sonku-p96-candidate.csv
python3 scripts/verify_sonku_p96_bands.py /tmp/sonku-p96-reference.csv /tmp/sonku-p96-candidate.csv
if [[ "${{ github.head_ref }}" == feat/sonku-p95-p96-p97-* ]]; then
if [[ "${{ github.head_ref }}" == feat/sonku-p95-p96-p97-* || "${{ github.head_ref }}" == feat/sonku-p98-* ]]; then
g++ -std=c++20 -O2 -Wall -Wextra -Werror -pedantic tests/sonku_p97_stage_impact_source_test.cpp -o /tmp/sonku-p97-unit
/tmp/sonku-p97-unit
g++ $FLAGS -DSONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1 -DSONKU_P95_MUSICAL_PRESENCE_RESEARCH=1 -DSONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH=1 tests/sonku_p97_full_pcm_test.cpp -o /tmp/sonku-p97-reference
Expand All @@ -707,6 +713,17 @@ jobs:
/tmp/sonku-p97-candidate > /tmp/sonku-p97-candidate.csv
cat /tmp/sonku-p97-reference.csv /tmp/sonku-p97-candidate.csv
python3 scripts/verify_sonku_p97_stage_impact.py /tmp/sonku-p97-reference.csv /tmp/sonku-p97-candidate.csv
if [[ "${{ github.head_ref }}" == feat/sonku-p98-* ]]; then
g++ -std=c++20 -O2 -Wall -Wextra -Werror -pedantic tests/sonku_p98_scene_voicing_source_test.cpp -o /tmp/sonku-p98-unit
/tmp/sonku-p98-unit
PRESET_FLAGS="$FLAGS -DSONKU_P94_FRONT_BACK_DEPTH_RESEARCH=1 -DSONKU_P95_MUSICAL_PRESENCE_RESEARCH=1 -DSONKU_P96_DISTANCE_REINFORCEMENT_RESEARCH=1 -DSONKU_P97_STAGE_IMPACT_RESEARCH=1"
g++ $PRESET_FLAGS tests/sonku_p98_integrated_scene_test.cpp -o /tmp/sonku-p98-venue-reference
/tmp/sonku-p98-venue-reference > /tmp/sonku-p98-venue-reference.csv
g++ $PRESET_FLAGS -DSONKU_P98_SCENE_VOICING_RESEARCH=1 tests/sonku_p98_integrated_scene_test.cpp -o /tmp/sonku-p98-scene-candidate
/tmp/sonku-p98-scene-candidate > /tmp/sonku-p98-scene-candidate.csv
cat /tmp/sonku-p98-venue-reference.csv /tmp/sonku-p98-scene-candidate.csv
python3 scripts/verify_sonku_p98_scenes.py /tmp/sonku-p98-venue-reference.csv /tmp/sonku-p98-scene-candidate.csv
fi
fi
fi
fi
Expand All @@ -717,7 +734,7 @@ jobs:
sonku-p90-windows-fat:
name: SonKu P9 actual JUCE / GUI portable x64
needs: sonku-p90-source
if: ${{ github.event_name == 'pull_request' && (startsWith(github.event.pull_request.head.ref, 'research/sonku-p90-') || (startsWith(github.event.pull_request.head.ref, 'research/sonku-p91-p92-') || (startsWith(github.event.pull_request.head.ref, 'feat/sonku-p93-') || (startsWith(github.event.pull_request.head.ref, 'research/sonku-p94-') || startsWith(github.event.pull_request.head.ref, 'feat/sonku-p95-'))))) }}
if: ${{ github.event_name == 'pull_request' && (startsWith(github.event.pull_request.head.ref, 'research/sonku-p90-') || (startsWith(github.event.pull_request.head.ref, 'research/sonku-p91-p92-') || (startsWith(github.event.pull_request.head.ref, 'feat/sonku-p93-') || (startsWith(github.event.pull_request.head.ref, 'research/sonku-p94-') || startsWith(github.event.pull_request.head.ref, 'feat/sonku-p95-') || startsWith(github.event.pull_request.head.ref, 'feat/sonku-p98-'))))) }}
runs-on: windows-2022
timeout-minutes: 55
steps:
Expand All @@ -739,9 +756,10 @@ jobs:
- name: Configure the actual native app with P9 OFF by default except FAT
shell: pwsh
run: |
$p95flag = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*') { 'ON' } else { 'OFF' }
$p96flag = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*') { 'ON' } else { 'OFF' }
$p97flag = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*') { 'ON' } else { 'OFF' }
$p95flag = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { 'ON' } else { 'OFF' }
$p96flag = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { 'ON' } else { 'OFF' }
$p97flag = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { 'ON' } else { 'OFF' }
$p98flag = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { 'ON' } else { 'OFF' }
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 `
-DJUCE_ROOT="$env:GITHUB_WORKSPACE/third_party/JUCE" `
-DJUCE_WEBVIEW2_PACKAGE_LOCATION="$env:GITHUB_WORKSPACE/.deps" `
Expand All @@ -761,6 +779,7 @@ jobs:
-DARMIX_SONKU_EXPERIMENTAL_P95_MUSICAL_PRESENCE=$p95flag `
-DARMIX_SONKU_EXPERIMENTAL_P96_DISTANCE_REINFORCEMENT=$p96flag `
-DARMIX_SONKU_EXPERIMENTAL_P97_STAGE_IMPACT=$p97flag `
-DARMIX_SONKU_EXPERIMENTAL_P98_SCENE_VOICING=$p98flag `
-DBUILD_TESTING=ON
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$cache = Get-Content build/CMakeCache.txt -Raw
Expand All @@ -774,18 +793,20 @@ jobs:
shell: pwsh
run: |
$targets = @('ARMixSonKuP94SourceTests','ARMixSonKuP94ReferenceTests','ARMixSonKuP91P92MusicBassTests','ARMixSonKuP90NativeTests','ARMixSonKuP90SourceTests','ARMixSonKuP89NativeTests','ARMixSonKuP89SourceTests','ARMixConsole')
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*') { $targets += 'ARMixSonKuP95MusicTests' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*') { $targets += 'ARMixSonKuP96DistanceTests' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*') { $targets += 'ARMixSonKuP97StageTests' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { $targets += 'ARMixSonKuP95MusicTests' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { $targets += 'ARMixSonKuP96DistanceTests' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { $targets += 'ARMixSonKuP97StageTests' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { $targets += 'ARMixSonKuP98VoicingTests' }
cmake --build build --config Release --parallel 2 --target $targets
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
if (-not (Test-Path -LiteralPath 'build/ARMixConsole_artefacts/Release/AR MIX Studio.exe' -PathType Leaf)) {
throw 'SONKU_P90_NATIVE_GUI_EXE_MISSING'
}
$tests = '^NativeSonKuP(89RoomAnchoredStereoAndP88GoldenParity|89JuceV10AppliedAckAndV9Restore|90StereoExternalizationSource|90JuceV11AppliedAckAndLegacyRestore|91P92MusicFidelityWorldBassAndRoom|94FrontBackDepthA_BSource|94LevelMatchedAB'
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*') { $tests += '|95MusicPresenceVenue' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*') { $tests += '|96DistanceBassAndTrebleRetention' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*') { $tests += '|97BassVocalExternalAirSafety' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { $tests += '|95MusicPresenceVenue' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { $tests += '|96DistanceBassAndTrebleRetention' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { $tests += '|97BassVocalExternalAirSafety' }
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { $tests += '|98SceneVoicingVenueLock' }
$tests += ')$'
ctest --test-dir build -C Release --output-on-failure -R $tests
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Expand All @@ -802,12 +823,15 @@ jobs:
Copy-Item docs/SONKU_P90_TRUE_EXTERNAL_SPEAKER_FAT_20261115.md dist/SONKU_P90_FIELD_FAT.md
Copy-Item docs/SONKU_P91_P92_RECONCILED_MUSIC_FIDELITY_BASS_FAT_20261116.md dist/SONKU_P91_P92_FIELD_FAT.md
Copy-Item docs/SONKU_P94_FRONT_REAR_EXTERNALIZATION_FAT_20261116.md dist/SONKU_P94_FRONT_REAR_FAT.md
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*') {
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') {
Copy-Item docs/SONKU_P95_IMMERSIVE_MUSIC_VENUE_FAT_20261116.md dist/SONKU_P95_MUSIC_VENUE_FAT.md
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*') {
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') {
Copy-Item docs/SONKU_P96_DISTANCE_REINFORCEMENT_FAT_20261116.md dist/SONKU_P96_DISTANCE_FAT.md
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*') {
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*' -or $env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') {
Copy-Item docs/SONKU_P97_STAGE_IMPACT_FAT_20261116.md dist/SONKU_P97_STAGE_FAT.md
if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') {
Copy-Item docs/SONKU_P98_OPERATOR_VENUE_CHECKPOINT_AND_VOICING_FAT_20261116.md dist/SONKU_P98_SCENE_VOICING_FAT.md
}
}
}
}
Expand All @@ -816,8 +840,8 @@ jobs:
throw 'SONKU_P90_SOURCE_COMMIT_MISMATCH'
}
$provenance | Add-Member -Force -NotePropertyName sonkuExperiment -NotePropertyValue @{
mode = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*') { 'P9.7_STAGE_IMPACT_EXTERNAL_PRESENCE_RESEARCH' } elseif ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*') { 'P9.6_STAGE_BASS_AIR_DISTANCE_RESEARCH' } elseif ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*') { 'P9.5_IMMERSIVE_MUSIC_VENUE_FOUNDATION' } else { 'P9.4_FRONT_REAR_DEPTH_EXPERIMENT' }
stateSchema = 11
mode = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { 'P9.8_SCENE_VOICING_VENUE_LOCKED_RESEARCH' } elseif ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-p97-*') { 'P9.7_STAGE_IMPACT_EXTERNAL_PRESENCE_RESEARCH' } elseif ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-p96-*') { 'P9.6_STAGE_BASS_AIR_DISTANCE_RESEARCH' } elseif ($env:GITHUB_HEAD_REF -like 'feat/sonku-p95-*') { 'P9.5_IMMERSIVE_MUSIC_VENUE_FOUNDATION' } else { 'P9.4_FRONT_REAR_DEPTH_EXPERIMENT' }
stateSchema = if ($env:GITHUB_HEAD_REF -like 'feat/sonku-p98-*') { 12 } else { 11 }
headphoneFat = 'PENDING'
publicRelease = $false
physicalAsioQualified = $false
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/sonku-p83-native-speaker-gates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ concurrency:
jobs:
native-source:
name: Native C++ P8.3 source, PCM/stems/no-null and Music Bed invariants
# P8.3 mono/physical research was acoustically REJECTED. Its strict
# negative FAT is preserved (and remains hard-failing) for explicitly
# targeted P8.3 research branches or manual workflow_dispatch.
# Running its known-rejected physical mode on every newer P9 source
# change makes unrelated approved P9 candidate PRs falsely red.
# New P9.8 tests explicitly verify that modes 1/2 cannot be admitted.
if: ${{ github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'research/sonku-p83-') || startsWith(github.head_ref, 'feat/sonku-p83-') }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down
Loading
Loading