Recording Equipment Discussions

Flat
failed to begin input stream
User: docroc
Date: 6/6/2011 5:22 am
Views: 15739
Rating: 26

All,

Please forgive a newbie question. I'm just trying to get a quick "hello world" going with julius so I can make sure it will work with my equipment. I'm using a Revolabs Xtag microphone but I also get an error when I use my Quickcam Orb microphone. Both microphones work with my sound recorder.

This is my command line:

./julius -input mic -C /home/ubuntu/Documents/julian.jconf

This is the bottom of the result:

### read waveform input
Stat: adin_oss: device name = /dev/dsp (application default)
Error: adin_oss: failed to open /dev/dsp
failed to begin input stream

any help or advice appreciated

doc

Re: failed to begin input stream
User: kmaclean
Date: 6/7/2011 10:59 am
Views: 269
Rating: 37

>Error: adin_oss: failed to open /dev/dsp

Are these USB microphones? if so:

The Speech Submission applet assumes that you will use your default audio source.  On Fedora 14, you can set your default audio source for your USB microphone in your Sound Preferences:

  • System > Preferences > Sound
  • click the 'Input' tab to 'choose a device for sound input'
  • select your USB device
Re: failed to begin input stream
User: docroc
Date: 6/7/2011 5:29 pm
Views: 1114
Rating: 33

Thanks for the reply.

Yes they are USB sources.

I'm using Ubuntu 10. For each case I have selected the microphone I am using in the sound utility. The microphones work in the sound recorder.

Re: failed to begin input stream
User: colbec
Date: 6/19/2011 7:34 am
Views: 632
Rating: 28

It's possible that your /dev/dsp is not pointed at the right device. If you have a mobo audio in/out then this is likely /dev/dsp0, and any other audio devices such as USB will be /dev/dspx on top of that.

Devices that are always attached will get picked up on boot and assigned numbers, even if in your system they are deactivated or not used.

Read up on what Julius says about the AUDIODEV environment variable, set it, export it and try again. In my OpenSUSE the audio manager pulseaudio seems to control arecord and aplay but Julius does not see the system settings.

Re: failed to begin input stream
User: kmaclean
Date: 8/2/2011 9:08 am
Views: 7746
Rating: 29

Are you using the newest version of Julius (v4.2)?

see this thread: Julius 4.2 and mic input

PreviousNext