User Tools

Site Tools


software:sheetmusic_animator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:sheetmusic_animator [2015/08/18 21:40] – [script] adminsoftware:sheetmusic_animator [2017/09/02 14:15] (current) – [Animation with sheetmusic] admin
Line 1: Line 1:
 ====== Animation with sheetmusic ====== ====== Animation with sheetmusic ======
-This page describes how to create a project with Adobe After Effects that animates a magnifier which hovers over multiple pages of sheetmusic.+This page describes how to create a project with Adobe After Effects that animates a magnifier which hovers over multiple pages of sheetmusic. The result of this can be seen here: [[https://www.youtube.com/watch?v=4j2L8rP-GHA]]
  
 ===== t.b.d. ===== ===== t.b.d. =====
Line 24: Line 24:
     // Path where images reside     // Path where images reside
     var imgFolder = "/ADD/YOUR/PATH/HERE/Projects/Bartok/images/"     var imgFolder = "/ADD/YOUR/PATH/HERE/Projects/Bartok/images/"
-    // format: filenametime (seconds from where to show)+    // format: filename,time (in seconds from where to show)
     var imgFile = [ ["BartokScan-150101-0002.tif", 0],     var imgFile = [ ["BartokScan-150101-0002.tif", 0],
                           ["BartokScan-150101-0003.tif", 72],                           ["BartokScan-150101-0003.tif", 72],
Line 49: Line 49:
     // X is horizontal coordinate (Top: 0, bottom: 100)     // X is horizontal coordinate (Top: 0, bottom: 100)
     // Y is vertical coordinate (Left: 0, right: 100)     // Y is vertical coordinate (Left: 0, right: 100)
-    // Easiy method to find X and Y coordinates is to take a transparent sheet and write the divisions on this. +    // Easy method to find X and Y coordinates is to take a transparent sheet and write the divisions on this. 
-    // Then place the sheet over the music and write down the nummbers while listening to the music.+    // Then place the sheet over the music and write down the numbers while listening to the music.
     // The position from the magnifier will be interpolated. Ideally it suffices to only write G0 for each line and omit G1 commands     // The position from the magnifier will be interpolated. Ideally it suffices to only write G0 for each line and omit G1 commands
     // -------------------------     // -------------------------
Line 289: Line 289:
             totalDuration = newComp.duration;             totalDuration = newComp.duration;
  
-            // Build array for precompse layers and precompse composition+            // Build array for precomposed layers and precomposed composition
             var layerIndices = new Array();             var layerIndices = new Array();
             for (i = 0; i < imgFile.length+1; i++){             for (i = 0; i < imgFile.length+1; i++){
Line 649: Line 649:
  
 ==== Generator.jsx ==== ==== Generator.jsx ====
-The code below finds all properties belong to a selected effect. This helps finding out what property and value must be used for scripting. For using this script, create a composition containing only one effect, select this and run the script. It will output a txt file, which can be used for scripting.\\ +The code below finds all properties which belong to a selected effect. This helps finding out what property and value must be used for scripting. For using this script, create a composition containing only one effect, select this and run the script. It will output a txt file, which can be used for scripting.\\ 
 Please note that the effect name can not be 100% correct. When it outputs 'Bulge', it may be necessary to use 'ADBE Bulge' instead. Please note that the effect name can not be 100% correct. When it outputs 'Bulge', it may be necessary to use 'ADBE Bulge' instead.
 <code javascript> <code javascript>
Line 663: Line 663:
 //# script. Once read in adding this effect to a layer is very easy. //# script. Once read in adding this effect to a layer is very easy.
 //############################################################################### //###############################################################################
-//# _The structure of an .tfx file is:_+//# _The structure of .tfx file is:_
 //# //#
 //# -Each line is seperated with cr/lf //# -Each line is seperated with cr/lf
software/sheetmusic_animator.1439926850.txt.gz · Last modified: 2015/08/18 21:40 by admin