0.0
0 fps
720p
► Shader Inputs
uniform vec3 iResolution; // viewport resolution (in pixels)
uniform float iTime; // shader playback time (in seconds)
uniform float iTimeDelta; // time since last frame (in seconds)
uniform float iFrameRate; // shader frame rate
uniform int iFrame; // shader playback frame
uniform float iChannelTime[4]; // channel playback time (in seconds)
uniform vec3 iChannelResolution[4]; // channel resolution (in pixels)
uniform vec4 iMouse; // xy: mouse coords zw: click
uniform sampler2D iChannel0; // input channel 0
uniform sampler2D iChannel1; // input channel 1
uniform sampler2D iChannel2; // input channel 2
uniform sampler2D iChannel3; // input channel 3
uniform vec4 iDate; // year, month, day, unixtime
uniform float iSampleRate; // sound sample rate (i.e., 44100)
uniform float mtTime; // position within song; seconds
uniform float mtTimeDelta; // time change since last frame; 0 == paused
uniform sampler2D mtSongVelocities; // time slices x 128 MIDI pitches; velocity
uniform usampler2D mtSongChannels; // time slices x 128 MIDI pitches; 16-bit channel mask
uniform float mtSongSliceRate; // time slices per second; typically 30.0
uniform ivec2 mtSongTextureSize; // texture size in texels
uniform float mtSecondsVisible; // visible note-window height in seconds; upcoming notes
iChannel0
iChannel1
iChannel2
iChannel3