我正在PsychoPy(Windows7上的v1.84.2)中生成一个实验,它需要一个短音。围绕声音生成的代码行是:print'1'startTone=sound.Sound(value='B',secs=0.15,octave=5,sampleRate=44100,bits=16,name='',autoLog=False)print'2'instructions_text_stim=visual.TextStim(win,text='Pressanykeytostart.',pos=[0,0],height=2)print'3'instructions_text_stim.draw