From: manu Date: Fri, 14 Dec 2007 13:20:12 +0000 (+0000) Subject: ASIO to asio fixed X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=36a3970ab25c2753510c6309886927b37a980f1e;p=cnaq.git ASIO to asio fixed git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@139 5fc3e0e6-29bc-4d03-b52b-c088cb822bde --- 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