Setup tab Debug

Tools used to develop and test Usine. They are not needed to use Usine.

tests

clear messages queues

Empties the internal message queues of Usine (main thread, asynchronous and graphic queues) and writes a message in the trace-panel.

replace no found wav by rnd

When ON, an audio file that cannot be found while loading is replaced by an audio file taken at random among the files of Usine, so that a patch can be tested without its samples. Default OFF.

replace no found img by rnd

When ON, an image file that cannot be found while loading is replaced by an image file taken at random among the files of Usine. Default OFF.

force samplers on disk

When ON, the samplers read their audio files from the disk even when they are set to load them in memory. Default OFF.

disable script compile

When ON, the scripts are not compiled: a script module reports script compilation disabled. Default OFF.

disable all user modules

When ON, the user modules (see sdk) are not loaded. Default OFF.

bulk procedures

Commands applied to all the patches and modules of Usine.

complementary

Replaces every color setting of the patches and of the modules by its complementary color, except their global color.

contrast +

Increases the contrast of every color setting of all the controls by 5%, except their global color.

contrast -

Decreases the contrast of every color setting of all the controls by 5%, except their global color.

debug version

The following commands are only available in the debug version of Usine. Each one clears the current workspace first.

create all modules

Creates one module of each class of Usine in a new rack, and checks the help page of each of them.

create all design modules

Creates one module of each class having a control in the control panel, video processing modules excepted.

create all user modules

Creates one module of each user module found in /Resources/Modules, and checks its help page.

create all sub-patches

Creates all the sub-patches found in the application folder, and checks their help pages.

create all scripts

Creates a script module for each script found in the application folder, and checks their help pages.

create all procedures

Creates all the procedures found in the application folder, and checks their help pages.

create all library patches

Opens all the patches of /Resources/Library and of the add-ons, ten patches per rack, with one grid section per rack.

create all racks

Opens all the racks of /Resources/Library and of the add-ons.

verify translator

Writes an error in the trace for each translation key that is not used in the sources of Usine.

verify waves

Writes an error in the trace for each audio file of the library that is not used by any bank, patch or workspace of the library.

create descriptions file

Builds /Resources/Help/short-descriptions-browser.txt, the short descriptions of the modules, scripts and library patches shown in the browser, taken from the first paragraph of their page of the online manual. The items without a page are listed in missing-short-descriptions-browser.txt.

find tutorial modules

Looks for each module in the tutorials of /Resources/Library/Tutorial: the tutorials using each module are listed in /Resources/Help/tutorials.txt, the modules used in no tutorial in missing-tutorials.txt.

create hints panels + verify

Same as create json modules + verify for the panels: hints in hints-panels.txt, missing ones in missing-hints-panels.txt.

download help index

Downloads the index of the online manual, used to find the help page of each object.

AI

Commands of the debug version that write the files of /Resources/AI, read by the AI through the MCP server. create json modules + verify and create all user modules json clear the current workspace first.

create json modules + verify

Creates each module and writes its description in /Resources/AI/modules, read from its page of the manual: the description of the module and of each of its inlets, outlets and settings. Usine shows these texts as the hints of the modules, and the AI reads them. The inlets and settings without description are listed in missing-hints-modules.txt; the inlets whose name starts with not used are left out. A module whose page cannot be read keeps its former description. The descriptions of the user modules are written at the end, as with create all user modules json.

generate library json index

Writes /Resources/AI/library/index.json, the index of the patches, racks and workspaces of /Resources/Library used by the AI: for each file its name, description, comments, module classes, inputs and outputs, and its number of modules, links and sub-patches, then for each port of each module class the classes and ports most often linked to it. The files are read without being opened, and the workspace is not cleared. The end of the index lists the anomalies of the library: files without description, unknown or legacy classes, legacy user modules, and the module classes used by no file.

create all user modules json

Creates each user module found in /Resources/Modules and writes its description for the AI in /Resources/AI/modules: the description of the module and of each of its parameters, as the module gives them. The hints of a user module are not read in this file: the module gives them itself.

create json of manual pages

Writes /Resources/AI/manual, the pages of the manual read by the AI: one JSON file per page, with its title and its text written as Markdown, and index.json, the list of the pages. The pages of the modules are left out: /Resources/AI/modules describes each module. The files of the pages removed from the manual are deleted, and the workspace is not cleared.

See also

version 7.0.250921

Edit All Pages