Sound

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

Sound

Jeffery Billing
I am trying to use the 'sound' widget.
I get an error 'primitive has failed'
Where do I go from here?
I am using Ubuntu 8.04 and can use recording and play in 'Praat speech
analyser' so my sound system is working in Ubuntu but can't get any
sound in Squeak.
The Movie Player also fails.
I am using Squeak 3.9.
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Sound

Michael van der Gulik-2
On Mon, 26 May 2008 15:29:22 +0930
<[hidden email]> wrote:

> I am trying to use the 'sound' widget.
> I get an error 'primitive has failed'
> Where do I go from here?
> I am using Ubuntu 8.04 and can use recording and play in 'Praat speech
> analyser' so my sound system is working in Ubuntu but can't get any
> sound in Squeak.
> The Movie Player also fails.
> I am using Squeak 3.9.

Under Ubuntu (and Linux), Squeak requires the sound plugin. This should be a file called vm-sound-ALSA (or vm-sound-OSS) and could be located in /usr/local/squeak/lib (from memory) or whereever you installed squeak.

Try running "squeak -vm-sound-ALSA" and see what is output. "squeak -help" will have more information.

Gulik.

--
Michael van der Gulik <[hidden email]>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Sound

Jeffery Billing
Hi Gulik,
Many thanks for prompt reply.
Everything worked fine.
I have attached details of my commands in the Terminal.
As you will see the ALSA gave problems but the OSS worked perfectly.
I am not sure how I install this plugin so that it is there when I open
from my desktop icon. (Yes I am new to Ubuntu as well!!).
Regards
Jeff.



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

soundProblem.png (248K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Sound

Bert Freudenberg

On 26.05.2008, at 14:17, Jeffery Billing wrote:

> Hi Gulik,
> Many thanks for prompt reply.
> Everything worked fine.
> I have attached details of my commands in the Terminal.
> As you will see the ALSA gave problems but the OSS worked perfectly.
> I am not sure how I install this plugin so that it is there when I  
> open
> from my desktop icon. (Yes I am new to Ubuntu as well!!).

Why are you trying to run squeak as super user?

But it sounds like you got it working with OSS, right? Anything else  
you need?

- Bert -


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Sound

Michael van der Gulik-2
In reply to this post by Jeffery Billing


On Tue, May 27, 2008 at 12:17 AM, Jeffery Billing <[hidden email]> wrote:
Hi Gulik,
Many thanks for prompt reply.
Everything worked fine.
I have attached details of my commands in the Terminal.
As you will see the ALSA gave problems but the OSS worked perfectly.
I am not sure how I install this plugin so that it is there when I open
from my desktop icon. (Yes I am new to Ubuntu as well!!).


The ALSA error you found looks like an authentic bug. I don't see those XIO errors on my machine; I wonder what they are.

If you right-click on the desktop icon for Squeak, you should be able to find somewhere that you can type in the command; you should in theory be able to append "-vm-sound-OSS" to that. I can't really help you much more here; I use IceWM and run Squeak from an xterm because it's heaps faster.

You shouldn't need to use sudo to run Squeak.

Cheers,
Gulik.

--
http://people.squeakfoundation.org/person/mikevdg
http://gulik.pbwiki.com/
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Sound

Chris Kassopulo-2
In reply to this post by Jeffery Billing
On Mon, 26 May 2008 21:47:33 +0930, Jeffery Billing wrote:

> Hi Gulik,
> Many thanks for prompt reply.
> Everything worked fine.
> I have attached details of my commands in the Terminal. As you will see
> the ALSA gave problems but the OSS worked perfectly. I am not sure how I
> install this plugin so that it is there when I open from my desktop
> icon. (Yes I am new to Ubuntu as well!!). Regards
> Jeff.
>

Greetings,

The error:

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 416 requests (416 known processed) with 0 events remaining.

is generated when squeak exits and does not seem to be related to whether or
not sound is working.

The Ubuntu Squeak package does not contain the sound plugins.

You need to:
copy as root vm-sound-ALSA and vm-sound-OSS to /usr/lib/squeak/3.9-8
put an image and changes files in a ~/directory
add a link as root "ln -s /usr/share/squeak/SqueakV39.sources /usr/bin"

Now you can run squeak ~/directory/image.

Chris


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Re: Sound

Jeffery Billing
Chris,
I followed your instructions and at one point in the proceedings
everything worked.
I then found that whatever I did it would not work - so don't know what
happened.
I have spent 6 hours on this so will try again tomorrow with a fresh
brain.
At least I know it will work!!! so some progress.
Jeff

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Re: Sound

Michael van der Gulik-2


On Wed, May 28, 2008 at 1:19 AM, Jeffery Billing <[hidden email]> wrote:
Chris,
I followed your instructions and at one point in the proceedings
everything worked.
I then found that whatever I did it would not work - so don't know what
happened.
I have spent 6 hours on this so will try again tomorrow with a fresh
brain.
At least I know it will work!!! so some progress.


Wow... I wish I had a full 6 hours to work on Squeak!

Gulik.

--
http://people.squeakfoundation.org/person/mikevdg
http://gulik.pbwiki.com/
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Re: Sound

Jeffery Billing
In reply to this post by Chris Kassopulo-2
Re-Sound
Thank you to all who helped. Sound is now working.
Jeff.

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners