From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3561 216.34.176.0/20 X-Spam-Status: No, score=-3.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 2E994208DB for ; Fri, 25 Aug 2017 18:18:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1dlJBO-000809-4S; Fri, 25 Aug 2017 18:18:14 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1dlJBM-000803-To for sox-users@lists.sourceforge.net; Fri, 25 Aug 2017 18:18:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=foa8VbJricSTCr/wWDxNDplis0a3zb5dLDIgD7hYBCo=; b=RMYk82ZjgE3SYkfQpDTB3oEYYKzp7N8DS/ZDNmSqJx8EBD+l+CmrePXUi6pbusdxZih9Bna9pQujvJ1P+t56577aBtm+jUY+AhVdvVF1ImcsAEo4mJVQAOX2YGGq92G/gYPfcDrYQTKaoMTOQJQqqgw2r2/Xhx9UmgGEPQI1KWM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=foa8VbJricSTCr/wWDxNDplis0a3zb5dLDIgD7hYBCo=; b=fY88a2ucrd3bSc4UtDh5iyRTDso1ByoYIz42LEUjxyn4HaJEPtGCNBjijf5jwORfMhyn0gvKznFj74hX2vigZSuqeEmokorQssDS89YWpezVUubk8d+ZNdHWQYK5/r17uvcTwk2MiHk/Fu2QXdycC1eqD+1G44DapRraXf5ed8U=; X-ACL-Warn: Received: from ns.stare.cz ([79.98.77.229] helo=mx.stare.cz) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dlJBL-0004KJ-VV for sox-users@lists.sourceforge.net; Fri, 25 Aug 2017 18:18:12 +0000 Received: from www.stare.cz (localhost [127.0.0.1]) by www.stare.cz (OpenSMTPD) with ESMTP id 30f05bfc for ; Fri, 25 Aug 2017 20:18:05 +0200 (CEST) Date: Fri, 25 Aug 2017 20:18:05 +0200 From: Jan Stary To: sox-users@lists.sourceforge.net Message-ID: <20170825181805.GA68133@www.stare.cz> Mail-Followup-To: sox-users@lists.sourceforge.net References: <790552421.2332795.1503680652651.ref@mail.yahoo.com> <790552421.2332795.1503680652651@mail.yahoo.com> <20170825181244.GA63274@www.stare.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170825181244.GA63274@www.stare.cz> User-Agent: Mutt/1.7.1 (2016-10-04) X-Headers-End: 1dlJBL-0004KJ-VV Subject: Re: Recording in chunks using sox X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net On Aug 25 20:12:44, hans@stare.cz wrote: > > I want to direct the input audio > > from some dongle to sox, eg. something like > > rtl_fm -f 88.8M -d 0 -M wbfm | sox -r 32k -t s16 - -t ogg device_0.ogg > > here am using the rtl_fm terminal program. > > Why do you want to convert from the original format to ogg? See the attached script and its config. This is what I call from cron as in 00 06 * * 6 radio jazz 3600 $RADIO/`date +\%Y\%m\%d`-jazzrock.mp3 to download the radio shows I like. Note that this functionality has nothing to do with SoX - the stream is just dumped to a file. Jan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users