Bark Band Converter

DeclaredZwickerBarkcoordinateapproximationz(f),0≤f≤20kHz,not frequencybinindexormel. Actual matched calibration,units,edition,geometry/measurement and model applicability independently established;not hearing/structural safety,compliance or universal perceptual prediction.

Description

The Bark scale approximates an auditory frequency coordinate under a particular psychoacoustic mapping.

The Bark scale approximates an auditory frequency coordinate under a particular psychoacoustic mapping.1

This converter uses a declared Zwicker-style expression from 0 to 20 kHz rather than returning a critical-band index or a mel coordinate.

When to use Bark Band Converter

Use this tool to apply the stated bark band converter operation with an explicit input and unit basis.

How to use Bark Band Converter and how it works

  1. Establish the measurement basis and units described above.
  2. Enter actualFrequencyHz and run the tool.
  3. Read result.value using the output meanings below.
  4. If input is rejected, correct the stated type, range, ordering or alignment issue and rerun; review successful results under the declared convention.
Input fieldMeaningValue typeRequirement
actualFrequencyHzFrequency Hz. Units, ordering and applicable branch are specified in the algorithm.numberrequired; finite; nonnegative; further conditions in the algorithm

Require frequency from zero through 20,000 Hz inclusive. Evaluate two arctangent terms in radians and return their weighted sum; zero maps to zero.

z(f) = 13atan(0.00076f)+3.5atan((f/7500)²)

Apply the declared units, ordering and branch conditions.

Output fieldMeaningValue type
resultObject containing the declared output fields.object
result.valueDeclared continuous Bark-scale coordinate.number
json
{
  "input": {
    "actualFrequencyHz": 1000
  },
  "output": {
    "result": {
      "value": 8.510531510721993
    }
  }
}

Limitations and assumptions

The output applies the declared operation to the values you supply. Establish the measurement basis, units, coefficients and any caller-selected rules before interpreting it. The tool does not independently collect or verify observations or decide whether a model or reference applies.

Supply explicit required fields with the documented types and dense aligned arrays. Unknown fields, wrong types and nonfinite numbers are rejected. Branch-specific constraints are explained above. A returned boolean, signed difference or tied result follows the stated convention; an input error instead means the required input contract was not satisfied. Very large inputs or outputs may be rejected by shared resource limits.

Alternative or Complementary methods

For a related operation, use Critical Band Width Lookup. Critical-band width depends on frequency, perceptual conditions and the chosen auditory model.

For a related operation, use Band Edge Frequencies Calculator. Fractional-octave bands have logarithmically spaced edges around a center frequency.

References

  1. Bark Band Converter — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies