Open this example in the interactive library
Source code
const frames = 96000,
rate = 48000;
console.log(frames / rate);
Sample output
2

Open this example in the interactive library
const frames = 96000,
rate = 48000;
console.log(frames / rate);
2