Skip to content

Main content

Instrument String Speaking Length Ratio Tool

Ideal string f∝1/L; flag records whether the caller affirms equal tension and linear density.

Loading tool…

Description

Predict frequency as referenceFrequency×referenceLength/targetLength and return the supplied equalTensionDensity flag.

Frequency ratios express pitch relationships, while cents express their logarithm relative to an octave. Playback speed and pitch-preserving time changes obey different models; the relevant reference and physical assumptions must be supplied.

Predict frequency as referenceFrequency×referenceLength/targetLength and return the supplied equalTensionDensity flag.

When to use this tool

Use Instrument String Speaking Length Ratio when you need a stated pitch-ratio, reference or playback-speed term.

How to use the tool and how it works

  1. Enter referenceLength, targetLength, referenceFrequency, equalTensionDensity. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read lengthRatio, predictedFrequency, assumptionSatisfied. Inspect assumptionSatisfied before interpreting the associated values.

Require positive reference/target lengths and reference frequency. Predict frequency as referenceFrequency×referenceLength/targetLength and return the supplied equalTensionDensity flag.1

Input fieldMeaning and unitsAccepted input
referenceLengthReference LengthRequired. Finite number; strictly above 0.
targetLengthTarget LengthRequired. Finite number; strictly above 0.
referenceFrequencyReference FrequencyRequired. Finite number; strictly above 0.
equalTensionDensityEqual Tension DensityRequired. Boolean.
Output fieldInterpretationReturned shape
lengthRatioLength RatioRequired. Finite number.
predictedFrequencyPredicted FrequencyRequired. Finite number.
assumptionSatisfiedEcho of equalTensionDensity, not verification; prediction is computed even when false.Required. Boolean.
json
{
  "input": {
    "referenceLength": 0.6,
    "targetLength": 0.4,
    "referenceFrequency": 220,
    "equalTensionDensity": true
  },
  "output": {
    "lengthRatio": 1.4999999999999998,
    "predictedFrequency": 330,
    "assumptionSatisfied": true
  }
}

Limitations and assumptions

  • The prediction is still calculated when the assumption flag is false. The ideal string law needs equal tension and linear density; stiffness, end effects and actual instrument setup are not verified.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use calibrated audio measurements and the appropriate processing method for actual recordings. Retain cultural tuning context and verify reference frequency, speed history and instrument assumptions separately.

References

  1. Calculation and input contract: ethnomusicology/instrument-string-speaking-length-ratio — tool.io

Similar or alternative tools