A sample frame contains the samples for all channels at one time position. At 48 kHz, 48,000 frames span one second whether the recording is mono or stereo. Counting both stereo channel samples as consecutive time positions would incorrectly double the elapsed duration.
Start with frames and a stated rate
Use the duration calculator when you know the frame count. Divide frames by frames per second. Preserve the rate beside the count; an unlabelled integer is not enough to establish elapsed time, and a musical frequency is not a replacement for the sample rate.
Separate payload size from elapsed time
The PCM-size helper includes channel count and bits per sample. Stereo doubles payload relative to mono at the same duration and format, but does not double duration. Container overhead and compressed codec behaviour require separate information.
Check a simple fixture
At 48 kHz, 96,000 frames represent two seconds. A stereo 16-bit payload then contains 384,000 bytes before headers. Use the period helper for cycles instead: an audio tone can complete many cycles during those two seconds without changing the frame count.
Keep a reference label separate from timing
The Hz to note converter maps a supplied signal frequency, while MIDI note69 names a musical coordinate. Neither is the number of time frames in a recording. Save the original count and unit before rounding a calculated duration into a shorter display format.
Frequently asked questions
Does a stereo frame contain two time steps?
No. It contains simultaneous channel samples for one time position. The frame rate sets the time progression. When a format uses the word sample ambiguously, identify whether it means a channel value or a complete multichannel frame before calculating.
Can this helper read an uploaded file?
No. It calculates from supplied count and rate. It does not decode media, trim a source or verify the original recording metadata. Use a separate appropriate file inspection process when those source facts must be established independently.