From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id B43141F4C0 for ; Tue, 29 Oct 2019 22:44:29 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1iPaDv-0001kc-3R; Tue, 29 Oct 2019 22:44:23 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1iPaDu-0001kV-Di for sox-users@lists.sourceforge.net; Tue, 29 Oct 2019 22:44:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-ID:References:In-Reply-To:Subject:To:From: Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eMTNzj0cwPXlvYR+HCFxXKKs8okTYcCRwPDYHmm7lqo=; b=G8XW7DAjtdQouUiy50av5f9QVa wjPJ6n+Yk2AraVx+NbcVaAmaocsosxh6MXOqYbioxQ9n6lSsThg9Yhmnh4s54eWJ9NVTsgAgtNLx3 5EhB5YGZPV4ZhzNlA/5MDm08t+kFQNMhD+jEzb5/umSsgPoIbwidp9RS4ppIuHZskMnE=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-ID:References:In-Reply-To:Subject:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eMTNzj0cwPXlvYR+HCFxXKKs8okTYcCRwPDYHmm7lqo=; b=DzBEtjhNOo7dXfdgfef9Rm6Dye amf6b3BzUYvmqn8akRmQdBJSatjVflGOFdeo07FJFHClgPq1X9feR46RUaFzu60Sp6PL+Uuo2wDCR Y+WmvyG33rnfyI5unub3thMgcKCTy0i1VSE89tRznW6Qyp0JX3qn6sf0Zn5zyunCHmYQ=; Received: from a-painless.mh.aa.net.uk ([81.187.30.51]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1iPaDs-009fMi-Kh for sox-users@lists.sourceforge.net; Tue, 29 Oct 2019 22:44:22 +0000 Received: from a-webmail.mh.aa.net.uk ([2001:8b0:0:30::75] helo=webmail.aa.net.uk) by a-painless.mh.aa.net.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iPaDm-0004uq-79 for sox-users@lists.sourceforge.net; Tue, 29 Oct 2019 22:44:14 +0000 Received: from cpc132346-sgyl43-2-0-cust166.know.cable.virginm.net ([82.42.23.167]) by webmail.aa.net.uk with HTTP (HTTP/1.1 POST); Tue, 29 Oct 2019 22:44:03 +0000 MIME-Version: 1.0 Date: Tue, 29 Oct 2019 22:44:03 +0000 From: Jeremy Nicoll - ml sox users To: sox-users@lists.sourceforge.net In-Reply-To: References: , <4f2708c7903a9c20fc63e09fa416c3e3@wingsandbeaks.org.uk> Message-ID: <78b7647b8dbe43d642bbc439f59c0d8f@wingsandbeaks.org.uk> X-Sender: jn.ml.sxu.88@wingsandbeaks.org.uk User-Agent: Roundcube Webmail/1.3.8 X-Headers-End: 1iPaDs-009fMi-Kh Subject: Re: basic help with SoX on windows 10 X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: sox-users-bounces@lists.sourceforge.net On 2019-10-29 13:30, Nils Wallgren wrote: > 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. I'm wondering were you got sox from, and in what form. When I installed it there was a choice of an installer, or a zip. I chose the latter because when I unzipped it, I could see what the various files it contained were, read the relevant notes and do what they said. Maybe, with an installer, it's not that obvious? In my notes on how I installed sox here, it says that in a file named README.win32.txt the text said that if one wants to have the "play" and "rec" commands work, once has simply to make copies of the sox.exe file named play.exe and rec.exe. That means that when you issue a 'play' command for example the program that runs is identical to what would run if you issued a 'sox' command, but I expect the program code looks at the command used to run itself, and thus sees if you invoked the 'play' or 'sox' or 'rec' one. I had completely forgotten that the same is true if you want "soxi" to work - you need to copy "sox.exe" as "soxi.exe". That's certainly worth doing because running soxi against an audio file will tell you about what's actually in the file. Certainly a response like "'play' is not recognized as an internal or external command, operable program or batch file." means that there's no "play.exe" (or play.bat or various other possibilities) in any of the folders defined on 'PATH' in your system. It sounds to me as if you've not got sox 'installed' properly. > 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 What you should have got was a summary of the call syntax for sox. I expect you got it because you didn't specify any, or the right combination of, parameters after the sox command itself. You need to look at the examples in the manual. Sox won't start a gui-based dialog with you, nor will it make the command window go into "sox mode" and then expect a series of sox subcommands. You provide ALL the filenames and other parameters on one long command line, then sox does all of what you asked for, then it stops. Some of the examples in the manual are quite complicated, with many separate steps in them, but you don't need to try to be clever right at the start. -- Jeremy Nicoll - my opinions are my own _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users