trogluddite ·
Being the oddball that I am, I have a few projects that are more like stand alone app's that the usual Synth/Sampler/Effect plugins. I'd really like to make some nice I/O routing windows to make using .exe's easier on soundcards that have lots of I/O (I bang my head every time every I go under my desk to re-patch cables!!) - and I'd also like to include driver latency compensation into a couple of schematics.
The new primitives for selecting drivers, setting SR, opening ASIO dialogue etc. are a great step in the right direction, which would be rounded of nicely with access to more detailed info from the selected driver - just 4 extra integer outputs for Input Latency, Output Latency, Number of Inputs and Number of Outputs from the ASIOsettings (or maybe AudioSelect) primitive would give everything needed for a lovely "Audio Settings" page.
In the meantime, I know that using a loopback cable, I can find out the true 'round trip' latency for a system using an audio 'Ping' and some correlation - I'm working on a little schematic to do this. But is there any empirical way that I can determine how much is input latency and how much is output latency? I know that for some soundcards, the two figures are not always the same, so can't always rely on just dividing the round-trip figure in half - but I can't see a logical way to seperate the two.