From 36a3970ab25c2753510c6309886927b37a980f1e Mon Sep 17 00:00:00 2001 From: manu Date: Fri, 14 Dec 2007 13:20:12 +0000 Subject: [PATCH] ASIO to asio fixed git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@139 5fc3e0e6-29bc-4d03-b52b-c088cb822bde --- config/asio.m | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config/asio.m diff --git a/config/asio.m b/config/asio.m new file mode 100644 index 0000000..29208be --- /dev/null +++ b/config/asio.m @@ -0,0 +1,19 @@ +% Config For your ASIO audio card +% ================================ + +function [device, latency] = asio() + +% The ASIO device number in the audio sytem +device = 1; + +% The number of samples in the buffer of the sound card +% (delay * f_s = latency time) +% It IS necessary that you compute this value BEFORE any measurement +% executing ./tools/get_latency.m in MATLAB like this : +% >> get_latency(DEVICE, N) +% where DEVICE is the device number (see above) and N the number of +% successive measurements +% If this value is wrong, the phasis results might be also wrong... +% BE CAREFUL : your ASIO card MUST be ALONE on its IRQ (see Windows system +% settings) +latency = 579; \ No newline at end of file -- 2.39.5