Echo effect to an audio recording
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jagadeesh Korukonda
le 31 Mai 2020
Réponse apportée : Codeshadow
le 1 Juin 2020
can anyone help me in solving this question?

0 commentaires
Réponse acceptée
Codeshadow
le 1 Juin 2020
Since you are clearly looking to learn Matlab, I would recommend you try implementing the code yourself. For a start though, understand that you could simulate an echo in the simplest sense as a delayed, and attenuated version of the original signal as mentioned in the prompt.
1) You can compute the delay in samples using the relation DelaySample = Fs*delay.
2) Create an 'impulse response' function with your original signal at the first sample, and the delayed impulse at a distance of DelaySample, and scaled by amp.
3) You can use a 1D convolution of the impulse response with the input signal in the time domain, or perform this calculation in the frequency domain, although you will need to take care of the zero-padding the output signal since the echo will be longer than the original signal.
I hope this helps!
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Measurements and Spatial Audio dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!