From: jennifer resnik on

I am interested in calculating the auditory JND for different frequencies.
Does anyone have a matlab script to test auditory JND that I can use to start?

Thanks ,

Jennifer
From: Wayne King on
"jennifer resnik" <jennifer.resnik(a)weizmann.ac.il> wrote in message <hhhtsk$22m$1(a)fred.mathworks.com>...
>
> I am interested in calculating the auditory JND for different frequencies.
> Does anyone have a matlab script to test auditory JND that I can use to start?
>
> Thanks ,
>
> Jennifer

Hi Jennifer, I don't have a handy script for frequency JNDs, but I know there are several publicly available Matlab toolboxes for psychoacoustic experiments.

http://www.psy.unipd.it/~grassi/mlp.html

https://gilbert.med.kuleuven.be/web/index.php/Public:Software/APEX

It shouldn't be too difficult to program a frequency JND experiment. Are you just interested in some simple design, two-alternative forced choice for example?

Wayne
From: jennifer resnik on
Thank you for your answer.

Yes, I was thinking of doing something like that.

Jennifer
From: Wayne King on
"jennifer resnik" <jennifer.resnik(a)weizmann.ac.il> wrote in message <hhi9ho$cnh$1(a)fred.mathworks.com>...
> Thank you for your answer.
>
> Yes, I was thinking of doing something like that.
>
> Jennifer

I think that should be pretty easy either using the tools others have written in Matlab, or building off of theirs. Here is another psychoacoustics toolbox in Matlab:

http://psychtoolbox.org/wikka.php?wakka=HomePage

Looks like several of these provide routines for estimating the psychometric function, which is probably the toughest part of programming the experiment. The link above claims to have a user group (I can't speak for our viable it is) where you may find a targeted audience of psychophysicists using Matlab. If you can't find help at any of those sites, and you want to email me directly and not burden the list with prolonging the thread, that's fine. I know some psychoacousticians from a former life that I may be able to put you in contact with for some basic paradigms.

Wayne
From: ImageAnalyst on
Jennifer:
One thing I hope you're aware of before you start this is that the
volume (speaker response) is very dependent on frequency. Just take a
look at the frequency response of this high end ($4000) speaker
system:
http://www.soundandvisionmag.com/speakers/2950/infinity-classia-home-theater-speaker-system-test-bench-page3.html
You can see how the ability of the speaker to match volumes at two
close frequencies is not so great, and that will affect your
psychophysical measurements. You would need to measure this in order
to correct for it, but then you will also have to deal with the
frequency response of the instrument you're using to measure the
speaker output with (the microphone). So it can get very tricky if
you plan on doing an accurate job. How do you plan on handling this
issue?
Regards,
ImageAnalyst