
How do I get Mathematica to play sounds in the Linux version?
The Linux versions of Mathematica do not support sound in the current release. Our developers are aware of this limitation and are currently investigating this functionality for a future release of Mathematica.
However, it is possible to have an external program other than Mathematica play the sound for you. To do this, you need to change the default call behavior for a given sound object in Mathematica to an
external program that can play the sound. In essence, you can use the play command that comes with every distribution of the Linux operating system. Please note that this is a suggested workaround and has not been fully tested.
To change this functionality, you can download the following module.
http://support.wolfram.com/mathematica/systems/linux/interface/sound.m
You must place this package somewhere in the $Path directories. For example, you could place sound.m in the following location.
~/.Mathematica/4.0/AddOns/Applications/
You then must add the following line to the init.m that is located in ~/.Mathematica/4.0/Kernel/ .
If[$ParentLink =!= Null, Get["sound.m"]];
Last modified May 23, 2000.
Questions or comments about this FAQ? Send email to
support@wolfram.com.
|