maRce10 / warbleR

streamline acoustic analysis in R
https://marce10.github.io/warbleR/
GNU General Public License v3.0
52 stars 21 forks source link

mp32wav() #63

Open marina-martin-maroto opened 10 months ago

marina-martin-maroto commented 10 months ago

When using the function mp32wav() an error comes up every time- Error: Sox is not installed or available in path. I have never had this problem before, and have tried installing Sox but still get the same error.

pyriglena commented 8 months ago

I have other issue with mp32wav(). (R version 4.2.2 (2022-10-31 ucrt) running in RStudio 2023.12.0 Build 369, warbleR 1.1.29).

Esystem(cll, ignore.stdout = FALSE, intern = TRUE) : 'sox' not found Além disso: Warning message: In system(paste("which sox", sep = " "), ignore.stderr = TRUE, intern = FALSE, : 'which' not found

maRce10 commented 8 months ago

you need to install sox first, which is an external dependency, not an R package. which operating system are you using?

pyriglena commented 8 months ago

you need to install sox first, which is an external dependency, not an R package. which operating system are you using?

Windows

maRce10 commented 8 months ago

uff haha. try installing sox:

https://sourceforge.net/projects/sox/

https://stackoverflow.com/questions/17667491/how-to-use-sox-in-windows

Crypturellus commented 7 months ago

I installed sox and added it to my path, but now another error appears:

In system(cll, ignore.stdout = FALSE, intern = TRUE) : execução do comando 'sox "C:\Users\alanm\AppData\Local\Temp\RtmpAloE8X\Selenidera_reinwardtii-XC124880.mp3" -t wavpcm -b 16 "C:\Users\alanm\AppData\Local\Temp\RtmpAloE8X/Selenidera_reinwardtii-XC124880.wav" remix 1 dither -s' teve status 2

I'm using R version 4.3.2, RStudio 2023.12.1 Build 402 and warbleR 1.1.30.