Hi All,
[Please note that I already sent this a while back, but before I
actually joined the Yahoo group; my previous message has not appeared,
but may be stuck in limbo somewhere, apologies if this therefore ends
up being a duplicate at some point.]
I am attempting to set up a simple (!) auditory masking paradigm using
PsychPortAudio generating white noise to mask complex sinusoidal tones
(i.e., f0 plus a couple of harmonics).
I have code to generate white noise, and to bandpass filter the noise,
and also to generate the tones.
However, does anybody have any advice and pointers of how to implement
the more technical psychoacoustical aspects of an auditory masking
paradigm?
Firstly, obviously I need to calibrate my matlab program with my
output equipment (headphones), which I am guessing will involve
finding a "loudness meter" and taking measures of the noise/tone
output as the particpant would hear it, to get a measure of our output
levels (in dB SPL?).
Secondly, and more related to the PTB PsychPortAudio implementation:
a) Am I right in thinking that when I pass a waveform matrix to
PsychPortAudio, the maximum value range is ±1. That is, any value
outside of ±1 is effectively clipped?
b) How does one go about mapping the relationship between the
amplitude of signal I pass to Matlab, e.g., amplitude of sinusoid
between 0 and ±1, to the nonlinear fucntion of the loudness curves?
In other words, how does one work out the auditory equivalent of a
CLUT which maps linear RGB values to non-linear monitor intensities?
Many thanks for any help, pointers or references that people can send
my way
Best wishes
Jim
[Please note that I already sent this a while back, but before I
actually joined the Yahoo group; my previous message has not appeared,
but may be stuck in limbo somewhere, apologies if this therefore ends
up being a duplicate at some point.]
I am attempting to set up a simple (!) auditory masking paradigm using
PsychPortAudio generating white noise to mask complex sinusoidal tones
(i.e., f0 plus a couple of harmonics).
I have code to generate white noise, and to bandpass filter the noise,
and also to generate the tones.
However, does anybody have any advice and pointers of how to implement
the more technical psychoacoustical aspects of an auditory masking
paradigm?
Firstly, obviously I need to calibrate my matlab program with my
output equipment (headphones), which I am guessing will involve
finding a "loudness meter" and taking measures of the noise/tone
output as the particpant would hear it, to get a measure of our output
levels (in dB SPL?).
Secondly, and more related to the PTB PsychPortAudio implementation:
a) Am I right in thinking that when I pass a waveform matrix to
PsychPortAudio, the maximum value range is ±1. That is, any value
outside of ±1 is effectively clipped?
b) How does one go about mapping the relationship between the
amplitude of signal I pass to Matlab, e.g., amplitude of sinusoid
between 0 and ±1, to the nonlinear fucntion of the loudness curves?
In other words, how does one work out the auditory equivalent of a
CLUT which maps linear RGB values to non-linear monitor intensities?
Many thanks for any help, pointers or references that people can send
my way
Best wishes
Jim