Repository navigation
Temporal Resonator 0.1.0: every pixel of the live picture a plucked string tuned to the beat, so whatever moves comes round again on the next beats, fainter and softer each time - #25
Merged
Conversation
…tring tuned to the beat, so whatever moves comes round again on the next beats, fainter and softer each time Karplus and Strong's plucked string per pixel, one beat long, plucked by what differs from a running-median background, its echoes shown behind the live subject. lib audio_in() gains beat_period (every effect rebuilt, only its audio callbacks changed); Showreel 0.1.24 with twenty-four effects; the self-test's flash gate check times its window by the clock.
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.
Temporal Resonator gives every pixel a plucked string one beat long,
after Karplus and Strong (1983) with Jaffe and Smith's extensions
(board #4717). Whatever moves plucks the strings it crosses, and a beat
later the movement comes round again, then again, each echo fainter and
softer than the last. A dancer's arms fan out in echoes a beat apart,
and walkers on a plaza leave dotted chains of footsteps.
approximate median (McFarlane and Schofield), so someone walking
through leaves no trace. A running average kept the subject in it and
her echoes came back as dark copies (dev/protos/temporal_resonator).
few pixels around each, so each trip round softens the echo, as a
string loses its highs first. Sustain sets the gain (a tenth after
that many beats); Alternating makes it negative, so every other echo
comes back as a shadow.
input 3 (lib depth_find at an eighth size) keeps a subject that
dances in place in front, where the median had absorbed her and her
own echoes smudged her clothes.
late through a Feedback TOP, with a stamped ring beside it; taps finds
the slots a beat back by their times, so a dropped frame or a pause
never replays the wrong moment.
by the next; Always plucks evenly. The strings are a beat long from
the new beat_period, gliding when the tempo changes.
than the first draft's, plucks never fall to nothing (the flowers
pulsed whole at the beat), Always plucks at On Beats' average, and
every pixel goes through the red guard (guarding only where echoes
showed flipped reds more). Every clip and common setting measures its
clip's own count; the far corners reach 2.0 to 2.5.
1280 x 720 on the M2 Pro; 161 MB of GPU memory at 1 Beat (100 at 1/2,
285 at 2); nothing cooks while unused (0 of 233).
active US 11,190,726 and 11,689,692 claim looping a video highlight to
music, which this never does (private/patents/temporal_resonator.md).
Also: lib audio_in() gains beat_period (Fosfora's bpm, raw audio's beat
clock, else the gaps between beats; a self-test case per input), so
every effect is rebuilt with no version bump and structure_diff shows
only its audio callbacks changed. The self-test's flash gate check now
times its window by the clock: 360 frames took 6.25 s and Calm rightly
passed 7. Showreel 0.1.24 with twenty-four effects (idle 0 of 7067,
Cycle 4.4 ms GPU, flash within each setting), the README row, status
and hero (2, then eight rows of three, quality 100), and BUILDING.md
gains the effect's flash traps and the ring-of-own-outputs pattern.