cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

SOLVED
rdeletric
Member
Solved!

Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Message contains a hyperlink Message contains an image Message contains an attachment

I have a problem in the acquisition of signals by the PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference. according to this document:

http://www.ti.com/lit/er/slaz036a/slaz036a.pdf
And I can not synchronize the audio acquisition on the inputs. Do you have any way to do this? Thanks in advance.

wave.pngblocoWave.png

10 REPLIES 10
rdeletric
Member

Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Message contains a hyperlink Message contains an image Message contains an attachment

Tenho um problema na aquisição de sinais pela entrada de som do PC, porque o Hardware usado PCM2902 DAC, há Diferença de fase Inter-Channel. de acordo com este documento:

http://www.ti.com/lit/er/slaz036a/slaz036a.pdf
E não consigo sincronizar a aquisição de áudio nas entradas. Você tem alguma maneira de fazer isso? Desde já, obrigado.

wave.pngblocoWave.png

GerdW
Knight of NI

Re: Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Hi rd,

 

according to the PDF there is a phase shift of 1 sample:

- you can "pre-shift" the waveforms before outputting them

- you can "post-shift" the acquired waveforms as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
rdeletric
Member

Re: Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Message contains a hyperlink

Hello , Thanks for your reply, I'm new to labview, I'm learning. What component could you use to do this? A Wave Generator?

rdeletric
Member

Re: Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Generation is "mono" only the pickup is stereo, it will generate a single signal and capture it on both channels.

GerdW
Knight of NI

Re: Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Hi rd,

 

What component could you use to do this?

To "shift" waveforms you could either change the timestamp of the waveform or you could prepend/append samples to the waveform sample array…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
rdeletric
Member

Re: Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Message contains an image

I think I'm doing something wrong or not understanding what you told me right. Look what I tried to do, but it did not work:

wave2.png

GerdW
Knight of NI

Re: Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Hi rd,

 

you can manipulate each waveform individually using GetWaveformComponents and/or BuildWaveform.

The function you picked will not do what you need…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
rdeletric
Member

Re: Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Message contains an image

I can not do it, it did not work.

wave3.png

GerdW
Knight of NI
Solution

Re: Problem in the acquisition of signals by PC sound input, because the Hardware used PCM2902 DAC, there is Inter-Channel Phase Difference

Message contains a hyperlink Message contains an image

Hi rd,

 

as long as you only attach images we cannot debug or modify them using LabVIEW…

 

Both ways to manipulate waveforms I mentioned before are shown in this snippet:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019