I’m encountering a latency problem which I don’t understand. The metric/rhythmic context is quite simple, just noires and doubles-croches, the tempo is rather slow (69 bpm), all notes, non legato, with some neglectable microtonal alterations, are played ordinario by a flute (currently a synthetic one, because the real flutist lives in another town, however fairly accurate). Nevertheless actions fired by Antescofo are always about 60 ms behind. This is of course much less than the extreme latency I got some time ago because of lacking calibration – but still far too much for what I need here, as this is within the limits of human perception for rhythmic discretion. In the passage which I try to realize 21 sixteenths should be recorded to a sample buffer and played back after a delay of three sixteenths at a rate which fits the canon follower to the remaining 18 sixteenths of the leader (see the notation of the expected result in sheet.tif). But the beginning of the first note of the diminution version is truncated because the recording obviously started too late. I tried to relocate the actions here and there (while adjusting the delays) but that didn’t help. I also tried diverse combinations of I/O and signal vector sizes what didn’t help either. The analysis parameters of Antescofo are set to the default (nfft=4096, hop=512). I introduced clicks to see when Antescofo detects an event (“debugclick” in the attached excerpt from the Antescofo score). The click always appears about 60 ms after the onset of a note.
late-click.tif (41.7 KB)