LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2015, 03:18 AM   #1
koval
LQ Newbie
 
Registered: Jan 2014
Posts: 8

Rep: Reputation: Disabled
Question rtl_fm SoX bandpass filter for CTCSS sub-tone


Hey!

I am using rtl_fm on my computer.

This command work great on my system

Code:
rtl_fm -M fm -f 433.075M -s 12k -g 40 -l 20 | play -r 12k -t raw -e s -b 16 -c 1 -V1 -

For now I need to use lowpass and highpass filter for audio signal. I need to filter CTCSS sub-tone.

When I am trying to run

Code:
rtl_fm -M fm -f 433.075M -s 12k -g 40 -l 20 | play highpass 300 lowpass 3000 -r 12k -t raw -e s -b 16 -c 1 -V1 -
it show me an error

Quote:
"play FAIL sox: Not enough input filenames specified"

Does anybody know how can I use bandpass filter in SoX utility correctly?
 
Old 02-23-2015, 11:00 PM   #2
Wocky
Member
 
Registered: Oct 2004
Location: Australia
Posts: 37

Rep: Reputation: 3
Quote:
Originally Posted by koval View Post
Hey!

When I am trying to run

Code:
rtl_fm -M fm -f 433.075M -s 12k -g 40 -l 20 | play highpass 300 lowpass 3000 -r 12k -t raw -e s -b 16 -c 1 -V1 -
it show me an error
highpass and lowpass are effects filters in sox, which must be placed after all filenames. Try this:
Code:
rtl_fm -M fm -f 433.075M -s 12k -g 40 -l 20 | play -r 12k -t raw -e s -b 16 -c 1 -V1 - highpass 300 lowpass 3000
 
1 members found this post helpful.
Old 02-24-2015, 05:53 AM   #3
koval
LQ Newbie
 
Registered: Jan 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Oh, thank you so much!
It's working !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find tone/frequency (dtmf etc) in soundfile using sox need2know Linux - Software 1 03-07-2013 08:58 AM
sox package, Slackware 13.1, fails on sox 1.wav -e stat burbabro Slackware 1 05-04-2011 02:26 AM
Dansguardian - Won't filter new addresses added to filter list TechnoBod Linux - Software 1 01-08-2008 01:40 AM
Spam filter to external mail filter deadlock Linux - Software 1 06-16-2004 02:28 AM
No Dial Tone nickellis Linux - Newbie 1 02-27-2004 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration