fix types

This commit is contained in:
Kuba Orlik 2024-02-01 21:49:18 +01:00
parent ac2f1bd7ed
commit 1972a4043f

View File

@ -2,7 +2,9 @@ import findLoudness, { SwapPoint } from "./find-loudness";
const graph_density = 8000;
const threshold_at_point = parseInt(process.env.demuxer_volume_threshold) || 1;
const threshold_at_point = parseInt(
process.env.demuxer_volume_threshold || "1"
);
const inertia_s = 0.3;
const inertia_samples = inertia_s * graph_density;