sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Mikko Olkkonen <molkko@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Re: Isolate the Rough Frequency value...
Date: Sat, 29 Dec 2018 11:23:52 +0200
Message-ID: <CANWtmUCtgPG3HJBCYsD7Mbe8O3eN3YhbBQYa2+UqRBu0jm1ttw@mail.gmail.com> (raw)
In-Reply-To: <8C129855-01C2-4402-8133-C73A19A526EC@me.com>

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

Hello, This works in my case: sox <examplefile.wav> -n stat 2>&1 >/dev/null
| grep Rough | awk '{print $3}'
More elegant solutions may exist...
M0


On Sat, Dec 29, 2018 at 4:06 AM William D DeGraw via Sox-users <
sox-users@lists.sourceforge.net> wrote:

> So, I’m using ‘sox <examplefile.wav> -n stat’ to obtain the “rough
> frequency” value. I, however, just need this number and want to pipe the
> output outside of sox. …How exactly do I accomplish this objection? –I’ve
> been fruitlessly and exhaustively searching the internet for an answer.
> -Dylan
>
> _______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users
>

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

<div dir="ltr"><div dir="ltr">Hello, This works in my case: sox &lt;examplefile.wav&gt; -n stat 2&gt;&amp;1 &gt;/dev/null | grep Rough | awk &#39;{print $3}&#39;  <br></div><div>More elegant solutions may exist...<br></div><div>M0</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Dec 29, 2018 at 4:06 AM William D DeGraw via Sox-users &lt;<a href="mailto:sox-users@lists.sourceforge.net">sox-users@lists.sourceforge.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So, I’m using ‘sox &lt;examplefile.wav&gt; -n stat’ to obtain the “rough frequency” value. I, however, just need this number and want to pipe the output outside of sox. …How exactly do I accomplish this objection? –I’ve been fruitlessly and exhaustively searching the internet for an answer.<br>
-Dylan<br>
<br>
_______________________________________________<br>
Sox-users mailing list<br>
<a href="mailto:Sox-users@lists.sourceforge.net" target="_blank">Sox-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/sox-users" rel="noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/sox-users</a><br>
</blockquote></div>

[-- 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: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-29  2:05 William D DeGraw via Sox-users
2018-12-29  9:23 ` Mikko Olkkonen [this message]

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=CANWtmUCtgPG3HJBCYsD7Mbe8O3eN3YhbBQYa2+UqRBu0jm1ttw@mail.gmail.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

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