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

Wav file not converted #3

Open
d8bhatta opened this issue Sep 6, 2017 · 1 comment
Open

Wav file not converted #3

d8bhatta opened this issue Sep 6, 2017 · 1 comment

Comments

@d8bhatta
Copy link

d8bhatta commented Sep 6, 2017

Hello, I have used following script to convert wav to mp3:
var audioConverter = require("audio-converter"); audioConverter("path/to/waves", "path/to/output", { progressBar: true }).then(function() { console.log("Done!"); });
All the files are replicated to targeted folder but all they are zero bytes,
$ ls -al mp3audio/
total 16
drwxrwxrwx 33 deepak staff 1122 Sep 6 09:57 .
drwxrwxrwx 18 deepak staff 612 Sep 6 09:56 ..
-rw-r--r--@ 1 deepak staff 6148 Sep 5 16:53 .DS_Store
-rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831211532.mp3
-rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831214051.mp3
-rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831214431.mp3
-rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831215510.mp3
-rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831224546.mp3
-rw-r--r-- 1 deepak staff 0 Sep 6 09:57 20170831224738.mp3

here is sox installed path:
$ which sox
/usr/local/bin/sox

Can you please suggest why its only zero bytes.

@FullR
Copy link
Owner

FullR commented Sep 12, 2017

I'm not sure what would cause this issue. Have you tried converting any of the files with sox manually? Try running sox path/to/file.wax path/to/output.mp3.

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