Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while reading SPH file #2

Open
HsunGong opened this issue Dec 5, 2019 · 1 comment
Open

Error while reading SPH file #2

HsunGong opened this issue Dec 5, 2019 · 1 comment

Comments

@HsunGong
Copy link

HsunGong commented Dec 5, 2019

image

While I output the sphfile into wav, I found error listening to this wav.

Here is my example.
test.zip

@HsunGong HsunGong changed the title Less time while reading SPH file Error while reading SPH file Dec 5, 2019
@mcfletch
Copy link
Owner

mcfletch commented Dec 5, 2019

The file seems to use a compression format:
ulaw,embedded-shorten-v2.00
which isn't supported by sphfile (which assumes uncompressed format).

sph2pipe does properly convert the file to .wav, but I don't see any documentation on the embedded-shorten-v2.00 encoding that would let me say whether it's something I could implement. For the interim I'd suggest doing the following on your data-files:
sph2pipe iaab.sph iaab-uncompressed.sph
which should write them in regular ulaw encoding, that in theory should work with sphfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants