question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mthrokcommented, Oct 29, 2020

I will close the issue as there is no immediate action torchaudio can take on this. Thanks again for reporting it though.

0reactions
saurabh-katariacommented, Oct 29, 2020

Thanks for looking into it. Meanwhile, I have been using NIST reader sphfile https://pypi.org/project/sphfile/ successfully to numpy arrays.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SPH and Patient Safety General Information
Oregon Coalition for Health Care Ergonomics (OCHE) website: SPH information; evidence base, ... Creating a culture of safety for safe patient handling.
Read more >
Introduction to Safe Patient Handling/ Building SPH ...
“A policy and practice that creates a safe work environment for patients [s] and healthcare workers by eliminating hazardous manual lifting tasks. Transferring ......
Read more >
SPH Methods in the Modelling of Compact Objects
We review the current status of compact object simulations that are based on the smooth particle hydrodynamics (SPH) method. The first main part...
Read more >
1.3. ABBREVIATIONS AND SPECIAL HANDLING CODES
ABBREVIATIONS AND SPECIAL HANDLING CODES. 1.3.3. SPECIAL HANDLING AND DANGEROUS GOODS CODES. A. Special Handling Codes. B. Dangerous Goods Codes (IATA Cargo ...
Read more >
Degree Classification Key (SPH only)
Many criteria require that the SPH focus on public health degrees and concentrations only. SPH should contact CEPH staff immediately in any cases...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found