sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: <alant123@btconnect.com>
To: <sox-users@lists.sourceforge.net>
Subject: Sox FM Radio Processing Example
Date: Mon, 1 Feb 2021 11:24:57 -0000	[thread overview]
Message-ID: <000b01d6f88c$dff1bd40$9fd537c0$@btconnect.com> (raw)


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

Hi all.  

 

I have used Sox for simple stuff in the past but am intrigued by the FM
Radio processing example which (in different variations over time) appears
in the man page.  It may be just what I am looking for - but I can't get it
to work.  Referring to various posts on the Internet asking about this and
also different versions of the man page scattered around, I have gleaned
that the sinc effect is now the filter effect? However, there is still
something wrong I get an error.  Oddly, the sox manpage for Ubuntu 18 still
uses the "sinc" version. 

 

I am using it in a script file that contains this:

 

play t1.wav gain -3 filter 8000- 32 100 mcompand \

                   "0.005,0.1 -47,-40,-34,-34,-17,-33" 100 \

                   "0.003,0.05 -47,-40,-34,-34,-17,-33" 400 \

                   "0.000625,0.0125 -47,-40,-34,-34,-15,-33" 1600 \

                   "0.0001,0.025 -47,-40,-34,-34,-31,-31,-0,-30" 6400 \

                   "0,0.025 -38,-31,-28,-28,-0,-25" \

                   gain 15 highpass 22 highpass 22 filter -17500 256  \

                   gain 9 lowpass -1 17801

 

but I get the following error message

 

"play FAIL gain: usage [-e] [-b] .."

 

For reference this is copied from the manpage at 

 

https://linux.die.net/man/1/sox

 

Very likely this is just some silly formatting issue I have missed, but if
so, I have looked at this for so long now I will probably never find it! 

Can anyone assist me?

 

Thanks in advance

Alan T.

Cornwall UK.


[-- Attachment #1.2: Type: text/html, Size: 4834 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	other threads:[~2021-02-01 11:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 11:24 alant123 [this message]
2021-02-01 13:15 ` Måns Rullgård

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='000b01d6f88c$dff1bd40$9fd537c0$@btconnect.com' \
    --to=sox-users@lists.sourceforge.net \
    --subject='Re: Sox FM Radio Processing Example' \
    /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

This inbox may be cloned and mirrored by anyone:

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

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 sox-users sox-users/ https://public-inbox.org/sox-users \
		sox-users@lists.sourceforge.net
	public-inbox-index sox-users

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.audio.sox
	nntp://news.gmane.io/gmane.comp.audio.sox
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/sox.git

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