{"id":43,"date":"2008-04-23T20:40:31","date_gmt":"2008-04-23T19:40:31","guid":{"rendered":"http:\/\/wvw.constantvzw.org\/?p=43"},"modified":"2008-04-23T20:51:32","modified_gmt":"2008-04-23T19:51:32","slug":"whats-soundcards-do-you-have","status":"publish","type":"post","link":"https:\/\/wvw.constantvzw.org\/whats-soundcards-do-you-have\/","title":{"rendered":"What soundcard(s) do you have?"},"content":{"rendered":"
I have recently been working on a manual for a certain script with which you can easily record interviews, without having to edit them. More about this script will follow later.<\/p>\n
During the research and testing phase of this script, I have encountered many a challenge (euphemism for problem). At this moment in time, my computer has Ubuntu Gutsy Gibbon – Gnome desktop<\/a> – and an Ubuntu Studio realtime kernel (installed through synaptic).<\/p>\n One of the challenges is the multiplicity of sounddrivers\/sound servers. <\/a><\/p>\n This is what I can choose from: Now, as I try to work with a script, I need the command line version of this: This command displays all soundcards and digital devices that can be used to capture sound – at that moment:<\/p>\n $ arecord -l<\/p><\/blockquote>\n On my computer I get a result indicating that my soundcard of my laptop is hardware device number 0 for capturing and the external soundcard (USB) is hardware device number 2:<\/p>\n $ arecord -l Now, I want to record a test sound through my external soundcard, via arecord (in the Terminal).<\/p>\n $ arecord -f dat -d 20 -D hw:1,1 test.wav<\/p><\/blockquote>\n The sound is recorded in the file where you are on that moment in your Terminal.<\/p>\n *Extra* – To see which soundcard(s) are installed on your computer:<\/p>\n $ cat \/proc\/asound\/cards<\/p><\/blockquote>\n – To check what sound modules are loaded:<\/p>\n $ cat \/proc\/modules|grep snd<\/p><\/blockquote>\n Thanks to linuxquestions.org<\/a> and Cyberciti.biz<\/a> for the online inspiration. <\/p>\n","protected":false},"excerpt":{"rendered":" I have recently been working on a manual for a certain script with which you can easily record interviews, without having to edit them. More about this script will follow later. During the research and testing phase of this script, I have encountered many a challenge (euphemism for problem). At this moment in time, my […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,3,10,6],"tags":[],"_links":{"self":[{"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/posts\/43"}],"collection":[{"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":0,"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"wp:attachment":[{"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wvw.constantvzw.org\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\nAlsa – OSS- ESD -> and to make stuff more complex, I use an external soundcard..
\nHere is where you find the sound preferences of your Linux computer through the graphical interface (by using your mouse (^_^).<\/p>\n
\n<\/a><\/p>\n
\nAnd this is where arecord comes in.
\nArecord<\/a> = alsarecord <\/p>\n
\n**** List of CAPTURE Hardware Devices ****
\ncard 0: ICH6 [Intel ICH6], device 0: Intel ICH [Intel ICH6]
\n Subdevices: 1\/1
\n Subdevice #0: subdevice #0
\ncard 0: ICH6 [Intel ICH6], device 1: Intel ICH – MIC ADC [Intel ICH6 – MIC ADC]
\n Subdevices: 1\/1
\n Subdevice #0: subdevice #0
\ncard 0: ICH6 [Intel ICH6], device 2: Intel ICH – MIC2 ADC [Intel ICH6 – MIC2 ADC]
\n Subdevices: 1\/1
\n Subdevice #0: subdevice #0
\ncard 0: ICH6 [Intel ICH6], device 3: Intel ICH – ADC2 [Intel ICH6 – ADC2]
\n Subdevices: 1\/1
\n Subdevice #0: subdevice #0
\ncard 1: Pro [FastTrack Pro], device 1: USB Audio [USB Audio #1]
\n Subdevices: 1\/1
\n Subdevice #0: subdevice #0<\/p><\/blockquote>\n
\nTwo commands which give handy results for trouble shooting:<\/p>\n