Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Is it possible to design an SSVEP visual stimulus for use with the Android Runtime Environment?

I am currently working on a BCI (Brain Computer Interface) project where we use SSVEP visual displays to measure brain activity in the visual cortex. So far we've been using MATLAB and the PsychToolBox to create the stimulus, but I've been tasked with making the whole thing portable. Meaning, I need to figure out how to use the SSVEP stimulus in a mobile device, preferably an android tablet. We had originally thought of making a mobile application, for which we considered using either Java or Python, but after some thought and conversations, my team decided we should use Python because it might mix in better with how we handled data acquisition from the EEG signals. I had found some papers where people used Java to build their app and controlled the stimulus with OpenGL ES, but I am currently looking for other alternatives since we have decided to use Python.

First I found Kivy to make mobile apps, but then I found Expyriment, which seems to be the best solution at the moment, given that I wouldn't have to build an app from the ground up. However, I read on the installation page for expyriment android runtime environment, that it doesn't provide OpenGL support. This scares me as it may seem that maybe I won't be able to pull off something like an SSVEP visual stimulus with Expyriment? Do any of you know if its still possible to achieve this? Could you recommend other tools, alternatives, or tips in general? Any help is greatly appreciated. Thank you.

Comments

  • Hi there,

    Expyriment on Android indeed does not use OpenGL. Mainly because normal OpenGL is not available there, but only a special version of it (OpenGL ES). I believe that the PyOpengl Package can nowadays also target OpenGL ES, or at least parts of it, but I have not investigated this any further. The current version of Expyriment does at least not make use of it. We have recently been discussing how to advance in the Android domain, and there are several open issues currently, which is also why the latest Android version is still based on Expyriment 0.7.0.

    In Expyriment we use OpenGL currently for the sole purpose of being able to block on the vertical retrace in order to have millisecond accurate visual presentation timing. Hence, if you need something right now, and you need very tight visual timing (i.e. accurate to 1 ms) I am afraid it might be better to look for something else at the moment. Kivy would indeed be my first suggestion then.

    Hope this helps. Let me know if you have any further questions.

  • Thank you for your response! Okay so what I got from your message is that since Expyriment uses OpenGL in order to be accurate to 1 ms, given that expyriment for android doesn't have OpenGL support, it would be hard / nearly impossible to be accurate to 1 ms with it? And so I should look for other alternatives? Given that this is what you were trying to say, I still fear that a similar problem might arise with Kivy. Do you happen to know if Kivy would be able to support such precise timing? (being able to display images at 4hz-20hz)

  • I think OpenGL ES provides a similar way of blocking on the vertical retrace. We just have not looked into implementing OpenGL ES support yet. Maybe in the future.

    I am not sure how Kivy handles blocking either. Maybe best to ask in their forum (if they have one).

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games