Coursereader API - v0.1.0
    Preparing search index...

    Function createToneTable

    • Builds an SVG component-transfer table for the configured tone mode.

      The table maps evenly spaced input samples to output values between 0 and 1. In "continuous" mode it is the identity ramp; quantized and bitonal modes emit their stepped or thresholded values.

      Parameters

      • settings: ScanSettings

        Scan settings providing the tone mode, levels and threshold.

      • sampleCount: number = 128

        Number of evenly spaced table entries.

      Returns string

      Space-separated transfer values.