Skip to content

Sound duration #39

@sergeevabc

Description

@sergeevabc

Windows 7 x64, ReSampler 2.1.0

Source: Swept_24.wav from http://src.infinitewave.ca/TestSignals.zip

$ mediainfo Swept_24.wav
Duration                                 : 8 s 0 ms

$ resampler -i Swept_24.wav -o out-res.wav -r 44100 --doubleprecision
2.1.0 64-bit version
Input file: Swept_24.wav
Output file: out-res.wav
Using double precision for calculations.
input bit format: 24
source file channels: 1
input sample rate: 96000
output sample rate: 44100
Scanning input file for peaks ...Done
Peak input sample: 0.500000 (-6.020598 dBFS) at 0:0:0.100000
LPF transition frequency: 20045.45 Hz (90.91 %)
Conversion ratio: 0.459375 (147:320)
Writing Metadata
Converting (multi-stage) ...
Writing to output file ...
Done
Peak output sample: 0.500000 (-6.020597 dBFS)
Time=333 ms [24.0x]

$ mediainfo out-res.wav
Duration                                 : 7 s 997 ms

If I add --singleStage, then Duration is still not 8 s, but 7 s 999 ms.

Other resamplers I know of keep the sound duration intact.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions