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

Problem opening some wave files? #8

Open
dreamk73 opened this issue Oct 24, 2017 · 3 comments
Open

Problem opening some wave files? #8

dreamk73 opened this issue Oct 24, 2017 · 3 comments

Comments

@dreamk73
Copy link

I am trying to extract F0 contours with swipe for a long list of files. When I run it on some voices, it works fine but on others I get the error below. I don't understand why it is saying to specify an input file with -i or why there is this strange symbol after the wav? I have checked file permissions and directory permissions and they are the same for the files that do work and the files that don't.

If I create a symbolic link from the swipe directory to the problem directory and run ./swipe -i wav48/sn001_sent001.wav I have no problems. Note that the original directory is a mounted drive on a linux system. But as I said, I only have problems with certain voice directories, and not others.

./swipe -i /data/user/merlin_data/voice/wav48/sn001_sent001.wav
Reading from "/data/user/merlin_data/voice/wav48/sn001_sent001.wav�" failed (try specifying an input file with -i).

Any idea what I could do to make swipe read these files without problems?

@kylebgorman
Copy link
Owner

kylebgorman commented Oct 24, 2017 via email

@dreamk73
Copy link
Author

I get this error when I just do it on the one file as shown in my message. I am calling it from a python script and I specify the input file with the -i option. It is so strange if it is the file system, as I have no issues using it on another file on the same file system. All waveforms have been created in the same manner and file and directory permissions are the same as well. And as I said, when I create a symbolic link to the directory and call it that way, it works as well. Very strange!

@dreamk73
Copy link
Author

Correction, I call the command-line binary of swipe in python. I see now that I could call it directly in python. I will take a look at that option.

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