calculate latency and latency compensation??

    Aug 17 2006 | 2:22 pm
    hi everybody,
    i try to make my looping patch with max/msp
    i had made my first module but i have a little problem:
    with the latency of soundcard,i had some lag between the recording sound and the playing sound....
    how could calculate the time of lag??? and how could do a latency compensation system like looping software like mobius (
    thanks by advance for your help.