Coroutines workaround in OSWeb?
Dear OS community,
Due to the pandemic we want to implement a signal detection task in OSWeb. In desktop OS, we use coroutines to play two audio recordings (the signal and the noise) simultaneously. This does not seem to be supported by OSWeb. I wonder if there is a walkaround by using the java inlinescript in OSWeb? Any advice is highly appreciated!
Many thanks in advance!
Comments
Hi @boyao,
Don't tell anyone, but coroutines support was silently added as of osweb 1.3.8 ;). We haven't created a big buzz around it as the implementation is highly untested, so you're bound to run into error using it. That being said, feel free to try it out, and if it works, it works. If you do run into unexpected errors, please do your part and let us know on the forum, or even better, at Osweb's issue tracker.
Fantastic thank you!