Hello, I am sorry for the delayed answer.
Sox works like a charm, thank you for the suggestion. The "aplay" issue hasnt been resolved though, but Sox suits my needs. As for the card name, "aplay -L" lists this: *root@beaglebone:~# aplay -Lnull Discard all samples (playback) or generate zero samples (capture)default:CARD=Black TI BeagleBone Black, Default Audio Devicesysdefault:CARD=Black TI BeagleBone Black, Default Audio Devicedefault:CARD=Dongle VIA USB Dongle, USB Audio Default Audio Devicesysdefault:CARD=Dongle VIA USB Dongle, USB Audio Default Audio Device* that's why I used it as "Dongle" Best Regards, Maria Τη Πέμπτη, 28 Νοεμβρίου 2013 8:29:26 π.μ. UTC+2, ο χρήστης Steve French έγραψε: > > Maria, > Are you sure that "default:Dongle" is the correct name for your USB audio > device? On one of my setups, the audio devices look like this.... > root@VoVBBB3Angstrom0904:~# aplay -L (I think this is a SoX command) > null > Discard all samples (playback) or generate zero samples (capture) > sysdefault:CARD=Black > TI BeagleBone Black, > Default Audio Device > sysdefault:CARD=Device > Generic USB Audio Device, USB Audio > Default Audio Device > root@VoVBBB3Angstrom0904:~# > > I found that I can play an audio howl when using the > SoX<http://sox.sourceforge.net/>library like this... > aplay -D "default:CARD=Device" /home/root/audio/wolfhowl.wav > > I think it also works in the default Angstrom like this... > ffmpeg -i name.mp3 -f alsa "default:CARD=Device" -re -vol 255 > > (To install SoX in Angstrom) > opkg update > opkg install sox > > > I hope you get it to work! > -frenchy > > > > -- > Respectfully, > Steve French > President, Volt Vision > www.voltvision.com > > > On Tuesday, November 26, 2013 9:24:42 AM UTC-5, Maria Christopoulou wrote: >> >> >> Hello, >> >> I have some issues with a Usb Audio Dongle (COnrad) in Beaglebone Black. >> >> 1. I connect the Usb Audio Dongle in the BBB. >> 2. I run "speaker-test default:Dongle -t sine" to output audio from the >> dongle. >> 3. While the program runs, I hear the audio only in the first period. I >> don't hear the rest periods, although there is optical indication (LED >> light) that the dongle is operating. >> 4. I stop the program with Ctrl+C and when I run the above command again, >> it shows this error: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> *root@beaglebone:~# speaker-test -D default:Dongle -t sinespeaker-test >> 1.0.25Playback device is default:DongleStream parameters are 48000Hz, >> S16_LE, 1 channelsSine wave rate is 440.0000HzRate set to 48000Hz >> (requested 48000Hz)Buffer size range from 96 to 262144Period size range >> from 48 to 131072Using max buffer size 262144Periods = 4Unable to set hw >> params for playback: Input/output errorSetting of hwparams failed: >> Input/output error* >> I have to remove and place back the dongle, in order to retest. >> >> Any ideas? >> >> >> Thank you, >> >> Maria >> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
