]> git.parisson.com Git - cnaq.git/commitdiff
ASIO to asio fixed
authormanu <manu@5fc3e0e6-29bc-4d03-b52b-c088cb822bde>
Fri, 14 Dec 2007 13:20:12 +0000 (13:20 +0000)
committermanu <manu@5fc3e0e6-29bc-4d03-b52b-c088cb822bde>
Fri, 14 Dec 2007 13:20:12 +0000 (13:20 +0000)
git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@139 5fc3e0e6-29bc-4d03-b52b-c088cb822bde

config/asio.m [new file with mode: 0644]

diff --git a/config/asio.m b/config/asio.m
new file mode 100644 (file)
index 0000000..29208be
--- /dev/null
@@ -0,0 +1,19 @@
+% Config For your ASIO audio card\r
+% ================================\r
+\r
+function [device, latency] = asio()\r
+\r
+% The ASIO device number in the audio sytem\r
+device = 1;  \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 ./tools/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
+% BE CAREFUL : your ASIO card MUST be ALONE on its IRQ (see Windows system\r
+% settings)\r
+latency = 579;
\ No newline at end of file