summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2019-03-04 14:02:53 +0100
committerChristoph Helma <helma@in-silico.ch>2019-03-04 14:02:53 +0100
commit683992ccbbe8910afdee1bccb1178a9b24875aea (patch)
treea3cfefe39646fd3bb70daf5cf0823fa76dbe7b80 /README
parent12b87da36bc7b74473e3807e40220fd87926cda1 (diff)
README updated
Diffstat (limited to 'README')
-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