Difference between revisions of "Firmware-820 Command-105"

From I-CubeX Wiki
Jump to: navigation, search
(Created page with "==CLEAR CONFIG (105, 69h)== The CLEAR CONFIG command sets all settings stored in non-volatile memory to default values and re-initializes all internal parameters to the initi...")
 
 
(5 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
{|
 
{|
 
|MIDI running status
 
|MIDI running status
|1; on
+
|1; disabled (each channel voice MIDI message includes a MIDI status byte)
 
|-
 
|-
 
|System exclusive ID:
 
|System exclusive ID:
Line 29: Line 29:
 
|-
 
|-
 
|Sensor input MIDI mapping type:
 
|Sensor input MIDI mapping type:
|3; control-change
+
|if (virtual sensor input number < 32) then control-change else note-on
 
|-
 
|-
 
|Sensor input MIDI channel:
 
|Sensor input MIDI channel:
 
|1
 
|1
 
|-
 
|-
|Sensor input MIDI control-change number:
+
|Sensor input MIDI control-change or note-on number:
|((virtual sensor input number & 7) * 8 + (virtual sensor input number >> 3)
+
|(((virtual sensor input number % 8) << 2) + ((virtual sensor input number & 31) >> 3)
 
|-
 
|-
 
|Sensor input impulse end notification:
 
|Sensor input impulse end notification:
Line 84: Line 84:
 
|Sensor input to Actuator output mapping:
 
|Sensor input to Actuator output mapping:
 
|0; off
 
|0; off
|-
 
|Actuator output MIDI mapping type:
 
|1; note-on
 
|-
 
|Actuator output MIDI channel mapping:
 
|0
 
|-
 
|Actuator output MIDI base mapping:
 
|64
 
|-
 
|Actuator output response mode:
 
|1; toggle mode
 
|-
 
|Actuator output MIDI value threshold:
 
|1
 
 
|-
 
|-
 
|Actuator output status:
 
|Actuator output status:
 
|0; off
 
|0; off
 
|-
 
|-
|Actuator output PWM status:
+
|Actuator output continuous control status:
 
|0; off
 
|0; off
 
|-
 
|-
Line 112: Line 97:
 
|1-2 ms
 
|1-2 ms
 
|}
 
|}
 +
 +
The virtual sensor input number ranges from 0 to 63 because in stand-alone mode each physical sensor input, if configured for an I2C sensor, can have 8 virtual inputs.

Latest revision as of 23:55, 7 March 2022

CLEAR CONFIG (105, 69h)

The CLEAR CONFIG command sets all settings stored in non-volatile memory to default values and re-initializes all internal parameters to the initial values for a WiDig set to stand-alone mode (see RESET – note that the RESET is not executed). See the EDIT NAME, EDIT CONFIG commands for default values of settings stored in non-volatile memory. Upon completion of the command the WiDig sends the same command.

The [BODY] of the CLEAR CONFIG command:

00000001: 1; configuration number

Default values for each sensor input and all actuator outputs are re-instated:

MIDI running status 1; disabled (each channel voice MIDI message includes a MIDI status byte)
System exclusive ID: 0
Mode of operation: 1; stand-alone
Configuration name: “WiDig”
Sensor sampling rate: 10 ms
Sensor input MIDI mapping type: if (virtual sensor input number < 32) then control-change else note-on
Sensor input MIDI channel: 1
Sensor input MIDI control-change or note-on number: (((virtual sensor input number % 8) << 2) + ((virtual sensor input number & 31) >> 3)
Sensor input impulse end notification: 0; off
Sensor input impulse maximum set to constant: 0; off
Sensor input cont. and/or impulse signal differentiation: 0; off
Sensor input continuous signal averaging: 0; off
Sensor input impulse signal processing: 0; off
Sensor input continuous signal processing: 0; off
Sensor input threshold: 0
Sensor input ceiling: 127
Sensor input noise gate: 0; off
Sensor input time window: 0; off
Sensor input minimum value of MIDI output MSB 0;
Sensor input maximum value of MIDI output MSB 127;
Sensor input function number: 0; off
Sensor input function parameter 1: 0;
Sensor input function device address / parameter 2: 0;
Sensor input to Actuator output mapping: 0; off
Actuator output status: 0; off
Actuator output continuous control status: 0; off
Actuator output pulse interval: 20 ms
Actuator output pulse width range: 1-2 ms

The virtual sensor input number ranges from 0 to 63 because in stand-alone mode each physical sensor input, if configured for an I2C sensor, can have 8 virtual inputs.