Usine Rack Settings

Provides access to parameters of the current rack, like input/output gains, mute, solo, vu-meters, etc.

see rack-panel for more info.

Settings

num rack

Number of the rack to access, from 1 (first rack, default) to 256.

recalling preset

Sends value if Usine is currently recalling a preset, 0 otherwise.

current preset num

Current preset number.

recall current preset

Recalls the current preset number.

comma text

Outputs a list of all presets names as a comma-text.

gain in

Input gain.

vu-meter in

VU-meter values of the rack inputs, one outlet per channel (vu-meter in 1, vu-meter in 2...).

gain out

Output gain.

fade gain out

Output gain including the grid fade value, in dB.

mute

Get or set the mute status of the rack.

solo

Get or set the solo status of the rack.

on

Get or set the ON status of the rack.

caption

Caption of the rack.

color

Color of the rack.

vu-meter out

VU-meter values of the rack outputs, one outlet per channel (vu-meter out 1, vu-meter out 2...).

minimize rack

Minimizes the rack panel.

maximize rack

Maximizes the rack panel.

toggle minimized state rack

Toggles the minimized state of the rack panel.

reduce rack

Reduces the rack panel.

enlarge rack

Enlarges the rack panel.

toggle reduced state rack

Toggles the reduced state of the rack panel.

select rack panel

Selects the rack panel.

saved in workspace preset

When ON, the rack parameters are saved in the workspace preset.

name

Name of the rack.

always process

When ON, the rack is always processed even if it is not visible.

calculation

CPU

CPU load of the rack, in percent. Read only, not saved. Computed only when the god mode of the expert setup is ON, 0 otherwise.

calculated at the end

When ON, the rack is calculated after all the other racks of the workspace, in the last step of each cycle. Switched OFF automatically when the calculation mode is background task.

calculation mode

Determines how the patches of the rack are calculated:

  • patches series: the patches are calculated one after the other in their order in the rack, and each patch receives the flows of the previous one: the first patch gets the rack input, the output of the last patch goes to the rack output.
  • patches parallels: the patches are calculated one after the other, but all of them receive the rack input and their outputs are added in the rack output.
  • one thread per patch: as patches parallels, each patch being calculated in its own thread at the same time as the others. If the patches take more than 5 seconds, the error e060 is displayed.
  • background task: the rack is calculated in a low priority background thread, outside the audio cycle. A new calculation starts only when the previous one is finished, so the rack can skip cycles. Its patches are linked as in patches series.

can be randomized

When ON, this object will be randomized when using the randomize command.

can be reset

When ON, this object will be reset to its default value when using the reset command of its patch.

hint

Hint text displayed on mouse over.

visibility

rack input

When ON, the rack-input-panel of the rack is displayed.

rack output

When ON, the rack-output-panel of the rack is displayed.

show when active on usine grid

Determines if the rack or the patch is automatically maximized when it's active on the grid and minimized when inactive.

location

display location

Determines where the rack is displayed:

also visible in interface builder

Determines if the control is also displayed in the interface-builder-panel in addition to its display location. Default no. Not saved in design templates.

  • no: not shown in the interface builder.
  • always: always shown in the interface builder.
  • if patch ON: shown only while the parent patch is running (for a rack, this option reads if rack is ON).

Cannot be combined with a display location set to top header, toolbox, ib only, popup or main menu: the setting is reset to no with a warning.

rack design

keep the wkp height

When ON, the rack always takes the whole height of the workspace. When OFF, its height follows its content, up to the height of the workspace. Not saved in design templates.

show rack number

When ON (default), the number of the rack is displayed before its caption.

size tab settings

settings related to size and position of controls.

orientation

rotation angle

Rotation of the control around its center, expressed as a fraction of a full turn in the range [0..1] (0.25 = 90 degrees, 0.5 = 180 degrees, 0.75 = 270 degrees). Default 0. A value of 0.75 also switches is vertical ON, any other value switches it OFF. Only available on controls that can be rotated (faders, modules...).

is vertical

When ON, the control is displayed vertically, which is the same as a rotation angle of 0.75 (270 degrees). When OFF, the rotation angle is reset to 0. Changing it also triggers the auto resize and the reorganization of the parent panel.

zoom

zoom scale

Scale factor applied to the whole control: its visual is drawn scaled by this factor. Range [0.2..5] (logarithmic scale), default 1. Changing it triggers the auto resize and auto reorganize of the parent panel. This value is not saved in design templates.

can zoom

When ON, the control can be zoomed with the mouse wheel or a pinch gesture. On most controls this changes the zoom scale; on XY/XYZ style panels it changes the inner zoom factor instead. When OFF, wheel and gesture zooms are ignored by the control.

zoom at mouse position

Only available on XY/XYZ style panels. When ON, zooming with the mouse wheel keeps the point under the mouse cursor fixed, by moving the zoom center accordingly. When OFF, the zoom is centered on the current zoom center (the center of the panel by default).

Size & positions

top

Position of the top edge of the control in pixels, relative to its parent panel. Range [-5 x screen height..5 x screen height].

left

Position of the left edge of the control in pixels, relative to its parent panel. Range [-5 x screen width..5 x screen width].

height

Height of the control in pixels. Range [0..5 x screen height].

width

Width of the control in pixels. Range [0..5 x screen width].

percent

position percent x

Horizontal position of the control in the range [0..1], relative to the free horizontal space of the parent panel (parent width minus the control width and the borders): 0 = against the left border, 1 = against the right border. This value is computed from left and is not saved.

position percent y

Vertical position of the control in the range [0..1], relative to the free vertical space of the parent panel (parent height minus the control height, the borders and the caption area): 0 = just below the caption, 1 = against the bottom border. This value is computed from top and is not saved.

height percent

Height of the control in the range [0..1], relative to the parent panel height. This value is computed from height and is not saved.

width percent

Width of the control in the range [0..1], relative to the parent panel width. This value is computed from width and is not saved.

resize grip

resize grip enabled

When ON (default for modules), the control displays selection handles when the patch is unlocked and can be moved or resized with the mouse or the arrow keys. When OFF, the control cannot be unlocked, moved nor resized in the patch. On XY/XYZ style panels this setting is named resize grip enabled (global).

Interface Builder position

interface builder top

Position of the top edge of the control in pixels when it is displayed in the interface builder panel. Memorized automatically when the control is moved in the interface builder and restored the next time it is displayed there; the position in the patch is kept separately. Only available on controls that can be also visible in the interface builder.

interface builder left

Position of the left edge of the control in pixels when it is displayed in the interface builder panel. Memorized automatically when the control is moved in the interface builder and restored the next time it is displayed there; the position in the patch is kept separately.

interface builder width

Width of the control in pixels when it is displayed in the interface builder panel. Memorized automatically when the control is resized in the interface builder and restored the next time it is displayed there; the size in the patch is kept separately.

interface builder height

Height of the control in pixels when it is displayed in the interface builder panel. Memorized automatically when the control is resized in the interface builder and restored the next time it is displayed there; the size in the patch is kept separately.

floating panel

floating x

When ON, the control can be dragged horizontally with the mouse inside its parent panel (the cursor becomes a horizontal move cursor when only this axis is enabled). Floating controls are also the moving bodies of the parent's physics engine (see physics enabled): a control with both floating x and floating y OFF is a static obstacle.

floating y

When ON, the control can be dragged vertically with the mouse inside its parent panel (the cursor becomes a vertical move cursor when only this axis is enabled). Floating controls are also the moving bodies of the parent's physics engine (see physics enabled).

floating constrain to parent x

When ON (default), a control dragged along the X axis (floating x) is kept entirely inside the borders of its parent panel. When OFF, it can be dragged partly outside the parent, as long as at least 10 pixels remain visible.

floating constrain to parent y

When ON (default), a control dragged along the Y axis (floating y) is kept entirely inside the borders of its parent panel. When OFF, it can be dragged partly outside the parent, as long as at least 10 pixels remain visible.

resizable panel

resizable left

When ON, the control can be resized with the mouse by dragging its left edge (the cursor changes to a resize cursor near the edge). When OFF, the left edge cannot be dragged.

resizable right

When ON, the control can be resized with the mouse by dragging its right edge (the cursor changes to a resize cursor near the edge). When OFF, the right edge cannot be dragged.

resizable top

When ON, the control can be resized with the mouse by dragging its top edge (the cursor changes to a resize cursor near the edge). When OFF, the top edge cannot be dragged.

resizable bottom

When ON, the control can be resized with the mouse by dragging its bottom edge (the cursor changes to a resize cursor near the edge). When OFF, the bottom edge cannot be dragged.

physics

physics enabled

When ON, the physics engine of the panel is started: the child controls with floating x or floating y ON become moving bodies subject to gravity x, gravity y, friction and elasticity, and they collide with each other and with the panel borders; the other child controls are static obstacles. The simulation runs only while the main ON/OFF switch is on, the patch is running and the main lock switch is off. Available on XY/XYZ style panels, container panels and popup panels.

physics speed

Speed of the simulation: the number of physics iterations computed at each refresh is multiplied by this value. Range [0..100] (logarithmic scale), default 1; 0 freezes the engine. It also scales the speed x, speed y and angular speed values reported by the child controls.

init with random speed

When ON (default), every moving body gets a random initial velocity and rotation speed when the physics engine is (re)started, for example after reset positions. When OFF, the bodies start at rest.

same masses

When ON (default), all moving bodies have the same mass. When OFF, the mass of each body is proportional to its area (width x height), so bigger controls push smaller ones on collision.

ignored in physical engine

Setting of a child control. When ON, the control is excluded from the physics engine of its parent panel: it is neither moved nor used as an obstacle, and it is not affected by reset positions.

friction

Friction coefficient applied to the moving bodies, in the range [0..10] (logarithmic scale), default 0 (no friction). Higher values slow the controls down faster.

elasticity

Energy conservation coefficient on collision, in the range [0..1], default 1: 1 = fully elastic bounce (no energy lost), 0 = the body stops on collision.

gravity x

Horizontal gravity applied to the moving bodies, in the range [-5..5], default 0. Positive values pull the controls to the right, negative values to the left.

gravity y

Vertical gravity applied to the moving bodies, in the range [-5..5], default 0. Positive values pull the controls downward, negative values upward.

reset pos x

Horizontal position, in the range [0..1] of the parent panel width, where the child controls with floating x ON are placed by reset positions. Default 0.

reset pos y

Vertical position, in the range [0..1] of the parent panel height, where the child controls with floating y ON are placed by reset positions. Default 0.

reset positions

Button which moves all the child controls managed by the physics engine (see ignored in physical engine) to reset pos x / reset pos y and restarts the simulation (with random speeds if init with random speed is ON). Only effective when physics enabled is ON.

angular speed

Read-only, not saved. Rotation speed of the control computed by the physics engine of its parent panel (scaled by physics speed). Range [-10..10].

collide

Read-only trigger, not saved. Sends a trigger each time the control collides with another child control or with a border of its parent panel in the physics engine. On the panel itself, it is triggered when one of its child controls hits a border.

collide info

Read-only, not saved, in the range [0..1004]. Identifies what the control collided with during the last collide:

  • 0 to 999: index of the other child control (in the order of the panel's children managed by the physics engine),
  • 1001: top border of the parent,
  • 1002: bottom border of the parent,
  • 1003: left border of the parent,
  • 1004: right border of the parent.

On the panel itself, it gives the index of the child control which hit a border.

speed x

Read-only, not saved. Horizontal speed of the control in the range [-10..10], computed by the physics engine of its parent panel (scaled by physics speed), or from the mouse movement while the control is being dragged.

speed y

Read-only, not saved. Vertical speed of the control in the range [-10..10], computed by the physics engine of its parent panel (scaled by physics speed), or from the mouse movement while the control is being dragged.

minimize

minimized

When ON, the panel is minimized: only its header is displayed, its size is memorized and restored when the setting is switched OFF. Only available on panels having the minimize button in their toolbar. Not saved in design templates.

reorganization

auto reorganize

When ON, the child controls of the panel are automatically laid out one after the other (in rows and columns) each time a control is added, removed, moved or resized, using reorganize margin, reorganize interspace H and reorganize interspace V. When OFF, the controls keep the positions given by the user.

reorganize margin

Left and top margin in pixels, in the range [0..20], between the panel border and the first control when the panel is reorganized. Default 4.

reorganize interspace H

Horizontal space in pixels, in the range [0..20], between two columns of controls when the panel is reorganized. Default 4.

reorganize interspace V

Vertical space in pixels, in the range [0..20], between two rows of controls when the panel is reorganized. Default 4.

auto resize options

auto resize

When ON, the panel automatically adjusts its width and height to its content each time child controls are moved or resized, keeping auto resize margin around them. Switch it OFF if you use floating panels inside.

auto resize margin

Margin in pixels, in the range [0..20], kept between the child controls and the panel borders when auto resize is ON. Default 4.

force reorganize

Button which lays out the child controls immediately (as auto reorganize does), even if auto reorganize is OFF, then applies the auto resize. It can also be exposed as an inlet.

align to grid

snap to grid

When ON, in unlock mode, the position and the size of the child controls are snapped to a grid of grid size pixels when they are moved or resized with the mouse. Floating controls dragged inside the panel are snapped too.

grid size

Step of the grid in pixels, in the range [1..40], used when snap to grid is ON. Default 2.

global

mouse editing enabled

Determines if the value of the control can be modified by the user with the mouse or the touch screen. When OFF, the control still displays its value and can be modified by its inlets, remotes and presets, but clicks and drags on it are ignored. Useful to build read-only displays.

This setting is not saved in design templates.

receive mouse info

When ON, the control receives mouse information (often called hit-test). When OFF, the control is transparent to the mouse: clicks pass through it to the control located behind. This is useful when controls overlap, only the topmost control with receive mouse info ON gets the mouse events.

This setting is not saved in design templates.

is visible

Sets or gets the visibility of the control. When OFF the control is hidden but keeps processing its value. Typically exposed as an inlet to show or hide parts of an interface from the patch.

global color

Main color of the control. When changed, Usine recomputes all the other colors of the control (background, border, caption, cursor, etc.) with contrasted shades derived from this color, and propagates the change to the child controls of a panel unless they are ignored in parent global color.

ignored in parent global color

When ON, the global color of this control is not modified when the global color of its parent panel, patch or rack changes. Use it to keep a specific color on one control inside a recolored group.

design template name

Name of the design template (a snapshot of the design tab settings) applied when the control is created. The template files are searched in /Resources/Templates/Design and /Config/Templates/Design. Setting a new name reloads the design settings from that file.

The name can be given without extension, ie. LIGHT CLASS instead of LIGHT CLASS.tuknob_tab_design. Only visible in god mode.

z order

Determines the drawing order of the control relatively to the other controls of the same container:

  • normal: the control is drawn in its creation order,
  • front: the control is always brought to the front, above all the other controls,
  • back: the control is always sent to the back, behind all the other controls.

Example with the first knob on top.

opacity

Opacity of the whole control from 0 to 1 (default 1), applied to its background, border, caption and drawing. The opacity is multiplied with the opacity of the parent containers.

0 will give a totally transparent control so invisible.

blur softness

Amount of blur applied to the drawing of the control, from 0 (no blur) to 5.

Example of blur.

Be careful, the blur softness use shaders which are not supported by all graphic cards. Can crash Usine.

background

background color

Background color of the control, used to fill its whole surface behind the caption, the value and the drawing of the control. When the control is disabled the color is dimmed, and when the mouse is over it (with the mouse over effect ON) a slightly lighter shade is drawn.

transparent option must be OFF.

Blue background color example.

transparent

When ON, the background of the control is not painted at all, so the controls or the patch located behind it remain visible. The background color is ignored and the mouse over highlight uses the global mouse-over color instead of a lighter shade of the background.

Example, the first module is transparent.

remote highlight color

Color of the contour flashed around the control when its value is modified by a remote source (MIDI, OSC, keyboard, etc.). The contour is drawn for about 100 ms after each remote change. By default it is a lighter shade of the module's quick color. The flash can be disabled globally by the disable remote highlight expert policy.

image file

Optional image drawn as the background of the control, behind the control drawing. Click to choose the file. The image is drawn with the image fit mode and the control opacity.

Only PNG, JPEG and BMP formats are supported. Use [ctrl+click] to reset.

Example on an panel-xy-pad.

image fit mode

Determines how the image file is resized to the size of the control:

  • proportional left aligned: the image is scaled to the height of the control, keeps its aspect ratio and is aligned on the left,
  • scaled: the image is stretched to the full size of the control (default),
  • original: the image keeps its original pixel size and is drawn from the top left corner,
  • clipped: the image keeps its aspect ratio and is fitted entirely inside the control,
  • scaled with borders: the image is stretched to the size of the control minus its border width,
  • centered: the image keeps its aspect ratio, covers the whole control and is centered, the parts outside the control are cropped.

svg filename

Name of an SVG vector file drawn in the background of the control, above the image file. The path is scaled to the size of the control, so the drawing stays sharp at any size.

svg fill color

Color used to fill the shapes of the SVG. Use a fully transparent color to draw the contour only.

svg stroke color

Color used to draw the contour of the SVG shapes. Use a fully transparent color to disable the contour.

For switches only, a second set of colors (svg fill color 2 and svg stroke color 2) is used when the switch is OFF.

svg stroke width

Width of the contour of the SVG shapes, as a fraction of the smallest dimension of the control (0 to 1, default 0.1). The drawn thickness is one third of that fraction, so 0.1 on a 60 pixels wide control gives a 2 pixels contour.

Use 0 to disable the drawing of the contour.

svg margin

Space left between the border of the control and the SVG drawing, as a fraction of half the smallest dimension of the control (0 to 1, default 0.1). At 1 the drawing collapses to the center of the control.

svg keep aspect ratio

When ON (default), the SVG is scaled uniformly so it keeps its proportions and is centered in the available area. When OFF, the SVG is stretched independently in width and height to fill the whole area inside the svg margin.

border

show border

Displays or not the border of the control. When OFF, the border width is still used to compute the inner drawing area, but no border is painted.

8 pixels border on an panel-xy-pad.

border width

Width of the border in pixels, from 0 to 100 (default 0). The border is drawn inside the control, so a large border reduces the area available for the drawing of the control.

8 pixels border on an panel-xy-pad.

border color

Color of the border of the control.

a yellow border on an panel-xy-pad.

border OFF color

Border color of a switch when its state is OFF. For switches this color replaces the generic border color.

a black OFF border on a switch.

border ON color

Border color of a switch when its state is ON.

a white ON border on a switch.

round size

Radius of the rounded corners of the control in pixels, from 0 to 800 (default 2). Applies to the background, the border and the header of the control.

0 = no rounded corners.

Example on a panel-shape.

don't draw selection border

When ON, the highlighted contour normally drawn around a control selected with the mouse in edit mode is not drawn for this control. Useful on decorative controls where the selection contour disturbs the design. The selection contour can also be disabled globally by the disable draw selected expert policy.

caption

show caption

Displays or not the caption (the name) of the control. When OFF, the whole surface of the control is available for its drawing and its value.

Example on a fader.

caption horizontal align

Horizontal alignment of the caption inside the control: center, left or right.

caption vertical align

Vertical alignment of the caption inside the control: center, top or bottom.

Example on knob: Center, top and bottom.

Example on switch.

caption font size factor

Multiplier applied to the size of the caption font, from 0 to 2 (default 0.6). The base size depends on the height of the control, so the caption follows the size of the control and this factor makes it bigger or smaller.

Example on switch.

caption font

Font family used to draw the caption, chosen in the list of the fonts installed on the system. The first item is the default Usine font.

The font is saved by its name, if the font is not installed on another computer the default font is used instead.

Example with 3 different fonts on switch.

caption font color

Color of the caption text.

Example on switch.

caption font italic

When ON, the caption is drawn in italic.

Example on switch.

caption font bold

When ON, the caption is drawn in bold.

Example on switch.

caption font underline

When ON, the caption is underlined.

Example on switch.

header

show header

Displays or not the header bar at the top of the panel. The header holds the caption of the panel and, when enabled, its toolbar buttons (minimize, close, etc.). When OFF, the caption and the toolbar are hidden and the whole height of the panel is available for its content.

Example on sequenced-lines.

header height

Height of the header in pixels, from 0 to 50. The toolbar buttons and the caption are scaled to this height.

header color

Background color of the header. When the panel is being MIDI learned, the header takes the MIDI learn color instead.

solid header color

When ON, the header is drawn as a solid bar spanning the whole width of the panel (HH5 style), with the rounded corners of the panel. When OFF, only a small bar is drawn in the upper left corner of the panel and the rest of the header area shows the panel background.

plain-on plain ON

plain-off plain OFF

header toolbar

show toolbar

When ON, the toolbar icons (close, enable, and the other commands of the panel) are displayed in the header of the panel; when OFF, the toolbar is removed and the header only shows the caption. Default ON. Only available when the header is enabled (show header ON).

Example ON and OFF

toolbar size factor

Size of the toolbar icons, expressed as a factor of the header height: 1 gives icons as high as the header, 0.5 gives icons half the header height. Range [0..4], default 1.

Example toolbar size on a panel.

Common Settings

info

show manual

Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.

For more details about information/help creation, see create-help-file.

description

Free multi-line text attached to the module, saved with the patch. When it is not empty, it is shown as the hint of the module (mouse over the module header in the patch) in place of the default module hint, even when the module hints are disabled.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).

preset ID

Read-only, not saved. Private ID used to store and recall the values of this control in presets.

recreate ID

Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.

Object Remote Address

absolute

Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.

local

Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.

user addr

Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.

See also

version 7.0.250921

Edit All Pages