--- API: 2.1 OpenSesame: 3.2.7 Platform: posix --- set width 1024 set uniform_coordinates yes set title "New experiment" set subject_parity even set subject_nr 0 set start experiment set sound_sample_size -16 set sound_freq 48000 set sound_channels 2 set sound_buf_size 1024 set round_decimals 2 set height 768 set fullscreen no set form_clicks no set foreground white set font_underline no set font_size 18 set font_italic no set font_family mono set font_bold no set disable_garbage_collection yes set description "The main experiment item" set coordinates uniform set compensation 0 set canvas_backend legacy set background black define sequence experiment set flush_keyboard yes set description "Runs a number of items in sequence" run loop always define form_base form set timeout infinite set spacing 10 set rows "2;2" set only_render no set margins "50;50;50;50" set description "A generic form plug-in" set cols 2 set _theme gray widget 0 0 1 1 button text=Ok widget 0 1 1 1 button text="Play sound" var=play_sound define loop loop set source table set repeat 5 set order random set description "Repeatedly runs another item" set cycles 1 set continuous no set break_if_on_first no set break_if "[play_sound] = no" setcycle 0 empty_column "" run sequence define sequence sequence set flush_keyboard yes set description "Runs a number of items in sequence" run form always run sound "[play_sound] = yes" define synth sound set volume 1 set pan 0 set osc sine set length 100 set freq 440 set duration 0 set description "A basic sound synthesizer" set decay 5 set attack 0