From brobinso at mprc.umaryland.edu Thu Apr 5 14:07:21 2007 From: brobinso at mprc.umaryland.edu (Ben Robinson) Date: Thu, 5 Apr 2007 10:07:21 -0400 Subject: holding down a button for repeated responding Message-ID: hi all. i'm trying to figure out a way to interpret a held-down key as a repeated key press. for a little background, i'm working on a flicker paradigm where a trial consists of two slides presented one after the other. one slide has green boxes around the center, and the other has red boxes in the same locations around the center. when presented rapidly and repeatedly, the screen appears to flicker green-red. depending on the user's response, i adjust the redness of the red objects until the green and red objects are equiluminant (at which time you should no longer notice a flicker between the two slides). if my red starts out as 255,0,0 (an RGB value), each Button1 press would subtract 1 from the Red value, making the new RGB value 254,0,0. i'd like to be able to cycle rapidly all the way through the 256 different levels of Red, but 256 individual button presses is not fun. i would like the user to be able to press and hold a keyboard button down in order to comfortably cycle through all these levels of red. the first time it's pressed EPrime interprets the press with no problem, but the next time it cycles through the trial, if the button is still pressed, i'd like EPrime to interpret that as an additional button press. is there a way to check the status of the button (depressed, or extended)? that's just one thought. anyone have a better idea? ben robinson From brobinso at mprc.umaryland.edu Thu Apr 5 15:58:43 2007 From: brobinso at mprc.umaryland.edu (Ben Robinson) Date: Thu, 5 Apr 2007 11:58:43 -0400 Subject: holding down a button for repeated responding Message-ID: if anyone's interested... i figured out a solution by adding presses and releases to the allowable responses (while presses are 1s and 2s, eprime codes releases as -1s and -2s). then i run through the following set of if-thens at the end of each trial: */Dim myRed as Integer Dim myRedRGB as String Dim holdDown as Integer*/ 'these three variables need to be pasted into the User tab of the Script window If RedScreen.ACC = 0 Then '(an ACC of 1 kicks you out of the loop - just press ENTER when you've found isoluminance) Select Case RedScreen.RESP Case "{LEFTARROW}" holdDown = 1 If myRed > 0 Then myRed = myRed-1 Else myRed = 255 End If Case "{-LEFTARROW}" holdDown = 0 Case "{RIGHTARROW}" holdDown = 2 If myRed < 255 Then myRed = myRed+1 Else myRed = 0 End If Case "{-RIGHTARROW}" holdDown = 0 Case Else Select Case holdDown Case 1 If myRed > 0 Then myRed = myRed-1 Else myRed = 255 End If Case 2 If myRed < 255 Then myRed = myRed+1 Else myRed = 0 End If End Select End Select Goto Label1 End If >>> "Ben Robinson" 4/5/2007 10:07 AM >>> hi all. i'm trying to figure out a way to interpret a held-down key as a repeated key press. for a little background, i'm working on a flicker paradigm where a trial consists of two slides presented one after the other. one slide has green boxes around the center, and the other has red boxes in the same locations around the center. when presented rapidly and repeatedly, the screen appears to flicker green-red. depending on the user's response, i adjust the redness of the red objects until the green and red objects are equiluminant (at which time you should no longer notice a flicker between the two slides). if my red starts out as 255,0,0 (an RGB value), each Button1 press would subtract 1 from the Red value, making the new RGB value 254,0,0. i'd like to be able to cycle rapidly all the way through the 256 different levels of Red, but 256 individual button presses is not fun. i would like the user to be able to press and hold a keyboard button down in order to comfortably cycle through all these levels of red. the first time it's pressed EPrime interprets the press with no problem, but the next time it cycles through the trial, if the button is still pressed, i'd like EPrime to interpret that as an additional button press. is there a way to check the status of the button (depressed, or extended)? that's just one thought. anyone have a better idea? ben robinson From sma215 at nyu.edu Thu Apr 19 18:33:33 2007 From: sma215 at nyu.edu (Stephani Foraker) Date: Thu, 19 Apr 2007 13:33:33 -0500 Subject: drag-and-drop with mouse? Message-ID: Hi, Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX? any suggestions appreciated. Thanks, Stephani Stephani Foraker *Please note my preferred email address* sforaker at uchicago.edu From leisha at decisionresearch.org Thu Apr 19 22:42:10 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 19 Apr 2007 15:42:10 -0700 Subject: drag-and-drop with mouse? In-Reply-To: Message-ID: I would probably use in-line code to redraw the screen rather than slide states, just because I found that method to be so easy. Leisha Wharfield Decision Research Eugene, Oregon, USA Stephani Foraker wrote: >Hi, > >Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. > >My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. > >but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX? > >any suggestions appreciated. >Thanks, Stephani > > > >Stephani Foraker >*Please note my preferred email address* >sforaker at uchicago.edu > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- "Whenever I find myself in the cellar of affliction, I always look about for the wine." -Samuel Rutherford From r.l.c.mitchell at reading.ac.uk Fri Apr 20 10:39:42 2007 From: r.l.c.mitchell at reading.ac.uk (Rachel Mitchell) Date: Fri, 20 Apr 2007 11:39:42 +0100 Subject: Two scenarios Message-ID: Hello everybody :-) I have 2 scenarios that I need some help setting up. I can think of very long winded ways of doing what I need, i.e. by typing in 64x64 lines in the stimuli list, but I suspect there are experts out there who know that it can be done much more simply. 1) I have 64 happy sentences, 64 sad sentences and 64 neutral sentences. Trials involve hearing 2 sentences, and judging whether they convey the same emotion (happy followed by a different happy sentence, sad followed by sad) or a different emotion (happy then sad, happy then neutral, sad then happy, sad then neutral, neutral then happy, neutral then sad). I need to make sure half my trials are same judgements and half different judgements, without there being an easily detectable pattern, e.g. alternate same and different all the way through. In simple terms, how can I achieve this? 2) I have 64 sentences, and each is recorded at 7 different amplitude levels. During the whole task I intend to play 70 sentences. If e.g. sentence 39 is selected by e-prime, then I need to make sure that at some point during the task, the subject will hear all 7 versions of sentences 39. But, importantly, these 7 versions must be scattered randomly throughout the trials, i.e. they must not follow each other consecutively. I must confess I don't quite understand nesting, and have a deep-seated phobia of in-line script! Hoping you can help Best wishes Rachel -------------------------------------------------------- Dr Rachel L. C. Mitchell. Lecturer in Cognitive Psychology, University of Reading. Senior Honorary Research Fellow, Institute of Psychiatry. Research Psychologist, Berkshire Healthcare NHS Trust. Correspondence Address: School of Psychology and Clinical Language Sciences, Whiteknights Road University of Reading Reading Berkshire RG6 6AL Tel: +44 (0)118 378 8523 Direct Dial: +44 (0)118 378 7530 Fax: +44 (0)118 378 6715 ----------------------------------------------------------------------- From smoeller at umich.edu Fri Apr 20 15:22:48 2007 From: smoeller at umich.edu (Scott Moeller) Date: Fri, 20 Apr 2007 11:22:48 -0400 Subject: varying lengths of exposure based on responses Message-ID: Dear Colleagues, I'm fairly new to using e-prime, and I'm hoping someone can help me out with a question. A somewhat recent paper (Aharon et al., 2001) describes a task in which participants are exposed to faces. The catch is that participants could vary the amount of exposure they had to these faces by their responses. The default length of exposure was 8s. If they wanted the faces to disappear faster, they could alternate pressing the "z" and "x" keys. However, if they wanted the pictures to remain on the screen for longer than 8s, they could alternate pressing the "n" and "m" keys. The authors used Authorware (Macromedia) for this task. I was wondering if a similar task could be performed using e-prime. Thank you for your time! Best regards, Scott Moeller University of Michigan From leisha at decisionresearch.org Fri Apr 20 19:04:36 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Fri, 20 Apr 2007 12:04:36 -0700 Subject: Two scenarios In-Reply-To: Message-ID: Regarding point #2, I'm wondering how it is determined which sentence will be played 7 different times. Is it the first sentence? Because if it is, I might make all 64 x 3 possible questions available in an initial task, then use that random pick to establish which set of 6 other sentences would be played later. I would use both nesting and inline code. Supposing that from the initial list the sentence picked is Sentence39. Get that attribute from the response to the initial trial, and use it to call out a list in the next, main trial. So, Sentence39 = Amp39, say, where Amp39 is a list with your 6 other sentence39s in it. Amp39 is the value of another attribute, say [AmpList], which will be called out in the main trial. Then you could set up the main trial, nesting happy, sad, & neutral sentences in one line that has a weight of 63. On a second item in the main list, nest [AmpList], and give that item and its associated list a value of 6. If the selection is random, you will get the additional 6 variations of Sentence39 scattered throughout the task, along with the 63 other sentences. Of course if you want half the judged pairs of sentences to be the same and half not to be the same, you'll have to manipulate how the items are selected from the nested lists, because if you have three lists in the task, where each list has the same number of items and the same weight, odds are you'll get twice as many random samples that are not matched. I'm sure there's an easy way to make this adjustment via weight and selection settings. Hopefully someone else on the list will jump in with a suggestion. Leisha Wharfield Decision Research Eugene, Oregon, USA Rachel Mitchell wrote: >Hello everybody :-) > >I have 2 scenarios that I need some help setting up. >I can think of very long winded ways of doing what I need, i.e. by typing in >64x64 lines in the stimuli list, but I suspect there are experts out there >who know that it can be done much more simply. > >1) I have 64 happy sentences, 64 sad sentences and 64 neutral sentences. >Trials involve hearing 2 sentences, and judging whether they convey the same >emotion (happy followed by a different happy sentence, sad followed by sad) >or a different emotion (happy then sad, happy then neutral, sad then happy, >sad then neutral, neutral then happy, neutral then sad). >I need to make sure half my trials are same judgements and half different >judgements, without there being an easily detectable pattern, e.g. alternate >same and different all the way through. >In simple terms, how can I achieve this? > >2) I have 64 sentences, and each is recorded at 7 different amplitude >levels. >During the whole task I intend to play 70 sentences. >If e.g. sentence 39 is selected by e-prime, then I need to make sure that at >some point during the task, the subject will hear all 7 versions of >sentences 39. >But, importantly, these 7 versions must be scattered randomly throughout the >trials, i.e. they must not follow each other consecutively. > > >I must confess I don't quite understand nesting, and have a deep-seated >phobia of in-line script! > >Hoping you can help > >Best wishes >Rachel > > >-------------------------------------------------------- >Dr Rachel L. C. Mitchell. >Lecturer in Cognitive Psychology, University of Reading. >Senior Honorary Research Fellow, Institute of Psychiatry. >Research Psychologist, Berkshire Healthcare NHS Trust. > >Correspondence Address: >School of Psychology and Clinical Language Sciences, >Whiteknights Road >University of Reading >Reading >Berkshire >RG6 6AL > >Tel: +44 (0)118 378 8523 >Direct Dial: +44 (0)118 378 7530 >Fax: +44 (0)118 378 6715 >----------------------------------------------------------------------- > > > > > -- "Whenever I find myself in the cellar of affliction, I always look about for the wine." -Samuel Rutherford From pauls_postbus at hotmail.com Sat Apr 21 17:38:07 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 21 Apr 2007 19:38:07 +0200 Subject: drag-and-drop with mouse? Message-ID: hi stephani, You will require some inline script to implement drag-and-drop or other mouse operations. Note that real drag and drop operations might experience screen flickering when the drawing operations (including the background) are complex or when the computer is slow. To avoid this problem you could use two single-click operations on source and destination area’s. I’ve used the HitTest function of the slide object in several scripts to determine which area was selected. The nice thing about this is that the slide sub-objects can also be an empty slidetext subobject. (I.e. a dummy slidetext subobject to define a selectable area.) To change the position of a slide sub-object you can modify the X and Y properties of the objects before the slide is drawn. However, you don’t have to use slides if you can draw the screen yourself with some inline script. An example of this approach can be found at: http://www.psy.vu.nl/download/menu/xml/eprime_script_tohx.xml best, Paul Groot VU University, Amsterdam > From: sma215 at nyu.edu> To: eprime at mail.talkbank.org> Date: Thu, 19 Apr 2007 13:33:33 -0500> Subject: drag-and-drop with mouse?> > Hi,> > Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. > > My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. > > but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX?> > any suggestions appreciated.> Thanks, Stephani> > > > Stephani Foraker> *Please note my preferred email address*> sforaker at uchicago.edu> _________________________________________________________________ Probeer Live.nl Probeer Live.nl: zoekmachine van de makers van MSN! -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Sat Apr 21 17:43:54 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 21 Apr 2007 19:43:54 +0200 Subject: drag-and-drop with mouse? Message-ID: oops..., resending previous email because the reply is embedded as hidden text hi stephani, You will require some inline script to implement drag-and-drop or other mouse operations. Note that real drag and drop operations might experience screen flickering when the drawing operations (including the background) are complex or when the computer is slow. Another approach is the point and click operation on source and destination area's, which is less demanding. I've used the HitTest function of the slide object in several scripts to determine which area was selected. The nice thing about this is that the slide object can also be an empty slidetext object. (I.e. a dummy slidetext object to define a selectable area.) To change the position of a slide object you can modify the X and Y properties of the objects before the slide is drawn.However, you don't have to use slide objects if you can draw the screen yourself with some inline script. An example script can be found at: http://www.psy.vu.nl/download/menu/xml/eprime_script_tohx.xml best,PaulVU University, Amsterdam > From: sma215 at nyu.edu> To: eprime at mail.talkbank.org> Date: Thu, 19 Apr 2007 13:33:33 -0500> Subject: drag-and-drop with mouse?> > Hi,> > Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. > > My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. > > but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX?> > any suggestions appreciated.> Thanks, Stephani> > > > Stephani Foraker> *Please note my preferred email address*> sforaker at uchicago.edu> _________________________________________________________________ http://www.live.nl Windows Live Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgoldin at stanford.edu Sat Apr 21 17:56:29 2007 From: pgoldin at stanford.edu (philippe goldin) Date: Sat, 21 Apr 2007 10:56:29 -0700 Subject: changing text while video plays on a slide in Eprime v2 Message-ID: Greetings Eprime community: We are using Eprime version 2 to show a video clip of 12s duration on a slide that also contains a rating scale below the video object. Thus, we used a slide with tow objects: a movie object and a text object. We want to regularly update and change the text every 500ms using a loop syntax without interrupting the 12s video clip. In other words, on a single slide, how can we refresh the text object every 500ms while letting the 12s video clip continue to play? The goal is to be able to collect continuous ratings (using the text refresh procedure where position indicates a rating on a scale) while subjects view a video clip. Any and all suggestions will be greatly appreciated!!! Thank you in advance for helping us figure this out. philippe ************************************************************** Philippe Goldin, Ph.D. Department of Psychology Stanford University Jordan Hall, Bldg. 420, Room 126 Stanford, CA 94305 Tel: 650-723-5977 Fax: 650-725-5699 E-mail: pgoldin at stanford.edu website: Clinically Applied Affective Neuroscience http://www-psych.stanford.edu/~caan/ From pauls_postbus at hotmail.com Sat Apr 21 18:21:31 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 21 Apr 2007 20:21:31 +0200 Subject: varying lengths of exposure based on responses Message-ID: Hello Scott, one way of doing this is the following (I assume you already have a simple script for displaying the stimuli): Add the following declarations to the gloabal user script (menu-view-script-user tab): Const ExposureDelta% = 1000Const ExposureLowLimit% = 1000Const ExposureHighLimit% = 20000 dim iExposureTime as longdim strPrevResp as string Then, insert an inline script object to initialize the global iExposureTime variable (this would normally be at the start of a block): iExposureTime = 8000 Then, insert an inline script just before the image object (called Stim in this example) to set the exposure time of the simulus object: Stim.Duration = iExposureTime Finally, insert an inline script after the stimulus object to check the response and modify the exposure time: ' get the response Dim t as stringt = LCase$(Stim.RESP) ' check response and alternation if t="n" And strPrevResp<>"n" Or t="m" And strPrevResp<>"m" then iExposureTime = iExposureTime + ExposureDeltaelseif t="z" And strPrevResp<>"z" Or t="x" And strPrevResp<>"x" then iExposureTime = iExposureTime - ExposureDeltaend if 'check upper and lower limits if iExposureTimeExposureHighLimit then iExposureTime = ExposureHighLimitend if ' remember the response to check for alternation strPrevResp = t You might consider removing the alternation test (and related code) and only use two keys because eprime will not generate repeating key presses when the key is hold-down. (Authorware will!) Hope this helps, Paul Groot VU University, Amsterdam > Date: Fri, 20 Apr 2007 11:22:48 -0400> From: smoeller at umich.edu> To: eprime at mail.talkbank.org> Subject: varying lengths of exposure based on responses> > Dear Colleagues,> > I'm fairly new to using e-prime, and I'm hoping someone can help me out > with a question.> > A somewhat recent paper (Aharon et al., 2001) describes a task in which > participants are exposed to faces. The catch is that participants > could vary the amount of exposure they had to these faces by their > responses. The default length of exposure was 8s. If they wanted the > faces to disappear faster, they could alternate pressing the "z" and > "x" keys. However, if they wanted the pictures to remain on the screen > for longer than 8s, they could alternate pressing the "n" and "m" keys.> > The authors used Authorware (Macromedia) for this task. I was > wondering if a similar task could be performed using e-prime.> > Thank you for your time!> > Best regards,> > Scott Moeller> University of Michigan> _________________________________________________________________ Probeer Live.nl Probeer Live.nl: zoekmachine van de makers van MSN! -------------- next part -------------- An HTML attachment was scrubbed... URL: From rachkingston at aol.com Sun Apr 22 14:52:53 2007 From: rachkingston at aol.com (rachkingston at aol.com) Date: Sun, 22 Apr 2007 10:52:53 -0400 Subject: Nested, Discrimination Task Message-ID: I am using eprime to build a series of tasks related to the perception of emotional tones of voice from the presentation of sentences. I am trying to build a discrimination task which asks the participant to listen to two consecutive sentences (sentence pairs) and then decide whether they are the 'same' or 'different' in their emotional intonation. I am new to using eprime and have used the 'nested' method to do this. Below I have copied how my 'triallist' looks. Weight Procedure Nested Stim1 Stim2 1 TrialProc HappyList, SadList [Hsentence] [Ssentence] 2 TrialProc HappyList [Hsentence] [Hsentence] 1 TrialProc HappyList, NeutralList [Hsentence] [Nsentence] 2 TrialProc SadList [Ssentence] [Ssentence] 1 TrialProc SadList, HappyList [Ssentence] [Hsentence] 1 TrialProc SadList, NeutralList [Ssentence] [Nsentence] 1 TrialProc NeutralList, SadList [Nsentence] [Ssentence] 1 TrialProc NeutralList, HappyList [Nsentence] [Hsentence] 2 TrialProc NeutralList [Nsentence] [Nsentence] The problem I am encountering is that when the participant is presented with pairs of 'same' sentences (in relation to emotional intonation), eprime is actually presenting the same sentence in relation to its content. For example: The sad list is selected and two sentences with sad emotional tone are conveyed. The problem is that these sentences are both "The girl walked up the stairs" (i.e. same content). I am not sure how to set it up so that although both sentences are sad, eprime selects two different sad sentences (different content) from the list of sad sentences. Many thanks Rachel Kingston -------------- next part -------------- An HTML attachment was scrubbed... URL: From listman at listserv.linguistlist.org Mon Apr 23 00:23:16 2007 From: listman at listserv.linguistlist.org (Listserv Administrator) Date: Sun, 22 Apr 2007 20:23:16 -0400 Subject: Dual-Task Experiment Message-ID: ---------- Forwarded message ---------- Date: Mon, 9 Apr 2007 15:20:40 -0400 (EDT) From: listserv Date: Mon, 9 Apr 2007 14:16:03 -0500 From: "Mark Chan" To: eprime at mail.talkbank.org Subject: Dual-Task Experiment Dear E-Primers, My colleague and I have been working on programming a Dual-Task experiment on Eprime. Not much luck as of late. I hope some of you may offer some insight as to how we should go about programming. The task(s) are as follows: 1. Auditory task. We will be presenting words randomly (from a wordlist) at a steady pace - 2500msec ISI between each word. The onset of response to these words will be logged with the Voicekey function within the SRBox. If the participant fails to respond within 2500msec, the next word will be presented . 2. Visual Task. Participants will be making their response by hitting the whenever they see a number appear on the screen. The numbers are presented randomly by means of an inline. The duration of this visual stimuli is 250ms. Each visual stimuli is separated by a mask that lasts 900msec. Both tasks will run simultaneously. The auditory task is allowed to reloop in random order if the wordlist contains insufficient words to run the duration of the visual task. The experiment will end once the visual task is completed (approximately 30mins). I don't think slide objects work as they do not allow the tasks to be run and logged simultaneously and independently. Thanks for your help! Mark From pauls_postbus at hotmail.com Mon Apr 23 20:39:53 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Mon, 23 Apr 2007 22:39:53 +0200 Subject: Nested, Discrimination Task Message-ID: hi Rachel, I don't have the EPrime manual at hand, but I remember you will have to add indices after the nested attribute names: 2 TrialProc HappyList [Hsentence:1] [Hsentence:2] (Not completely sure about this syntax, so you might have to check the manual though!) best, Paul Groot VU University, Amsterdam To: eprime at mail.talkbank.orgSubject: Nested, Discrimination TaskDate: Sun, 22 Apr 2007 10:52:53 -0400From: rachkingston at aol.com I am using eprime to build a series of tasks related to the perception of emotional tones of voice from the presentation of sentences. I am trying to build a discrimination task which asks the participant to listen to two consecutive sentences (sentence pairs) and then decide whether they are the 'same' or 'different' in their emotional intonation. I am new to using eprime and have used the 'nested' method to do this. Below I have copied how my 'triallist' looks. Weight Procedure Nested Stim1 Stim2 1 TrialProc HappyList, SadList [Hsentence] [Ssentence] 2 TrialProc HappyList [Hsentence] [Hsentence] 1 TrialProc HappyList, NeutralList [Hsentence] [Nsentence] 2 TrialProc SadList [Ssentence] [Ssentence] 1 TrialProc SadList, HappyList [Ssentence] [Hsentence] 1 TrialProc SadList, NeutralList [Ssentence] [Nsentence] 1 TrialProc NeutralList, SadList [Nsentence] [Ssentence] 1 TrialProc NeutralList, HappyList [Nsentence] [Hsentence] 2 TrialProc NeutralList [Nsentence] [Nsentence] The problem I am encountering is that when the participant is presented with pairs of 'same' sentences (in relation to emotional intonation), eprime is actually presenting the same sentence in relation to its content. For example: The sad list is selected and two sentences with sad emotional tone are conveyed. The problem is that these sentences are both "The girl walked up the stairs" (i.e. same content). I am not sure how to set it up so that although both sentences are sad, eprime selects two different sad sentences (different content) from the list of sad sentences. Many thanks Rachel Kingston _________________________________________________________________ http://www.live.nl Windows Live Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From liuhc at psych.ac.cn Tue Apr 24 01:00:25 2007 From: liuhc at psych.ac.cn (=?gb2312?B?bGl1aGM=?=) Date: Tue, 24 Apr 2007 09:00:25 +0800 Subject: How can I leave this maillist? Message-ID: I want to leave this maillist, but I do not know the way. Could you tell me? Thank you very much! -------------- next part -------------- An HTML attachment was scrubbed... URL: From psp48d at bangor.ac.uk Thu Apr 26 11:30:40 2007 From: psp48d at bangor.ac.uk (psp48d at bangor.ac.uk) Date: Thu, 26 Apr 2007 12:30:40 +0100 Subject: Task-switching Message-ID: Hi, I have designed a task-switching paradigm, involving 3 lists (one for each task). Each list contains 9 cues and 9 stimuli, and the list the stimuli is chosen from is chosen by a randomisation using the following code: Dim trialarray(2) as integer trialarray(0) = 1 trialarray(1) = 2 trialarray(2) = 3 Randomizearray trialarray c.Setattrib "Lag_Condition", trialarray(1) Dim Task Task = c.GetAttrib ("Lag_Condition") if Task = 1 then Borderlist.Run c elseif Task=2 then Angledlist.Run c else Shadedlist.Run c End if This randomises on every trial, but how do I set the code so that it remains random, but DOES NOT ALLOW the previous list to be relevant to the current selection? I am trying to get it so the task never repeats, but remains random. How is this done?!?! Many thanks! Jim Grange, Bangor University UK. -- This mail sent through http://webmail.bangor.ac.uk -- Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar unwaith a dilëwch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio â defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid yn cynrychioli barn Prifysgol Cymru, Bangor. Nid yw Prifysgol Cymru, Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Cymru, Bangor. www.bangor.ac.uk This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of the University of Wales, Bangor. The University of Wales, Bangor does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the University of Wales, Bangor Finance Office. www.bangor.ac.uk From brobinso at mprc.umaryland.edu Thu Apr 5 14:07:21 2007 From: brobinso at mprc.umaryland.edu (Ben Robinson) Date: Thu, 5 Apr 2007 10:07:21 -0400 Subject: holding down a button for repeated responding Message-ID: hi all. i'm trying to figure out a way to interpret a held-down key as a repeated key press. for a little background, i'm working on a flicker paradigm where a trial consists of two slides presented one after the other. one slide has green boxes around the center, and the other has red boxes in the same locations around the center. when presented rapidly and repeatedly, the screen appears to flicker green-red. depending on the user's response, i adjust the redness of the red objects until the green and red objects are equiluminant (at which time you should no longer notice a flicker between the two slides). if my red starts out as 255,0,0 (an RGB value), each Button1 press would subtract 1 from the Red value, making the new RGB value 254,0,0. i'd like to be able to cycle rapidly all the way through the 256 different levels of Red, but 256 individual button presses is not fun. i would like the user to be able to press and hold a keyboard button down in order to comfortably cycle through all these levels of red. the first time it's pressed EPrime interprets the press with no problem, but the next time it cycles through the trial, if the button is still pressed, i'd like EPrime to interpret that as an additional button press. is there a way to check the status of the button (depressed, or extended)? that's just one thought. anyone have a better idea? ben robinson From brobinso at mprc.umaryland.edu Thu Apr 5 15:58:43 2007 From: brobinso at mprc.umaryland.edu (Ben Robinson) Date: Thu, 5 Apr 2007 11:58:43 -0400 Subject: holding down a button for repeated responding Message-ID: if anyone's interested... i figured out a solution by adding presses and releases to the allowable responses (while presses are 1s and 2s, eprime codes releases as -1s and -2s). then i run through the following set of if-thens at the end of each trial: */Dim myRed as Integer Dim myRedRGB as String Dim holdDown as Integer*/ 'these three variables need to be pasted into the User tab of the Script window If RedScreen.ACC = 0 Then '(an ACC of 1 kicks you out of the loop - just press ENTER when you've found isoluminance) Select Case RedScreen.RESP Case "{LEFTARROW}" holdDown = 1 If myRed > 0 Then myRed = myRed-1 Else myRed = 255 End If Case "{-LEFTARROW}" holdDown = 0 Case "{RIGHTARROW}" holdDown = 2 If myRed < 255 Then myRed = myRed+1 Else myRed = 0 End If Case "{-RIGHTARROW}" holdDown = 0 Case Else Select Case holdDown Case 1 If myRed > 0 Then myRed = myRed-1 Else myRed = 255 End If Case 2 If myRed < 255 Then myRed = myRed+1 Else myRed = 0 End If End Select End Select Goto Label1 End If >>> "Ben Robinson" 4/5/2007 10:07 AM >>> hi all. i'm trying to figure out a way to interpret a held-down key as a repeated key press. for a little background, i'm working on a flicker paradigm where a trial consists of two slides presented one after the other. one slide has green boxes around the center, and the other has red boxes in the same locations around the center. when presented rapidly and repeatedly, the screen appears to flicker green-red. depending on the user's response, i adjust the redness of the red objects until the green and red objects are equiluminant (at which time you should no longer notice a flicker between the two slides). if my red starts out as 255,0,0 (an RGB value), each Button1 press would subtract 1 from the Red value, making the new RGB value 254,0,0. i'd like to be able to cycle rapidly all the way through the 256 different levels of Red, but 256 individual button presses is not fun. i would like the user to be able to press and hold a keyboard button down in order to comfortably cycle through all these levels of red. the first time it's pressed EPrime interprets the press with no problem, but the next time it cycles through the trial, if the button is still pressed, i'd like EPrime to interpret that as an additional button press. is there a way to check the status of the button (depressed, or extended)? that's just one thought. anyone have a better idea? ben robinson From sma215 at nyu.edu Thu Apr 19 18:33:33 2007 From: sma215 at nyu.edu (Stephani Foraker) Date: Thu, 19 Apr 2007 13:33:33 -0500 Subject: drag-and-drop with mouse? Message-ID: Hi, Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX? any suggestions appreciated. Thanks, Stephani Stephani Foraker *Please note my preferred email address* sforaker at uchicago.edu From leisha at decisionresearch.org Thu Apr 19 22:42:10 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Thu, 19 Apr 2007 15:42:10 -0700 Subject: drag-and-drop with mouse? In-Reply-To: Message-ID: I would probably use in-line code to redraw the screen rather than slide states, just because I found that method to be so easy. Leisha Wharfield Decision Research Eugene, Oregon, USA Stephani Foraker wrote: >Hi, > >Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. > >My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. > >but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX? > >any suggestions appreciated. >Thanks, Stephani > > > >Stephani Foraker >*Please note my preferred email address* >sforaker at uchicago.edu > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- "Whenever I find myself in the cellar of affliction, I always look about for the wine." -Samuel Rutherford From r.l.c.mitchell at reading.ac.uk Fri Apr 20 10:39:42 2007 From: r.l.c.mitchell at reading.ac.uk (Rachel Mitchell) Date: Fri, 20 Apr 2007 11:39:42 +0100 Subject: Two scenarios Message-ID: Hello everybody :-) I have 2 scenarios that I need some help setting up. I can think of very long winded ways of doing what I need, i.e. by typing in 64x64 lines in the stimuli list, but I suspect there are experts out there who know that it can be done much more simply. 1) I have 64 happy sentences, 64 sad sentences and 64 neutral sentences. Trials involve hearing 2 sentences, and judging whether they convey the same emotion (happy followed by a different happy sentence, sad followed by sad) or a different emotion (happy then sad, happy then neutral, sad then happy, sad then neutral, neutral then happy, neutral then sad). I need to make sure half my trials are same judgements and half different judgements, without there being an easily detectable pattern, e.g. alternate same and different all the way through. In simple terms, how can I achieve this? 2) I have 64 sentences, and each is recorded at 7 different amplitude levels. During the whole task I intend to play 70 sentences. If e.g. sentence 39 is selected by e-prime, then I need to make sure that at some point during the task, the subject will hear all 7 versions of sentences 39. But, importantly, these 7 versions must be scattered randomly throughout the trials, i.e. they must not follow each other consecutively. I must confess I don't quite understand nesting, and have a deep-seated phobia of in-line script! Hoping you can help Best wishes Rachel -------------------------------------------------------- Dr Rachel L. C. Mitchell. Lecturer in Cognitive Psychology, University of Reading. Senior Honorary Research Fellow, Institute of Psychiatry. Research Psychologist, Berkshire Healthcare NHS Trust. Correspondence Address: School of Psychology and Clinical Language Sciences, Whiteknights Road University of Reading Reading Berkshire RG6 6AL Tel: +44 (0)118 378 8523 Direct Dial: +44 (0)118 378 7530 Fax: +44 (0)118 378 6715 ----------------------------------------------------------------------- From smoeller at umich.edu Fri Apr 20 15:22:48 2007 From: smoeller at umich.edu (Scott Moeller) Date: Fri, 20 Apr 2007 11:22:48 -0400 Subject: varying lengths of exposure based on responses Message-ID: Dear Colleagues, I'm fairly new to using e-prime, and I'm hoping someone can help me out with a question. A somewhat recent paper (Aharon et al., 2001) describes a task in which participants are exposed to faces. The catch is that participants could vary the amount of exposure they had to these faces by their responses. The default length of exposure was 8s. If they wanted the faces to disappear faster, they could alternate pressing the "z" and "x" keys. However, if they wanted the pictures to remain on the screen for longer than 8s, they could alternate pressing the "n" and "m" keys. The authors used Authorware (Macromedia) for this task. I was wondering if a similar task could be performed using e-prime. Thank you for your time! Best regards, Scott Moeller University of Michigan From leisha at decisionresearch.org Fri Apr 20 19:04:36 2007 From: leisha at decisionresearch.org (Leisha Wharfield) Date: Fri, 20 Apr 2007 12:04:36 -0700 Subject: Two scenarios In-Reply-To: Message-ID: Regarding point #2, I'm wondering how it is determined which sentence will be played 7 different times. Is it the first sentence? Because if it is, I might make all 64 x 3 possible questions available in an initial task, then use that random pick to establish which set of 6 other sentences would be played later. I would use both nesting and inline code. Supposing that from the initial list the sentence picked is Sentence39. Get that attribute from the response to the initial trial, and use it to call out a list in the next, main trial. So, Sentence39 = Amp39, say, where Amp39 is a list with your 6 other sentence39s in it. Amp39 is the value of another attribute, say [AmpList], which will be called out in the main trial. Then you could set up the main trial, nesting happy, sad, & neutral sentences in one line that has a weight of 63. On a second item in the main list, nest [AmpList], and give that item and its associated list a value of 6. If the selection is random, you will get the additional 6 variations of Sentence39 scattered throughout the task, along with the 63 other sentences. Of course if you want half the judged pairs of sentences to be the same and half not to be the same, you'll have to manipulate how the items are selected from the nested lists, because if you have three lists in the task, where each list has the same number of items and the same weight, odds are you'll get twice as many random samples that are not matched. I'm sure there's an easy way to make this adjustment via weight and selection settings. Hopefully someone else on the list will jump in with a suggestion. Leisha Wharfield Decision Research Eugene, Oregon, USA Rachel Mitchell wrote: >Hello everybody :-) > >I have 2 scenarios that I need some help setting up. >I can think of very long winded ways of doing what I need, i.e. by typing in >64x64 lines in the stimuli list, but I suspect there are experts out there >who know that it can be done much more simply. > >1) I have 64 happy sentences, 64 sad sentences and 64 neutral sentences. >Trials involve hearing 2 sentences, and judging whether they convey the same >emotion (happy followed by a different happy sentence, sad followed by sad) >or a different emotion (happy then sad, happy then neutral, sad then happy, >sad then neutral, neutral then happy, neutral then sad). >I need to make sure half my trials are same judgements and half different >judgements, without there being an easily detectable pattern, e.g. alternate >same and different all the way through. >In simple terms, how can I achieve this? > >2) I have 64 sentences, and each is recorded at 7 different amplitude >levels. >During the whole task I intend to play 70 sentences. >If e.g. sentence 39 is selected by e-prime, then I need to make sure that at >some point during the task, the subject will hear all 7 versions of >sentences 39. >But, importantly, these 7 versions must be scattered randomly throughout the >trials, i.e. they must not follow each other consecutively. > > >I must confess I don't quite understand nesting, and have a deep-seated >phobia of in-line script! > >Hoping you can help > >Best wishes >Rachel > > >-------------------------------------------------------- >Dr Rachel L. C. Mitchell. >Lecturer in Cognitive Psychology, University of Reading. >Senior Honorary Research Fellow, Institute of Psychiatry. >Research Psychologist, Berkshire Healthcare NHS Trust. > >Correspondence Address: >School of Psychology and Clinical Language Sciences, >Whiteknights Road >University of Reading >Reading >Berkshire >RG6 6AL > >Tel: +44 (0)118 378 8523 >Direct Dial: +44 (0)118 378 7530 >Fax: +44 (0)118 378 6715 >----------------------------------------------------------------------- > > > > > -- "Whenever I find myself in the cellar of affliction, I always look about for the wine." -Samuel Rutherford From pauls_postbus at hotmail.com Sat Apr 21 17:38:07 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 21 Apr 2007 19:38:07 +0200 Subject: drag-and-drop with mouse? Message-ID: hi stephani, You will require some inline script to implement drag-and-drop or other mouse operations. Note that real drag and drop operations might experience screen flickering when the drawing operations (including the background) are complex or when the computer is slow. To avoid this problem you could use two single-click operations on source and destination area?s. I?ve used the HitTest function of the slide object in several scripts to determine which area was selected. The nice thing about this is that the slide sub-objects can also be an empty slidetext subobject. (I.e. a dummy slidetext subobject to define a selectable area.) To change the position of a slide sub-object you can modify the X and Y properties of the objects before the slide is drawn. However, you don?t have to use slides if you can draw the screen yourself with some inline script. An example of this approach can be found at: http://www.psy.vu.nl/download/menu/xml/eprime_script_tohx.xml best, Paul Groot VU University, Amsterdam > From: sma215 at nyu.edu> To: eprime at mail.talkbank.org> Date: Thu, 19 Apr 2007 13:33:33 -0500> Subject: drag-and-drop with mouse?> > Hi,> > Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. > > My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. > > but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX?> > any suggestions appreciated.> Thanks, Stephani> > > > Stephani Foraker> *Please note my preferred email address*> sforaker at uchicago.edu> _________________________________________________________________ Probeer Live.nl Probeer Live.nl: zoekmachine van de makers van MSN! -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauls_postbus at hotmail.com Sat Apr 21 17:43:54 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 21 Apr 2007 19:43:54 +0200 Subject: drag-and-drop with mouse? Message-ID: oops..., resending previous email because the reply is embedded as hidden text hi stephani, You will require some inline script to implement drag-and-drop or other mouse operations. Note that real drag and drop operations might experience screen flickering when the drawing operations (including the background) are complex or when the computer is slow. Another approach is the point and click operation on source and destination area's, which is less demanding. I've used the HitTest function of the slide object in several scripts to determine which area was selected. The nice thing about this is that the slide object can also be an empty slidetext object. (I.e. a dummy slidetext object to define a selectable area.) To change the position of a slide object you can modify the X and Y properties of the objects before the slide is drawn.However, you don't have to use slide objects if you can draw the screen yourself with some inline script. An example script can be found at: http://www.psy.vu.nl/download/menu/xml/eprime_script_tohx.xml best,PaulVU University, Amsterdam > From: sma215 at nyu.edu> To: eprime at mail.talkbank.org> Date: Thu, 19 Apr 2007 13:33:33 -0500> Subject: drag-and-drop with mouse?> > Hi,> > Just curious. Someone here is wondering if eprime can implement moving around bmp objects (on a slide, say) by using a mouse to click on a bmp/object, drag it to a new location on the screen, and drop in a new location. > > My present thought is to use strHit to compare a click location to a particular object on a slide, bmpX (say, defined as an attribute on a trial list) - based on a sample program at eprime downloads (response areas for mouse input). that would identify which bmp was selected. > > but instead of drag-and-drop, the subject could then click a destination location on another part of the screen - is there any way to then 'move' the selected/first-clicked-on-bmpX to the new location chosen by the second mouse click? are predefined destination locations the way to go, as in, treat the destinations as objects on a slide, too (say, 9 are allowed), and then display a different slide state to reflect the new location of bmpX?> > any suggestions appreciated.> Thanks, Stephani> > > > Stephani Foraker> *Please note my preferred email address*> sforaker at uchicago.edu> _________________________________________________________________ http://www.live.nl Windows Live Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgoldin at stanford.edu Sat Apr 21 17:56:29 2007 From: pgoldin at stanford.edu (philippe goldin) Date: Sat, 21 Apr 2007 10:56:29 -0700 Subject: changing text while video plays on a slide in Eprime v2 Message-ID: Greetings Eprime community: We are using Eprime version 2 to show a video clip of 12s duration on a slide that also contains a rating scale below the video object. Thus, we used a slide with tow objects: a movie object and a text object. We want to regularly update and change the text every 500ms using a loop syntax without interrupting the 12s video clip. In other words, on a single slide, how can we refresh the text object every 500ms while letting the 12s video clip continue to play? The goal is to be able to collect continuous ratings (using the text refresh procedure where position indicates a rating on a scale) while subjects view a video clip. Any and all suggestions will be greatly appreciated!!! Thank you in advance for helping us figure this out. philippe ************************************************************** Philippe Goldin, Ph.D. Department of Psychology Stanford University Jordan Hall, Bldg. 420, Room 126 Stanford, CA 94305 Tel: 650-723-5977 Fax: 650-725-5699 E-mail: pgoldin at stanford.edu website: Clinically Applied Affective Neuroscience http://www-psych.stanford.edu/~caan/ From pauls_postbus at hotmail.com Sat Apr 21 18:21:31 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Sat, 21 Apr 2007 20:21:31 +0200 Subject: varying lengths of exposure based on responses Message-ID: Hello Scott, one way of doing this is the following (I assume you already have a simple script for displaying the stimuli): Add the following declarations to the gloabal user script (menu-view-script-user tab): Const ExposureDelta% = 1000Const ExposureLowLimit% = 1000Const ExposureHighLimit% = 20000 dim iExposureTime as longdim strPrevResp as string Then, insert an inline script object to initialize the global iExposureTime variable (this would normally be at the start of a block): iExposureTime = 8000 Then, insert an inline script just before the image object (called Stim in this example) to set the exposure time of the simulus object: Stim.Duration = iExposureTime Finally, insert an inline script after the stimulus object to check the response and modify the exposure time: ' get the response Dim t as stringt = LCase$(Stim.RESP) ' check response and alternation if t="n" And strPrevResp<>"n" Or t="m" And strPrevResp<>"m" then iExposureTime = iExposureTime + ExposureDeltaelseif t="z" And strPrevResp<>"z" Or t="x" And strPrevResp<>"x" then iExposureTime = iExposureTime - ExposureDeltaend if 'check upper and lower limits if iExposureTimeExposureHighLimit then iExposureTime = ExposureHighLimitend if ' remember the response to check for alternation strPrevResp = t You might consider removing the alternation test (and related code) and only use two keys because eprime will not generate repeating key presses when the key is hold-down. (Authorware will!) Hope this helps, Paul Groot VU University, Amsterdam > Date: Fri, 20 Apr 2007 11:22:48 -0400> From: smoeller at umich.edu> To: eprime at mail.talkbank.org> Subject: varying lengths of exposure based on responses> > Dear Colleagues,> > I'm fairly new to using e-prime, and I'm hoping someone can help me out > with a question.> > A somewhat recent paper (Aharon et al., 2001) describes a task in which > participants are exposed to faces. The catch is that participants > could vary the amount of exposure they had to these faces by their > responses. The default length of exposure was 8s. If they wanted the > faces to disappear faster, they could alternate pressing the "z" and > "x" keys. However, if they wanted the pictures to remain on the screen > for longer than 8s, they could alternate pressing the "n" and "m" keys.> > The authors used Authorware (Macromedia) for this task. I was > wondering if a similar task could be performed using e-prime.> > Thank you for your time!> > Best regards,> > Scott Moeller> University of Michigan> _________________________________________________________________ Probeer Live.nl Probeer Live.nl: zoekmachine van de makers van MSN! -------------- next part -------------- An HTML attachment was scrubbed... URL: From rachkingston at aol.com Sun Apr 22 14:52:53 2007 From: rachkingston at aol.com (rachkingston at aol.com) Date: Sun, 22 Apr 2007 10:52:53 -0400 Subject: Nested, Discrimination Task Message-ID: I am using eprime to build a series of tasks related to the perception of emotional tones of voice from the presentation of sentences. I am trying to build a discrimination task which asks the participant to listen to two consecutive sentences (sentence pairs) and then decide whether they are the 'same' or 'different' in their emotional intonation. I am new to using eprime and have used the 'nested' method to do this. Below I have copied how my 'triallist' looks. Weight Procedure Nested Stim1 Stim2 1 TrialProc HappyList, SadList [Hsentence] [Ssentence] 2 TrialProc HappyList [Hsentence] [Hsentence] 1 TrialProc HappyList, NeutralList [Hsentence] [Nsentence] 2 TrialProc SadList [Ssentence] [Ssentence] 1 TrialProc SadList, HappyList [Ssentence] [Hsentence] 1 TrialProc SadList, NeutralList [Ssentence] [Nsentence] 1 TrialProc NeutralList, SadList [Nsentence] [Ssentence] 1 TrialProc NeutralList, HappyList [Nsentence] [Hsentence] 2 TrialProc NeutralList [Nsentence] [Nsentence] The problem I am encountering is that when the participant is presented with pairs of 'same' sentences (in relation to emotional intonation), eprime is actually presenting the same sentence in relation to its content. For example: The sad list is selected and two sentences with sad emotional tone are conveyed. The problem is that these sentences are both "The girl walked up the stairs" (i.e. same content). I am not sure how to set it up so that although both sentences are sad, eprime selects two different sad sentences (different content) from the list of sad sentences. Many thanks Rachel Kingston -------------- next part -------------- An HTML attachment was scrubbed... URL: From listman at listserv.linguistlist.org Mon Apr 23 00:23:16 2007 From: listman at listserv.linguistlist.org (Listserv Administrator) Date: Sun, 22 Apr 2007 20:23:16 -0400 Subject: Dual-Task Experiment Message-ID: ---------- Forwarded message ---------- Date: Mon, 9 Apr 2007 15:20:40 -0400 (EDT) From: listserv Date: Mon, 9 Apr 2007 14:16:03 -0500 From: "Mark Chan" To: eprime at mail.talkbank.org Subject: Dual-Task Experiment Dear E-Primers, My colleague and I have been working on programming a Dual-Task experiment on Eprime. Not much luck as of late. I hope some of you may offer some insight as to how we should go about programming. The task(s) are as follows: 1. Auditory task. We will be presenting words randomly (from a wordlist) at a steady pace - 2500msec ISI between each word. The onset of response to these words will be logged with the Voicekey function within the SRBox. If the participant fails to respond within 2500msec, the next word will be presented . 2. Visual Task. Participants will be making their response by hitting the whenever they see a number appear on the screen. The numbers are presented randomly by means of an inline. The duration of this visual stimuli is 250ms. Each visual stimuli is separated by a mask that lasts 900msec. Both tasks will run simultaneously. The auditory task is allowed to reloop in random order if the wordlist contains insufficient words to run the duration of the visual task. The experiment will end once the visual task is completed (approximately 30mins). I don't think slide objects work as they do not allow the tasks to be run and logged simultaneously and independently. Thanks for your help! Mark From pauls_postbus at hotmail.com Mon Apr 23 20:39:53 2007 From: pauls_postbus at hotmail.com (Paul Gr) Date: Mon, 23 Apr 2007 22:39:53 +0200 Subject: Nested, Discrimination Task Message-ID: hi Rachel, I don't have the EPrime manual at hand, but I remember you will have to add indices after the nested attribute names: 2 TrialProc HappyList [Hsentence:1] [Hsentence:2] (Not completely sure about this syntax, so you might have to check the manual though!) best, Paul Groot VU University, Amsterdam To: eprime at mail.talkbank.orgSubject: Nested, Discrimination TaskDate: Sun, 22 Apr 2007 10:52:53 -0400From: rachkingston at aol.com I am using eprime to build a series of tasks related to the perception of emotional tones of voice from the presentation of sentences. I am trying to build a discrimination task which asks the participant to listen to two consecutive sentences (sentence pairs) and then decide whether they are the 'same' or 'different' in their emotional intonation. I am new to using eprime and have used the 'nested' method to do this. Below I have copied how my 'triallist' looks. Weight Procedure Nested Stim1 Stim2 1 TrialProc HappyList, SadList [Hsentence] [Ssentence] 2 TrialProc HappyList [Hsentence] [Hsentence] 1 TrialProc HappyList, NeutralList [Hsentence] [Nsentence] 2 TrialProc SadList [Ssentence] [Ssentence] 1 TrialProc SadList, HappyList [Ssentence] [Hsentence] 1 TrialProc SadList, NeutralList [Ssentence] [Nsentence] 1 TrialProc NeutralList, SadList [Nsentence] [Ssentence] 1 TrialProc NeutralList, HappyList [Nsentence] [Hsentence] 2 TrialProc NeutralList [Nsentence] [Nsentence] The problem I am encountering is that when the participant is presented with pairs of 'same' sentences (in relation to emotional intonation), eprime is actually presenting the same sentence in relation to its content. For example: The sad list is selected and two sentences with sad emotional tone are conveyed. The problem is that these sentences are both "The girl walked up the stairs" (i.e. same content). I am not sure how to set it up so that although both sentences are sad, eprime selects two different sad sentences (different content) from the list of sad sentences. Many thanks Rachel Kingston _________________________________________________________________ http://www.live.nl Windows Live Messenger -------------- next part -------------- An HTML attachment was scrubbed... URL: From liuhc at psych.ac.cn Tue Apr 24 01:00:25 2007 From: liuhc at psych.ac.cn (=?gb2312?B?bGl1aGM=?=) Date: Tue, 24 Apr 2007 09:00:25 +0800 Subject: How can I leave this maillist? Message-ID: I want to leave this maillist, but I do not know the way. Could you tell me? Thank you very much! -------------- next part -------------- An HTML attachment was scrubbed... URL: From psp48d at bangor.ac.uk Thu Apr 26 11:30:40 2007 From: psp48d at bangor.ac.uk (psp48d at bangor.ac.uk) Date: Thu, 26 Apr 2007 12:30:40 +0100 Subject: Task-switching Message-ID: Hi, I have designed a task-switching paradigm, involving 3 lists (one for each task). Each list contains 9 cues and 9 stimuli, and the list the stimuli is chosen from is chosen by a randomisation using the following code: Dim trialarray(2) as integer trialarray(0) = 1 trialarray(1) = 2 trialarray(2) = 3 Randomizearray trialarray c.Setattrib "Lag_Condition", trialarray(1) Dim Task Task = c.GetAttrib ("Lag_Condition") if Task = 1 then Borderlist.Run c elseif Task=2 then Angledlist.Run c else Shadedlist.Run c End if This randomises on every trial, but how do I set the code so that it remains random, but DOES NOT ALLOW the previous list to be relevant to the current selection? I am trying to get it so the task never repeats, but remains random. How is this done?!?! Many thanks! Jim Grange, Bangor University UK. -- This mail sent through http://webmail.bangor.ac.uk -- Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar unwaith a dil?wch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio ? defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid yn cynrychioli barn Prifysgol Cymru, Bangor. Nid yw Prifysgol Cymru, Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Cymru, Bangor. www.bangor.ac.uk This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of the University of Wales, Bangor. The University of Wales, Bangor does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the University of Wales, Bangor Finance Office. www.bangor.ac.uk