creating the chorus effect without using a loop
Show older comments
okay so I made some progress but I am still lost and im not sure what sound I am suppose to hear back. There are not any helpful youtube videos about this topic.. but now I am hearing a static noise for about 3 seconds. Please if anyone can look at my updated code and help me out so I can see what I am doing wrong. Do it for a veteran :)
[x,Fs]=audioread('slowguitar.wav');
sound(x, Fs);
n=44100;
D=round(Fs*40e-3);
x=rand(1,n);
y=zeros(1,n);
y(1)=x(1);
y(2:n) =x(2:n)+x(n-D);
sound(y(2:n), Fs);
2 Comments
Paul
on 15 Nov 2022
Hi Damien,
I don't know what the chorus effect is, so don't know how it should be implemented. If it can be explained, preferably in mathematical terms, it's likely someone could help implement it in Matlab.
In the above code, the variable x is an output from audioread, but four lines later it's overwritten with random numbers. Is that correct?
Damien
on 15 Nov 2022
Accepted Answer
More Answers (1)
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!