summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README40
1 files changed, 38 insertions, 2 deletions
diff --git a/README b/README
index b8edf85..3e1ef18 100644
--- a/README
+++ b/README
@@ -1,2 +1,38 @@
-record: apitrace trace ./sv (cat img)
-convert: apitrace dump-images -o - sv.trace | ffmpeg -r 60 -f image2pipe -vcodec ppm -i pipe: -i 078elektrouschi-video.wav -c:v libx264 -crf 21 -bf 2 -flags +cgop -pix_fmt yuv420p -c:a aac -strict -2 -b:a 384k -r:a 48000 -movflags faststart kriechstrom.mkv
+Source code for the kriechstrom video
+=====================================
+
+Playing the video from source:
+------------------------------
+
+Start Renoise
+`renoise 078elektrouschi-video.xrns`
+
+Start sv
+`./sv $(cat img)`
+
+Send Renoise MIDI to sv and hit play in Renoise ...
+
+Recording the video from source:
+--------------------------------
+
+1. Record OpenGL calls
+
+`renoise 078elektrouschi-video.xrns`
+`apitrace trace ./sv $(cat img)`
+
+2. Convert to video
+
+- Export audio from 078elektrouschi3-external-fx2.xrns (e.g. 078elektrouschi-video.wav)078elektrouschi-video.wav
+
+- Convert trace to video
+`apitrace dump-images -o - sv.trace | ffmpeg -r 60 -f image2pipe -vcodec ppm -i pipe: -i 078elektrouschi-video.wav -c:v libx264 -crf 21 -bf 2 -flags +cgop -pix_fmt yuv420p -c:a aac -strict -2 -b:a 384k -r:a 48000 -movflags faststart kriechstrom.mkv`
+
+Files:
+------
+
+078elektrouschi3-external-fx2.xrns: Renoise project for the audio part
+078elektrouschi-video.xrns: Renoise project driving visuals per midi
+sv.c: Source code for loading the shader to the GPU (compile with `make`) and responding to MIDI input
+shader.frag: GLSL fragment shader
+img: List of images
+*JPG, *png: Source images