LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delayed acquisition from microphone for sound distortion pedal

Hi all,

 

I'd like to have a VI that acquires data from the microphone of my computer (or the cable from the guitar plugged to the input microphone port of the pc), then analyze and edit the waveform (e.g., a simple distortion) and then play that waveform on the output audio port.

In attachment there is my VI.

 

The problem is that this acquisition-editing-playing is delayed of about 0.5 sec, that makes it very annoying. I know that obviously there is a delay due to the operations on the signal, but 0.5 sec seems to be a very large time. So I would ask you:

 

1) are there some advices to optimize my code in order to reduce as more as possible this delay between the input and the output?

2) if you try that code with a simple microphone (or, better, with a guitar plugged on the jack input of the pc) you will hear that the output sound falls to zero when the input is lower than a threshold. I could solve this problem increasing the input volume of the microphone?

 

Thank you!

 

Best,

Luca

0 Kudos
Message 1 of 2
(2,094 Views)

Any help?

0 Kudos
Message 2 of 2
(2,051 Views)