{
  "kind": "authored mathematical exercise; not AI output, vendor test or listening outcome",
  "reference": "int(4000*sin(2*pi*440*n/24000)), n=0..47999",
  "double": "2*reference integer samples",
  "matched": "int(0.5*double), equals reference exactly",
  "rms": "sqrt(sum(sample^2)/N)",
  "rms_dbfs": "20*log10(rms/32768); declared numeric convention, not LUFS",
  "amplitude_ratio_db": 6.020599913279624,
  "gain_to_reference": 0.5,
  "gain_db": -6.020599913279624,
  "matched_samples_equal_reference": true,
  "files": [
    {
      "file": "level-record-reference.wav",
      "sample_rate": 24000,
      "frames": 48000,
      "peak_integer": 4000,
      "rms_integer": 2828.0187416944395,
      "rms_dbfs_divisor_32768": -21.279353033843474,
      "construction_gain": 1,
      "sha256": "46683ac7f3a78923b064530110ec1437e8c209075429007cf64bb7624d44178a"
    },
    {
      "file": "level-record-double.wav",
      "sample_rate": 24000,
      "frames": 48000,
      "peak_integer": 8000,
      "rms_integer": 5656.037483388879,
      "rms_dbfs_divisor_32768": -15.258753120563851,
      "construction_gain": 2,
      "sha256": "a25bb4af158c696269dff7a3cbc56b2d3d550b6d8d29d5b8374f48fa0b199c1a"
    },
    {
      "file": "level-record-matched.wav",
      "sample_rate": 24000,
      "frames": 48000,
      "peak_integer": 4000,
      "rms_integer": 2828.0187416944395,
      "rms_dbfs_divisor_32768": -21.279353033843474,
      "construction_gain": 0.5,
      "sha256": "46683ac7f3a78923b064530110ec1437e8c209075429007cf64bb7624d44178a"
    }
  ]
}