Sound in HIDMacro
Sound in HIDMacro
Hi just want to know if we can play sound via macro??
Re: Sound in HIDMacro
Not yet .
It was my idea to support this to have e.g. some recorded answers if you select something by key press, but
- I did some tests and didn't find an easy way to play mp3 file
- without threading support HIDmacros would be blocked until sound is played and no key presses would be recognized. And threading support is not that easy with active scripting
So sounds are not supported now, if there would be some bigger interest I could invest some time to investigate problems described above.
It was my idea to support this to have e.g. some recorded answers if you select something by key press, but
- I did some tests and didn't find an easy way to play mp3 file
- without threading support HIDmacros would be blocked until sound is played and no key presses would be recognized. And threading support is not that easy with active scripting
So sounds are not supported now, if there would be some bigger interest I could invest some time to investigate problems described above.
Petr Medek
LUAmacros author
LUAmacros author