sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: "Graff, David E" <graff@ldc.upenn.edu>
To: "sox-users@lists.sourceforge.net" <sox-users@lists.sourceforge.net>
Subject: Re: Basic questions on SoX for Mac OS
Date: Mon, 23 Dec 2019 16:45:14 +0000
Message-ID: <08DF6042-C50F-42BF-B22F-38329E88D65D@upenn.edu> (raw)
In-Reply-To: <CADOF_p_vuNZuwtCXEmogDcgD1q88gbrHmAkHo=3dLT-kuW_+sA@mail.gmail.com>

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

Are you familiar with “MacPorts” or “Homebrew” ? These are “package managers” that make it possible/easy to install pre-compiled versions of open-source software on macosx; both of them provide installable versions of “sox”.

If you have one of those in place already, just use it’s command-line interface to install sox; if not, look at both of their websites to decide which one you think is better geared to your level of understanding, install that package manager, then use it to install sox.  The latter step will put the “sox” command in one of the standard directories where the unix shell (the terminal’s command-line interface) looks for executable programs.

Good luck.
   David Graff

From: Matthew Mitcheltree <m.mitcheltree@gmail.com>
Reply-To: "sox-users@lists.sourceforge.net" <sox-users@lists.sourceforge.net>
Date: Monday, December 23, 2019 at 11:29 AM
To: "sox-users@lists.sourceforge.net" <sox-users@lists.sourceforge.net>
Subject: [SoX-users] Basic questions on SoX for Mac OS

Hi there,

A chemist and musician here – a project of mine to convert NMR FID signals to WAV audio files has brought me to SoX (via: https://www.quora.com/How-do-I-convert-a-CSV-file-to-a-wav-file). Toward that end, I've generated a 1-channel .dat file with normalized amplitude values and 9.615 kHz sample rate as input for SoX. The issue I'm running into has everything to do with my limited literacy with command line, a lack of rudimentary documentation from SoX on installation and operation, or a little of both.

I'm running on a Mac, and have the SoX v14.4.2 package in my Downloads directory. I copied the input.dat file to Downloads > sox-14.4.2 as well. So when I launch terminal, navigate there, and enter "sox input.dat output.wav," I get the error:


-bash: sox: command not found

So, maybe I need to install SoX, as this thread would have me believe (https://sourceforge.net/p/sox/mailman/sox-users/thread/col102-w436DF8E69EB76243646E30C3CF0%40phx.gbl/#msg27208706). But I admit I can't find how to do that. Am I on the right track?

Any guidance you all can offer would go a long way. SoX seems to have capabilities valuable to people with skills far afield from computer programming, so I wonder whether a "SoX guide for command-line beginners" would be a welcome addition to the program documentation?

Thank you!
Matt

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

[-- 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: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-23 16:29 Matthew Mitcheltree
2019-12-23 16:45 ` Graff, David E [this message]
2019-12-24 12:51 ` Jeremy Nicoll - ml sox users
2019-12-27 21:45   ` Matt Mitcheltree

Reply instructions:

You may reply publicly 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=08DF6042-C50F-42BF-B22F-38329E88D65D@upenn.edu \
    --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.io/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