|
From: isikistanbul <isi...@ho...> - 2015-07-11 18:13:15
|
Hi, I've been reading some of the man and trying with --combine mix. At this point i can get usb mic playing on top of the wav file by sox --combine mix -r 44100 -t alsa hw:1,0 /pathofthewavfile/ -d this works perfectly. (it was now it doesn't that alsa underrun skip thing: WARN alsa: under-run, ill get back to this in the end) but i need the wav file to be called repeatedly (I see on the web some called it with repeat 99999 to get near infinite times.) and there is a function called repeat [count(1)|−] (not sure if this would work on my case, i couldn't get it to work so far) i can repeat it with play /pathname/ repeat 300 but it doesnt work with the --combine mix sox --combine mix -r 44100 -t alsa hw:1,0 /home/pi/music/Gunseli.wav repeat 30 -d i get the error sox FAIL sox: Not enough input filenames specified and coming back to the alsa underrun error, it started happening when I wrote an infinite loop shell script something like this #!/bin/bash while true do sox --combine mix -r 44100 -t alsa hw:1,0 /home/pi/music/Gunseli.wav -d sleep 1 done strangely, the alsa run error only happens with that particular file. I feel like a shell script was a bad idea and i should repeat working with combine mix, how can I do this? So, any suggestions would be amazing. Thanks again -- View this message in context: http://sox.10957.n7.nabble.com/Two-inputs-to-one-output-tp5502p5509.html Sent from the SoX mailing list archive at Nabble.com. |