sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Nils Wallgren <affarer@hotmail.com>
To: "sox-users@lists.sourceforge.net" <sox-users@lists.sourceforge.net>
Subject: Re: basic help with SoX on windows 10
Date: Tue, 29 Oct 2019 13:30:30 +0000
Message-ID: <AM0PR01MB5715220856AD5EB39241B1E4AA610@AM0PR01MB5715.eurprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <4f2708c7903a9c20fc63e09fa416c3e3@wingsandbeaks.org.uk>

[-- Attachment #1.1: Type: text/plain, Size: 2728 bytes --]

Thanks for the reply!

> Most intructions seems to be on Os  and it is quite hard to find

I meant for macOS, sorry

Scrolling through the manual but It still seems that I cannot use the normal rec
I cant just write rec but have to use sox -t waveaudio .. (as you suggested. Same thing with play.
Tried this in the command prompt: play SC_191028_105931.aiff and get the message

>'play' is not recognized as an internal or external command,
operable program or batch file.

When I write sox in the prompt I get a lot of information but this kind of line stood out:
>sox FAIL sox: Not enough input filenames specified

Not sure if I have to worry about that.





Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

________________________________
From: Jeremy Nicoll - ml sox users <jn.ml.sxu.88@wingsandbeaks.org.uk>
Sent: Tuesday, October 29, 2019 1:36:00 PM
To: sox-users@lists.sourceforge.net <sox-users@lists.sourceforge.net>
Subject: Re: [SoX-users] basic help with SoX on windows 10

On 2019-10-29 08:56, Nils Wallgren wrote:
> Hi, I am new to SoX and can’t really figure out how to understand
> where things save. I ran this in my command prompt in windows
>
>  sox -t waveaudio -d new-file.wav

It's like other commands in Windows; if you don't specify a fully
pathed filename then it uses whatever Windows thinks is the current
working directory.

It's far better to be specific, eg

    sox -t waveaudio -d "C:\this\that\other\new-file.wav"


> Most intructions seems to be on Os  and it is quite hard to find
> instructions of the basics for windows.

You can get the PDF manual for sox (and soxi, which can also be
useful) at

   http://sox.sourceforge.net/Docs/Documentation

You don't have to read the whole manual - ie you don't need to read
about all the different effects, but you do need to understand the
basic command syntax and the information about how sox goes about
doing things.  I'd suggest you start by reading the first 14 pages
or so.


I don't know what you mean by "on Os".

Most (all?) of the examples will work as shown, on Windows.


> Do I have to type sox before anything I want to do with sox in the
> command prompt? How do I start a recording and stop it?

Typing the sox command starts sox, either to make a recording, or
(if that's already been done and you tell it to process a existing
file) to start doing things to that file.

See "Stopping sox" on p6 of the manual.


--
Jeremy Nicoll - my opinions are my own


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

[-- Attachment #1.2: Type: text/html, Size: 8184 bytes --]

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1931893308;
	mso-list-type:hybrid;
	mso-list-template-ids:316560514 -1 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:\F0D8;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style>
</head>
<body lang="en-SE" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Thanks for the reply!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">&gt; Most intructions seems to be on Os&nbsp; and it is quite hard to find<span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I meant for macOS, sorry<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Scrolling through the manual but It still seems that I cannot use the normal rec<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I cant just write rec but have to use sox -t waveaudio .. (as you suggested. Same thing with play.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Tried this in the command prompt: play SC_191028_105931.aiff and get the message
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&gt;'play' is not recognized as an internal or external command,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">operable program or batch file.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When I write sox in the prompt I get a lot of information but this kind of line stood out:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&gt;sox FAIL sox: Not enough input filenames specified<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Not sure if I have to worry about that.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Jeremy Nicoll - ml sox users &lt;jn.ml.sxu.88@wingsandbeaks.org.uk&gt;<br>
<b>Sent:</b> Tuesday, October 29, 2019 1:36:00 PM<br>
<b>To:</b> sox-users@lists.sourceforge.net &lt;sox-users@lists.sourceforge.net&gt;<br>
<b>Subject:</b> Re: [SoX-users] basic help with SoX on windows 10</font>
<div>&nbsp;</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 2019-10-29 08:56, Nils Wallgren wrote:<br>
&gt; Hi, I am new to SoX and can’t really figure out how to understand<br>
&gt; where things save. I ran this in my command prompt in windows<br>
&gt; <br>
&gt;&nbsp; sox -t waveaudio -d new-file.wav<br>
<br>
It's like other commands in Windows; if you don't specify a fully<br>
pathed filename then it uses whatever Windows thinks is the current<br>
working directory.<br>
<br>
It's far better to be specific, eg<br>
<br>
&nbsp;&nbsp;&nbsp; sox -t waveaudio -d &quot;C:\this\that\other\new-file.wav&quot;<br>
<br>
<br>
&gt; Most intructions seems to be on Os&nbsp; and it is quite hard to find<br>
&gt; instructions of the basics for windows.<br>
<br>
You can get the PDF manual for sox (and soxi, which can also be<br>
useful) at<br>
<br>
&nbsp;&nbsp; <a href="http://sox.sourceforge.net/Docs/Documentation">http://sox.sourceforge.net/Docs/Documentation</a><br>
<br>
You don't have to read the whole manual - ie you don't need to read<br>
about all the different effects, but you do need to understand the<br>
basic command syntax and the information about how sox goes about<br>
doing things.&nbsp; I'd suggest you start by reading the first 14 pages<br>
or so.<br>
<br>
<br>
I don't know what you mean by &quot;on Os&quot;.<br>
<br>
Most (all?) of the examples will work as shown, on Windows.<br>
<br>
<br>
&gt; Do I have to type sox before anything I want to do with sox in the<br>
&gt; command prompt? How do I start a recording and stop it?<br>
<br>
Typing the sox command starts sox, either to make a recording, or<br>
(if that's already been done and you tell it to process a existing<br>
file) to start doing things to that file.<br>
<br>
See &quot;Stopping sox&quot; on p6 of the manual.<br>
<br>
<br>
-- <br>
Jeremy Nicoll - my opinions are my own<br>
<br>
<br>
_______________________________________________<br>
Sox-users mailing list<br>
Sox-users@lists.sourceforge.net<br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
</div>
</span></font></div>
</body>
</html>

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

  reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29  8:56 Nils Wallgren
2019-10-29 12:36 ` Jeremy Nicoll - ml sox users
2019-10-29 13:30   ` Nils Wallgren [this message]
2019-10-29 22:44     ` Jeremy Nicoll - ml sox users
2019-10-30 14:42       ` Nils Wallgren
2019-10-30 19:18         ` Jeremy Nicoll - ml sox users
2019-10-31 13:09           ` Jeremy Nicoll - ml sox users

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM0PR01MB5715220856AD5EB39241B1E4AA610@AM0PR01MB5715.eurprd01.prod.exchangelabs.com \
    --to=sox-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.org/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git