sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
* Isolate the Rough Frequency value...
@ 2018-12-29  2:05 William D DeGraw via Sox-users
  2018-12-29  9:23 ` Mikko Olkkonen
  0 siblings, 1 reply; 2+ messages in thread
From: William D DeGraw via Sox-users @ 2018-12-29  2:05 UTC (permalink / raw)
  To: sox-users; +Cc: William D DeGraw

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Isolate the Rough Frequency value...
  2018-12-29  2:05 Isolate the Rough Frequency value William D DeGraw via Sox-users
@ 2018-12-29  9:23 ` Mikko Olkkonen
  0 siblings, 0 replies; 2+ messages in thread
From: Mikko Olkkonen @ 2018-12-29  9:23 UTC (permalink / raw)
  To: sox-users

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-29  2:05 Isolate the Rough Frequency value William D DeGraw via Sox-users
2018-12-29  9:23 ` Mikko Olkkonen

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