Re: [Alsa-user] EMU 0404 USB little problems
On 13/02/2008, Stancu Adrian [EMAIL PROTECTED] wrote: Hello, I recently acquired this interface and compiled the latest stable versions (1.0.16) of alsa-driver, alsa-firmware, alsa-lib and alsa-utils. For the moment, I can achieve playback through this interface. However, I have two little problems: 1) I am not able to change the sampling rate at which the interface operates, under Linux 2) (the most important one) While playing back, I can hear some periodic series of clicks. They last about 1-2 seconds and are not very loud, but not silent enough to be ignored ;) This happens at both the sampling rates that the driver currently supports: - at 44.1kHz, the serie of clicks occurs once at about 25-30 seconds - at 48kHz, this interval changes to about 35 seconds. This problem seems to be somehow related also to the material played back, because I generated a 'silence' wav file and the clicks do not occur when playing back this one, but are always appearing in normal (audible) material. Well, I would like to know if there is any way to avoid this issue (or at least, what is the cause?). What I do know is that I'm not the only one experiencing this type of problem, but it is very unclear to me if anybody actually managed to get a *totally* clean playback, without these periodic clicks. Thanks, Adi Currently, this device is not really supported. It still needs development work done on it in order to use different rates. James - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] EMU 0404 USB little problems
Hi, Thanks for your answer. I know the driver is still in beta stage. The lack of support for other sampling rates apart from 44.1k and 48k does affect me at all, what I wanted to achieve is just normal playback at these two rates (or at least one of them) without the artifacts. Thanks, Adi On Thu, Feb 14, 2008 at 12:26 PM, James Courtier-Dutton [EMAIL PROTECTED] wrote: On 13/02/2008, Stancu Adrian [EMAIL PROTECTED] wrote: Hello, I recently acquired this interface and compiled the latest stable versions (1.0.16) of alsa-driver, alsa-firmware, alsa-lib and alsa-utils. For the moment, I can achieve playback through this interface. However, I have two little problems: 1) I am not able to change the sampling rate at which the interface operates, under Linux 2) (the most important one) While playing back, I can hear some periodic series of clicks. They last about 1-2 seconds and are not very loud, but not silent enough to be ignored ;) This happens at both the sampling rates that the driver currently supports: - at 44.1kHz, the serie of clicks occurs once at about 25-30 seconds - at 48kHz, this interval changes to about 35 seconds. This problem seems to be somehow related also to the material played back, because I generated a 'silence' wav file and the clicks do not occur when playing back this one, but are always appearing in normal (audible) material. Well, I would like to know if there is any way to avoid this issue (or at least, what is the cause?). What I do know is that I'm not the only one experiencing this type of problem, but it is very unclear to me if anybody actually managed to get a *totally* clean playback, without these periodic clicks. Thanks, Adi Currently, this device is not really supported. It still needs development work done on it in order to use different rates. James - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] Help with arecord
People, I can use xine etc to play audio and video files happily but I have had limited success trying to record audio from the microphone. At one point I could hear sound from the microphone coming out of the speakers and after juggling krec, kmix and the audio manager was able to play a file using kaboodle and record it using krec but I have not been able to record to file directly from the microphone eg using: strace arecord -d 10 -f cd -t wav -D copy foobar.wav it is hanging on: unlink(foobar.wav)= 0 open(foobar.wav, O_WRONLY|O_CREAT|O_LARGEFILE, 0644) = 3 write(3, RIFF\304\352\32\0WAVE, 12) = 12 write(3, fmt \20\0\0\0, 8)= 8 write(3, \1\0\2\0D\254\0\0\20\261\2\0\4\0\20\0, 16) = 16 write(3, data\240\352\32\0, 8)= 8 ioctl(4, 0x4142, 0) = 0 poll( no matter how I use amixer to set the source. I have uploaded the ALSA data to: http://pastebin.ca/903687 If anyone could help me get this working it would be much appreciated! I would like to start using various audio apps including music software and VOIP stuff. Thanks in advance. Regards, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Fax: +61:(0)2-8221-9599 E-mail: [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Help with arecord
strace arecord -d 10 -f cd -t wav -D copy foobar.wav try: arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav or arecord -d 10 -f cd -t wav -D hw:0 foobar.wav Make sure copy is the right alias in your .asoundrc, otherwise you might need to use the card number (/proc/asound/cards (-D hw:0)). The -f S16_LE -r 44100 -c 2 is the long hand of -f cd. Long hand is easier to modify, if you want to use a different rate, or only one channel(mono). - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Help with arecord
James, On Thu, 2008-02-14 at 06:43 -0600, James Shatto wrote: strace arecord -d 10 -f cd -t wav -D copy foobar.wav try: arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav or arecord -d 10 -f cd -t wav -D hw:0 foobar.wav Make sure copy is the right alias in your .asoundrc, otherwise you might need to use the card number (/proc/asound/cards (-D hw:0)). The -f S16_LE -r 44100 -c 2 is the long hand of -f cd. Long hand is easier to modify, if you want to use a different rate, or only one channel(mono). I tried the second and got: $ arecord -d 10 -f cd -t wav -D hw:0 foobar.wav Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz) please, try the plug plugin arecord: pcm_read:1347: read error: Input/output error and I get a 44 byte foobar.wav file. My .asoundrc is: pcm.copy { type plug slave { pcm hw } route_policy copy } Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Fax: +61:(0)2-8221-9599 E-mail: [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Help with arecord
Hi! Probably you could try the samplerate conversion plugin. I don't know the exact name, but you can have a look at the alsa page. Look for the wiki main page and then look for the plugins. Kindest regards Julien Music was my first love and it will be my last (John Miles) FIND MY WEB-PROJECT AT: http://ltsb.sourceforge.net the Linux TextBased Studio guide === AND MY PERSONAL PAGES AT: === http://www.juliencoder.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Help with arecord
strace arecord -d 10 -f cd -t wav -D copy foobar.wav try: arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav or arecord -d 10 -f cd -t wav -D hw:0 foobar.wav I tried the second and got: $ arecord -d 10 -f cd -t wav -D hw:0 foobar.wav Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz) please, try the plug plugin arecord: pcm_read:1347: read error: Input/output error and I get a 44 byte foobar.wav file. My .asoundrc is: pcm.copy { type plug slave { pcm hw } route_policy copy } I'm not sure if that's the right syntax. Perhaps something like: pcm.copy { type plug pcm.slave alias of actual hardware } Or maybe pcm hw:0 for your version. .asoundrc is not my primary language, and I am but a lowly user. However with the previous recommendations, I got a 1.7MB audio file. But I have a mic and recorded sound in mine. I tried your conf and the hw:0 version of your conf. And both worked on my setup. Perhaps you have some other syntax issue in the asoundrc. Try moving that part to the top to get it interpreted before it runs into an error that stops it from interpretating. (just guessing though, any missing { { { or } } }'s?) In either case you should be able to do it long hand. arecord -d 10 -f S16_LE -r 48000 -c 2 -t wav -D hw:0 foobar.wav (based on previous error) (might also try -c 1, since many cards only record mono anyway) Perhaps the soundcard is locked by something like artsd, esd, jackd, ... As I wonder if any of the wrappers work. artsdsp, esddsp, aoss, ... In either case you probably want to stop any sound daemons that might be running interference. Also check your alsamixer settings. Make sure the mic / capture isn't muted. And otherwise exists. HTH - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] problem with edirol um-1 ex
Dear alsa-users, I have a problem with the Edirol UM-1EX. It's a USB midi interface. I connected it to my USB-port, but I could neither hear any sound from my soundcard nor could I input notes with rosegarden. I use Aureon 5.1. Fun PCI as soundcard. Do You have an idea what I could do to solve the problem? Thank You Stefan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] problem with edirol um-1 ex
Stefan Thomas wrote: I have a problem with the Edirol UM-1EX. It's a USB midi interface. I connected it to my USB-port, but I could neither hear any sound from my soundcard ... I use Aureon 5.1. Fun PCI as soundcard. Your sound card does not have a MIDI synthesizer. You'll have to run a software synthesizer like Timidity or fluidsynth. nor could I input notes with rosegarden. Do you want to input notes by hand, or are you using a MIDI keyboard? Regards, Clemens - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] problem with edirol um-1 ex
Dear Clemens, thanks for Your answer. Off course, I connectet, with aconnect, my keyboard with timidity, but without success. And, concerning rosegarden, off course I would like to input the notes with the keyboard, not by hand. But I don't know how to do it. 2008/2/14, Clemens Ladisch [EMAIL PROTECTED]: Stefan Thomas wrote: I have a problem with the Edirol UM-1EX. It's a USB midi interface. I connected it to my USB-port, but I could neither hear any sound from my soundcard ... I use Aureon 5.1. Fun PCI as soundcard. Your sound card does not have a MIDI synthesizer. You'll have to run a software synthesizer like Timidity or fluidsynth. nor could I input notes with rosegarden. Do you want to input notes by hand, or are you using a MIDI keyboard? Regards, Clemens - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Help with arecord
James, On Thu, 2008-02-14 at 07:21 -0600, James Shatto wrote: strace arecord -d 10 -f cd -t wav -D copy foobar.wav try: arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav or arecord -d 10 -f cd -t wav -D hw:0 foobar.wav I tried the second and got: $ arecord -d 10 -f cd -t wav -D hw:0 foobar.wav Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz) please, try the plug plugin arecord: pcm_read:1347: read error: Input/output error and I get a 44 byte foobar.wav file. My .asoundrc is: pcm.copy { type plug slave { pcm hw } route_policy copy } I'm not sure if that's the right syntax. Perhaps something like: pcm.copy { type plug pcm.slave alias of actual hardware } Or maybe pcm hw:0 for your version. .asoundrc is not my primary language, and I am but a lowly user. However with the previous recommendations, I got a 1.7MB audio file. But I have a mic and recorded sound in mine. I tried your conf and the hw:0 version of your conf. And both worked on my setup. Perhaps you have some other syntax issue in the asoundrc. Try moving that part to the top to get it interpreted before it runs into an error that stops it from interpretating. (just guessing though, any missing { { { or } } }'s?) In either case you should be able to do it long hand. arecord -d 10 -f S16_LE -r 48000 -c 2 -t wav -D hw:0 foobar.wav (based on previous error) (might also try -c 1, since many cards only record mono anyway) Perhaps the soundcard is locked by something like artsd, esd, jackd, ... As I wonder if any of the wrappers work. artsdsp, esddsp, aoss, ... In either case you probably want to stop any sound daemons that might be running interference. Also check your alsamixer settings. Make sure the mic / capture isn't muted. And otherwise exists. I renamed .asoundrc to .org, killed artsd and tried: arecord -d 10 -f S16_LE -r 48000 -c 2 -t wav -D hw:0 foobar.wav but I still get: $ arecord -d 10 -f S16_LE -r 48000 -c 2 -t wav -D hw:0 foobar.wav Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo arecord: pcm_read:1347: read error: Input/output error (-c 1 gives a different error). Alsamixer seems odd to me: - Mic is showing L R, CAPTUR but has no percentage bar - IEC958 P is showing L R, CAPTUR but has no percentage bar - Capture is also showing L R, CAPTUR but has the percentage bar at 100%. (See: http://pastebin.ca/903687) Thanks, Phil. -- Philip Rhoades Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Fax: +61:(0)2-8221-9599 E-mail: [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] problem with edirol um-1 ex
On Thu, 2008-02-14 at 23:16 +0100, Stefan Thomas wrote: Dear Clemens, thanks for Your answer. Off course, I connectet, with aconnect, my keyboard with timidity, but without success. And, concerning rosegarden, off course I would like to input the notes with the keyboard, not by hand. But I don't know how to do it. Can you start the program 'aseqdump' at the command line and then using aconnect or whatever connect your midi keyboard port to the input of aseqdump, if you see events then it is working and you need to determine how to select which channel the software you want to use is using, or change the channel the keyboard sends. /J\ 2008/2/14, Clemens Ladisch [EMAIL PROTECTED]: Stefan Thomas wrote: I have a problem with the Edirol UM-1EX. It's a USB midi interface. I connected it to my USB-port, but I could neither hear any sound from my soundcard ... I use Aureon 5.1. Fun PCI as soundcard. Your sound card does not have a MIDI synthesizer. You'll have to run a software synthesizer like Timidity or fluidsynth. nor could I input notes with rosegarden. Do you want to input notes by hand, or are you using a MIDI keyboard? Regards, Clemens - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] can't get mic to work on snd-intel8x0
Hi All, I'm very new to ALSA and in fact I've never had the need to change the default setting before. However in this occasion and with my desktop PC I've trying to configure my mic in order to use programs like skype but no luck. I'm running fedora 8 and KDE 3.5. I hear sounds fine but my mic is not working (I use a record to test it and all I hear is silence). The soundcard detection utility gives me the following details: Vendor: Intel Corporation Model: 82801FB/FBM/FR/FW/FRW (IHC6 Family) AC'97 Audio Controller Module: snd-intel8x0 What I noticed is that in Kmix under the input tab if try to put the capture slider to the top it gets down to 0 every time I quit the app. Also and since the PC is Dell Dimension 5000 I have two mic connectors (one at the front and the other at the back of the PC) and they appear to be listed in kmix as mic1 and mic2 but none of them is working. My /etc/modprobe.conf below: [EMAIL PROTECTED] ~]# cat /etc/modprobe.conf alias eth0 b44 alias scsi_hostadapter libata alias scsi_hostadapter1 ata_piix alias scsi_hostadapter2 usb-storage alias snd-card-0 snd-intel8x0 options snd-card-0 index=0 options snd-intel8x0 index=0 alias wlan0 ath5k [EMAIL PROTECTED] ~]# rpm -qa | grep -i alsa alsa-utils-1.0.15-1.fc8 alsa-plugins-pulseaudio-1.0.15-2.fc8 alsa-lib-1.0.15-1.fc8 alsamixergui-0.9.0-0.3.rc1.fc8.2 bluez-utils-alsa-3.20-4.fc8 I have no ~/.asoundrc ... Any help is extremely appreciated. Thanks in advance, Daniel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user