Additions:
The driver also supports the ASIO sound system provided by professional
class sound cards. If you need really low latency or high precision sound
on Windows, ASIO is what you want to use: Some (usually more expensive >
150$) professional class sound cards ship with ASIO enabled sound
drivers, or at least there's such a driver available from the support
area of the website of your sound card vendor.
so the quality depends on the underlying WDM driver. If you manage to get
such an ASIO enabled sound driver working on your sound hardware, and
your ASIO enabled driver and sound card are of sufficiently high quality,
you can enjoy latencies as low as 5 msecs and a sound onset accuracy with
a standard deviation from the mean of less than 0.1 milliseconds on
MS-Windows - We measured around 20 microseconds on some setups, e.g., the
M-Audio Delta 1010-LT soundcard under Windows-XP SP2.
Using OS/X or Linux will usually get you comparably good or better
results with standard sound hardware.
Deletions:
If you need really low latency or high precision sound on Windows, there's
a second option which, for legal and technical reasons, requires a bit
more effort of you: Some (usually more expensive > 150$) sound
cards ship with ASIO enabled sound drivers, or at least there's such a
driver available from the support area of your sound card vendors website.
so the quality depends on the underlying WDM driver. Assuming you get
ASIO working one way or the other on your setup, you will have to get a
special ASIO enabled version of the "portaudio_x86.dll" driver plugin for
Psychtoolbox:
1. Go to the PsychPortAudio section of the Psychtoolbox Wiki to download
a zip file with a copy of the ASIO enabled driver:
http://psychtoolbox.org/wikka.php?wakka=PsychPortAudio
2. When you have the driver, copy it into your Psychtoolbox root folder -
the top level folder named "Psychtoolbox". Also make sure to read the
README.txt file very carefully that comes bundled with the driver.
3. Restart Matlab.
4. Run this function, it'll tell you if ASIO is supported.
If everything succeeds and your ASIO enabled driver and sound card are of
sufficiently high quality, you can enjoy latencies as low as 5 msecs and
a sound onset accuracy with a standard deviation from the mean of less
than 0.1 milliseconds - We measured around 20 microseconds on some
setups, e.g., the M-Audio Delta 1010-LT soundcard under Windows-XP SP2.
Additions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychSound/InitializePsychSound.m">beta</a> | view WebSVN <a href=
"http://svn.berlios.de/wsvn/osxptb/trunk/Psychtoolbox/PsychSound/InitializePsychSound.m?op=log">changelog</a> of trunk branch</span>
Deletions:
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychSound/InitializePsychSound.m">beta</a> | view in <a href=
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychSound/InitializePsychSound.m?view=markup">WebSVN with changelog</a></span>
Additions:
"http://svn.berlios.de/wsvn/osxptb/beta/Psychtoolbox/PsychSound/InitializePsychSound.m?view=markup">WebSVN with changelog</a></span>
Deletions:
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychSound/InitializePsychSound.m?view=markup">WebSVN with changelog</a></span>
Additions:
On MacOS/X and GNU/Linux, the PsychPortAudio driver will just work with
the lowest possible latency and highest timing precision after this
initialization.
1. Go to the PsychPortAudio section of the Psychtoolbox Wiki to download
a zip file with a copy of the ASIO enabled driver:
http://psychtoolbox.org/wikka.php?wakka=PsychPortAudio
the top level folder named "Psychtoolbox". Also make sure to read the
README.txt file very carefully that comes bundled with the driver.
If everything succeeds and your ASIO enabled driver and sound card are of
than 0.1 milliseconds - We measured around 20 microseconds on some
setups, e.g., the M-Audio Delta 1010-LT soundcard under Windows-XP SP2.
Deletions:
On MacOS/X, the PsychPortAudio driver will just work with the lowest
possible latency and highest timing precision after this initialization.
1. Contact Mario Kleiner and ask him for a copy of the driver.
the top level folder named "Psychtoolbox".
If everything suceeds and your ASIO enabled driver and sound card are of
than 0.1 milliseconds - We measured around 20 microseconds on some setup.
Additions:
""
<div class="code_header" style="text-align:right;">
<span style="float:left;">Path </span> <span class="counter">Retrieve current version of InitializePsychSound.m from berliOS: <a href=
"http://svn.berlios.de/svnroot/repos/osxptb/beta/Psychtoolbox/PsychSound/InitializePsychSound.m">beta</a> | view in <a href=
"http://svn.berlios.de/viewcvs/osxptb/beta/Psychtoolbox/PsychSound/InitializePsychSound.m?view=markup">WebSVN with changelog</a></span>
</div>
<div class="code">
<code>Psychtoolbox/PsychSound/InitializePsychSound.m</code>
</div>
""
Deletions:
%%(php;Path)Psychtoolbox/PsychSound/InitializePsychSound.m%%
Additions:
==[[Psychtoolbox]] › [[PsychSound]]==
Deletions:
==[[Psychtoolbox]] › PsychSound==
Additions:
===[[InitializePsychSound]]===
==[[Psychtoolbox]] › PsychSound==
=== On Microsoft Windows, things are more complicated and painful as always: ===
%%(php;Path)Psychtoolbox/PsychSound/InitializePsychSound.m%%
Deletions:
===PsychSound===
On Microsoft Windows, things are more complicated and painful as always:
PsychSound