]> git.parisson.com Git - cnaq.git/commitdiff
Modify intro
authormanu <manu@5fc3e0e6-29bc-4d03-b52b-c088cb822bde>
Mon, 10 Dec 2007 14:34:13 +0000 (14:34 +0000)
committermanu <manu@5fc3e0e6-29bc-4d03-b52b-c088cb822bde>
Mon, 10 Dec 2007 14:34:13 +0000 (14:34 +0000)
git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@129 5fc3e0e6-29bc-4d03-b52b-c088cb822bde

CNAQ.m

diff --git a/CNAQ.m b/CNAQ.m
index 754c943c1b0408d7e64ac3cb6c22381b963470da..0a68b2463823e48d5385b96e6ba088f5f4393d4e 100644 (file)
--- a/CNAQ.m
+++ b/CNAQ.m
@@ -117,15 +117,25 @@ cnaq_version = '0.1';
 % PARAMETERS\r
 % ==============================================================\r
         \r
-root_dir = pwd; % The directory where CNAQ is installed\r
-device = 1;  % The ASIO device number in the audio sytem\r
-delay = 588; % The number of samples in the buffer (latency of the sound card in\r
-             % samples. See tests/testacqui.m to know your delay)\r
+% The ASIO device number in the audio sytem\r
+device = 0;  \r
+\r
+% The number of samples in the buffer of the sound card\r
+% (delay * f_s = latency time)\r
+% It IS necessary that you compute this value BEFORE any measurement\r
+% executing ./tests/get_latency.m in MATLAB like this :\r
+% >> get_latency(DEVICE, N)\r
+% where DEVICE is the device number (see above) and N the number of \r
+% successive measurements\r
+% If this value is wrong, the phasis results might be also wrong...\r
+delay = 587;\r
+\r
 \r
 % ==============================================================\r
 % INIT\r
 % ==============================================================\r
 \r
+root_dir = pwd; % The directory where CNAQ is installed\r
 %cnaq_path = pwd;\r
 cnaq_path = root_dir;\r
 tools_path = [cnaq_path '\tools\'];\r