pulse

Importing LR pulse from Ableton Live 9.5 into Quartz Composer

1010juju's picture

Hello everyone,

I am wondering how to:

1) translate the pulse noise/sound on Ableton Live 9.5 (left and right panning) into two, separate flashing black and white screens (flashing from one to the other in turns) on the left and right sides of the screen; and

2) import the pulse noise/sound on Ableton directly into Quartz composer.

I hope I explained it enough - it is a bit difficult to describe in words... Basically, I would like the pulse noise to be translated into a simple visual representation in black and white, one on the left and the other on the right, but with "movement" represented by the flashing.

Thank you all for your time!

Muneomi, from Tokyo

Pulse Multitouch (originally by Danguafer/Silexars, ported to work with Multitouch) (Composition by gtoledo3)

Author: gtoledo3
License: Creative Commons Attribution-NoDerivs
Date: 2011.10.05
Compatibility: 10.5, 10.6, 10.7
Categories:
Required plugins:
kineme multitouch

This is Pulse by Danguafer/Silexars(2010) from the ShaderToy collection, changed to work with multitouch.

The original fragment code is below:

//Pulse by Danguafer/Silexars(2010)
uniform float time;
uniform vec2 resolution;
uniform vec4 mouse;
uniform sampler2D tex0;
 
void main(void)
{
    vec2 halfres = resolution.xy/2.0;
    vec2 cPos = gl_FragCoord.xy;
 
    cPos.x -= 0.5*halfres.x*sin(time/2.0)+0.3*halfres.x*cos(time)+halfres.x;
    cPos.y -= 0.4*halfres.y*sin(time/5.0)+0.3*halfres.y*cos(time)+halfres.y;
    float cLength = length(cPos);
 
    vec2 uv = (gl_FragCoord.xy/resolution.xy+(cPos/cLength)*sin(cLength/30.0-time*10.0)/25.0);
    vec3 col = texture2D(tex0,uv).xyz*50.0/cLength;
 
    gl_FragColor = vec4(col,1.0);
}