sox v14.4.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

sox v14.4.0

René Bastian
Hello,

I installed sox/play/rec 14.4.0 (named "rbmsox/rbmplay/rbmrec" by
ln -s)

when I launch
$ rbmplay audiotest.wav
I get the message
 rbmplay  FAIL sox: Not enough input filenames specified

but sox v14.3.2 works.

What is wrong?



--
René Bastian
www.pythoneon.org

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: sox v14.4.0

Jan Stary
On Sep 25 12:00:53, René Bastian wrote:

> Hello,
>
> I installed sox/play/rec 14.4.0 (named "rbmsox/rbmplay/rbmrec" by
> ln -s)
>
> when I launch
> $ rbmplay audiotest.wav
> I get the message
>  rbmplay  FAIL sox: Not enough input filenames specified
>
> but sox v14.3.2 works.
>
> What is wrong?

Your arbitrarily renamed binaries.

Hint: the name of the binary matters.
(Can guess where this is mentioned?)


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: sox v14.4.0

Ulrich Klauer-2
In reply to this post by René Bastian
René Bastian <[hidden email]>:

> when I launch
> $ rbmplay audiotest.wav
> I get the message
>  rbmplay  FAIL sox: Not enough input filenames specified
> but sox v14.3.2 works.
> What is wrong?

14.3.2 is wrong. ;-)  The behaviour was meant for when play was called with a path, such as some/where/play, but it happened to work when there were random characters at the start of the name. There is a more sophisticated sox_basename() in charge now that takes extensions like .exe into account and isolates the name properly.

So, either use "play" (possibly in a special directory), or use -d as the output file, as in
rbmplay audiotest.wav -d

Ulrich

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users