latency given by get_latency.m should reduced from 1 to give the good results. (not done yet)
git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@137
5fc3e0e6-29bc-4d03-b52b-
c088cb822bde
path(path, pa_path);\r
path(path, config_path);\r
\r
-[device, latency] = ASIO();\r
+[device, latency] = asio();\r
home_dir = uigetdir(root_dir, 'Choisissez votre dossier de travail');\r
\r
% Get/Set ID\r
function [device, latency] = ASIO()\r
\r
% The ASIO device number in the audio sytem\r
-device = 0; \r
+device = 1; \r
\r
% The number of samples in the buffer of the sound card\r
% (delay * f_s = latency time)\r
% If this value is wrong, the phasis results might be also wrong...\r
% BE CAREFUL : your ASIO card MUST be ALONE on its IRQ (see Windows system\r
% settings)\r
-latency = 1424;
\ No newline at end of file
+latency = 587;
\ No newline at end of file
lt=5;
t=0:1/44100:lt;
sig=0.5*chirp(t,f_min,lt,f_max,'logarithmic');
- len_sig = length(sig)
+ len_sig = length(sig);
%playrecord signal
for it = 1:n
end
- mfv = mode(delay)
- ecart = std(delay)
+ mfv = mode(delay);
+ ecart = std(delay);