function l (path) %while 1 %data = csvread('y:\mame0153\asio.log'); subplot(2, 1, 1), plot(data(:,15), data(:,3)), subplot(2, 1, 2), plot(data(:,15), data(:,9) ./ ((data(:,2) - 3) / 1000)), data = csvread(path); subplot(4, 1, 1), plot(data(:,8), data(:,1)); title ("Recorded speed against audio update"); xlabel ("Audio update #"); ylabel ("Speed"); subplot(4, 1, 2), plot(data(:,8), data(:,3) - data(:,4)); title ("Incoming minus outgoing samples"); xlabel ("Audio update #"); ylabel ("n"); subplot(4, 1, 3), plot(data(:,8), data(:,2)); title ("Number of samples in ch0"); xlabel ("Audio update #"); ylabel ("n"); subplot(4, 1, 4), plot(data(:,8), data(:,5)); title ("Number of samples in ch1"); xlabel ("Audio update #"); ylabel ("n"); % sleep(5) %end endfunction