DAC2_DeckB_SetPitchNumberf


Sets the number to display for the pitch display on the DAC-2.

BOOL WINAPI DAC2_DeckB_SetPitchNumberf(
    float fValue
);

 

Parameters

fNumber

The number to display for the pitch display.

 

-19.9 to 19.9 are valid values

Return value
If successful, then TRUE is returned, else FALSE is returned. Use DAC2_ErrorGetCode to get the error code.

Error codes

DAC2_ERROR_INIT

 The DAC-2 has not been initialized.

Remarks
There is no positive display when the number is positive. However, when the number is negative you will see a minus display beside the number.

Example
Set the pitch number to –14.7.

DAC2_DeckB_SetPitchNumberf(-14.7);

See also
 DAC2_Init