1 vidi-timeline creates a video timeline starting from a MIDI file.
3 The video clips are taken from a "VideoFont" in which each sample clip
4 corresponds to a note. The samples are arranged following the time and value of
5 the notes in the MIDI file.
7 vidi-timeline allows to create more easily videos like these:
9 * [Lasse Gjertsen - Hyperactive](https://youtu.be/o9698TqtY4A)
10 * [Vittorio Saggiomo - Mario Bros Column Chromatography](https://youtu.be/mxi3z2vDV_0)
13 How to create a VideoFont
14 =========================
19 Create a synthetic VideoFont:
21 $ ./create_test_videofont.py videofont/
24 From a video recording
25 ----------------------
27 A VideoFont can also be created by recording a video, and then splitting the
28 recording in samples, one sample per note.
30 For an example of a master VideoFont see
31 [keyboard videofont master C4 B5](https://youtu.be/7Btp80LPqRs)
33 A file like the one above can be analyzed with [Audacity][1] to find the start
34 and the end time of the individual samples:
36 * use the `Analyze -> Sound Finder...` to find the samples;
37 * use the [`Pitch Detect" plugin`][2] to find the pitch of the samples and name
39 * maybe add an interval named "rest" to represent the absence of sound;
40 * export the labels track with `File -> Export Labels...`;
42 [1]: http://www.audacityteam.org/
43 [2]: http://wiki.audacityteam.org/wiki/Nyquist_Analyze_Plug-ins#Pitch_Detect
45 An example of such a file produced by audacity can be found in the `contrib/`
46 directory and it can be used as follows:
48 $ youtube-dl -t https://youtu.be/7Btp80LPqRs
49 $ ./contrib/ges-split-samples.py \
50 "keyboard videofont master C4 B5-7Btp80LPqRs.mp4" \
51 "contrib/keyboard videofont master C4 B5-samples.txt" \
54 $ sh split.sh && rm split.sh
63 Play the timeline from a MIDI file using the samples from the VideoFont:
65 $ ./vidi-timeline.py examples/Beyer\ Op.\ 101\ -\ Exercise\ 008.midi videofont/
68 Save the timeline to be edited somewhere else (e.g. in PiTiVi):
70 $ ./vidi-timeline.py examples/Beyer\ Op.\ 101\ -\ Exercise\ 008.midi videofont/ Beyer_008.xges
73 Render the timeline to a video file:
75 $ ges-launch-1.0 --load Beyer_008.xges --outputuri Beyer_008.webm --format="video/webm:video/x-vp8:audio/x-vorbis"
81 Play a midi file in real time (if the CPU and the disk can keep up):
83 $ ./vidi-player.py examples/Beyer\ Op.\ 101\ -\ Exercise\ 008.midi videofont/
89 Play samples from the note hit on a midi controller:
91 $ xset -r && vkeybd && xset r on &
92 $ ./vidi-sampler.py 'Virtual Keyboard' videofont/
99 Of course if the idea is cool, chances are that others had it too. :)
104 A similar concept called midi-vidi has been developed by Marcus Fischer:
106 * <http://unrecnow.com/dust/325-midi-vidi-effect-demo/>
107 * <https://vimeo.com/8049917>
108 * <http://www.synthtopia.com/content/2009/12/09/midi-vidi-plugin-lets-you-control-video-via-midi-in-max-for-live/>
109 * <http://www.maxforlive.com/library/device.php?id=120>
111 Midi-Vidi is also a very cool name, it sound like the Italian "mi dividi" which
112 means "you divide me".
117 An interactive video mashup app:
119 * <http://www.vidibox.net/>
120 * <https://twitter.com/vidibox>