Commit 5af68874 authored by mjboos's avatar mjboos

new bla

parent f9ad4206
File added
......@@ -16,12 +16,17 @@ vp = sys.argv[1]
file_name = 'classification_FG_ridge_logBSC_H200_predictions.pkl'
indices_to_use = get_indices(file_name, n_lim=50)
#NEW INDICES HERE
indices_2 = joblib.load('examples_2.pkl')
indices_to_use = np.unique(np.concatenate([indices_to_use, indices_2]))
print(indices_to_use.shape)
sample_list = [str(idx) + '.wav' for idx in indices_to_use]
np.random.shuffle(sample_list)
# create a window before creating your rating scale, whatever units you like:
win = visual.Window(fullscr=False, size=[1100, 800], units='pix', monitor='testMonitor')
instr = visual.TextStim(win, text="""Hi! Your task is to rate a set of stimuli on their noisiness -- how clear you can hear speech versus background noise.
instr = visual.TextStim(win, text="""Hi! Your task is to rate a set of stimuli on their noisiness -- how loud you hear noise in contrast to speech.
First, you will listen to a stimulus, where very little noise is present.
Press any button to continue.
""")
......@@ -61,7 +66,7 @@ while myRatingScale.noResponse:
core.quit()
instr = visual.TextStim(win, text="""The first example had very little noise present, the second example a large amount.
In the following experiment you will hear different audio samples. Some change their level of noisiness throughout the audio sample. Please indicate the average noisiness over the sample in your answer. Additionally, the type of noise differs between samples. Try to separate the perceived loudness from the noise level: A sample that contains quiet speech but no noise might be harder to understand than a loud, noisy sample, but it still contains less noise.
In the following experiment you will hear different audio samples. Some change their level of noise throughout the audio sample. Please indicate your perceived noisiness over the whole sample in your answer. Additionally, the type of noise differs between samples.
The experiment will take around 25 minutes.
Press any button to continue.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment