Add scriptable processor seeking example - #1
Open
nis-unity wants to merge 14 commits into
Open
Conversation
m-dejean-unity
self-requested a review
August 24, 2026 09:18
m-dejean-unity
requested changes
Sep 8, 2026
m-dejean-unity
requested changes
Sep 9, 2026
…rt load settings.
…left the setup unset.
m-dejean-unity
approved these changes
Sep 9, 2026
m-dejean-unity
approved these changes
Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a second example project,
scriptable-processor-seeking, demonstrating sample-accurate seeking of a playing generator viaSeekMessage.Contents:
Assets/Scripts/ClipPlayerGenerator.cs— anIAudioGeneratorthat plays anAudioClipthrough the sample-provider path, which is the path that handles seeks. It mirrors the clip's own generator metadata so the wrapper stays consistent with the instance it produces.Assets/Scripts/SeekTester.cs— an IMGUI transport for staging seeks and sending them to the live instance.Assets/Scenes/Seeking.unity— a Seek Tester object plus a Main Camera for itsAudioListener.Assets/AudioClips/Count1To10.wav— counts one through ten over ten seconds, so each seek is verifiable by ear.Two
.gitignoreadditions come along, in their own commits, for files Unity 6.7 generates that the 6.5 project has no equivalent of:Verification
.metafiles.Count1To10.wavis committed as an LFS pointer, per.gitattributes.EditorBuildSettings.assetlists onlyAssets/Scenes/Seeking.unity.Note: Targets
Unity 6.7.