From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 12 18:41:17 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 446C516A468 for ; Tue, 12 Jun 2007 18:41:17 +0000 (UTC) (envelope-from riccp@ige.unicamp.br) Received: from saturno.ige.unicamp.br (saturno.ige.unicamp.br [143.106.76.34]) by mx1.freebsd.org (Postfix) with ESMTP id BF8FB13C487 for ; Tue, 12 Jun 2007 18:41:16 +0000 (UTC) (envelope-from riccp@ige.unicamp.br) Received: from localhost (localhost [127.0.0.1]) by saturno.ige.unicamp.br (Postfix) with ESMTP id E247A119C51; Tue, 12 Jun 2007 15:41:13 -0300 (BRT) X-Virus-Scanned: amavisd-new at ige.unicamp.br Received: from netuno.ige.unicamp.br (netuno.ige.unicamp.br [143.106.76.2]) by saturno.ige.unicamp.br (Postfix) with ESMTP id AD4B2119C4E; Tue, 12 Jun 2007 15:41:13 -0300 (BRT) Received: by netuno.ige.unicamp.br (Postfix, from userid 1000) id 44FEB5C7A; Tue, 12 Jun 2007 15:41:14 -0300 (BRT) Date: Tue, 12 Jun 2007 15:41:14 -0300 From: Ricardo Campos Passanezi To: Watanabe Kazuhiro Message-ID: <20070612184114.GB1474@ige.unicamp.br> References: <20070604140241.GA1474@ige.unicamp.br> <20070605145944.B750E3C23C@mail.asahi-net.or.jp> <20070605163410.GA1496@ige.unicamp.br> <20070606162049.995E53DFA5@mail.asahi-net.or.jp> <20070606172107.GA1475@ige.unicamp.br> <20070607160336.CBCBA2D4CF@mail.asahi-net.or.jp> <20070611124008.GA1461@ige.unicamp.br> <20070611161051.EEA7F347C9@mail.asahi-net.or.jp> <20070611171712.GC1461@ige.unicamp.br> <20070612160223.2289B3AE18@mail.asahi-net.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070612160223.2289B3AE18@mail.asahi-net.or.jp> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-multimedia Subject: Re: Problem recording, using X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 18:41:17 -0000 On Wed, Jun 13, 2007 at 01:02:22AM +0900, Watanabe Kazuhiro wrote: > > > Hmmm... Can you record a sound with the PCM device from analog inputs > > > other than the microphone input (line, cd, etc.)? ... > > For example, if you want to record a sound from an audio CD analog > output, try the following commands. In this procedure we choose > ports/audio/wavplay as a recording and playback software. > > $ mixer =rec cd # Select CD as an input source. > $ cdcontrol play # Start playback of the audio CD. > $ wavrec -S -s 44100 -b 16 -t 10 test.wav > # Record a sound (from the CD drive). > # Duration: 10 secs. > $ cdcontrol stop # Stop the CD. > $ wavplay test.wav # Play the test WAV file. > > Of course you have already to connect the analog audio cable from the > CD/DVD drive to the audio CD input pinhead. > With: # mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 80:80 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 75:75 Mixer cd is currently set to 75:75 Mixer rec is currently set to 75:75 Mixer igain is currently set to 100:100 Mixer ogain is currently set to 0:0 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Recording source: cd It worked fine... -- Ricardo Campos Passanezi - Administrador de Rede Chave PGP e GPG Pública em: http://www.ige.unicamp.br/~riccp Instituto de Geociências - http://www.ige.unicamp.br - UNICAMP