From owner-freebsd-questions@FreeBSD.ORG Tue May 7 00:24:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 366E44DF for ; Tue, 7 May 2013 00:24:44 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-qe0-f42.google.com (mail-qe0-f42.google.com [209.85.128.42]) by mx1.freebsd.org (Postfix) with ESMTP id F13E31CF for ; Tue, 7 May 2013 00:24:43 +0000 (UTC) Received: by mail-qe0-f42.google.com with SMTP id 1so445qee.1 for ; Mon, 06 May 2013 17:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=pbxGOIFm0AOQ97CMGIxdlc9iYMSQjvAI+Sij8rqKJHY=; b=Kap6WRGSMm0V0BtpJmnD7WPRZagI/rTyN4HKdV9GcS2M+jo99P9a2jU2vhNQ+afmZ6 pqDDsLirJclLfczuEE4vTLaW95HVmS295e7hJ29NQPt3bVhKQLbOkqnQsJXqmnlCEiFr H4FVVn4V9hW7daJyPN+RD71r/uccr0qj7ZnGOQcVReRVVWyKNDSzkVsnZRa9Nux+vLbY lyuL9TttNjVk87IvQpq/0m1JwGQwdMpQ18IqnTmIfc35PgWyGe0kshx+i7IUMLSGUHxB ffmn1r+MDwK1iOvbVhD75db6WPtZeHcrFSYS8P10hI8ZmZhXpnLkesL2EiE0wOeIjPkU Yv3Q== X-Received: by 10.224.49.131 with SMTP id v3mr135243qaf.54.1367886277128; Mon, 06 May 2013 17:24:37 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id n3sm42072768qat.6.2013.05.06.17.24.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 May 2013 17:24:36 -0700 (PDT) Message-ID: <518849BD.6010709@gmail.com> Date: Mon, 06 May 2013 19:24:29 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: script or c prog to record live audio? References: <20130506231902.GA26387@ethic.thought.org> In-Reply-To: <20130506231902.GA26387@ethic.thought.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2013 00:24:44 -0000 On 5/6/2013 6:19 PM, Gary Kline wrote: > > guys, > > I've been meaning to ask one of the Nix lists if there is a script that > will record something from kuow.org while I watch one of my favorite tv > broadcasts. most of the time, nothing is on tv, but this one radio > broadcast, "AR" co-insides with "NOVA" at 21:00. > > anybody know? > > > The hackish way I've done before is use wireshark do dump the network stream. In reality, I think you might be able to get by with fetch. I just tried and fetch closes the connection before buffering, using telnet does the transmit. The trick is mp3 streams are just inefficient mp3's. Maybe wget would work. You can add a cron job to start it and another to kill it.