logox-webspeech4-cpl-facts

0.0.1 • Public • Published

logox-webspeech4-cpl-facts

Facts about the control panel dialog for Logox WebSpeech 4.0

API

This module exports an object with these properties:

  • sliders: An array describing each of the sliders in the speech config panel, ordered from left to right. Each entry is an object with these properties:

    • prop: Name as used in the DLL API functions, but lowercase.
    • label, unit
    • hotkey: Slider can be focused with Alt+$hotkey, Tab
    • cplMax, cplMin, default: Value range configurable via the Control PaneL.
    • cplStep: How many units it moves for arrow up/down key.
    • pgStep: How many units it moves for page up/down key
    • dllStep: Multiplication factor for the integer parameters expected by the DLL API. Basically, the DLLs take percentages as the same number (precision = 1%) and all other units multiplied by 10 (precision = 0.1 dB / 0.1 Hz).
    • dllMin, dllMax: Valid range for the DLL API's integer parameters.
    • cplDist: Difference between minimum and maximum, in units.
    • cplSteps: How many up arrow key presses it takes from min to max.
    • distPgSteps: How many page up key presses it takes from min to max. Meant as float precision, they just happen to be integers because all sliders line up perfectly.
  • sliderPropToIdx: A dictionary object mapping the sliders' props to their array index.

Known issues

  • Needs more/better tests and docs.

 

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i logox-webspeech4-cpl-facts

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

4.3 kB

Total Files

3

Last publish

Collaborators

  • mk-pmb