CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
enum DataTypes

CopperLan Data types Data Types are used to identify numeric value format.

Enumerator
DT_Knob16 

Knob position, from min (0x0000) to max (0xFFFF)

DT_MKZ16 

Mid-Knob Zero, -max (0x0001), zero (0x8000), +max (0xFFFF)

DT_UNS16 

Unsigned integer 16.

DT_UNS32 

Unsigned integer 32.

DT_UNS64 

Unsigned integer 64.

DT_SIG16 

Signed integer 16.

DT_SIG32 

Signed integer 32.

DT_SIG64 

Signed integer 64.

DT_FP16 

Floating point 16 (based on the IEEE754r revision of the ANSI/IEEE Std 754-1985 document)

DT_FP32 

Floating point 32 (based on the IEEE754r revision of the ANSI/IEEE Std 754-1985 document)

DT_FP64 

Floating point 64 (based on the IEEE754r revision of the ANSI/IEEE Std 754-1985 document)

DT_PER16 

Percentage 16, 2's complement signed value in 1/50th of a percent. -655,36% (0x0000), 0 (0x8000), +655,34%(0xFFFF)

DT_PER32 

Percentage 32, 2's complement signed value in 1/50th of a percent. -42949672,94% (0x00000000), 0 (0x80000000), +42949672,92%(0xFFFFFFFF)

DT_PIT16 

Absolute pitch, 0x0100 is a semitone step. Bits 15 to 8 represent the note number, 185 is the A above the middle C (440Hz), bits 7 to 0 represent the fractional pitch.

DT_RPIT16 

Relative pitch, -128 semitones (0x8000), 0 (0x0000), +127 semitones (0x7FFF)

DT_TIME32 
DT_TIME64 
DT_SPAN32 
DT_SPAN64 
DT_FRQ16 

Frequency 16, unsigned value, 0.25Hz per step.

DT_FRQ32 

Frequency 32, unsigned value, 1/100000Hz per step.

DT_720SA16 

Angle, signed value, -360° (0x8000), 0° (0x0000), ~360° (0x7FFF)

DT_360A16 

Angle, unsigned value, 0° (0x0000), 180° (0x8000), ~360° (0xFFFF)

DT_180A16 

Angle, unsigned value, 0° (0x0000), 90° (0x8000), ~180° (0xFFFF)

DT_SR32 

Linear Slew Rate, unsigned value, 1 millisecond per step.

DT_BPM16 

Beat per minute, Stopped (0x0000), 1/128th BPM (0x0001), 1BPM (0x0080), 511BPM (0xFF80), ~512BPM (0xFFFF)

DT_DC16 

Disc coordinates, unsigned value, distance from the center incrementing following a clockwise spiral.

DT_MOV16 

Move, signed value, mm/sec par step. -32.767M/sec (0x8001), stopped (0x0000), 1mm/sec (0x0001), +32.767M/sec (0x7FFF)

DT_DBU16 

dB unit, signed value, 1/200th of dB per step, -163?.84dB (0x8000), 0dB (0x0000), +163,835dB (0x7FFF)

DT_CUST16 

Custom 16.

DT_CUST32 

Custom 32.

DT_CUST64 

Custom 64.

DTF_BipolarRawValue 

flag indicating if raw value is bipolar. This bit must be masked when checking data type.

_DT_LengthMask_ 

Mask used to check the length of a data type.

DTL_16 

16 bits data type

DTL_32 

32 bits data type

DTL_64 

64 bits data type