Skip to content

lass, partial: defer placeholder spatialization fan-out to end - #103

Open
passyur wants to merge 2 commits into
mainfrom
claude/magical-wu-92660e
Open

lass, partial: defer placeholder spatialization fan-out to end#103
passyur wants to merge 2 commits into
mainfrom
claude/magical-wu-92660e

Conversation

@passyur

@passyur passyur commented Jun 16, 2026

Copy link
Copy Markdown
Member

for each note, every partial was being expanded into numChannels full-length buffers during spatialize_Track. for the default spatializer, each of those buffers were identical copies scaled by 1/numChannels. this change leverages the fact that these buffers are copies of an initial buffer by performing the per-partial spatialization computation outside of the per-sound loop (and during the unification step).

passyur added 2 commits June 15, 2026 21:07
for each note, every partial was being expanded into `numChannels` full-length buffers during `spatialize_Track`. for the default spatializer, each of those buffers were identical copies scaled by `1/numChannels`. this change leverages the fact that these buffers are copies of an initial buffer by performing the per-partial spatialization computation outside of the per-sound loop (and during the unification step)
instead of repeatedly allocating new vectors, store vectors as members for each Reverb computation and reuse existing vectors (after zeroing)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant