[solved] Auditory stimuli in Opensesame: Pitch change?
At the moment I am implementing auditory stimuli (i.e. spoken words) into opensesame. I noticed that the pitch in opensesame is different than in the original .wav file (played in windows media player). In opensesame I have to change the pitch to .94 to make it sound like the original file.
Did anybody else encountered the same problem? And if so, why does this happen? And how can you make the .wav file in opensesame sound exactly the same as in windows mediaplayer?
I program in opensesame 0.26 in the legacy backend. I am using an inline script with the following code:
# prepare phase self.SW_file = self.experiment.colorD2[TMC2] # select the correct .wav file (i.e. correct color) self.experiment.SW_sampler=sampler(self.experiment, self.experiment.get_file(self.SW_file)) self.experiment.SW_sampler.pitch(self.experiment.pitch) # I have to change the pitch to let it sound ok # run phase self.c_SW.show() self.experiment.SW_sampler.play() self.experiment.SW_sampler.wait()