Helpful stuff on Flash, ActionScript, After Effects etc

cases, code, tips and guidance

Archive for the ‘GarageBand’ Category

ActionScript 3.0: how to control panning of a SoundTransform Object / laid back jazz video

with 3 comments

having seen a video by Morten Andreasen, I was inspired to do some similar stuff.
so I came up with this short, interactive music video of me playing a jazz-piece, enjoy.

a still of a Flash Video where either the lead or the blues guitar can be muted

the cool thing is absolutely that either the lead or the rhythm guitar can be muted, so if you find the muddy rhythm guitar the more interesting instrument, just unplug that bluesy lead!

the workflow:

the music was recorded in Garageband, the different video-tracks edited in After Effects and dubbed to the Garageband-track, and finally a FLV (Flash Video) file from After Effects was setup in Flash making the whole thing interactive. the nice track is originally by Muris Varajic .. by the way, it took me like forever to learn those crazy jazz rhythm chords :D

for actionscripters:

the track is exported in stereo from Garageband with the rhythm guitar in one side and the lead guitar in the other side.
so when choosing one instrument in the video, what is actually is done is telling the SoundTransform Object that controls the panning of the NetStream what music to play. does it have to play full pan left, full pan right or no panning (balanced center between right and left).

the ActionScript (the panning bit):

function clicked(e:MouseEvent):void {
          if(e.currentTarget.name == "rhythm"){
                    videoVolumeTransform.pan = Math.round(-1);
          } else if(e.currentTarget.name == "lead"){
                    videoVolumeTransform.pan = Math.round(1);
          } else if(e.currentTarget.name == "duo"){
                    videoVolumeTransform.pan = Math.round(0);
          } else {
                    //
          }

          stream.soundTransform = videoVolumeTransform;
}


other blogposts on music or video:

check out the video for Hawkeye and Hoe band
check out the acoustic variation on Map of your mind by Muse
check out this post on how to use ASCuePoints in ActionScript 3.0
check out this post on how to add a fullscreen option to your FLV’s
check out this post on how to loop an FLV using the FLVPlayBack component

credits:
Morten Andreasen and this video:
Muris Varajic from guitarmasterclass

Bookmark and Share

Written by admin

december 16th, 2009 at 2:26 pm

ActionScript driven animation to QuickTime and After Effects

without comments

from Flash CS3 it’s possible to export ActionScript driven animations to Quicktime.. this is very useful as Quicktime is the faster renderer and can handle those complex animations that Flash Player cannot.

so, inspired by Lee Brimelow, I made some ActionScript driven animation, exported it to QuickTime, imported it into After Effects, added some effects, made a simple piece of music in GarageBand and animated the QuickTime files in After Effects to the music.
then exported a Flash Video File and used Flash to show the animation that Flash couldn’t handle without the possibility to export the animation to QuickTime.

:)

crazy workflow!
and actually the Flash Video File ended up as a rather crazy video art piece stuff thingy too.
check out the final video here

remember to turn up those speakers!

Bookmark and Share

Written by admin

juli 9th, 2009 at 12:59 pm