From: Joaquín Casillas Meléndez (jcasilla++at++glup.irobot.uv.es)
Date: 03/02/2000 01:45:02
El jue, 02 mar 2000, Gordon Tomlinson escribió:
> Hi
>
> There is NO sound in Performer
> you have to create your own use some 3dparty
> products such as MPI's Vega & Audio Works
>
>
>
> eibanez++at++euve.org wrote:
>
> > how can I intruduce sound in a IRIS Performer simulation? Which
> > node is used for it?
>
>
Well, if you only need to introduce some kind of sound without doing
complicated effects, I think there is no need to go to 3dparty products.
Just use the Digital Media Libraries from the Irix OS. With a little effort you
can get a base sound class i(and with more effort you
could get a lot of effects). You can use the sproc call in order to play sounds
asynchronously.
If you are in a hurry, you can do a system("sfplay sound_file") call.
By the way, if you are using performer with linux, you may use the
/dev/dsp device. There are audio libraries similar to the Irix libaudiofile,
and is very easy to program this kind of stuff.
Hope this helps.
___________________________________________________
Joaquín Casillas Meléndez Instituto de Robótica
Polígono de la Coma, s/n. Atdo. 2085 C.P. 46071
Phone: +34 6 398 3585 Fax: +34 6 398 3550
Universitat de València Valencia (SPAIN)
This archive was generated by hypermail 2b29 : Thu Mar 02 2000 - 02:08:42 PST