picture home | art | events | music | rack extensions | downloads | pixel blog | qt_tools

omino pixel blog

pixels, motion, and scripting
david van brink // Sat 2012.01.7 18:22 // {after effects}

AE: A Silly MIDI Trick

For amusement purposes only… after importing a MIDI file as keyframes (see earlier post), I rendered it back out using After Effects as a synthesizer, with the provided Tone audio effect.

two_part_sines_21.mp4

click for
http://omino.com/pixelblog/wp-content/uploads/2012/01/two_part_sines_21.mp4


This was done by setting the Tone frequency expressions to reconstruct the appropriate musical pitch:

on = effect("ch_1_vel")("Slider").value ? 1 : 0;
note = effect("ch_1_pitch")("Slider");
on * 440 * Math.pow(2, (note-57)/12)

You could change 12 to something else, to hear it performed in some alternate equal-tempered scale. 8 and 17 sound kind-of interesting…

two_part_sines_detune_2.mp4

click for
http://omino.com/pixelblog/wp-content/uploads/2012/01/two_part_sines_detune_2.mp4


And here’s the self-contained CS5 project to download.

1 comments
Ariel // Mon 2012.04.16 23:5611:56 pm

Hi, I was wondering if there’s a way of processing an Image (in a layer) in after effects.
reading pixel by pixel color value. can u’r python script provide answer? thanks

Comments are closed.

0.0360s
(c) 2003-2013 omino.com / contact poly@omino.com