Control Touch Fader

Control made for touch screens, drawn in the control panel: a fader, a button, a switch, an encoder, an XY pad, a range fader or a listbox, with built-in skins and many drawing options (shapes, colors, light effects).

This module replaces the Touch Fader user module by 23fx23. A patch saved with the user module opens with this module, with its values, settings and connections.

Settings

query

Item drawn by the module, asked when the module is created: fader (default), button, switch, encoder, xypad, range fader or list box. The mode parameter changes it later.

mode

Item drawn by the module: fader, button, switch, encoder, xy_pad, range fader or listbox.

The inputs and the outputs take a caption that depends on the mode. An input or an output that the mode does not use shows -.

mode inputs used x out y out z out switch out
fader x in: aux fader value in, y in: fader value in aux fader out fader value out max on pressed pressed
button switch in: button value in aux x position out aux y position out button value out button out
switch switch in: button value in aux x position out aux y position out switch value out switch out
encoder y in: encoder value in - encoder value out - pressed
xy_pad x in: x value in, y in: y value in x value out y value out max on pressed pressed
range fader x in: min value in, y in: max value in min value out max value out mid value out -
listbox w in: list value in aux fader out list value out - pressed

w in

Main value of the listbox mode: the selected item. Not used by the other modes.

x in

Second value of the item (see the table above), between min and max.

y in

Main value of the item (see the table above), between min and max.

z in

Not used by the modes.

switch in

State of the button or of the switch.

button value in

Name of the switch in input in the button and the switch modes. Sets the state of the button or of the switch: 0 switches it off, another value switches it on.

reset

Sets the main value (Y) to reset value.

reset value

Value set by reset, between min and max.

caption

Name displayed with the item when its switch is off.

on caption

Name displayed with the item when its switch is on.

comma text

Items of the listbox, separated by commas: a,b,c (the letters of the alphabet by default). An item can be given a value after a = sign: low=0.2,mid=0.5,high=0.9; the value of the selected item goes to lb float. At most 127 items.

min

Minimum of the values: the inputs are limited to the range and the outputs are scaled to it.

max

Maximum of the values.

x out

Second value of the item (see the table above), between min and max.

aux x position out

Name of the x out output in the button and the switch modes. Horizontal position of the pointer in the item while the button is pressed, from min at the left edge to max at the right edge. It changes only when bt exta xy is not none.

y out

Main value of the item (see the table above), between min and max. In the listbox mode: the position of the selected item in the comma text.

aux y position out

Name of the y out output in the button and the switch modes. Vertical position of the pointer in the item while the button is pressed, from min at the bottom to max at the top. It changes only when bt exta xy is not none.

z out

Third value of the item (see the table above). In the listbox mode: the value given to the selected item in the comma text.

switch value out

Name of the z out output in the switch mode: state of the switch, min when it is off and max when it is on. The button mode gives the same value under the name button value out; switch out gives the same state as 0 or 1.

switch out

State of the button or of the switch, 0 or 1. In the listbox mode: 1 while the list is pressed. In the fader, encoder and XY pad modes it follows the switch sub mode of the item, 1 while the item is pressed with the default skin.

lb text

Listbox mode: name of the selected item.

lb selection

Listbox mode: position of the selected item in the list, from 0.

lb original id

Listbox mode: position of the selected item in the comma text, before the alphabetical sort.

lb float

Listbox mode: value given to the selected item in the comma text, 0 when there is none.

lb zoom

Listbox mode: number of items displayed.

lb scroll

Listbox mode: scroll position of the list.

midi out

MIDI control changes sent for X, Y, Z and the switch when their value changes (see the midi settings).

midi in

MIDI control changes received for X, Y, Z and the switch.

saved in preset

Determines if parameters of this object are saved in the preset-panel.

fade preset

Parameters of the this object can cross faded when you recall a preset in the grid.

Optional setting, does not appear on all objects.

format

Number of decimals of the values: integer, .x, .xx, .xxx, .xxxx or .xxxxx. The outputs are rounded to it; with integer and .x, the fader is quantized.

value

Display of the value of the item, in the design tab.

show value

Shows the value of the item, on by default. The XY pad writes Y - X, the range fader writes its values in its caps and its width in its bar; the listbox mode shows no value.

value size

Size of the value text, as a ratio of the item height, from 0.01 to 1 (0.06 by default).

value is bold

Writes the value in bold. Off by default.

value vertical pos

Vertical position of the top of the value text, from -0.2 to 1.2 units of the item height (0 by default, the top of the item).

value horizontal pos

Horizontal position of the value, from -0.2 to 2.2 units of the item width: the text is centered between the left edge of the item and this position. 1 (default) centers it in the item, 0 puts it on the left edge and 2 on the right edge.

value on color

Color of the value while the switch of the item is on. The encoder, the XY pad and the range fader always use this color.

value off color

Color of the value while the switch of the item is off (fader, button and switch modes).

name

Display of the name of the item, in the design tab: caption while the switch is off, on caption while it is on.

show name

Shows the name of the item: caption while the switch is off, on caption while it is on. On by default. The listbox mode shows no name.

name size

Size of the name text, as a ratio of the item height, from 0.01 to 1 (0.06 by default).

name is bold

Writes the name in bold. Off by default.

name vertical pos

Vertical position of the top of the name text, from -0.2 to 1.2 units of the item height (0.9 by default, near the bottom of the item).

name horizontal pos

Horizontal position of the name, from -0.2 to 2.2 units of the item width: the text is centered between the left edge of the item and this position. 1 (default) centers it in the item, 0 puts it on the left edge and 2 on the right edge.

name on color

Color of the name (on caption) while the switch of the item is on.

name off color

Color of the name (caption) while the switch of the item is off.

built-in skins

One list for each item. listbox skin is in the design tab, the other lists in the properties tab. Choosing a skin sets the design settings of its item, whatever the current mode: the other items keep their design for when the mode changes. The list shows the skin last loaded; the design settings changed after it are kept, also when the patch is saved and loaded again.

fader skin

Built-in design of the fader (fd settings):

  • default: rounded background, bar and cap, stripes, flat design.
  • minimalist: square background and bar, thin borders, no cap and no stripes.
  • stripes: stripes only.
  • 3d hexa: cut corners, speculars rendering.
  • 3d reflections: rounded shapes, narrow bar, flares rendering, no stripes.
  • crossfader: thin cap, value line, zip stripes, shadows rendering, no bar.
  • diagonal raise: diagonal raise stripes only.
  • tube: cut corners, reflexions rendering, no cap and no stripes.
  • grid quantize: grid of 4 steps with the value quantized to it, cap, no bar.

button & switch skin

Built-in design of the button and of the switch (bt settings):

  • default: rounded button, scale transform effect, reflexions rendering.
  • minimalist: square button, no transform effect, flat design.
  • led_xy: cut corners, X and Y lines, scale transform effect, bevel reflexions.
  • slinding led: thin button that slides horizontally, speculars rendering, bevel reflexions.

encoder skin

Built-in design of the encoder (en settings):

  • default: ring knob with a filled ring, leds and a center cap.
  • minimalist: filled ring only.
  • leds: leds only.
  • leds segments: ring with segment leds, no center cap.
  • round: ring with a dot cursor and a large center cap, no leds.
  • cursor line: ring with leds, a line cursor and a center cap.
  • cursor shape: ring with leds, a filled shape cursor with its shadow and a center cap.
  • v bar leds: vertical bar of leds.
  • color panel: color panel layout.
  • fader panel: color panel + fader layout.

xy pad skin

Built-in design of the XY pad (xy settings): default (background, cross, square dot, side faders and rectangle) or minimalist (round dot only).

range fader skin

Built-in design of the range fader (rf settings): default (rounded shapes, stripes, borders of 4 pixels) or minimalist (square shapes, no stripes, borders of 2 pixels).

listbox skin

Built-in design of the listbox (lb settings):

  • default: rounded shapes, borders, light pulse, item X fader, zoom with the X axis.
  • minimalist: square shapes, no borders, no light pulse, no item X fader.
  • pages scroll: scroller track in page mode, no zoom with the X axis.
  • black: black items and hiders, square items and border, no zoom with the X axis.

midi

Remote tab. enable midi turns the MIDI on. For X, Y, Z and the switch: midi sends and receives the value as a control change, with its midi channel and its midi cc number. learn waits for the next control change on midi in and takes its channel and its number.

item design settings

Design tab. The settings of each item begin with its prefix: fd for the fader, bt for the button and the switch, en for the encoder, xy for the XY pad, rf for the range fader and lb for the listbox. A built-in skin sets them all at once. The settings of an item that is not the current mode are kept for when the mode changes. The defaults given below are the values of the default skins.

color management

Each item processes its colors before drawing them:

  • color mode (fader) or color behaviour: in hue / sla (fader: in hue / cs sla) gives all the colors the hue set by hue roll and keeps their saturation, luminosity and opacity; shift in hue and full override (fader: in hue + cs hue / cs sla and colorset hsla) rotate the hue of each color by hue roll.
  • hue roll: hue, from 0 to 360.
  • saturation override: above 0, replaces the saturation of every color.
  • luminosity contrast: above 0 the luminosities move away from the middle, below 0 they move closer to it.
  • luminosity offset: adds half its value to the luminosity of every color.
  • highlight force: luminosity added while the item is pressed, with a weight that depends on the part of the item; a negative value darkens.
  • apply color correct to palette: writes the processed colors into the colors of the item, sets hue roll, saturation override, luminosity contrast and luminosity offset back to 0 and switches itself off.

Saturation, contrast and offset are applied once a skin is loaded (the default skin is loaded when the module is created). A quick color given to the panel changes the colors of the current item and switches them off until a skin is loaded again, except on the button and the XY pad, which always apply them.

rendering

The fader and the button have light effects. rendering type chooses them, each level keeping the effects of the previous ones: flat design (none), occlusion (dark inner border), shadows (shadow of the shapes), speculars (light and dark edges on the borders), reflexions (reflexion lines over the shapes) and flares (two light spots). lighting angle sets the direction of the light, lighting depth the distance of the shadows, and an opacity setting the strength of each effect.

fader (fd)

The fader moves its cap along a background, with a bar from the minimum to the value. Its value goes to y out (fader value out).

fd absolute, relative

Off (default, absolute): the value jumps to the position of the pointer; a click on the cap does not make it jump. On (relative): the value moves from its current value by the drag multiplied by fd relative speed.

fd vertical, horizontal

Off (default): vertical fader. On: horizontal fader.

fd normal, inverted

On: inverts the fader, its maximum is at the bottom (on the left for a horizontal fader). Off by default.

fd auto reset

On: the fader goes back to its minimum when it is released. Off by default.

fd scale type

Response of the fader: linear (default), logarithmic (the value is the position raised to the power 5, for a fine control of the low values) or exponential (the cube root of the position, for a fine control of the high values).

fd use switch:

Switch of the fader, given by switch out and shown by the name, the value color and fd switch color:

  • none: no switch.
  • button (default): on while the fader is pressed.
  • switch: a click that does not move the value toggles the switch.

fd switch target:

Parts of the fader mixed with fd switch color while the switch is on: all, all borders, background, background border, bar, bar border, caption (the cap, default), caption border (the border of the cap), stripes on, stripes off or line.

fd exta x fader

Adds a small auxiliary fader at the value position, whose value goes to x out (aux fader out): no (default), absolute (it follows the position of the pointer across the fader) or relative (it moves with the drag across the fader multiplied by fd relative speed).

fd relative speed

Speed of the relative mode (fd absolute, relative on) and of the relative extra X fader, from 0.1 to 1 (0.5 by default).

fd round type

Corners of the background, the bar and the cap: not rounded, round (default) or hexagon (cut corners).

fd round size

Size of the rounded or cut corners, from 0.01 to 0.25 ratio (0.05 by default).

fd show borders

Draws the borders of the background, the bar, the cap and the extra X fader. On by default.

fd borders size

Width of the borders, from 0.5 to 20 pixels (4 by default).

fd width redux

Margin on each side of the background and of the bar, from 0 to 0.5 ratio of the fader width (0.1 by default): the higher the value, the narrower the background and the bar. The cap keeps its width.

fd show fader bg

Draws the background of the fader. On by default.

fd show fader bar

Draws the bar, from the minimum to the value. On by default.

fd show fader line

Draws a line across the bar at the value position, in fd line color. Off by default.

fd show fader cap

Draws the cap at the value position. On by default. With the cap, the course of the value is reduced by the cap height so that the cap stays in the item.

fd show fader stripes

Draws stripes along the fader, in fd stripes on color up to the value and in fd stripes off color beyond it. On by default.

fd show fader grid

Draws lines across the bar that divide it in fd grid subdivs steps, in fd grid color. Off by default.

fd color mode

How fd hue roll changes the hue of the fader colors: in hue / cs sla gives all the colors the hue set by fd hue roll, keeping their saturation, luminosity and opacity; in hue + cs hue / cs sla and colorset hsla (default) rotate the hue of each color by fd hue roll (both give the same result). See color management above.

fd hue roll

Hue used by fd color mode, from 0 to 360 (0 by default): the hue given to all the fader colors, or the rotation of their hue.

fd saturation override

Saturation given to all the fader colors, from 0 to 1 ratio. 0 (default) keeps the saturation of each color.

fd luminosity contrast

Contrast of the luminosity of the fader colors, from -1 to 1 ratio (0 by default): above 0 the luminosities move away from the middle, below 0 they move closer to it.

fd luminosity offset

Adds half its value to the luminosity of all the fader colors, from -1 to 1 ratio (0 by default).

fd apply color correct to palette

Writes the fader colors processed by fd hue roll, fd saturation override, fd luminosity contrast and fd luminosity offset into the colors themselves, sets these four settings back to 0 and switches itself off.

fd bg color

Fill color of the background.

fd bg border color

Border color of the background.

fd bar color

Fill color of the bar.

fd bar border color

Border color of the bar.

fd line color

Color of the value line (fd show fader line).

fd cap color

Fill color of the cap, also used for the background of the extra X fader.

fd cap border color

Border color of the cap, also used for the border of the extra X fader background.

fd stripes on color

Color of the stripes up to the value.

fd stripes off color

Color of the stripes beyond the value.

fd switch color

Color mixed into the parts chosen by fd switch target: while the switch of the fader is on.

fd xfader color

Fill color of the bar of the extra X fader (fd exta x fader).

fd xfader border color

Border color of the bar of the extra X fader.

fd grid color

Color of the grid lines (fd show fader grid).

fd highlight force

Luminosity added to the fader colors while the fader is pressed, from -1 to 1 ratio (0.2 by default); a negative value darkens them.

fd rendering type

Light effects of the fader, each one adding to the previous ones: flat design (default, none), occlusion, shadows, speculars, reflexions or flares. See rendering above.

fd lighting angle

Direction of the light, from 0 to 1 for a full turn (0.38 by default). It places the shadows, the speculars and the flares.

fd lighting depth

Distance of the shadows from the shapes, from 0 to 2 (1 by default).

fd occlusion opacity

Opacity of the dark inner border of the background, the bar and the cap (occlusion rendering and above), from 0.01 to 1 (0.2 by default).

fd shadow opacity

Opacity of the shadows (shadows rendering and above), from 0.01 to 1 (0.33 by default).

fd specular opacity

Opacity of the light and dark edges drawn on the borders (speculars rendering and above), from 0.01 to 1 (0.33 by default).

fd reflexions opacity

Opacity of the reflexion lines drawn over the background, the bar and the cap (reflexions rendering and above), from 0.01 to 1 (0.33 by default).

fd reflexion type

Pattern of the reflexion lines drawn over the cap, the background and the bar, from 0 to 3 (0 by default).

fd flares opacity

Opacity of the two light spots drawn on the cap (flares rendering), from 0.01 to 1 (0.33 by default).

fd cap height

Size of the cap along the fader, from 0.01 to 0.2 ratio (0.1 by default): the cap takes twice this ratio of the fader length. With fd quantize value to grid and the grid shown, the cap height follows the grid.

fd cap width

Width of the cap across the fader, from 0.51 to 1 ratio (0.9 by default): the cap goes from 1 - value to value of the fader width, 1 fills the whole width.

fd value in fader cap

Writes the value in the cap, instead of the position set by value vertical pos and value horizontal pos. Off by default.

fd name in fader cap

Writes the name in the cap, instead of the position set by name vertical pos and name horizontal pos. Off by default.

fd stripes modes

Pattern of the stripes, described for a vertical fader:

  • center (default): stripes across the bar.
  • side: short stripes on both sides.
  • ruler quad: centered stripes whose length follows a ruler pattern repeated every fd stripes modulo stripes.
  • zip: stripes from both sides toward the middle, their length varying in a pattern of half fd stripes modulo stripes.
  • diagonal raise: stripes from the left side, longer toward the top.
  • center raise: centered stripes, longer toward the top.
  • twist: centered stripes, narrow at the bottom and wide at the top, every other one shifted.

fd stripes modulo

Spacing of the stripes: one stripe every this number of pixels, from 2 to 16 (4 by default). It also sets the period of the ruler quad and zip patterns.

fd stripes width

Thickness of the stripes, as a ratio of their spacing, from 0.01 to 2 (0.4 by default).

fd stripes gradient

Luminosity gradient of the stripes up to the value, from -1 to 1 (0 by default, no gradient): a positive value lightens them toward the top of a vertical fader, a negative value darkens them.

fd line / grid size

Thickness of the value line, from 0.5 to 20 pixels (1 by default). The grid lines are drawn at half this thickness.

fd grid subdivs

Number of steps of the grid, from 1 to 32 (12 by default).

fd quantize value to grid

The value moves by steps: fd grid subdivs values from the minimum to the maximum. With the grid shown, the cap height follows the grid. Off by default.

button and switch (bt)

The button mode is momentary: on while it is pressed. The switch mode toggles at each click. Both use the bt settings.

bt round type

Corners of the button: not rounded, rounded (default) or hexagon (cut corners).

bt round size

Size of the rounded or cut corners, from 0.01 to 0.5 (0.05 by default).

bt show border

Draws the border of the button. On by default.

bt border size

Width of the border of the button, from 0.5 to 20 pixels (4 by default).

bt scale x

Width of the button, as a ratio of the item width, from 0 to 1 (0.88 by default).

bt scale y

Height of the button, as a ratio of the item height, from 0 to 1 (0.7 by default).

bt color behaviour

How bt hue roll changes the hue of the button colors: in hue / sla gives all the colors the hue set by bt hue roll; shift in hue and full override (default) rotate the hue of each color by bt hue roll. See color management above.

bt hue roll

Hue used by bt color behaviour, from 0 to 360 (0 by default): the hue given to all the button colors, or the rotation of their hue.

bt saturation override

Saturation given to all the button colors, from 0 to 1 ratio. 0 (default) keeps the saturation of each color.

bt luminosity contrast

Contrast of the luminosity of the button colors, from -1 to 1 ratio (0 by default): above 0 the luminosities move away from the middle, below 0 they move closer to it.

bt luminosity offset

Adds half its value to the luminosity of all the button colors, from -1 to 1 ratio (0 by default).

bt apply color correct to palette

Writes the button colors processed by bt hue roll, bt saturation override, bt luminosity contrast and bt luminosity offset into the colors themselves, sets these four settings back to 0 and switches itself off.

bt off color

Fill color of the button while it is off.

bt on color

Fill color of the button while it is on.

bt off border color

Border color of the button while it is off.

bt on border color

Border color of the button while it is on.

bt xy off color

Color of the X and Y lines and of their values (bt exta xy) while the button is off.

bt xy on color

Color of the X and Y lines and of their values (bt exta xy) while the button is on.

bt container color

Fill color of the frame drawn behind the button when bt transform effect is not none. It is drawn as set, without the color management.

bt container border color

Border color of the frame drawn behind the button when bt transform effect is not none, drawn as set.

bt exta xy

Lines that show the position of the pointer in the button, with their values: none (default), x (a vertical line), y (a horizontal line) or both. The positions go to x out and y out (aux x position out and aux y position out).

bt xy size

Thickness of the X and Y lines, from 0 to 50 pixels (2 by default).

bt transform effect

Change of the shape of the button when it switches on or off:

  • none: no change, and no frame behind the button.
  • slide v: the button loses bt transform amount at the bottom when it is on and at the top when it is off, so that it moves up and down.
  • slide h: the button loses the amount on the left when it is on and on the right when it is off.
  • scale (default): the button shrinks by the amount when it is on.

bt transform amount

Amount of the transform effect, from 0 to 0.5 of the item size (0.03 by default).

bt rendering type

Light effects of the button, each one adding to the previous ones: flat design, occlusion, shadows, speculars, reflexions (default) or flares. See rendering above.

bt lighting angle

Direction of the light, from 0 to 1 for a full turn (0.25 by default). It places the shadows, the speculars and the flares.

bt lighting depth

Distance of the shadow from the button, from 0 to 2 (1 by default).

bt occlusion opacity

Opacity of the inner border of the button, light when the button is on and dark when it is off (occlusion rendering and above), from 0.01 to 1 (0.25 by default).

bt shadow opacity

Opacity of the shadow of the button (shadows rendering and above), from 0.01 to 1 (0.2 by default).

bt specular opacity

Opacity of the light and dark edges drawn on the border while the button is off (speculars rendering and above), from 0.01 to 1 (0.2 by default).

bt reflexions opacity

Opacity of the reflexions drawn over the button (reflexions rendering and above), from 0.01 to 1 (0.5 by default).

bt reflexion type

Pattern of the reflexions: 0 (default) to 6 are patterns of reflexion lines, bevel draws a bevelled frame of light lines that changes when the button is on.

bt flares opacity

Opacity of the two light spots drawn on the button while it is off (flares rendering), from 0.01 to 1 (0.25 by default).

encoder (en)

The encoder value goes to y out (encoder value out).

en absolute / relative

On (default, relative): the value moves by the drag multiplied by en relative speed, along the movement chosen by en input used. Off (absolute): the value follows the position of the pointer, or its angle around the center with the angular input.

en input used

Movement that drives the encoder: y (default, vertical drag), x (horizontal drag) or angular (rotation around the center of the item).

en relative speed

Speed of the relative mode (en absolute / relative on), from 0.01 to 2 (0.5 by default).

en sub mode

Switch of the encoder, given by switch out:

  • simple enc (default): no switch.
  • button enc: the switch is on while the encoder is pressed.
  • swich enc: a press switches it on, a click that does not change the value switches it off.

While the switch is off, the colors are mixed with en switch off color.

en sw behaviour

Value of the encoder in the button enc and swich enc sub modes:

  • tab reset/last (default): the value goes to its minimum when the button is released or the switch goes off, and comes back to its last value at the next press.
  • reset: the value goes to its minimum when the button is released or the switch goes off.
  • switch only: the value does not change, only the switch.

en layout style

Drawing of the encoder:

  • ring knob (default): a ring around a center cap.
  • horizontal bar and vertical bar: a bar with a cap at the value.
  • color panel: a panel whose luminosity follows the value.
  • color panel + fader: the panel with a fader part that follows the value.
  • only value: the value text only.

en draw mode

How the ring, the bar, the leds or the panel show the value:

  • normal (default): from the start to the value.
  • reverse: from the value to the end.
  • spread: centered on the middle, its length follows the value.
  • pan: from the middle to the value.
  • cursor: a short segment at the value.

en global radius

Radius of the ring, as a ratio of the item height, from 0.01 to 0.6 (0.22 by default); half the thickness of the bars. Most sizes of the encoder are relative to it.

en global length

Length of the ring as a fraction of a full turn, or length of the bars as a ratio of the item size, from 0.1 to 1 (0.8 by default).

en show filled ring

Fills the ring or the bar: the part that shows the value in en ring on color, the rest in en ring off color. On by default.

en show ring border

Draws the borders of the ring or of the bar, in en ring on border color and en ring off border color. On by default.

en show leds

Draws leds around the ring or along the bar, lit following en draw mode. On by default.

en show cursor

Draws a cursor at the value on the ring or on the bar (see en cursor type). Off by default.

en show center

Draws the center cap of the ring, or the cap at the value of the bars. On by default.

en color behaviour

How en hue roll changes the hue of the encoder colors: in hue / sla gives all the colors the hue set by en hue roll; shift in hue and full override (default) rotate the hue of each color by en hue roll. See color management above.

en hue roll

Hue used by en color behaviour, from 0 to 360 (0 by default): the hue given to all the encoder colors, or the rotation of their hue.

en saturation override

Saturation given to all the encoder colors, from 0 to 1 ratio. 0 (default) keeps the saturation of each color.

en luminosity contrast

Contrast of the luminosity of the encoder colors, from -1 to 1 ratio (0 by default): above 0 the luminosities move away from the middle, below 0 they move closer to it.

en luminosity offset

Adds half its value to the luminosity of all the encoder colors, from -1 to 1 ratio (0 by default).

en apply color correct to palette

Writes the encoder colors processed by en hue roll, en saturation override, en luminosity contrast and en luminosity offset into the colors themselves, sets these four settings back to 0 and switches itself off.

en switch off color

Color mixed into all the encoder colors (75 %) while the switch of the button enc or swich enc sub mode is off.

en ring off color

Fill color of the part of the ring or of the bar that does not show the value.

en ring on color

Fill color of the part of the ring or of the bar that shows the value.

en ring off border color

Border color of the part of the ring or of the bar that does not show the value.

en ring on border color

Border color of the part of the ring or of the bar that shows the value.

en leds off color

Color of the unlit leds.

en leds on color

Color of the lit leds (see en leds on gradient).

en cursor color

Color of the cursor (en show cursor).

en center cap color

Fill color of the center cap, or of the cap of the bars.

en center cap border color

Border color of the center cap, or of the cap of the bars; color of the corner dots of the turning n-gon.

en panel color

Color of the color panel layouts: the luminosity of the panel follows the value between en panel min luminosity and en panel max luminosity.

en highlight force

Luminosity added to the encoder colors while the encoder is pressed, from -1 to 1 ratio (0.5 by default); a negative value darkens them.

en ring inner radius size

Inner radius of the ring, as a ratio of its outer radius, from 0.01 to 1 (0.55 by default).

en ring border size

Width of the borders of the ring and of the bars, from 0.01 to 40 pixels (4 by default).

en (if bar) rounded

Bar layouts: rounds the corners of the bar and of its cap. On by default.

en (if bar) round size

Bar layouts: size of the rounded corners, from 0 to 0.25 (0.03 by default).

en leds type

Shape of the leds of the ring knob layout: dots (default), segments (a line joining every two leds), to center (lines from the leds to the center) or 3d (dots with a trail toward the top left corner). The bar layouts draw rectangles.

en nb of leds

Number of leds, from 4 to 128 (32 by default).

en leds radius size

Ring knob layout: distance of the leds from the center, as a ratio of en global radius, from 0.01 to 1.5 (0.25 by default).

en leds size

Size of the leds, from 0.01 to 40 pixels (8 by default), scaled by en global radius.

en leds on gradient

Luminosity gradient of the lit leds, from -1 to 1 (0.5 by default): the luminosity of en leds on color changes from led to led, following en draw mode. 0 gives the same color to all the leds.

en cursor type

Shape of the cursor: dot (default), line, shape (an outlined polygon) or shape fill (a filled polygon).

en cursor size

Thickness of the dot or line cursor and of the outline of the shape, from 0.01 to 40 pixels (4 by default), scaled by en global radius.

en cursor radius max

Outer end of the cursor, as a ratio of en global radius, from 0.05 to 2 ratio (0.25 by default): position of the dot, outer end of the line, tip of the shape. On the bars: length of the cursor on one side of the bar.

en cursor radius min

Inner end of the line cursor and radius of the base of the shape, as a ratio of en global radius, from -1 to 2 ratio (0.01 by default). On the bars: length of the cursor on the other side of the bar.

en if shape nb of points

Number of points of the shape and shape fill cursors, from 3 to 16 (3 by default).

en flip cursor from/to

Swaps the two ends of the cursor: the dot is drawn at en cursor radius min, and on the bars the shape points the other way. Off by default.

en cursor extra offset

Bar layouts: moves the cursor across the bar, from -0.5 to 0.5 (0 by default).

en cursor size linked to radius

On (default): the cursor of the bars and the shape cursor are sized from en global radius. Off: they are sized from a fixed radius of 0.25.

en a radius

Size of the center cap, as a ratio of en global radius, from 0 to 2 (0.42 by default). On the bars: half the length of the cap.

en center border size

Width of the border of the center cap, from 0.01 to 40 pixels (0.2 by default).

en center draw type

Center cap of the ring knob layout: fixed circle (default) or turning n-gon (a polygon that turns with the value, with a dot on each corner).

en if turning nb of points

Number of corners of the turning n-gon, from 3 to 16 (7 by default).

en center position

Drawing order of the center cap: over cursor (default) or under cursor.

en panel min luminosity

color panel layouts: luminosity of the panel at the minimum of the value, from 0 to 1 (0.1 by default).

en panel max luminosity

color panel layouts: luminosity of the panel at the maximum of the value, from 0 to 1 (0.75 by default).

en panel border size

color panel layouts: width of the border of the panel, drawn in the color of the panel, from 0.5 to 20 pixels (6 by default).

en panel rounded

color panel layouts: rounds the corners of the panel. On by default.

en panel round size

color panel layouts: size of the rounded corners, from 0.01 to 0.5 (0.1 by default).

en add vertical cursor

color panel + fader layout: draws a line across the panel at the value position, in a color made from en panel color. On by default.

en panel cursor size

color panel + fader layout: thickness of the line drawn by en add vertical cursor, from 0.01 to 20 (4 by default).

en show reflexions

Draws light reflexions on the fixed circle center cap and on the shape cursors. On by default.

en show shadows

Draws shadows under the dot leds, the cursor and the center cap. Off by default.

en shadow x

Horizontal offset of the shadows, from -0.2 to 0.2 (-0.03 by default).

en shadow y

Vertical offset of the shadows, from -0.2 to 0.2 (0.05 by default).

en shadow opa

Opacity of the shadows, from 0 to 1 (0.5 by default).

en reflexions opa

Opacity of the reflexions of the center cap, from 0 to 1 (0.5 by default).

xy pad (xy)

The point of the pad gives x out and y out (x value out and y value out). z out (max on pressed) is at its maximum while the pad is pressed.

xy absolute / relative

Off (default, absolute): the point jumps to the position of the pointer. On (relative): the point moves by the drag multiplied by xy encoder speed x and xy encoder speed y.

xy encoder speed y

Speed of the vertical movements in the relative mode (xy absolute / relative on), from 0.01 to 1 (0.5 by default).

xy encoder speed x

Speed of the horizontal movements in the relative mode (xy absolute / relative on), from 0.01 to 1 (0.5 by default).

xy show bg

Draws the background of the pad. On by default.

xy show bg border

Draws the border of the background. On by default.

xy show cross

Draws a horizontal and a vertical line through the point. On by default.

xy show center dot

Draws a dot at the point, twice as big while the pad is pressed. On by default.

xy show side faders

Draws two faders on the edges of the pad: Y on the left side, X on the bottom side. On by default.

xy show rectangle

Draws a rectangle from the bottom left corner to the point. On by default.

xy color behaviour

How xy hue roll changes the hue of the XY pad colors: in hue / sla (default) gives all the colors the hue set by xy hue roll; shift in hue and full override rotate the hue of each color by xy hue roll. See color management above.

xy hue roll

Hue used by xy color behaviour, from 0 to 360 (0 by default): the hue given to all the XY pad colors, or the rotation of their hue.

xy saturation override

Saturation given to all the XY pad colors, from 0 to 1 ratio. 0 (default) keeps the saturation of each color.

xy luminosity contrast

Contrast of the luminosity of the XY pad colors, from -1 to 1 ratio (0 by default): above 0 the luminosities move away from the middle, below 0 they move closer to it.

xy luminosity offset

Adds half its value to the luminosity of all the XY pad colors, from -1 to 1 ratio (0 by default).

xy apply color correct to palette

Writes the XY pad colors processed by xy hue roll, xy saturation override, xy luminosity contrast and xy luminosity offset into the colors themselves, sets these four settings back to 0 and switches itself off.

xy bg color

Fill color of the background.

xy bg border color

Border color of the background.

xy cross color

Color of the cross (xy show cross).

xy dot color

Color of the dot (xy show center dot).

xy faders color

Color of the side faders (xy show side faders).

xy rect color

Color of the rectangle (xy show rectangle).

xy highlight force

Luminosity added to the XY pad colors while the pad is pressed, from -1 to 1 ratio (0.25 by default); a negative value darkens them.

xy cross size

Thickness of the lines of the cross, from 0 to 20 pixels (2 by default).

xy dot size

Size of the dot, from 0 to 50 pixels (20 by default).

xy square / circle

Off (default): square dot. On: round dot.

xy faders size

Thickness of the side faders, from 0 to 50 pixels (5 by default).

xy bg border size

Width of the border of the background, from 0.5 to 20 pixels (2 by default).

xy bg round type

Corners of the background: not rounded, rounded (default) or hexagon (cut corners).

xy bg round size

Size of the rounded or cut corners of the background, from 0.01 to 0.25 ratio (0.025 by default).

range fader (rf)

The range fader is vertical, with an up cap (y out, max value out), a down cap (x out, min value out) and a mid cap (z out, mid value out). A drag on a cap moves its end of the range; a drag on the bar or on the mid cap moves the whole range, or changes its width when the movement is mostly horizontal.

rf encoder speed y

Not used by the range fader: the vertical drags follow the pointer. From 0.01 to 1 (0.5 by default).

rf encoder speed x

Speed of the change of width when the bar or the mid cap is dragged horizontally, from 0.01 to 1 (0.1 by default).

rf cap height

Height of the caps, from 0.01 to 0.2 (0.1 by default): each cap takes twice this ratio of the item height.

rf cap width

Width of the caps and of the background, from 0.55 to 1 (0.9 by default): they go from 1 - value to value of the item width, 1 fills the whole width.

rf bar width redux

Margin of the bar inside the caps, on each side, from 0 to 0.2 ratio (0.05 by default). The mid cap has twice this margin.

rf show bg

Draws the background of the range fader. On by default.

rf show bg border

Draws the border of the background. On by default.

rf show cap borders

Draws the borders of the three caps. On by default.

rf show stripes

Draws stripes across the bar, between the up cap and the down cap. On by default.

rf color behaviour

How rf hue roll changes the hue of the range fader colors: in hue / sla gives all the colors the hue set by rf hue roll; shift in hue and full override (default) rotate the hue of each color by rf hue roll. The range fader has no saturation, contrast or offset correction.

rf hue roll

Hue used by rf color behaviour, from 0 to 360 (0 by default): the hue given to all the range fader colors, or the rotation of their hue.

rf bg color

Fill color of the background.

rf bg border color

Border color of the background.

rf cap up color

Fill color of the up cap.

rf cap up border color

Border color of the up cap.

rf cap dwn color

Fill color of the down cap.

rf cap dwn border color

Border color of the down cap.

rf cap mid color

Fill color of the mid cap.

rf cap mid border color

Border color of the mid cap.

rf bar color

Fill color of the bar between the caps.

rf bar border color

Border color of the bar.

rf stripes color

Color of the stripes (rf show stripes), drawn as set, without the hue processing.

rf hilight strength

Luminosity added to the caps and to the bar being dragged, from -1 to 1 ratio (0.5 by default); a negative value darkens them.

rf stripes modulo

Spacing of the stripes: one stripe every this number of pixels, from 2 to 16 (4 by default).

rf stripes width

Thickness of the stripes, as a ratio of their spacing, from 0.01 to 2 (0.4 by default).

rf round type

Corners of the background, the bar and the caps: not rounded, round (default) or hexagon (cut corners).

rf round size

Size of the rounded or cut corners, from 0.01 to 0.25 ratio (0.05 by default).

rf borders size

Width of the borders, from 0.5 to 20 pixels (4 by default).

listbox (lb)

The listbox shows the items of the comma text, under a header that shows the selected item. A click on an item selects it; the scroller on the right and the mouse wheel scroll the list.

lb scroll type

How the list scrolls:

  • slider (default): the scroller scrolls the list; a click on an item selects it at once.
  • inertia: a vertical drag in the list scrolls it, and the scroll goes on after the release, slowing down (lb inertia factor, lb inertia duration); a click that does not scroll selects the item on release.

lb inertia factor

inertia scroll type: amount of the last drag movement kept after the release, from 0.01 to 0.5 (0.25 by default).

lb inertia duration

inertia scroll type: duration of the scroll after the release, from 100 to 600 blocs of 64 samples, whatever the block size (300 by default).

lb allow slide selection in slider mode

slider scroll type: dragging over the items changes the selection. Off by default.

lb nb of displayed items

Number of items displayed at once, from 1 to 32 items (12 by default), at most the number of items of the list.

lb control zoom via x axis

A horizontal drag on the scroller changes the number of displayed items. On by default.

lb x zoom speed

Speed of the zoom with the X axis (lb control zoom via x axis), from 0.01 to 1 (0.5 by default).

lb zoom line size

Thickness of the zoom line drawn on the right edge, whose length shows the number of displayed items, from 0 to 50 pixels (5 by default).

lb show border

Draws a border around the list. On by default.

lb show header

Draws the header above the list, with the name of the selected item. On by default.

lb show header border

Draws the border of the header. On by default.

lb show scroller

Draws the scroller on the right of the list. On by default.

lb show scroller border

Draws the borders of the scroller and of its track. On by default.

lb show scroller value

Writes the scroll position in the scroller. On by default.

lb show scroller container

Draws the track of the scroller on the right of the list, which narrows the items. A click in the track moves the scroll to that position, or goes to a page with lb container absolute / page mode. Off by default.

lb show zoom

Draws the zoom line on the right edge (lb zoom line size). On by default.

lb show item border

Draws the borders of the items. On by default.

lb show items names

Writes the names of the items. On by default.

lb show items id number

Number written before the name of each item: none (default), visual (position in the list, from 0) or ordinal pre-sort (position in the comma text, before the alphabetical sort).

lb show items assigned value

Writes after the name of each item the value given to it in the comma text (after =): none (default), or with int, .x, .xx or .xxx decimals.

lb show light pulse

Flashes the header and the selected item when the selection changes. On by default.

lb hide items outside range

Masks with lb hider color the items scrolled out of the list, above it (under the header) and below it. On by default.

lb use item x fader

Draws the item X fader on the selected item and on the header while it is moved. A horizontal drag on the selected item or on the header moves it; its value goes to x out (aux fader out). On by default.

lb show item x fader value

Writes the value of the item X fader, from 0 to 127, in the header while it is moved. On by default.

lb color behaviour

Kept for the patches of the user module: it does not change the listbox colors, whose hue is always rotated by lb hue roll.

lb hue roll

Rotation of the hue of all the listbox colors, from 0 to 360 (0 by default).

lb saturation override

Saturation given to all the listbox colors, from 0 to 1 ratio. 0 (default) keeps the saturation of each color.

lb luminosity contrast

Contrast of the luminosity of the listbox colors, from -1 to 1 ratio (0 by default): above 0 the luminosities move away from the middle, below 0 they move closer to it.

lb luminosity offset

Adds half its value to the luminosity of all the listbox colors, from -1 to 1 ratio (0 by default).

lb apply color correct to palette

Writes the listbox colors processed by lb hue roll, lb saturation override, lb luminosity contrast and lb luminosity offset into the colors themselves, sets these four settings back to 0 and switches itself off.

lb zoom line color

Color of the zoom line (lb show zoom).

lb xfader color

Fill color of the item X fader.

lb xfader border color

Border color of the item X fader.

lb xfader value color

Color of the value of the item X fader written in the header.

lb item off color

Fill color of the items that are not selected.

lb item on color

Fill color of the selected item.

lb item border off color

Border color of the items that are not selected.

lb item border on color

Border color of the selected item.

lb item name color

Color of the names of the items and of the text of the header.

lb border color

Color of the border around the list.

lb scroller color

Fill color of the scroller.

lb scroller border color

Border color of the scroller.

lb scroller shadow color

Color of the shadow drawn under the scroller.

lb scroller container color

Fill color of the track of the scroller (lb show scroller container).

lb scroller container border color

Border color of the track of the scroller.

lb header color

Fill color of the header.

lb header border color

Border color of the header.

lb hider color

Color of the masks drawn over the items scrolled out of the list (lb hide items outside range).

lb alphabetical sort

Sorts the items of the comma text by name. On by default. lb original id gives the position of the selected item before the sort.

lb pattern modulo luminosity

Variation of the luminosity of the items, along a fixed random pattern, from 0 to 0.5 (0.25 by default). 0 gives the same color to all the items.

lb item rounded

Rounds the corners of the items. On by default.

lb item round size

Size of the rounded corners of the items, from 0.01 to 0.5 (0.01 by default).

lb item border size

Width of the borders of the items, from 0.5 to 20 pixels (2 by default).

lb item text size

Size of the names of the items, as a ratio of the listbox height, from 0.01 to 1 (0.03 by default).

lb item v gap

Vertical gap between the items, as a ratio of their height, from 0 to 0.1 (0.05 by default).

lb item h gap

Margin on the left and on the right of the items, as a ratio of the listbox width, from 0 to 0.1 (0.05 by default).

lb light pulse amount

Opacity of the light pulse (lb show light pulse), from 0.01 to 1 (0.5 by default).

lb border size

Width of the border around the list, from 0.5 to 20 pixels (4 by default).

lb rounded border

Rounds the corners of the border around the list. On by default.

lb border round size

Size of the rounded corners of the border around the list, from 0.01 to 0.5 (0.03 by default).

lb scroller width

Width of the scroller and of its track, as a ratio of the listbox width, from 0.1 to 0.5 (0.35 by default).

lb scroller height

Height of the scroller, as a ratio of the listbox height, from 0.02 to 0.5 (0.1 by default). In page mode with lb override & fit page, the scroller takes the height of a page instead.

lb scroller border size

Width of the borders of the scroller and of its track, from 0.5 to 20 pixels (4 by default).

lb scroller rounded

Rounds the corners of the scroller and of its track. On by default.

lb scroller round size

Size of the rounded corners of the scroller and of its track, from 0.01 to 0.5 (0.01 by default).

lb container absolute / page mode

Off (default): a click in the track of the scroller moves the scroll to that position. On (page mode): the list is divided in pages of the displayed items, lines mark the pages in the track, a click in the track goes to a page and the scroller shows its number; dragging the scroller does not scroll.

lb override & fit page

Page mode (lb container absolute / page mode on): the scroller takes the height of a page instead of lb scroller height. On by default.

lb header text size

Size of the text of the header, as a ratio of the listbox height, from 0.01 to 1 (0.03 by default).

lb header width

Width of the header, as a ratio of the listbox width, from 0.1 to 1 (1 by default).

lb header height

Height of the header, as a ratio of the listbox height, from 0.02 to 0.5 (0.1 by default). The list starts below it.

lb header border size

Width of the border of the header, from 0.5 to 20 pixels (2 by default).

lb header rounded

Rounds the corners of the header. On by default.

lb header round size

Size of the rounded corners of the header, from 0.01 to 0.5 (0.01 by default).

Other Settings

hint

Hint text displayed on mouse over.

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.

frames

frames count

Number of frames contained in the background image file, from 1 to 256 (default 1). When greater than 1, the image is treated as a sprite sheet: it is split into equal frames and the frame displayed depends on the current value of the control. This allows custom knobs, faders and switches drawn as a sequence of images. See create your own knobs and faders.

frames alignment

Determines how the frames are stacked in the background image: vertical (frames one below the other, the image is split in height) or horizontal (frames side by side, the image is split in width). See create your own knobs and faders.

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.

location

display location

Determines where the control panel of the module is displayed. Default control panel.

  • invisible: the object is not displayed.
  • control panel: in the control-panel of the current patch.
  • parent control panel: in the control-panel of the parent patch.
  • top parent control panel: in the control-panel of the top parent patch (main patch).
  • container: in the container of the current patch.
  • parent container: in the container of the parent patch of the current patch.
  • top parent container: in the container of the top parent patch of the current patch.
  • popup window: in the popup of the current patch.
  • top header: in the top-header-panel.
  • toolbox: in the toolbox-panel.
  • ib only: in the interface-builder-panel only.
  • workspace: in the workspace-panel design panel.
  • current rack: in the rack containing the top parent patch.
  • main menu: in the main menu panel on the left of the window.
  • container 1 to container 32: in the additional container with that number, wherever it is (see additional container). If the container does not exist, a warning is displayed.

Some modules only offer the first eight options. Top header, toolbox, ib only, popup and main menu are exclusive with also visible in interface builder: choosing one of them resets it to no with a warning.

When the location is set to a container or a popup which doesn't exist in the current sub-patch, Usine uses the container or popup of the parent patches. If none is available a warning is displayed and the location goes back to control panel.

additional container

Declares the control as an additional container, identified by a number from 1 to 32 (no = not a container, default), so that any other control of the workspace can be placed into it with display location set to the same container number. Each number can be used by only one container at a time: choosing a number already in use shows a warning and resets the setting to no.

a button inside a listbox

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.

mouse tab settings

Settings related to mouse, touch screen and drag&drop.

mouse & gesture

mouse dwn

Outlet giving the mouse button state on the control:

  • 1 while the left mouse button is pressed on the control
  • 0 otherwise (the value goes back to 0 a few milliseconds after the button is released).

Read only, not saved with the patch.

In multi-touch environment, can be an array of [0..1] values, one value per finger touching the control.

mouse wheel

Outlet giving the last mouse wheel movement as a number of wheel notches (positive when the wheel is rolled forward, negative when rolled backward, following the operating system convention), limited to the [-4..4] range. The value goes back to 0 about 25 ms after each wheel event, so it is 0 while the wheel is idle. Not saved with the patch.

mouse wheel enabled

When ON, the value of the control can be changed with the mouse wheel; when OFF, the wheel is ignored by this control. Default ON. Unless the disable click to use mouse wheel expert setting is active, the control must first be clicked (selected) before the wheel acts on it. On faders, the wheel step is reduced by the precision factor when touch hi precision applies or when SHIFT is held, and the value wraps around when circular mouse is ON.

dbl click

Trigger outlet flashed (value 1) when the user double-clicks on the control.

mouse active

When ON, the fader can be moved by dragging it with the mouse; when OFF, dragging no longer changes the value (the control still reports its mouse events, and the value can still be changed by other means such as the mouse wheel or the value editing). Default ON.

mouse x

Outlet giving the mouse X position on the control in relative coordinates from 0=most-left to 1=most-right, updated on mouse down, mouse move and mouse up. Read only, not saved with the patch.

In multi-touch environment, can be an array of [0..1] values, one value per finger touching the control.

mouse y

Outlet giving the mouse Y position on the control in relative coordinates from 0=top to 1=bottom, updated on mouse down, mouse move and mouse up. Read only, not saved with the patch.

In multi-touch environment, can be an array of [0..1] values, one value per finger touching the control.

bitmap

bitmap in

Bitmap pointer input. When connected, the received bitmap replaces the background image of the panel of the module, so any video or bitmap flow can be drawn behind the control.

Use [CTRL + Click] to reset the input.

bitmap out

Bitmap pointer output giving access to the current drawing of the panel of the module, updated each time the panel is repainted. Connect it to a video or bitmap module to reuse the rendering of the control.

touch pressure

Outlet giving an estimation of the finger pressure on a multi-touch screen, in the [0..1] range, computed from the size of the contact area of the finger relative to the size of the control. Always 0 when the control is used with the mouse. Read only, not saved with the patch.

The pressure value is not available on all touch screens.

gesture

Array outlet updated each time a touch gesture is recognized on the control. It contains 6 values: [gesture ID, initial X, initial Y, final X, final Y, speed], X and Y being relative coordinates on the control. Gesture IDs: 1=pan left, 2=pan right, 3=pan up, 4=pan down with one finger, 5 to 8=the same pans with two fingers, 100=short hold and 101=long hold with one finger, 102=short hold and 103=long hold with two fingers. For hold gestures only the initial position is filled, the other values are 0. Not saved with the patch.

In touch and multi-touch environment, returns an array of the fingers movements See multi-touch

reset

auto reset

When ON, the control is reset (same action as the reset command of the module) as soon as the mouse button is released on it. Default OFF.

Only on faders and knobs.

drag & drop

drag enabled

When ON, the content of the listbox can be dragged with the mouse and dropped on another control: the drag starts as soon as the mouse moves a few pixels with the button held down. When OFF, no drag is started from this control, except when CTRL+SHIFT are held while dragging. Default OFF. Only on listboxes (not on comboboxes).

allow drop

When ON, files and other draggable items can be dropped on this control; when OFF, the control refuses any drop.

drop file name

Text outlet receiving the full path of the last file dropped on the control. The same path is also stored in the DRAG_FILENAME global variable. Read only, not saved with the patch.

clear drop file name

Button that empties the drop file name outlet.

vertical mouse

When ON, the knob value follows the vertical movements of the mouse: drag up to increase, drag down to decrease. When OFF, it follows the horizontal movements: drag right to increase, drag left to decrease. Default ON. Only on knobs.

touch screen

touch hi precision

Determines when the high precision mode (see precision factor) is applied to mouse and touch movements:

  • disabled: never applied automatically, it can still be obtained by holding SHIFT while dragging.
  • touch screen: applied only while the control is touched on a touch screen.
  • always: applied with the mouse as well as with a touch screen. Default disabled on faders, touch screen on knobs.

precision factor

Divider applied to the mouse or touch movements in high precision mode: the cursor moves N times slower than the pointer, so with a factor of 8 the pointer must travel 8 times the width of the control to cover the whole range. Range [1..100], default 8. Used when touch hi precision applies or when SHIFT is held while dragging; also slows down the mouse wheel steps (by the square root of the factor).

mouse mode

Behavior of the fader or knob when it is dragged with the mouse or a finger:

  • relative: a click does not change the value; the drag moves it from its current value, a drag over the whole length of the control covering the whole range.
  • absolute: as soon as the pointer moves with the button held, the value jumps to the position of the pointer on the control, then follows the drag. Default relative.

In both modes, holding SHIFT while dragging slows the movement down by the precision factor, [CTRL+click] sets the control to its reset value, and a double click opens the value editor when the value editing mode is on double click.

When the inlet of the control is connected, the incoming value is applied again at each cycle and wins over the mouse: the control goes back to it as soon as it is dragged. With set only if has changed ON, the inlet only acts when its value changes, and the mouse can move the control in between.

circular mouse

When ON, the value wraps around when the mouse drag or the mouse wheel goes beyond the range: past the maximum, the value continues from the minimum and vice versa. When OFF, the value is clamped to its range. Default OFF.

keyboard arrows

keyboard arrows enabled

When ON, the value of the control can be modified with the UP and DOWN arrow keys of the keyboard when the control has the focus: each key press adds or subtracts the inc-dec value of the module (one tenth of it while SHIFT is held, at least 1 for integer values), and comboboxes jump to the previous or next item. Default OFF.

focus & cursor

mouse over

Read only outlet: 1 while the mouse pointer is over the control, 0 otherwise. Not saved with the patch.

mouse cursor

Shape of the mouse pointer when it hovers over the control. Default arrow. During a resize or a point edit, the pointer temporarily takes the shape of the current operation.

  • default: default pointer of the system
  • none: the pointer is hidden
  • arrow: standard arrow
  • cross: cross-hair
  • beam: text I-beam
  • size NESW: diagonal resize arrow (north-east / south-west)
  • size NS: vertical resize arrow
  • size NWSE: diagonal resize arrow (north-west / south-east)
  • size WE: horizontal resize arrow
  • up arrow: vertical arrow
  • hour glass: busy pointer
  • drag: drag pointer
  • no drop: forbidden drop pointer
  • H split: horizontal splitter
  • V split: vertical splitter
  • multi drag: multiple items drag pointer
  • SQL wait: wait pointer
  • no: forbidden pointer
  • app start: arrow with busy indicator
  • help: arrow with question mark
  • hand point: pointing hand
  • size all: move (four arrows) pointer

    selection

    selected

    Read only outlet: 1 while the control is selected, 0 otherwise. A control becomes selected when it is clicked and is deselected when another control is clicked; SHIFT+click adds a control to the current selection or removes it from it. Not saved with the patch.

remote tab settings

Settings related to remote control assignation and learn.

general

clear all learn

Button. Resets the whole remote configuration of the control to its defaults: MIDI, key, OSC, timecode, bind bus, bind control, VCA, cluster, DMX and mapping assignations are all cleared and the control is removed from the remote lists. To clear only one part, use clear bind bus or clear bind control.

remote active

ON/OFF switch, default ON. When OFF, all the remote assignations of the control (MIDI, key, OSC, timecode, DMX, binds) are ignored, even if they stay stored in the control. When ON, the assignations are processed according to active mode.

inverse

ON/OFF switch, default OFF. When ON, the received value is inverted before being applied to the control: MIDI values become 127 - value (16129 - value for pitch bend), OSC and bind values in the [0..1] range become 1 - value, relative MIDI moves go in the opposite direction and a sysex learn sends 0 instead of 127.

quantize

Delays the application of a received remote value until the next synchronisation event of the master synchro. The quantization is only applied when the master synchro is playing; otherwise the value is applied immediately. Only available on controls that can be quantized. Default none.

  • none: no quantization, the value is applied immediately.
  • cycle: the value is applied on the next cycle start.
  • bar: the value is applied on the next bar.
  • beat: the value is applied on the next beat.
  • eight: the value is applied on the next eighth note.
  • sixteen: the value is applied on the next sixteenth note.

active mode

Determines when the remote assignations of the control are processed. Has no effect if remote active is OFF. Default always.

  • always: the remote is always processed.
  • if rack is ON: only when the parent rack is enabled.
  • if rack is selected: only when the parent rack is selected.
  • if patch is ON: only when the root patch is running (its control panel is enabled).
  • if patch is selected: only when the control panel of the root patch is selected.
  • if mouse editing enabled: only when the mouse editing enabled setting of the control is ON.

bind buses

clear bind bus

Button. Removes the bind bus assignation of the control: binding is emptied and the control is removed from the bind bus remote list.

binding

Name of the bind bus the control listens to (empty = no bind). Each time the bus value changes, it is applied to the control (in the [0..1] range, scaled to the control range, after inverse and the mapping settings). On a panel, the bus enables it when the value is above 0.5; on a button, it triggers it. The control is highlighted with the color of the bus while it receives values.

bind controls

bind ID

Unique ID of the source control this control is bound to (empty = no bind). The source is looked up by this ID; if it no longer exists, the bind is cleared automatically. The value of the source control is copied to this control each time it changes, scaled from the source range to the target range (switches and data values follow inverse; listbox, trigger and color values are copied as they are).

bind caption

Read-only. Caption of the source control identified by bind ID, refreshed automatically when the bind is processed. Also available as an outlet on modules.

clear bind control

Removes the bind control assignation: bind ID and bind caption are emptied and the control is removed from the bind control remote list.

MIDI

start midi learn

Button. Arms the MIDI learn: move a control on your MIDI device and the first message received is assigned to the control (channel, control type, control num, device name and, if the device is declared as motorized in the devices panel, motorized are filled automatically).

device name

Name of the MIDI device the assignation is restricted to. Filled during the learn when the memorize device name in learn setting of the setup panel is ON. When empty, the assignation reacts to all connected MIDI input devices; MIDI feedback (motorized) is also sent only to the device with this name unless MIDI feedback to all is ON in the setup.

Use [Ctrl+Click] to delete the name association so the MIDI learn will react with all the connected devices.

channel

MIDI channel used for the MIDI assignation, from 1 to 16. Only messages received on this channel are taken into account.

control num

Data number of the assigned MIDI message, from 0 to 127: note number for notes and poly aftertouch, controller number for control changes. Ignored for program change, channel aftertouch and pitch bend, which match any number.

control type

Type of MIDI message assigned to the control (the MIDI status value is shown in parentheses).

  • none: no MIDI assignation.
  • note OFF (128).
  • note ON (144): a note OFF of the same note also sets the control to its minimum (except in toggle mode).
  • poly aftertouch (160).
  • control change (176).
  • program change (192): the program number is used as value.
  • chan aftertouch (208): the pressure is used as value.
  • pitch bend (224): the 14-bit value (0 to 16129) is used.

midi mode

Choose between the 3 MIDI assignation modes in Usine. Default absolute.

  • absolute: the received value (0 to 127) is scaled to the control range. For a switch or a panel, the control is ON while the value is not 0 and OFF on a value of 0 (or on the note OFF). For a button, any non-zero value triggers it. For a listbox, the value selects the item proportionally.
  • relative: for endless encoders. The received value is interpreted as a signed increment around 64 (APC style values below 32 or above 96 are also supported): a float fader moves by (value - 64) / 127, an integer fader or a listbox goes to the next or previous item, a button is triggered on each message.
  • toggle: each received message with a non-zero value toggles a switch or a panel between ON and OFF, or triggers a button. On listboxes and integer faders, each message increases the current value by one until the maximum is reached, then restarts from the minimum.

mackie mode

ON/OFF switch, default OFF. Only used together with motorized. When ON, the MIDI feedback is always sent back to the controller, including for the value just received (as required by the Mackie Control protocol to update displays, leds and fader positions). When OFF, the value just received from MIDI is not sent back, to avoid MIDI loops.

motorized

ON/OFF switch, default OFF (set automatically during the learn when the device is declared as motorized). When ON, each time the value of the control changes Usine sends the corresponding MIDI message (same channel, control type and control num) to the MIDI output devices so that motorized faders, leds or displays follow the on-screen value. The message is sent to the output device named in device name only, unless MIDI feedback to all is ON in the setup or the name is empty.

soft take over

ON/OFF switch, default OFF. When ON, an incoming MIDI (or DMX, bind bus) value is ignored as long as it differs from the current position of the control by more than 4%, unless the control was already moved by the remote during the last second. Once the hardware control matches the on-screen value, the control latches on and follows it again.

For instance say you have a line fader turned all the way up on the hardware, then you move the onscreen line fader to the bottom. With soft-takeover ON, the onscreen fader will not react to the line fader until you move the line fader all the way down to match the on screen value. The control will then latch on and will be active again.

sysex

System exclusive string assigned to the control (hexadecimal bytes, filled by the MIDI learn when a sysex message is received). Each time the same sysex is received, the control is set to its maximum (or toggled, depending on the control type and midi mode); with inverse ON it is set to its minimum.

Key

start key learn

Click on this button and press a key (or a key combination ie. [ALT+E]) on your keyboard to assign it. Only available on controls that accept key learn. [Esc] cancels the learn.

key

Text of the key or key combination assigned to the control, as displayed in the settings (for example A or ALT+E). You can also type it by hand: in that case shortcut is 0 and the text is compared, in uppercase, with the typed character. Empty means no key assignation.

key mode

Determines how the key affects a switch. Default toggle. Only available on controls that allow changing the key mode.

  • absolute: the switch is ON while the key is held down and goes back to OFF when the key is released.
  • toggle: each key press toggles the switch between ON and OFF.

Buttons are triggered and panels are enabled/disabled on each key press whatever the mode.

shortcut

Numeric key code of the assigned key (0 to 65535, ex: A=65), including the modifier bits, filled automatically by the key learn. 0 means the key text is used as a user key.

mapping

mapping curve

Curve applied to the received value (in the [0..1] range) before it is scaled to the control range, for MIDI, DMX, bind bus and OSC in in [0..1] mode. Default linear.

  • log or exp: power curve x^(1/coeff); a mapping curve coeff below 1 gives an exponential-like curve, above 1 a logarithmic-like curve.
  • S curve: S-shaped curve whose strength depends on mapping curve coeff.
  • linear: no curve, the value is used as is.

The resulting curve is drawn below the settings.

mapping curve coeff

Coefficient of the mapping curve, from 0.001 to 100 (logarithmic scale), default 1. Has no effect when mapping curve is linear.

mapping range max

Upper limit of the mapped value in the [0..1] range, default 1. The received value (after the mapping curve) is rescaled between mapping range min and mapping range max before being applied to the control range. If it is lower than mapping range min, the control stays at mapping range min.

mapping range min

Lower limit of the mapped value in the [0..1] range, default 0. See mapping range max.

OSC

start OSC learn

Click on this button and use a control of your OSC device to assign it. The address of the first OSC message received is stored in OSC message and OSC tag order is reset to 1.

OSC message

OSC address assigned to the control (for example /1/fader1). Each message received with exactly this address sets the control (buttons ignore messages with a 0 value, panels are enabled when the value is above 0.5). Empty means no OSC assignation.

OSC mode

Determines how the received OSC value is interpreted. Default real value.

  • real value: the value is applied to the control as it is received, without scaling.
  • in [0..1]: the value is considered to be in the [0..1] range and is scaled to the control range, after the mapping settings.

OSC tag order

Index (1 to 256, default 1) of the argument used when the OSC message carries several values at once (for example the X and Y of an XY pad): 1 uses the first argument, 2 the second, etc. Reset to 1 by the OSC learn.

timecode

Timecode position at which the control is triggered (buttons and other trigger controls). The trigger happens once, when the incoming timecode passes this position. 0 means no timecode assignation.

timecode OFF

Timecode position at which a switch control is set to its minimum (OFF). Only checked if the timecode ON position was not reached at the same time.

timecode ON

Timecode position at which a switch control is set to its maximum (ON). 0 means no timecode assignation.

VCA

vca

Name(s) of sources VCA's. One control can be controlled by several VCA at the same time so the VCA values are multiplied together.
To enter several names use comma separated string like VCA1,VCA2,VCA3. Names are converted to uppercase and trimmed when applied.
See use-vca for more info.

clusters

cluster name

Name(s) of the owner cluster(s). One control can be in many clusters at the same time, but be aware that you could have conflicts (different value sent at the same time).
To enter several names use comma separated string like CLUSTER1,CLUSTER2,CLUSTER3.
See use-clusters for more info.

DMX

DMX universe

Art-Net universe number (0 to 32767, default 0) the control listens to. Only DMX packets received on this universe are taken into account.

DMX channel

DMX channel (1 to 512) assigned to the control in the universe, 0 (default) means no DMX assignation. The received byte (0 to 255) is scaled to [0..1] then applied: faders follow the value (through the mapping settings and soft take over), switches and panels are ON when the value is above or equal to 0.5, buttons are triggered when the value rises above 0.5, listboxes select the item proportionally.

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.

curve tab settings

Settings related to automation curve recording and playback.

curve

auto record on click

When ON, the recording of the automation curve of the control starts automatically when the user presses the mouse on the control, and stops when the mouse button is released, without using the global record switch. Each click therefore replaces the previous recording of the control.

delete curve

Deletes the recorded automation curve of the control. The control keeps its current value.

is playing record

Read-only output which sends 1 while the control is playing a recorded automation curve and 0 otherwise. Not saved with the patch, typically exposed as an outlet to know when the control is driven by its curve.

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.

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

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