Direct Sound In/ Out Sync

DSP related issues, mathematics, processing and techniques
Post Reply
arend
Posts: 10
Joined: Thu Sep 15, 2011 5:52 pm

Direct Sound In/ Out Sync

Post by arend »

Hello,
Looking for your help. I am trying to use the computer sound board as a low frequency "vector analyser", injecting a variable frequency signal (DS Out) to an input circuit (filter) and reading the output circuit through the DS In, so calculating the attenuation and phase between in/out. The issue is related with the phase, each time that the sin signal frequency is changed, the delay changes too (circuit independently). Sounds that the Direct Sound Out buffer is not synchronized with the Direct Sound In buffer.
Thank you !
Arend
User avatar
lalalandsynth
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Direct Sound In/ Out Sync

Post by lalalandsynth »

Latency , would be better with Asio but you will still have latency .
arend
Posts: 10
Joined: Thu Sep 15, 2011 5:52 pm

Re: Direct Sound In/ Out Sync

Post by arend »

lalalandsynth wrote:Latency , would be better with Asio but you will still have latency .

The latency could be compensated, if not changing all time (at frequency steps).
Thank you !
deraudrl
Posts: 239
Joined: Thu Nov 28, 2019 9:12 pm
Location: SoCal

Re: Direct Sound In/ Out Sync

Post by deraudrl »

The only reason I can imagine that latency would be frequency-dependent would be that there is a LPF on the output of the soundboard's DAC, and what you're seeing is its phase delay. Shouldn't be difficult to measure and compensate for, but I suspect its characteristics would vary between different boards.
I keep a pair of oven mitts next to my computer so I don't get a concussion from slapping my forehead while I'm reading the responses to my questions.
DSP-Robotron
Posts: 58
Joined: Tue Aug 18, 2020 3:39 am

Re: Direct Sound In/ Out Sync

Post by DSP-Robotron »

lalalandsynth wrote:Latency , would be better with Asio but you will still have latency .


The latency comes from FlowStone because it's accumulating all the open schematics on top of each other while showing you only the last one on the screen. That also explains why the results are 10 to 40 times slower than Synthedit.

Tell them to fix it and I need a free beta to play with. Preferably one that is not so extremely buggy like the current demo version (3.0.8.1 Skylark). Thanks.
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Direct Sound In/ Out Sync

Post by Spogg »

DSP-Robotron wrote:The latency comes from FlowStone because it's accumulating all the open schematics on top of each other while showing you only the last one on the screen. That also explains why the results are 10 to 40 times slower than Synthedit.

Tell them to fix it and I need a free beta to play with. Preferably one that is not so extremely buggy like the current demo version (3.0.8.1 Skylark). Thanks.


Please refer to my comment on another thread here:
viewtopic.php?f=2&t=4189&start=130#p162768

Cheers
Post Reply