Hello!
I would like to have sound associated to the selection of buttons of my UI. From now on I simply print the beep character in a lua script: print(string.char(7) )
Is there an other simple way to play a sound?
Eric
Sound with v-rep
Re: Sound with v-rep
Hi Eric,
There are two ways I can think of:
1) Maybe there is a Lua extension library that allows doing that?
2) You could write a plugin that does this. Have a look at C/C++ sound libraries. Then, from your Lua script, you could call a custom Lua function, that will trigger a sound in the plugin
Cheers
There are two ways I can think of:
1) Maybe there is a Lua extension library that allows doing that?
2) You could write a plugin that does this. Have a look at C/C++ sound libraries. Then, from your Lua script, you could call a custom Lua function, that will trigger a sound in the plugin
Cheers