Skip to content

"sox_io" does not handle SPH format compressed with 'shorten' algorithm #989

@saurabh-kataria

Description

@saurabh-kataria

Some SPHERE files (.sph) cannot be opened by torchaudio.info. I get the following error on some file
"formats: can't open input file filename.sph': sph: unsupported coding ulaw,embedded-shorten-v2.00'"
I cannot share the file although.
Such files are easily handled by special package like:
https://pypi.org/project/sphfile/

There is some tool called NIST's sph2pipe which might help:
http://www.cs.columbia.edu/~ecooper/tts/raw.html
https://www.ldc.upenn.edu/language-resources/tools/sphere-conversion-tools

I am using torch.version = 1.8.0.dev20201028

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions