sound recording in Ubuntu 11.04 etoys

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

sound recording in Ubuntu 11.04 etoys

François Barillon
Hello,

I'm trying to use the sound recording tool under Ubuntu 11.04.

Either etoys is freezing when I clic on the "record" button,
or etoys quits when I clic on the "play" button.

There is what is showed in the terminal :
----
etoys
sound: /dev/mixer: Erreur d'entrée/sortie
squeakvm: /build/buildd/squeak-vm-4.0.3.2202/unix/vm-sound-OSS/sqUnixSoundOSS.c :355 : dspOpen:  L'assertion « dsp->fd < 0 » a échoué.
Abandon
----

Do you know how to fix this?

Regards,

François

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Ubuntu 11.04 etoys

Bert Freudenberg

On 26.06.2011, at 12:34, François Barillon wrote:

> Hello,
>
> I'm trying to use the sound recording tool under Ubuntu 11.04.
>
> Either etoys is freezing when I clic on the "record" button,
> or etoys quits when I clic on the "play" button.
>
> There is what is showed in the terminal :
> ----
> etoys
> sound: /dev/mixer: Erreur d'entrée/sortie
> squeakvm: /build/buildd/squeak-vm-4.0.3.2202/unix/vm-sound-OSS/sqUnixSoundOSS.c :355 : dspOpen:  L'assertion « dsp->fd < 0 » a échoué.
> Abandon
> ----
>
> Do you know how to fix this?

You could try another sound module. What does your "etoys" script look like? In the latest Etoys-To-Go we use this:

# if pulseaudio is running, use it if VM has the driver, or fall back to OSS
if pulseaudio --check 2>/dev/null ; then
    if "$VM" -help 2> /dev/null | grep -q vm-sound-pulse ; then
        VMOPTIONS="$VMOPTIONS -vm-sound-pulse"
    else
        VMOPTIONS="$VMOPTIONS -vm-sound-oss"
        if padsp true 2>/dev/null ; then
            WRAPPER=padsp
        fi
    fi
fi

This prefers PulseAudio over OSS. Older scripts preferred OSS.

You could also try to remove this section and add either -vm-sound-pulse or -vm-sound-ALSA to VMOPTIONS.

Please let us know if you find a working combination!

- Bert -

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Ubuntu 11.04 etoys

K K Subbu
In reply to this post by François Barillon
On Sunday 26 Jun 2011 4:04:23 PM François Barillon wrote:
> sound: /dev/mixer: Erreur d'entrée/sortie
> squeakvm:
> /build/buildd/squeak-vm-4.0.3.2202/unix/vm-sound-OSS/sqUnixSoundOSS.c :355
> : dspOpen:  L'assertion « dsp->fd < 0 » a échoué.
Looks like your etoys vm is using the older OSS sound module. Try using the
newer vm-sound-ALSA for better results.

You may check your mic input levels with a program like Audacity before using
it with Etoys.

HTH .. Subbu
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev
Reply | Threaded
Open this post in threaded view
|

Re: sound recording in Ubuntu 11.04 etoys

François Barillon
Le mardi 28 juin 2011 à 16:43 +0530, K. K. Subramaniam a écrit :

> On Sunday 26 Jun 2011 4:04:23 PM François Barillon wrote:
> > sound: /dev/mixer: Erreur d'entrée/sortie
> > squeakvm:
> > /build/buildd/squeak-vm-4.0.3.2202/unix/vm-sound-OSS/sqUnixSoundOSS.c :355
> > : dspOpen:  L'assertion « dsp->fd < 0 » a échoué.
> Looks like your etoys vm is using the older OSS sound module. Try using the
> newer vm-sound-ALSA for better results.
>
> You may check your mic input levels with a program like Audacity before using
> it with Etoys.
>
> HTH .. Subbu
>
Hello,

I've uninstalled the repository version and downloaded the Etoys-to-go
version.

Recording is ok now.

But it could be useful to correct the Ubuntu 11.04 reposistory
version...

Regards,

François

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev