Download SCRATCH User Guide

Transcript
Note: Editing XSLT requires specialized know-how and is beyond the scope of this manual. The internet provides many
sources of information on XSL and its possible usage.
When creating your own XSL you nee to know that SCRATCH provides two parameters as input for the XSL that you can use:

level - indicating the scope of the export; project = 0, group = 1, CONstruct = 2. The XSL needs to be aware of the
export level as this determines the XML layout.

images - this is the folder name where the proxy-images are saved to. The XSL needs to be aware of the folder to be
able to reference the proxy images.
The HTML export function requires a REMOTE License extension.
C - Panel Mapping
SCRATCH CONTROL LIST
The following is a list of all SCRATCH Controls that can be mapped to panel controls. For each Control, the function of each
Map parameter is shown. VALUE indicates the parameter has a value that can be controlled. These are usually mapped to
encoders, such as Trackballs or Knobs. An X indicates the parameter is a single-action button with no value associated.
These are usually mapped to buttons on the control surface. A dash indicates that nothing is associated with that particular
Map.
Map
Several SCRATCH controls have multiple channels or Maps. For example, the Lift control has three Maps; one for the
horizontal axis of the color wheel, one for the vertical axis of the color wheel, and a third for the master adjustment. Each of
these Maps must be assigned to a different panel control. If you look at the default panel mapping under the Default Menu
Group, there are three Mapping Pairs associated with the Lift control. They are assigned to Trackball 1’s X, Y and Z axes. If
you select one of the Mapping Pairs, you will see the associated Map value. Notice that the Map value is different for each
axis.
Most SCRATCH parameters have two Maps; Map 0 is the parameter’s value and Map 1 is the reset for the parameter. So,
creating a Mapping Pair using Map 0 links the panel control to the actual SCRATCH parameter’s value, and creates a second
Mapping Pair (usually using a button); using Map 1 links that panel control to resetting the SCRATCH parameter.
The 0-15 is for selecting the menu entry of a popup button to activate at once. So, map "Canvas Select" with Map value 4 to
a button to directly create a Canvas with Circle.
Calculator
SCRATCH
DESCRIPTION
MAP 0
MAP 1
MAP 2
Calc 0
Calculator button 0
X
-
-
Calc 1
Calculator button 1
X
-
-
Calc 2
Calculator button 2
X
-
-
Calc 3
Calculator button 3
X
-
-
Calc 4
Calculator button 4
X
-
-
Calc 5
Calculator button 5
X
-
-
Calc 6
Calculator button 6
X
-
-
Calc 7
Calculator button 7
X
-
-
Calc 8
Calculator button 8
X
-
-
Calc 9
Calculator button 9
X
-
-
Calc.
Calculator button .
X
-
-
Calc:
Calculator button :
X
-
-
Calc Add
Calculator Add button
X
-
-
Calc Sub
Calculator Subtract button
X
-
-
275