From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 12 16:02:25 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 93B2D16A400 for ; Tue, 12 Jun 2007 16:02:25 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 5D76513C45D for ; Tue, 12 Jun 2007 16:02:25 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (i222206.ppp.asahi-net.or.jp [61.125.222.206]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 2289B3AE18; Wed, 13 Jun 2007 01:02:23 +0900 (JST) Date: Wed, 13 Jun 2007 01:02:22 +0900 From: Watanabe Kazuhiro To: freebsd-multimedia In-Reply-To: <20070611171712.GC1461@ige.unicamp.br> References: <20070510115120.GB1716@ige.unicamp.br> <20070602124938.8F5123E054@mail.asahi-net.or.jp> <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> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20070612160223.2289B3AE18@mail.asahi-net.or.jp> Cc: 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 16:02:25 -0000 At Mon, 11 Jun 2007 14:17:12 -0300, Ricardo Campos Passanezi wrote: > On Tue, Jun 12, 2007 at 01:10:51AM +0900, Watanabe Kazuhiro wrote: > > At Mon, 11 Jun 2007 09:40:08 -0300, > > Ricardo Campos Passanezi wrote: > > > On Fri, Jun 08, 2007 at 01:03:36AM +0900, Watanabe Kazuhiro wrote: > > > > > > > > Will you show me the output of "dmesg | grep pcm" and > > > > "pciconf -lv | grep pcm" ? > > > > > > # dmesg | grep pcm > > > pcm0: port 0xb800-0xb8ff,0xb400-0xb47f irq 18 at device 2.7 > > > on pci0 > > > pcm0: > > > > > > # pciconf -lv | grep pcm > > > pcm0@pci0:2:7: class=0x040100 card=0x818f1043 chip=0x70121039 rev=0xa0 > > > hdr=0x00 > > > > > > Didn't work again... > > > > > > -- > > > Ricardo Campos Passanezi > > > > Hmmm... Can you record a sound with the PCM device from analog inputs > > other than the microphone input (line, cd, etc.)? > > sorry about my ignorance, but how do i test this? 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. > > Do "mixer igain 100" have no effect? Note that the value other than > > 100 (from 0 to 99) doesn't make sense. > > I'm testing 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: mic OK. These settings may be good. --- Watanabe Kazuhiro (CQG00620@nifty.ne.jp)