{
  "schema_version": 1,
  "date": "2026-10-05",
  "scope": "Original deterministic PCM16 synthetic samples; numeric checks only; no listening study, model generation, engine playback, compressed codec, resampling or true-peak measurement.",
  "quantization": "round() to signed PCM16; normalized sample unit = count / 32768; dBFS uses a 32768-count reference; null dBFS denotes zero amplitude.",
  "percentile_method": "nearest-rank p95 of absolute within-file adjacent sample differences, excluding wrap; null ratio when p95 is zero.",
  "fixture_inspections": {
    "periodic-sine.wav": {
      "sample_rate_hz": 48000,
      "channels": 1,
      "frames": 4800,
      "duration_ms": 100.0,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": 0,
          "last_pcm16": -1130,
          "wrap_step_pcm16": 1130,
          "wrap_step_abs_pcm16": 1130,
          "wrap_step_abs_normalized": 0.03448486,
          "internal_adjacent_abs_median_pcm16": 799,
          "internal_adjacent_abs_p95_pcm16": 1126,
          "internal_adjacent_abs_max_pcm16": 1130,
          "wrap_to_internal_p95_ratio": 1.0035524,
          "first_internal_delta_pcm16": 1130,
          "last_internal_delta_pcm16": 1126,
          "endpoint_delta_difference_pcm16": 4,
          "enter_wrap_delta_change_pcm16": 4,
          "leave_wrap_delta_change_pcm16": 0,
          "mean_pcm16": 0.0,
          "rms_dbfs": -8.21389053,
          "sample_peak_dbfs": -5.2035486,
          "head_window_frames": 64,
          "head_rms_dbfs": -8.82495463,
          "tail_rms_dbfs": -8.73318611,
          "longest_exact_zero_run_frames": 1,
          "longest_exact_zero_run_ms": 0.02083333,
          "rail_sample_count": 0
        }
      ]
    },
    "discontinuous-ramp.wav": {
      "sample_rate_hz": 48000,
      "channels": 1,
      "frames": 4800,
      "duration_ms": 100.0,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": -10000,
          "last_pcm16": 10000,
          "wrap_step_pcm16": -20000,
          "wrap_step_abs_pcm16": 20000,
          "wrap_step_abs_normalized": 0.61035156,
          "internal_adjacent_abs_median_pcm16": 4,
          "internal_adjacent_abs_p95_pcm16": 5,
          "internal_adjacent_abs_max_pcm16": 5,
          "wrap_to_internal_p95_ratio": 4000.0,
          "first_internal_delta_pcm16": 4,
          "last_internal_delta_pcm16": 4,
          "endpoint_delta_difference_pcm16": 0,
          "enter_wrap_delta_change_pcm16": -20004,
          "leave_wrap_delta_change_pcm16": 20004,
          "mean_pcm16": 0.0,
          "rms_dbfs": -15.07840494,
          "sample_peak_dbfs": -10.3089987,
          "head_window_frames": 64,
          "head_rms_dbfs": -10.42356029,
          "tail_rms_dbfs": -10.42356029,
          "longest_exact_zero_run_frames": 0,
          "longest_exact_zero_run_ms": 0.0,
          "rail_sample_count": 0
        }
      ]
    },
    "equal-endpoints-cusp.wav": {
      "sample_rate_hz": 48000,
      "channels": 1,
      "frames": 65,
      "duration_ms": 1.35416667,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": 0,
          "last_pcm16": 0,
          "wrap_step_pcm16": 0,
          "wrap_step_abs_pcm16": 0,
          "wrap_step_abs_normalized": 0.0,
          "internal_adjacent_abs_median_pcm16": 416.0,
          "internal_adjacent_abs_p95_pcm16": 587,
          "internal_adjacent_abs_max_pcm16": 589,
          "wrap_to_internal_p95_ratio": 0.0,
          "first_internal_delta_pcm16": 589,
          "last_internal_delta_pcm16": -589,
          "endpoint_delta_difference_pcm16": 1178,
          "enter_wrap_delta_change_pcm16": 589,
          "leave_wrap_delta_change_pcm16": 589,
          "mean_pcm16": 7520.4,
          "rms_dbfs": -11.80301378,
          "sample_peak_dbfs": -8.72537378,
          "head_window_frames": 64,
          "head_rms_dbfs": -11.73567995,
          "tail_rms_dbfs": -11.73567995,
          "longest_exact_zero_run_frames": 1,
          "longest_exact_zero_run_ms": 0.02083333,
          "rail_sample_count": 0
        }
      ]
    },
    "equal-endpoints-gap.wav": {
      "sample_rate_hz": 48000,
      "channels": 1,
      "frames": 4801,
      "duration_ms": 100.02083333,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": 0,
          "last_pcm16": 0,
          "wrap_step_pcm16": 0,
          "wrap_step_abs_pcm16": 0,
          "wrap_step_abs_normalized": 0.0,
          "internal_adjacent_abs_median_pcm16": 424.0,
          "internal_adjacent_abs_p95_pcm16": 751,
          "internal_adjacent_abs_max_pcm16": 11413,
          "wrap_to_internal_p95_ratio": 0.0,
          "first_internal_delta_pcm16": 753,
          "last_internal_delta_pcm16": 753,
          "endpoint_delta_difference_pcm16": 0,
          "enter_wrap_delta_change_pcm16": -753,
          "leave_wrap_delta_change_pcm16": 753,
          "mean_pcm16": -2.37721308,
          "rms_dbfs": -12.71632273,
          "sample_peak_dbfs": -8.72537378,
          "head_window_frames": 64,
          "head_rms_dbfs": -12.34680299,
          "tail_rms_dbfs": -12.34680299,
          "longest_exact_zero_run_frames": 960,
          "longest_exact_zero_run_ms": 20.0,
          "rail_sample_count": 0
        }
      ]
    },
    "stereo-one-bad-channel.wav": {
      "sample_rate_hz": 48000,
      "channels": 2,
      "frames": 4800,
      "duration_ms": 100.0,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": 0,
          "last_pcm16": -1130,
          "wrap_step_pcm16": 1130,
          "wrap_step_abs_pcm16": 1130,
          "wrap_step_abs_normalized": 0.03448486,
          "internal_adjacent_abs_median_pcm16": 799,
          "internal_adjacent_abs_p95_pcm16": 1126,
          "internal_adjacent_abs_max_pcm16": 1130,
          "wrap_to_internal_p95_ratio": 1.0035524,
          "first_internal_delta_pcm16": 1130,
          "last_internal_delta_pcm16": 1126,
          "endpoint_delta_difference_pcm16": 4,
          "enter_wrap_delta_change_pcm16": 4,
          "leave_wrap_delta_change_pcm16": 0,
          "mean_pcm16": 0.0,
          "rms_dbfs": -8.21389053,
          "sample_peak_dbfs": -5.2035486,
          "head_window_frames": 64,
          "head_rms_dbfs": -8.82495463,
          "tail_rms_dbfs": -8.73318611,
          "longest_exact_zero_run_frames": 1,
          "longest_exact_zero_run_ms": 0.02083333,
          "rail_sample_count": 0
        },
        {
          "channel": 2,
          "first_pcm16": -10000,
          "last_pcm16": 10000,
          "wrap_step_pcm16": -20000,
          "wrap_step_abs_pcm16": 20000,
          "wrap_step_abs_normalized": 0.61035156,
          "internal_adjacent_abs_median_pcm16": 4,
          "internal_adjacent_abs_p95_pcm16": 5,
          "internal_adjacent_abs_max_pcm16": 5,
          "wrap_to_internal_p95_ratio": 4000.0,
          "first_internal_delta_pcm16": 4,
          "last_internal_delta_pcm16": 4,
          "endpoint_delta_difference_pcm16": 0,
          "enter_wrap_delta_change_pcm16": -20004,
          "leave_wrap_delta_change_pcm16": 20004,
          "mean_pcm16": 0.0,
          "rms_dbfs": -15.07840494,
          "sample_peak_dbfs": -10.3089987,
          "head_window_frames": 64,
          "head_rms_dbfs": -10.42356029,
          "tail_rms_dbfs": -10.42356029,
          "longest_exact_zero_run_frames": 0,
          "longest_exact_zero_run_ms": 0.0,
          "rail_sample_count": 0
        }
      ]
    },
    "stereo-downmix-trap.wav": {
      "sample_rate_hz": 48000,
      "channels": 2,
      "frames": 4800,
      "duration_ms": 100.0,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": -10000,
          "last_pcm16": 10000,
          "wrap_step_pcm16": -20000,
          "wrap_step_abs_pcm16": 20000,
          "wrap_step_abs_normalized": 0.61035156,
          "internal_adjacent_abs_median_pcm16": 4,
          "internal_adjacent_abs_p95_pcm16": 5,
          "internal_adjacent_abs_max_pcm16": 5,
          "wrap_to_internal_p95_ratio": 4000.0,
          "first_internal_delta_pcm16": 4,
          "last_internal_delta_pcm16": 4,
          "endpoint_delta_difference_pcm16": 0,
          "enter_wrap_delta_change_pcm16": -20004,
          "leave_wrap_delta_change_pcm16": 20004,
          "mean_pcm16": 0.0,
          "rms_dbfs": -15.07840494,
          "sample_peak_dbfs": -10.3089987,
          "head_window_frames": 64,
          "head_rms_dbfs": -10.42356029,
          "tail_rms_dbfs": -10.42356029,
          "longest_exact_zero_run_frames": 0,
          "longest_exact_zero_run_ms": 0.0,
          "rail_sample_count": 0
        },
        {
          "channel": 2,
          "first_pcm16": 10000,
          "last_pcm16": -10000,
          "wrap_step_pcm16": 20000,
          "wrap_step_abs_pcm16": 20000,
          "wrap_step_abs_normalized": 0.61035156,
          "internal_adjacent_abs_median_pcm16": 4,
          "internal_adjacent_abs_p95_pcm16": 5,
          "internal_adjacent_abs_max_pcm16": 5,
          "wrap_to_internal_p95_ratio": 4000.0,
          "first_internal_delta_pcm16": -4,
          "last_internal_delta_pcm16": -4,
          "endpoint_delta_difference_pcm16": 0,
          "enter_wrap_delta_change_pcm16": 20004,
          "leave_wrap_delta_change_pcm16": -20004,
          "mean_pcm16": 0.0,
          "rms_dbfs": -15.07840494,
          "sample_peak_dbfs": -10.3089987,
          "head_window_frames": 64,
          "head_rms_dbfs": -10.42356029,
          "tail_rms_dbfs": -10.42356029,
          "longest_exact_zero_run_frames": 0,
          "longest_exact_zero_run_ms": 0.0,
          "rail_sample_count": 0
        }
      ]
    },
    "correlated-headroom.wav": {
      "sample_rate_hz": 48000,
      "channels": 1,
      "frames": 4800,
      "duration_ms": 100.0,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": 29491,
          "last_pcm16": 29491,
          "wrap_step_pcm16": 0,
          "wrap_step_abs_pcm16": 0,
          "wrap_step_abs_normalized": 0.0,
          "internal_adjacent_abs_median_pcm16": 0,
          "internal_adjacent_abs_p95_pcm16": 0,
          "internal_adjacent_abs_max_pcm16": 0,
          "wrap_to_internal_p95_ratio": null,
          "first_internal_delta_pcm16": 0,
          "last_internal_delta_pcm16": 0,
          "endpoint_delta_difference_pcm16": 0,
          "enter_wrap_delta_change_pcm16": 0,
          "leave_wrap_delta_change_pcm16": 0,
          "mean_pcm16": 29491.0,
          "rms_dbfs": -0.91520872,
          "sample_peak_dbfs": -0.91520872,
          "head_window_frames": 64,
          "head_rms_dbfs": -0.91520872,
          "tail_rms_dbfs": -0.91520872,
          "longest_exact_zero_run_frames": 0,
          "longest_exact_zero_run_ms": 0.0,
          "rail_sample_count": 0
        }
      ]
    },
    "ramp-linear-overlap.wav": {
      "sample_rate_hz": 48000,
      "channels": 1,
      "frames": 4320,
      "duration_ms": 90.0,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": -8000,
          "last_pcm16": -8004,
          "wrap_step_pcm16": 4,
          "wrap_step_abs_pcm16": 4,
          "wrap_step_abs_normalized": 0.00012207,
          "internal_adjacent_abs_median_pcm16": 4,
          "internal_adjacent_abs_p95_pcm16": 33,
          "internal_adjacent_abs_max_pcm16": 34,
          "wrap_to_internal_p95_ratio": 0.12121212,
          "first_internal_delta_pcm16": 5,
          "last_internal_delta_pcm16": -34,
          "endpoint_delta_difference_pcm16": 39,
          "enter_wrap_delta_change_pcm16": 38,
          "leave_wrap_delta_change_pcm16": 1,
          "mean_pcm16": 0.0,
          "rms_dbfs": -17.0143322,
          "sample_peak_dbfs": -12.2428571,
          "head_window_frames": 64,
          "head_rms_dbfs": -12.39093381,
          "tail_rms_dbfs": -13.43389195,
          "longest_exact_zero_run_frames": 0,
          "longest_exact_zero_run_ms": 0.0,
          "rail_sample_count": 0
        }
      ]
    },
    "ramp-equal-power-overlap.wav": {
      "sample_rate_hz": 48000,
      "channels": 1,
      "frames": 4320,
      "duration_ms": 90.0,
      "metrics_by_channel": [
        {
          "channel": 1,
          "first_pcm16": -8000,
          "last_pcm16": -8004,
          "wrap_step_pcm16": 4,
          "wrap_step_abs_pcm16": 4,
          "wrap_step_abs_normalized": 0.00012207,
          "internal_adjacent_abs_median_pcm16": 4,
          "internal_adjacent_abs_p95_pcm16": 34,
          "internal_adjacent_abs_max_pcm16": 36,
          "wrap_to_internal_p95_ratio": 0.11764706,
          "first_internal_delta_pcm16": 5,
          "last_internal_delta_pcm16": -29,
          "endpoint_delta_difference_pcm16": 34,
          "enter_wrap_delta_change_pcm16": 33,
          "leave_wrap_delta_change_pcm16": 1,
          "mean_pcm16": 0.0,
          "rms_dbfs": -16.98596699,
          "sample_peak_dbfs": -12.2428571,
          "head_window_frames": 64,
          "head_rms_dbfs": -12.39093381,
          "tail_rms_dbfs": -13.29921611,
          "longest_exact_zero_run_frames": 0,
          "longest_exact_zero_run_ms": 0.0,
          "rail_sample_count": 0
        }
      ]
    }
  },
  "circular_overlap_edits": {
    "ramp-linear-overlap.wav": {
      "law": "linear",
      "gain": 1.0,
      "input_frames": 4800,
      "overlap_frames": 480,
      "output_frames": 4320,
      "output_start_input_frame": 480,
      "duration_removed_ms": 10.0,
      "pre_quantization_sample_peak_dbfs": -12.2428571
    },
    "ramp-equal-power-overlap.wav": {
      "law": "equal-power",
      "gain": 1.0,
      "input_frames": 4800,
      "overlap_frames": 480,
      "output_frames": 4320,
      "output_start_input_frame": 480,
      "duration_removed_ms": 10.0,
      "pre_quantization_sample_peak_dbfs": -12.2428571
    }
  },
  "headroom_rejection": {
    "fixture": "correlated-headroom.wav",
    "law": "equal-power",
    "overlap_frames": 481,
    "gain": 1.0,
    "result": "overlap exceeds PCM16 range; no output written; choose an explicit lower --gain"
  },
  "midpoint_arithmetic": {
    "description": "Four-sample floating-point control sequences with input RMS 0.9; fixed midpoint gains only, not complete fade duration; normalized cross-product, no mean subtraction.",
    "results": [
      {
        "case": "identical",
        "law": "linear",
        "normalized_cross_product": 1.0,
        "input_rms_normalized": 0.9,
        "output_rms_normalized": 0.9,
        "output_rms_ratio": 1.0,
        "output_rms_change_db": 0.0,
        "output_sample_peak_normalized": 0.9
      },
      {
        "case": "identical",
        "law": "equal-power",
        "normalized_cross_product": 1.0,
        "input_rms_normalized": 0.9,
        "output_rms_normalized": 1.27279221,
        "output_rms_ratio": 1.41421356,
        "output_rms_change_db": 3.01029996,
        "output_sample_peak_normalized": 1.27279221
      },
      {
        "case": "opposite",
        "law": "linear",
        "normalized_cross_product": -1.0,
        "input_rms_normalized": 0.9,
        "output_rms_normalized": 0.0,
        "output_rms_ratio": 0.0,
        "output_rms_change_db": null,
        "output_sample_peak_normalized": 0.0
      },
      {
        "case": "opposite",
        "law": "equal-power",
        "normalized_cross_product": -1.0,
        "input_rms_normalized": 0.9,
        "output_rms_normalized": 0.0,
        "output_rms_ratio": 0.0,
        "output_rms_change_db": null,
        "output_sample_peak_normalized": 0.0
      },
      {
        "case": "orthogonal",
        "law": "linear",
        "normalized_cross_product": 0.0,
        "input_rms_normalized": 0.9,
        "output_rms_normalized": 0.6363961,
        "output_rms_ratio": 0.70710678,
        "output_rms_change_db": -3.01029996,
        "output_sample_peak_normalized": 0.9
      },
      {
        "case": "orthogonal",
        "law": "equal-power",
        "normalized_cross_product": 0.0,
        "input_rms_normalized": 0.9,
        "output_rms_normalized": 0.9,
        "output_rms_ratio": 1.0,
        "output_rms_change_db": 0.0,
        "output_sample_peak_normalized": 1.27279221
      }
    ]
  },
  "stereo_downmix_trap": {
    "definition": "arithmetic (L+R)/2",
    "downmix_wrap_step_pcm16": 0,
    "downmix_all_samples_zero": true,
    "individual_channel_wrap_steps_pcm16": [
      -20000,
      20000
    ]
  }
}
