FreePIE
FreePIE copied to clipboard
Create BeepPlugin
The possibility to mark an event with a beep
Hi, I will take a close look at this after work, but my first impression is that it breaka our conventions, we do not let plugins spawn threads on their own, we want to Marshall them from the script engine, the start method returns an Action, this action runs in its own thread.
i agree, i have just written the idea, after i let you to implement with your convention the code.. i can modify easely some parts of the code, but some parts are complex....
Hmm, youre code spawns one thread for each tone played, that could hog the computer totally. My Action tip above spawns one thread. But then yo cant play two tones at the same time
i dont understant why i spawn one thread each time? its static class and a static class cant be instancied?? i spawn a thread and the thread is sleeping until another each tone awakes it. could you explain my error please?
after just one tone , yes its the idea..its just to validate an event (button pressed or other).
I just had a quick look at work, will look more closely