julius wants /dev/dsp as input device

Bug #298447 reported by Bert Vermeulen on 2008-11-15
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
julius (Ubuntu)
Wishlist
Unassigned

Bug Description

Binary package hint: julius

The julius commandline utility is typically called with "-input mic", to take input from a microphone. However, this not only defaults to /dev/dsp -- an OSS device -- but can't really be changed easily.

When compiling julius with "--with-mictype=alsa", it will use an ALSA microphone, but you still have to set the ALSA device to use with the ALSADEV environment variable.

The real bug, of course, is that julius should use the the system capture device as set with System -> Preferences -> Sound capture.

Package: julius_4.0.2-0ubuntu1_i386.deb

Siegfried Gevatter (rainct) wrote :

Thank you for your bug report.

You can change the device by setting the variable AUDIODEV.

description: updated
Changed in julius (Ubuntu):
importance: Undecided → Wishlist
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in julius (Ubuntu):
status: New → Confirmed
IRIE Shinsuke (irie) wrote :

libasound should be linked by default because OSS has been removed in Ubuntu 10.10.

It's very annoying that we have to use padsp command for all programs built with libjulius and libsent.

This should get fixed with the new version 4.2.2 pls see bug# 1032429

Don't know yet if someone has the energy & power to SRU this.

IRIE Shinsuke (irie) wrote :

Probably this problem is not fixed by only updating to 4.2.2.

Because development files of ALSA library need to be installed when building Julius with the ALSA support, libasound2-dev has to be added to Build-Depends in debian/control.

I'm trying to build Julius 4.2.2 on Ubuntu 11.10 amd64 with:
./configure --enable-words-int --with-mictype=alsa

This commands ends with
...
configure: error: no ALSA header!
configure: error: ./configure failed for libsent

i have installed libasound2-dev libesd0-dev libsndfile1-dev try with --with-mictype alsa or pulseaudio or esd, none worked but i would like to use default audio driver for Ubuntu.

I read about "padsp" and "AUDIODEV" but i dont what to do, i have searched but still confused.

I downloaded the sources from julius site and i have this problem on Ubuntu 11.10 and 12.04 i383 and amd64. On Ubuntu 10.04 i use oss and it can work as expected. Now I'm not able to run on newer versions of Ubuntu.

Can someone give an example that what should I do?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers