robertalab-ev3dev icon indicating copy to clipboard operation
robertalab-ev3dev copied to clipboard

Play sound files or show pictures

Open peacepro opened this issue 6 years ago • 1 comments

Is there a way to play soundfiles or show pictures from the ev3dev-media with OpenRobertaLab? Or how can I use the terminal?

peacepro avatar May 15 '19 08:05 peacepro

Not right now, but we have google-summer-of-student working on this feature. We actually we're awere of the ev3dev-media package, so thanks for letting us know. I need to check if the package is pre-installed.

What we could do it to scan the media at boot time (maybe cache the index) and report it to the open-roberta UI when connecting. The open-roberta UI could then add those files to the image-selectors (and later to the sound selectors). The code generator would need to produce some code to load the image at program start. This is not so nice, since we try to keep the programs self-contained, so that it does not break if the ev3dev-media package goes away (or is missing).

ensonic avatar May 15 '19 09:05 ensonic