This module uses machine learning to recognize multiple movements defined by the user. Although this module is meant for use with accelerometers as a data source, you may try to use other data sources with some success.
Number of inputs, asked when the module is created (1 to 128, default 3). The module exposes one in N per input; all the inputs together form the movement analysed.
To change it afterwards, recreate the module: the query is asked again and the connections are restored by name.
This section goes over the main features of the module.
These are basic data inputs (in 1, in 2, ...), their number is determined by the query at module creation. In case of use with one accelerometer 3 inputs may typically represent the X, Y and Z axis. You may set up 1 to 128 inputs.
Each input is normalized (mean and standard deviation over its last values) before recording and detection, so the offset and the scale of the sensor matter less than the shape of the movement.
The output of this module is a single data stream, it contains an integer value corresponding to the movement that was detected. E.g if movement 1 was recognized, the field will contain 1 if no movement was detected, the field will contain 0.
This field sets the period, in milliseconds (1 to 10000 ms, default 30 ms), at which data points will be registered and processed. Lower periods (higher frequency) will lead to the module taking up more resources and it might not be able to process incoming data quickly enough, leading to slower detection speed.
If the period is too low however, important features from the incoming data might be missed. This period regulates both the recording of training samples and the process. We advise to keep it constant throughout the use of the module but this is not enforced in any way.
This field regulates how sensitive the detection will be. It ranges from 0 to 1 (default 0.5), there is no correct value for this setting but here are some ground rules:
Recording new samples will cause the sensitivity to change, after recording a new sample, you will have to tinker with the threshold a bit.
This section will go over the steps needed to record and delete movement samples prior to recognition. In this section we will refer to movements as a general class, and samples as sub-movements. For example, one movement you might want to identify could be a hand moving up, in order to do that you could under the same movement record a few samples of your hand going up. From now on this movement will be associated to the samples you gave, if you then wanted the module to identify another movement, switch to another movement and repeat the recording step.
You may only have 8 recognizable movements per module but the number of samples per movement is unlimited.
A minimum of two samples is required for this module to function.
This list box is used to select a movement to display or to record a sample: movement 1 to movement 8.
When this switch is ON, incoming data is recorded (at most 2000 points per sample). Upon release, the recorded data will become a sample of the movement indicated by the selection list box.
During recording, the process is stopped and the output of the module will freeze temporarily.
Erases the last recorded sample. If nothing can be undone, pressing this button will print a trace warning.
Undo information is lost when exiting Usine.
Erases all samples from all movements.
This cannot be undone.
These arrays (sample out 1, sample out 2, ..., one per input) represent the last recorded sample of the movement indicated by the select list box, after normalization. Intended for preview purposes, with array displays for example.
Hidden output: processing time of the last detection.
The recorded samples are saved with the patch, not in the presets.
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.
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.
visible only in god mode, see setup-panel-tab-expert.
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).
Read-only, not saved. Private ID used to store and recall the values of this control in presets.
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.
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.
Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.
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.
version 7.0.250921
Edit All Pages