feat(ngs2): implement custom PitchShift and external render jobs #11315

Merged
kyon-eth merged 31 commits from upstream-pr/11315 into main 2026-10-29 11:57:07 +00:00
kyon-eth commented 2026-10-26 03:34:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kyon-eth on 2026-10-26T03:34:39Z.


What

Custom sampler/submixer racks containing PitchShift currently reject creation, and external job managers cannot schedule the render pipeline. Implement the supported one-buffer PitchShift path and slot-0 render scheduling, including dependency barriers and completion before callback publication.

The supporting changes reproduce sampler startup history/resampling, streaming and replacement state; buffer worker events and render parameters; preserve callback ordering and cross-thread setup/process/cleanup handoffs; and retain detached racks after system destruction. Correct the 232-byte rack-info layout and PitchShift parameter-position validation, including five-bit aliases and early termination of invalid linked parameter lists.

Unsupported paths still throw and are documented in library debt. Stream exports and stream-job routing, worker setup/block/filter/patch controls, broader custom-buffer/module configurations and complete title compatibility remain outside this change. This is not full NGS2 support.

Overlaps and landing order

Maintainers may choose the order. These are independent features, with no functional dependency; the later branch must retain both implementations and test registrations.

  • Main's Gain/routing changes are integrated. Preserve its buffer selection, callback layout guards, initialization/lifecycle refusals and all tests alongside worker snapshots, callback unlocking and sampler history. The former #10851 is merged, not an open dependency.
  • #10599 Reverb: shared custom dispatch, lifecycle and test registration still require reconciliation when either lands. The prior separate Gain/Reverb/PitchShift preview passed 48/48 host tests; it is historical and is not a fresh combined run of the current heads or native-equivalence evidence for multi-buffer routing/Gain initialization.
  • #11347 rack capacity: a separate local preview with head 3661b32c44 creates a 37-channel-capacity PitchShift rack, renders an eight-channel voice and verifies 32/37-channel SETUP rejection preserves usable rendering. That PR still caps active voice SETUP at eight channels. This branch additionally refuses PitchShift processing at 32 or more channels before any shift. The preview is not included here.
  • #11388 VAG: the author has documented the independent landing resolution: retain Sampler.cpp and Vag.cpp, decode before saving replay blocks, add a VAG reader to the new sampler and preserve compressed-byte state. VAG keeps its own skip semantics. Sampler history, finite-repeat counts, publication timing and completed-voice state must retain this branch's reference-backed contracts. The earlier combined results are the other author's, not a fresh current-head union run by me. Nonzero sampler setup flags remain an unresolved integration item; see the review reply.
  • #11354 peak meter: preserve meter allocation/state and its post-module measurement when merging the shared render/publication paths. This branch does not implement the meter.
  • #5548 PCM retention: preserve format-aware accounting, Q14 history/decode-ahead, callback publication, replacement and repeat semantics. Its experimental whole-block retention is not included. No fresh combined runtime claim.
  • #1384, #9149 and #10249: the scan cannot compare these cleanly against main. Preserve current built-in Reverb DSP, compressed-stream behavior and applicable option-word bounds. These are not dependencies; stale/conflicting branches need a later rebase.

The refreshed scan still reports these overlaps. This is a landing plan and bounded validation record, not an overlap-free or all-authors-agreed claim.

Tested

Current-main validation (2026-10-27): integrated main 9ae2f7d22a in aea8616433, retaining its updated waveform parser and regressions. The rebuilt macOS x86-64 production-source fixture passes 44/44 registered NGS2 checks plus the alias check (45/45 total). Conventions, whitespace and privacy checks pass. No Linux/Windows execution by the author is claimed.

Open blocker: the reported PPSA36591 VAG setup with flag 0x10 remains unresolved on this published branch. That bit selects an alternate AJM decoder bank; the enabled VAG path requires AJM codec 22, which is not implemented here. Ignoring the flag would not reproduce decoder selection or error/accounting behavior. The separate local VAG integration is not included in this PR and has not passed its integration test. This main-sync update does not claim that the title regression is fixed or that this PR is ready to merge.

macOS x86-64/Rosetta: built the production NGS2 sources and both library variants with a focused external CMake fixture using the repository module definitions and pinned local LibAtrac9. Unrelated host libc/kernel boundaries are adapted; this is not a full application build.

  • 45/45 registered tests pass in the rebuilt macOS x86-64 production-source fixture after current-main integration. This includes both library variants, Gain/routing safety and mastering-gain checks; their assertions account for the verified three-frame sampler startup history. Coverage includes PitchShift DSP/lifecycle, sampler formats/history/streaming/replacement, scheduler errors and ordering, worker snapshots, callback handoffs, detached ownership and rack info.
  • ARM64 ThreadSanitizer: the earlier broader worker/lifecycle checks passed 12/12; the affected PitchShift/worker-buffer checks passed 2/2 after the final parameter change.
  • 13.60 reference-library comparisons use host synchronization, TLS, math and SDK adapters, with an equivalent SSE4a extraction lowering for Rosetta. They cover active PitchShift/position aliases, invalid linked lists, 160 worker-buffering scenarios, sampler behavior and the callback/ownership cases recorded in debt. These are not console runs.
  • The new position regression fails on the previous production dispatch with an invalid-argument exception and passes after validation is corrected. Earlier regressions and ownership/mutation controls are retained.
  • Based on main fe2b52c7e4. The last main advancement changed no tested NGS2 implementation source bytes. Conventions: zero warnings/errors; whitespace and privacy/scope checks pass. The required open-PR scan completed; overlaps are described above.
  • The review's exact PCM skip=2/sample=3 example passes against the 13.60 module and this implementation: three startup zeros, five PCM frames from the data start, one block-end callback, 62 public decoded samples and 128 consumed bytes after the 64-frame grain. Fixed the prior host counter of 64 while retaining the matching audio window.
  • No author Linux, Windows or title run. No performance claim or complete game unblock. Trails in the Sky 2nd Chapter PPSA35169 discussion 10156 reports the PitchShift refusal; this PR has not been tested with that title.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

Latest review evidence and remaining blocker

Linux title report on exact head aea8616433 confirms that Trails in the Sky 2nd passes the PitchShift refusal and then stops at the separate custom-Reverb refusal. This is not a combined-PR or complete-title result.

Reported PPSA36591 rack options include a 216-byte ordinary sampler option with word 51 equal to 32 and VAG setup flag 0x10. This supports treating the report as the configured alternate-bank case, not the missing-bank case. The remaining review blocker is a real backend implementation gap: AJM codec 22 and its scheduling/output-accounting path are not implemented on this branch. The refusal remains explicit; this report does not justify ignoring the flag or claiming the title regression fixed.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5011604577 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11315). Originally posted by [kyon-eth](https://github.com/kyon-eth) on 2026-10-26T03:34:39Z. --- ### What Custom sampler/submixer racks containing PitchShift currently reject creation, and external job managers cannot schedule the render pipeline. Implement the supported one-buffer PitchShift path and slot-0 render scheduling, including dependency barriers and completion before callback publication. The supporting changes reproduce sampler startup history/resampling, streaming and replacement state; buffer worker events and render parameters; preserve callback ordering and cross-thread setup/process/cleanup handoffs; and retain detached racks after system destruction. Correct the 232-byte rack-info layout and PitchShift parameter-position validation, including five-bit aliases and early termination of invalid linked parameter lists. Unsupported paths still throw and are documented in library debt. Stream exports and stream-job routing, worker setup/block/filter/patch controls, broader custom-buffer/module configurations and complete title compatibility remain outside this change. This is not full NGS2 support. #### Overlaps and landing order Maintainers may choose the order. These are independent features, with no functional dependency; the later branch must retain both implementations and test registrations. - **Main's Gain/routing changes are integrated.** Preserve its buffer selection, callback layout guards, initialization/lifecycle refusals and all tests alongside worker snapshots, callback unlocking and sampler history. The former #10851 is merged, not an open dependency. - **#10599 Reverb:** shared custom dispatch, lifecycle and test registration still require reconciliation when either lands. The prior separate Gain/Reverb/PitchShift preview passed 48/48 host tests; it is historical and is not a fresh combined run of the current heads or native-equivalence evidence for multi-buffer routing/Gain initialization. - **#11347 rack capacity:** a separate local preview with head 3661b32c44 creates a 37-channel-capacity PitchShift rack, renders an eight-channel voice and verifies 32/37-channel SETUP rejection preserves usable rendering. That PR still caps active voice SETUP at eight channels. This branch additionally refuses PitchShift processing at 32 or more channels before any shift. The preview is not included here. - **#11388 VAG:** the author has documented the independent landing resolution: retain Sampler.cpp and Vag.cpp, decode before saving replay blocks, add a VAG reader to the new sampler and preserve compressed-byte state. VAG keeps its own skip semantics. Sampler history, finite-repeat counts, publication timing and completed-voice state must retain this branch's reference-backed contracts. The earlier combined results are the other author's, not a fresh current-head union run by me. Nonzero sampler setup flags remain an unresolved integration item; see the review reply. - **#11354 peak meter:** preserve meter allocation/state and its post-module measurement when merging the shared render/publication paths. This branch does not implement the meter. - **#5548 PCM retention:** preserve format-aware accounting, Q14 history/decode-ahead, callback publication, replacement and repeat semantics. Its experimental whole-block retention is not included. No fresh combined runtime claim. - **#1384, #9149 and #10249:** the scan cannot compare these cleanly against main. Preserve current built-in Reverb DSP, compressed-stream behavior and applicable option-word bounds. These are not dependencies; stale/conflicting branches need a later rebase. The refreshed scan still reports these overlaps. This is a landing plan and bounded validation record, not an overlap-free or all-authors-agreed claim. ### Tested Current-main validation (2026-10-27): integrated main `9ae2f7d22a` in `aea8616433`, retaining its updated waveform parser and regressions. The rebuilt macOS x86-64 production-source fixture passes **44/44 registered NGS2 checks plus the alias check (45/45 total)**. Conventions, whitespace and privacy checks pass. No Linux/Windows execution by the author is claimed. **Open blocker:** the reported PPSA36591 VAG setup with flag `0x10` remains unresolved on this published branch. That bit selects an alternate AJM decoder bank; the enabled VAG path requires AJM codec 22, which is not implemented here. Ignoring the flag would not reproduce decoder selection or error/accounting behavior. The separate local VAG integration is not included in this PR and has not passed its integration test. This main-sync update does not claim that the title regression is fixed or that this PR is ready to merge. macOS x86-64/Rosetta: built the production NGS2 sources and both library variants with a focused external CMake fixture using the repository module definitions and pinned local LibAtrac9. Unrelated host libc/kernel boundaries are adapted; this is not a full application build. - **45/45 registered tests pass** in the rebuilt macOS x86-64 production-source fixture after current-main integration. This includes both library variants, Gain/routing safety and mastering-gain checks; their assertions account for the verified three-frame sampler startup history. Coverage includes PitchShift DSP/lifecycle, sampler formats/history/streaming/replacement, scheduler errors and ordering, worker snapshots, callback handoffs, detached ownership and rack info. - ARM64 ThreadSanitizer: the earlier broader worker/lifecycle checks passed **12/12**; the affected PitchShift/worker-buffer checks passed **2/2** after the final parameter change. - 13.60 reference-library comparisons use host synchronization, TLS, math and SDK adapters, with an equivalent SSE4a extraction lowering for Rosetta. They cover active PitchShift/position aliases, invalid linked lists, **160 worker-buffering scenarios**, sampler behavior and the callback/ownership cases recorded in debt. These are not console runs. - The new position regression fails on the previous production dispatch with an invalid-argument exception and passes after validation is corrected. Earlier regressions and ownership/mutation controls are retained. - Based on main `fe2b52c7e4`. The last main advancement changed no tested NGS2 implementation source bytes. Conventions: **zero warnings/errors**; whitespace and privacy/scope checks pass. The required open-PR scan completed; overlaps are described above. - The review's exact PCM skip=2/sample=3 example passes against the 13.60 module and this implementation: three startup zeros, five PCM frames from the data start, one block-end callback, 62 public decoded samples and 128 consumed bytes after the 64-frame grain. Fixed the prior host counter of 64 while retaining the matching audio window. - No author Linux, Windows or title run. No performance claim or complete game unblock. Trails in the Sky 2nd Chapter PPSA35169 [discussion 10156](https://github.com/boykopovar/AnyPS5/discussions/10156) reports the PitchShift refusal; this PR has not been tested with that title. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no --> ### Latest review evidence and remaining blocker [Linux title report](https://github.com/boykopovar/AnyPS5/pull/11315#issuecomment-6443629553) on exact head `aea8616433` confirms that Trails in the Sky 2nd passes the PitchShift refusal and then stops at the separate custom-Reverb refusal. This is not a combined-PR or complete-title result. [Reported PPSA36591 rack options](https://github.com/boykopovar/AnyPS5/pull/11315#issuecomment-6454790627) include a 216-byte ordinary sampler option with word 51 equal to 32 and VAG setup flag `0x10`. This supports treating the report as the configured alternate-bank case, not the missing-bank case. The remaining review blocker is a real backend implementation gap: AJM codec 22 and its scheduling/output-accounting path are not implemented on this branch. The refusal remains explicit; this report does not justify ignoring the flag or claiming the title regression fixed.
MarcZX10 commented 2026-10-26 04:37:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T04:37:45Z.

Review: CHANGES_REQUESTED


I found a PCM sampler regression in the new block binding path. For non-ATRAC9 blocks, AddWaveformBlocks validates storage for (num_skip_samples + num_samples) * frameBytes, and the previous renderer started frame reads at block.data + num_skip_samples * frameBytes while emitting exactly num_samples. The new Ngs2BindSamplerBlock instead sets pcmRemaining to the sum, and Ngs2ReadSamplerPcm reads from block.data + dataCursor starting at zero. A block with two skipped PCM frames followed by three playable frames will therefore render all five frames from the prefix instead of emitting only the last three; it also advances completion/callback timing by the skipped prefix. I did not find a PCM num_skip_samples regression in the new sampler tests. Please initialize the PCM cursor/count to skip the prefix while preserving the public decoded-sample accounting, and add a focused case that verifies the rendered samples and completion count. No approval yet: this is an audible wrong-result path in a broadly applicable block format. Hosted eligibility, conventions, intake, labels and report checks pass; product and relinker jobs were skipped by path policy. The author-reported isolated macOS/Rosetta test suite and reference comparisons were not independently rerun here.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5647465204 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11315#pullrequestreview-5647465204). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T04:37:45Z. **Review:** CHANGES_REQUESTED --- I found a PCM sampler regression in the new block binding path. For non-ATRAC9 blocks, `AddWaveformBlocks` validates storage for `(num_skip_samples + num_samples) * frameBytes`, and the previous renderer started frame reads at `block.data + num_skip_samples * frameBytes` while emitting exactly `num_samples`. The new `Ngs2BindSamplerBlock` instead sets `pcmRemaining` to the sum, and `Ngs2ReadSamplerPcm` reads from `block.data + dataCursor` starting at zero. A block with two skipped PCM frames followed by three playable frames will therefore render all five frames from the prefix instead of emitting only the last three; it also advances completion/callback timing by the skipped prefix. I did not find a PCM `num_skip_samples` regression in the new sampler tests. Please initialize the PCM cursor/count to skip the prefix while preserving the public decoded-sample accounting, and add a focused case that verifies the rendered samples and completion count. No approval yet: this is an audible wrong-result path in a broadly applicable block format. Hosted eligibility, conventions, intake, labels and report checks pass; product and relinker jobs were skipped by path policy. The author-reported isolated macOS/Rosetta test suite and reference comparisons were not independently rerun here.
MarcZX10 commented 2026-10-26 09:51:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T09:51:28Z.

Review: DISMISSED


Follow-up on unchanged exact head 316f48500a7193fb89aae6d3d9b2c260df55b409 against current main 4e43321bd6ceccdc1ae28568bbbc35d9a6446464.

The PCM skipped-prefix regression from my earlier review is still present. In Ngs2BindSamplerBlock, the non-ATRAC path sets pcmRemaining to num_samples + num_skip_samples, and Ngs2ReadSamplerPcm starts reading at block.dataCursor == 0. The previous renderer addressed FrameAt at num_skip_samples + frame and emitted only num_samples. For a PCM block with a skipped prefix, this implementation emits those prefix frames and delays block completion/callbacks. Please advance over the skipped PCM frames without counting them as rendered output, and add a test checking both sample values and completion accounting.

The branch is 18 commits ahead and 254 behind current main. Since its base, main has changed Render.cpp, Voice.cpp, Ngs2Render.cpp and the shared debt file, all touched by this PR. Please rebase, preserve both sides, and rerun the affected sampler/render tests plus conventions on the resulting head. git diff --check also reports an added blank line at EOF in tests/Ngs2JobTest.hpp; please remove it.

The reported macOS/Rosetta fixture results and reference comparisons are detailed, but I did not independently reproduce them; hosted product jobs remain skipped by path policy. My earlier integration note about 32-bit channel masks with #11347 applies only if the wider-channel branch is combined; it remains a separate integration condition.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5650109063 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11315#pullrequestreview-5650109063). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T09:51:28Z. **Review:** DISMISSED --- Follow-up on unchanged exact head `316f48500a7193fb89aae6d3d9b2c260df55b409` against current `main` `4e43321bd6ceccdc1ae28568bbbc35d9a6446464`. The PCM skipped-prefix regression from my earlier review is still present. In `Ngs2BindSamplerBlock`, the non-ATRAC path sets `pcmRemaining` to `num_samples + num_skip_samples`, and `Ngs2ReadSamplerPcm` starts reading at `block.dataCursor == 0`. The previous renderer addressed `FrameAt` at `num_skip_samples + frame` and emitted only `num_samples`. For a PCM block with a skipped prefix, this implementation emits those prefix frames and delays block completion/callbacks. Please advance over the skipped PCM frames without counting them as rendered output, and add a test checking both sample values and completion accounting. The branch is 18 commits ahead and 254 behind current main. Since its base, main has changed `Render.cpp`, `Voice.cpp`, `Ngs2Render.cpp` and the shared debt file, all touched by this PR. Please rebase, preserve both sides, and rerun the affected sampler/render tests plus conventions on the resulting head. `git diff --check` also reports an added blank line at EOF in `tests/Ngs2JobTest.hpp`; please remove it. The reported macOS/Rosetta fixture results and reference comparisons are detailed, but I did not independently reproduce them; hosted product jobs remain skipped by path policy. My earlier integration note about 32-bit channel masks with #11347 applies only if the wider-channel branch is combined; it remains a separate integration condition.
adriadam10 commented 2026-10-27 08:55:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-27T08:55:25Z.

Review: CHANGES_REQUESTED


Thanks for the thorough work and the 13.60 comparisons. One blocker remains on the current head:

  • core/libs/prx/libSceNgs2.native/src/Voice.cpp:655: the new if (setup.channel_mask != 0) throw makes a sampler setup that main accepts abort. @nekomancer01 reported PPSA36591 (Steins;Gate) setting up a VAG, 2-channel, 48 kHz voice with channel_mask 0x10 and crashing on the first button press with this branch, while main plays on. You note that bit 0x10 selects an alternate decoder slot, so the throw is defensible in isolation, but this PR must not turn a working title into an abort. Either keep the previous behaviour for the flag until the alternate slot is implemented, scoped to what main did, or implement the 0x10 slot selection for the formats it applies to, with a test pinning the result. If the throw stays, the PR needs evidence that no known title regresses.
  • Please also keep the conflicts with #11388 (VAG reader), #11347 (37-channel racks), #10599 and #5548 in mind: after this is fixed, whichever lands second needs the reconciliation you describe.

Not verified by us: the PCM skip semantics (skipped frames now emitted from the data start, 62 public decoded samples for skip=2/samples=3) rest on your 13.60 measurement; the full Linux/Windows Build run is the gate for everything else.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5664431337 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11315#pullrequestreview-5664431337). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-27T08:55:25Z. **Review:** CHANGES_REQUESTED --- Thanks for the thorough work and the 13.60 comparisons. One blocker remains on the current head: - `core/libs/prx/libSceNgs2.native/src/Voice.cpp:655`: the new `if (setup.channel_mask != 0) throw` makes a sampler setup that `main` accepts abort. @nekomancer01 reported PPSA36591 (Steins;Gate) setting up a VAG, 2-channel, 48 kHz voice with `channel_mask` 0x10 and crashing on the first button press with this branch, while `main` plays on. You note that bit 0x10 selects an alternate decoder slot, so the throw is defensible in isolation, but this PR must not turn a working title into an abort. Either keep the previous behaviour for the flag until the alternate slot is implemented, scoped to what `main` did, or implement the 0x10 slot selection for the formats it applies to, with a test pinning the result. If the throw stays, the PR needs evidence that no known title regresses. - Please also keep the conflicts with #11388 (VAG reader), #11347 (37-channel racks), #10599 and #5548 in mind: after this is fixed, whichever lands second needs the reconciliation you describe. Not verified by us: the PCM skip semantics (skipped frames now emitted from the data start, 62 public decoded samples for skip=2/samples=3) rest on your 13.60 measurement; the full Linux/Windows Build run is the gate for everything else.
MarcZX10 commented 2026-10-28 22:08:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T22:08:13Z.

Review: CHANGES_REQUESTED


Reviewing exact head 0ec158e2df44e5ae6b72b52ef009e62924e42b14.

What I ran

  • Read the full PR description, latest review discussion and current hosted checks; inspected the changed-file list and compared the PR's last documented main integration with current main.
  • The PR's reported 45/45 production-source fixture tests and 13.60 reference comparisons are author-reported. An independent Linux title run on this head reports that the PitchShift refusal is gone, then execution reaches a separate unsupported custom-Reverb refusal.
  • Hosted Windows, conventions, labels, eligibility, and report checks pass. Linux and specialized product jobs are skipped.
  • I did not run a local build or tests.

Results

Check Result Evidence
Current broad NGS2 change Reviewed at high level Exact-head PR description, changed files, and review discussion
Author production-source fixture Pass, author-reported 45/45 registered checks on the earlier documented main integration
Independent title smoke run Partial progress, contributor-reported PitchShift refusal is gone; title stops at unsupported custom Reverb
Hosted Windows Pass GitHub Actions
Hosted conventions, labels, eligibility, report Pass GitHub Actions
Hosted Linux/product and specialized jobs Skipped GitHub Actions
Current-main combined NGS2 validation Not yet verified Current main changed implementation and test files touched by this PR after its last recorded integration
Local build and tests Not run This review

Findings

Blocking

  • Current main has changed Custom.cpp, Render.cpp, Voice.cpp, Ngs2Types.hpp, Ngs2Internal.hpp, Rack.cpp, and NGS2 tests after the PR's documented integration at 9ae2f7d22a. Those files overlap this PR's implementation and test changes. The branch's clean mergeability status does not establish the combined behavior. Please merge current main and rerun the focused NGS2 production-source suite on the combined head, including Gain/routing and lifecycle/scheduling tests. Report the exact head and any changes needed to preserve both main's current behavior and this PR's coverage.

Non-blocking

  • The description is clear that this is bounded support, not full NGS2 or a complete title fix. In particular, the PPSA36591 sampler flag 0x10 selects an AJM codec-22 path that this branch does not implement; the refusal and debt entry remain explicit. I am not treating that disclosed, separately scoped gap as a reason to silently accept or request removal of the guard.
  • The reported Linux title run moves past the PitchShift refusal and stops at the separate custom-Reverb limitation. It is useful evidence for this feature but is not a combined PR run with #10599 and does not establish full title compatibility.

Sources

Not verified

  • I did not run the C++ build, NGS2 tests, ThreadSanitizer, Windows/Linux suite, or title.
  • The macOS fixture, reference-library comparisons, and title run are reported by PR participants.

To get this to a good state

Integrate current main and post exact-head focused results for the overlapping NGS2 implementation and tests; then request a re-review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5690340942 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11315#pullrequestreview-5690340942). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T22:08:13Z. **Review:** CHANGES_REQUESTED --- Reviewing exact head `0ec158e2df44e5ae6b72b52ef009e62924e42b14`. ## What I ran - Read the full PR description, latest review discussion and current hosted checks; inspected the changed-file list and compared the PR's last documented main integration with current main. - The PR's reported 45/45 production-source fixture tests and 13.60 reference comparisons are author-reported. An independent Linux title run on this head reports that the PitchShift refusal is gone, then execution reaches a separate unsupported custom-Reverb refusal. - Hosted Windows, conventions, labels, eligibility, and report checks pass. Linux and specialized product jobs are skipped. - I did not run a local build or tests. ## Results | Check | Result | Evidence | |---|---|---| | Current broad NGS2 change | Reviewed at high level | Exact-head PR description, changed files, and review discussion | | Author production-source fixture | Pass, author-reported | 45/45 registered checks on the earlier documented main integration | | Independent title smoke run | Partial progress, contributor-reported | PitchShift refusal is gone; title stops at unsupported custom Reverb | | Hosted Windows | Pass | GitHub Actions | | Hosted conventions, labels, eligibility, report | Pass | GitHub Actions | | Hosted Linux/product and specialized jobs | Skipped | GitHub Actions | | Current-main combined NGS2 validation | Not yet verified | Current main changed implementation and test files touched by this PR after its last recorded integration | | Local build and tests | Not run | This review | ## Findings ### Blocking - Current main has changed `Custom.cpp`, `Render.cpp`, `Voice.cpp`, `Ngs2Types.hpp`, `Ngs2Internal.hpp`, `Rack.cpp`, and NGS2 tests after the PR's documented integration at `9ae2f7d22a`. Those files overlap this PR's implementation and test changes. The branch's clean mergeability status does not establish the combined behavior. Please merge current main and rerun the focused NGS2 production-source suite on the combined head, including Gain/routing and lifecycle/scheduling tests. Report the exact head and any changes needed to preserve both main's current behavior and this PR's coverage. ### Non-blocking - The description is clear that this is bounded support, not full NGS2 or a complete title fix. In particular, the PPSA36591 sampler flag `0x10` selects an AJM codec-22 path that this branch does not implement; the refusal and debt entry remain explicit. I am not treating that disclosed, separately scoped gap as a reason to silently accept or request removal of the guard. - The reported Linux title run moves past the PitchShift refusal and stops at the separate custom-Reverb limitation. It is useful evidence for this feature but is not a combined PR run with #10599 and does not establish full title compatibility. ## Sources - [Repository contribution and test rules](https://github.com/boykopovar/AnyPS5/blob/main/AGENTS.md) - [Current pull request and validation discussion](https://github.com/boykopovar/AnyPS5/pull/11315) ## Not verified - I did not run the C++ build, NGS2 tests, ThreadSanitizer, Windows/Linux suite, or title. - The macOS fixture, reference-library comparisons, and title run are reported by PR participants. ## To get this to a good state Integrate current main and post exact-head focused results for the overlapping NGS2 implementation and tests; then request a re-review.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!11315
No description provided.