LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can LabVIEW add echo effect to input sound?

Hello, 

i tried to search about this but i could not find answer. how can I add echo effect in labview and merge it with the audio file i'm importing to my circuit? is there specific function i can use ?

 

Thank you

0 Kudos
Message 1 of 8
(265 Views)

Hi Ahmed,

 


@Ahmed.asd wrote:

how can I add echo effect in labview and merge it with the audio file i'm importing to my circuit? is there specific function i can use ?


To add some echo to a sound you need add a delayed and filtered/modified copy of your sound.

LabVIEW comes with functions for signal filtering and you can easily delay waveforms! (Waveforms are a special LabVIEW datatype supporting starttime and sampleinterval…)

Best regards,
GerdW


using LV2016/2019/2020 on Win8.1/10+cRIO
0 Kudos
Message 2 of 8
(260 Views)

There are no preset audio effect functions available in LabVIEW.

 

You should study some digital signal processing (DSP) theory to understand how standard audio effects are created digitally.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 8
(232 Views)

To add to the other replies, have a look at this project perhaps for some ideas and inspiration. 

 

https://github.com/dataflowg/dataflow-dj

---------------------
Patrick Allen: FunctionalityUnlimited.ca
Message 4 of 8
(218 Views)

@GerdW wrote:

To add some echo to a sound you need add a delayed and filtered/modified copy of your sound.

LabVIEW comes with functions for signal filtering and you can easily delay waveforms! (Waveforms are a special LabVIEW datatype supporting starttime and sampleinterval…)


the approach Gerd described is ilustrated in this example:

https://forums.ni.com/t5/Example-Code/Adding-a-Flanger-Effect-to-an-Audio-File/ta-p/3533795

 

However, the example is about a flanger not an echo effect.

0 Kudos
Message 5 of 8
(185 Views)

@alexderjuengere wrote:

@GerdW wrote:

To add some echo to a sound you need add a delayed and filtered/modified copy of your sound.

LabVIEW comes with functions for signal filtering and you can easily delay waveforms! (Waveforms are a special LabVIEW datatype supporting starttime and sampleinterval…)


the approach Gerd described is ilustrated in this example:

https://forums.ni.com/t5/Example-Code/Adding-a-Flanger-Effect-to-an-Audio-File/ta-p/3533795

 

However, the example is about a flanger not an echo effect.


Granted I haven't looked at the code you mentioned but... A Flanger IS a type of "echo" effect...

 

You delay a copy of the signal but not enough to cause too much of a discernable echo.

 

As you mix it back in you modulate the sample clock of the delayed signal.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 8
(174 Views)

@RTSLVU wrote:


Granted I haven't looked at the code you mentioned but... A Flanger IS a type of "echo" effect...

 

You delay a copy of the signal but not enough to cause too much of a discernable echo.

 

As you mix it back in you modulate the sample clock of the delayed signal.



oh, I honestly didn't know that ...  I might have mixed up echo, flanger and reverb ....

 

alexderjuengere_0-1641851420046.pngalexderjuengere_1-1641851445202.png

 

 

0 Kudos
Message 7 of 8
(146 Views)

Well all those stomp boxes (reverb, echo, flanger, chorus) were all based on the same analog delay line IC.

 

There's just slight differences like range of delay time, feeback, clock modulation and what you are able to adjust..

 

I used to love playing with the the old SAD1024 delay line IC when I was young.

 

Did you know the "Flanger" is called that because they originally created the effect during overdubbing. The recording engineer would literally hold his finger on the flange of the tape reel to modulate the pitch of the dub-track.

 

Here's a pretty good overview of how many common effects are produced

========================
=== Engineer Ambiguously ===
========================
Message 8 of 8
(140 Views)