diff options
Diffstat (limited to 'examples/spheres/README.md')
| -rw-r--r-- | examples/spheres/README.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/spheres/README.md b/examples/spheres/README.md index 3c65666..30023de 100644 --- a/examples/spheres/README.md +++ b/examples/spheres/README.md @@ -17,10 +17,12 @@ Everything moves on the GPU: | `sprite.*`, `trail.*`, `fade.frag` | The sky: the cloud as layered dust on a long exposure, system 0's bodies as glows, and their trails as ribbons tapering with age. | | `link.*` | The coupling: a ribbon from modulator to carrier, as bright as the coupling, with pulses flowing along it. | -The sound reaches the speakers by a readback (`f.download`) about two -frames later; the CPU only queues it, and hands it to sketchbook's `scope` -module (the views micscope uses) for the oscilloscope, spectrum and -spectrogram. +The sound goes from the GPU's block straight to the speakers +(`f.audioBuffer`): the host reads it back in the same frame and keeps the +lead it measures queued (`in.lead`), so a change is heard in about two +device pulls rather than 100 ms. A second readback (`f.download`), a frame +later, hands it to sketchbook's `scope` module (the views micscope uses) +for the oscilloscope, spectrum and spectrogram. ## From motion to sound |
