Sound in Linux?

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

Sound in Linux?

darth-cheney
Hey all,

My Google-fu is failing me on this one. When I try to play sounds in Linux (using the class methods in AbstractSound), nothing happens and I don't hear anything. I assume there are some extra steps I need to take in my system but I cannot find the information online. I'm currently running Pop_os 20.04, which is based on Ubuntu 20.04.

Any ideas?

--
Eric


Reply | Threaded
Open this post in threaded view
|

Re: Sound in Linux?

David T. Lewis
On Tue, Aug 11, 2020 at 05:24:31PM -0400, Eric Gade wrote:

> Hey all,
>
> My Google-fu is failing me on this one. When I try to play sounds in Linux
> (using the class methods in AbstractSound), nothing happens and I don't
> hear anything. I assume there are some extra steps I need to take in my
> system but I cannot find the information online. I'm currently running
> Pop_os 20.04, which is based on Ubuntu 20.04.
>
> Any ideas?
>
> --
> Eric

The Unix VM for Squeak supports loadable VM modules for various sound and
display drivers. Try "squeak -help" from the command line to see available
options. For sound on an Ubuntu-like system, you maiy need to explicitly
specify the vm-sound-pulse audio driver.

Depending on how your VM is installed, it might look something like this:

  $ squeak -vm-sound-pulse squeak.image

You should be able to do "PluckedSound bachFugue play".

Dave