This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
software:sheetmusic_animator [2015/08/18 21:39] – created admin | software: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. |
===== t.b.d. ===== | ===== t.b.d. ===== | ||
Line 18: | Line 18: | ||
var newPreComp; | var newPreComp; | ||
// Path of audio file | // Path of audio file | ||
- | var audioFolder ="/Volumes/BOOTCAMP/Users/iudex/SamplitudeProjects/ | + | var audioFolder ="/ADD/YOUR/PATH/HERE/Projects/ |
// Filename of audiofile | // Filename of audiofile | ||
var theFile = " | var theFile = " | ||
var totalDuration; | var totalDuration; | ||
// Path where images reside | // Path where images reside | ||
- | var imgFolder = "/Users/iudex/Backup/Projects/Music/ | + | var imgFolder = "/ADD/YOUR/PATH/HERE/Projects/Bartok/ |
- | // format: filename: time (seconds from where to show) | + | // format: filename,time (in seconds from where to show) |
var imgFile = [ [" | var imgFile = [ [" | ||
[" | [" | ||
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 | + | // Then place the sheet over the music and write down the numbers |
// 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 | + | // Build array for precomposed |
var layerIndices = new Array(); | var layerIndices = new Array(); | ||
for (i = 0; i < imgFile.length+1; | for (i = 0; i < imgFile.length+1; | ||
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 |
Please note that the effect name can not be 100% correct. When it outputs ' | Please note that the effect name can not be 100% correct. When it outputs ' | ||
<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 a .tfx file is:_ |
//# | //# | ||
//# -Each line is seperated with cr/lf | //# -Each line is seperated with cr/lf |