Howdy, Stranger!

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

Supported by

canvas or sketchpad needed ?

Hi,

I would like to know if I need a sketchpad or a canvas for the following :

in my expe participants need in a learning phase to click on different images to trigger specific sounds in the sampler.

Concretely there are 8 different images which triggers eight different sound files from the sampler, and these sound are associate with these images (the trigger is not random).

Next, in the test phase, sounds are presented to the participants in a random or sequential way, it depends on the condition, then participants need to click as fast as they can on the associate image.

So do you think I can create this using only a sketchpad ? In my mind if it works I need to load the images in the sketchpad, these images will have coordinates, and I just need to specify in the mouse_response a if condition with these coordinates which will trigger the right sound.

I dont know if it possible using only a sketchpad, or which part of the code I need to modify.

thanks for reading, and if possible for helping :smiley:

Comments

  • Hi,

    You could do this with a sketchpad, but you'll probably need an inline script anyway (for instance for declaring in which order the sounds are presented), and if you manage to do that in a script, then using a canvas won't be difficult either.

    Cheers

    Josh

  • Hi Josh,

    thanks for answering. When you said I need an inline script, you meant that I need to insert an inline script after the sketchpad or just that I need to modify the script in the sketchpad ? Or is it the same ?

    Thanks again !

  • edited March 2017

    Hi Robin,

    Unless you use forms, you will need an inline_script eventually. The presentation of the stimuli can work both in sketchpads and inline_scripts, the issue is the response collection. If clicks on certain regions of the screen/ certain button presses are required to trigger different events. It is close to impossible to implement this without some python coding. So, when you go for inline_scripting you basically have a part, in which you sample mouse clicks (or some other way of getting user input) and check whether this is within the limits of a certain image and trigger and action based on that.

    The alternative is forms. With forms, you would basically create a number of buttons on the screen, which will keep track what was was pressed where. It gets a little more complicated if you the buttons have to be images, but this discussion suggested a couple of nice solutions.

    Both ways can work, it's a little hard to foresee which is better. Once you decided how you want to tackle this we can give you also a little more detailed help.

    Does this help?

    Eduard

    Buy Me A Coffee

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