{"version":"1.0","type":"rich","title":"Phase Shifting","description":"Two audio waveforms, rendered as black lines on an SVG, visualize the phase-shifting technique from Steve Reich’s *Come Out* and *It’s Gonna Rain*. The top waveform shows the original track, while the bottom one offsets the second channel by a user-selected millisecond delay, creating repeating phase patterns. Controls let the viewer load either piece, step the offset manually, reset it, or play the sound while a red rectangle tracks playback position. The code uses D3 v4’s `d3.line` and `d3.scaleLinear` to draw the waveforms, and the Web Audio API’s `AudioContext` and `BufferSource` to manipulate and play the audio data.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5f5d6f75a44f27f19a2eebf7771ed73e?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}