LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-03-2009, 03:26 PM   #1
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 215

Rep: Reputation: 18
I want to monitor the sound I am recording


I am running Fedora 9. I want to be able to record audio (I am using streamer to do so) but currently I cannot listen to what I am recording - I can listen after the event. Sometimes I check levels using Audacity.

I have been using the sound stuff on the motherboard - so I thought that perhaps that didn't like recording and playing symultaneously - so I put in a SoundBlaster card and tried that. I disabled the motherboard sound through the BIOS. At the moment, I can play audio files but I do not seem to be able to record anything.

If I open AlsaMixer, I get something that looks like two Volume sliders but with nothing to slide.

I have done a dmesg, a /sbin/lspci and also, from audacity, the Audio Device Information. Three are below.

Any help would be much appreciated.

By the way, I also have a Video Capture card which claims Audio input - but I do not use that.

dmesg output
Initializing cgroup subsys cpuset
Linux version 2.6.25.11-97.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Mon Jul 21 01:31:09 EDT 2008

SNIP - let me know if I snipped too much

Linux video capture interface: v2.00
saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:04:02.0[A] -> GSI 18 (level, low) -> IRQ 18
saa7133[0]: setting pci latency timer to 64
saa7133[0]: found at 0000:04:02.0, rev: 209, irq: 18, latency: 64, mmio: 0xfebff800
saa7133[0]: subsystem: 17de:7253, board: KWorld DVB-T 210 [card=114,insmod option]
saa7133[0]: board init: gpio is 100
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA sound/pci/hda/hda_intel.c:1810: chipset global capabilities = 0x4401
saa7133[0]: i2c eeprom 00: de 17 53 72 ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c scan: found device @ 0x10 [???]
ALSA sound/pci/hda/hda_intel.c:749: codec_mask = 0x1
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
ALSA sound/pci/hda/hda_codec.c:2857: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0)
ALSA sound/pci/hda/hda_codec.c:2861: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:2865: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:2866: mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:2874: inputs: mic=0x18, fmic=0x19, line=0x1a, fline=0x0, cd=0x0, aux=0x0
saa7133[0]: i2c scan: found device @ 0x96 [???]
saa7133[0]: i2c scan: found device @ 0xa0 [eeprom]
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Headphone Playback Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Speaker Playback Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Mono Playback Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Line-Out Playback Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Speaker Playback Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Mono Playback Switch, skipped
tuner' 1-004b: chip found @ 0x96 (saa7133[0])
tda8290 1-004b: setting tuner address to 61
tda8290 1-004b: type set to tda8290+75a
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0
DVB: registering new adapter (saa7133[0])
DVB: registering frontend 0 (Philips TDA10046H DVB-T)...
tda1004x: setting up plls for 48MHz sampling clock
SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
mtrr: base(0xd0000000) is not aligned on a size(0xff00000) boundary
tda1004x: timeout waiting for DSP ready
tda1004x: found firmware revision 0 -- invalid
tda1004x: trying to boot from eeprom
tda1004x: timeout waiting for DSP ready
device-mapper: multipath: version 1.0.5 loaded
tda1004x: found firmware revision 0 -- invalid
tda1004x: waiting for firmware upload...
tda1004x: no firmware upload (timeout or file not found?)
tda1004x: firmware upload failed
loop: module loaded
EXT3 FS on dm-0, internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev sda1, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Adding 2031608k swap on /dev/mapper/VolGroup00-LogVol01. Priority:-1 extents:1 across:2031608k
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk>
ip6_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
warning: `dbus-daemon' uses deprecated v2 capabilities in a way that may be insecure.
fuse init (API version 7.9)
SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: BNEP filters: protocol multicast
Bridge firewalling registered
pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
r8169: eth0: link up
r8169: eth0: link up
mtrr: no MTRR for d0000000,ff00000 found
mtrr: base(0xd0000000) is not aligned on a size(0xff00000) boundary
eth0: no IPv6 routers present
SELinux: initialized (dev fuse, type fuse), uses genfs_contexts

/sbin/lspci output
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
04:01.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
04:02.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:02.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

Audacity Audio Device Information
==============================
Default capture device number: 0
Default playback device number: 0
==============================
Device ID: 0
Device name: OSS: /dev/dsp
Input channels: 16
Output channels: 16
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Device ID: 1
Device name: OSS: /dev/dsp1
Input channels: 16
Output channels: 0
Low Input Latency: 0.011610
Low Output Latency: 0.011610
High Input Latency: 0.046440
High Output Latency: 0.046440
Supported Rates:
==============================
Device ID: 2
Device name: ALSA: CA0106: CA0106 (hw:0,0)
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.010667
High Input Latency: 0.046440
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 3
Device name: ALSA: CA0106: CA0106 (hw:0,1)
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.010667
High Input Latency: 0.046440
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 4
Device name: ALSA: CA0106: CA0106 (hw:0,2)
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.010667
High Input Latency: 0.046440
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 5
Device name: ALSA: CA0106: CA0106 (hw:0,3)
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.010667
High Input Latency: 0.046440
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 6
Device name: ALSA: Brooktree Bt878: Bt87x Digital (hw:1,0)
Input channels: 2
Output channels: 0
Low Input Latency: 0.016000
Low Output Latency: -1.000000
High Input Latency: 0.064000
High Output Latency: -1.000000
Supported Rates:
==============================
Device ID: 7
Device name: ALSA: Brooktree Bt878: Bt87x Analog (hw:1,1)
Input channels: 1
Output channels: 0
Low Input Latency: 0.004286
Low Output Latency: -1.000000
High Input Latency: 0.017143
High Output Latency: -1.000000
Supported Rates:
==============================
Device ID: 8
Device name: ALSA: front
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.010667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 9
Device name: ALSA: rear
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.010667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 10
Device name: ALSA: center_lfe
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.010667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 11
Device name: ALSA: side
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.010667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 12
Device name: ALSA: surround41
Input channels: 0
Output channels: 128
Low Input Latency: -1.000000
Low Output Latency: 0.010667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 13
Device name: ALSA: surround50
Input channels: 0
Output channels: 128
Low Input Latency: -1.000000
Low Output Latency: 0.010667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 14
Device name: ALSA: iec958
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.010667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 15
Device name: ALSA: spdif
Input channels: 2
Output channels: 2
Low Input Latency: 0.011610
Low Output Latency: 0.010667
High Input Latency: 0.046440
High Output Latency: 0.042667
Supported Rates:
48000
96000
192000
==============================
Device ID: 16
Device name: ALSA: dmix
Input channels: 0
Output channels: 2
Low Input Latency: -1.000000
Low Output Latency: 0.042667
High Input Latency: -1.000000
High Output Latency: 0.042667
Supported Rates:
48000
==============================
Selected capture device: 0 - OSS: /dev/dsp
Selected playback device: 0 - OSS: /dev/dsp
Supported Rates: 8000
9600
11025
12000
15000
16000
22050
24000
32000
44100
48000
88200
96000
192000
==============================
Available mixers:
==============================
Available capture sources:
==============================
Available playback volumes:
0 - Mic
1 - Line1
2 - Digital1
3 - PhoneIn
4 - PhoneOut
==============================
Capture volume is emulated
Capture volume is emulated
Thanks
 
Old 02-03-2009, 04:46 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You should be able to record (with playback / monitoring) in audacity (or ardour).

Audacity -> Edit -> Preferences -> Audio I/O -> Play other tracks while recording new one
and
Audacity -> Edit -> Preferences -> Audio I/O -> Software Playthrough: Play new tracks while recording it

With ardour you just need to setup the right connections in jackd. qjackctl or jack_connect

You might also be able to set that up in your alsamixer settings. For my Delta 44 there's a H/W and H/W 1 (+ 2 + 3), just change that from PCM Out to H/W In. Be careful though since a mic picking up output will cause feedback.
 
Old 02-03-2009, 04:53 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
A lot of the integrated soundcards are NOT full-duplex. But they can record and playback at the same time, it's just that what's playing back will get partially captured on the recorded track. You need a full duplex soundcard to do multi-tracking. Not sure about playthrough, but you might need it there too. My laptop is particularly horrid in this regard. Desktops should be better, but not always.
 
Old 02-05-2009, 01:59 PM   #4
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 215

Original Poster
Rep: Reputation: 18
I seem to have lost the ability to record.

I have reverted to the original hardware configuration - ie I have
removed the soundcard and re-enabled the onboard sound. I have reset the BIOS to indicate this.

Now, If I plug in a sound source (a radio) into the line-in and headphones into the output I can hear the radio through the headphones. However, I cannot record the radio.

If I start Sound Recorder, that gives me the opportunity to open Volume Control which gives me the chance to "Change Device". It lists 7 devices
0: HDA Intel (Alas mixer)
1: Brooktree Bt878 (Also mixer) --- This is my video card
2: Realtek ALC888 (OSS Mixer)
3: Playback: ALSA PCM on front:0(ALC888 Analog) via DMA (PulseAudio Mixer)
4: Capture: ALSA PCM on hw:1 (Bt87x Digital) via DMA (PulseAudio Mixer)
5: Capture Monitor Source of ALSA PCM on front:0(ALC888 Analog) via DMA (PulseAudio Mixer)
6: Capture: ALSA PCM on front:0(ALC888 Analog) via DMA (PulseAudio Mixer)

With the default (0) selected, I can slide the 'line' volume up and down - and that makes a difference in my headphones. However, if I try and record - either with streamer or with Audacity I get nothing (or so it would seem). If I try to record with Sound Recorder - it hangs.

Where should I look to find out how to get recording back?
 
Old 02-05-2009, 02:01 PM   #5
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 215

Original Poster
Rep: Reputation: 18
Here is my updated lspci

[Ian@localhost ~]$ /sbin/lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
04:02.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:02.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
 
  


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
sound recording truly Linux - Hardware 1 09-16-2005 02:16 PM
Sound recording ionmich Slackware 2 12-05-2004 08:16 PM
Sound Recording robhargreaves Linux - Software 1 05-21-2004 06:01 PM
Q: sound recording befuddled Linux - Laptop and Netbook 2 01-25-2004 08:26 AM
Sound recording nouwen Linux - Newbie 1 10-03-2003 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:18 AM.

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