Sound with filters

2 views (last 30 days)
Avishek
Avishek on 18 Apr 2012
I have created a guitar simulator with digital sound synthesis. I have the output of 6 filters as strings of a guitar and I want to play them together just as in the filterguitar.
The filter I have used as shown below.
%creation of the filter
for u=1:umax
B= [0 b1d(u)];
A = [1 c1d(u) c0d(u)];
g=g+(fe1_mu(u)*filter(B,A,x));
end
I have 6 Gs like that and I want play them together.
Can anyone help, please??

Accepted Answer

Walter Roberson
Walter Roberson on 18 Apr 2012
mean() the six signals and output that.
  2 Comments
Jan
Jan on 18 Apr 2012
This might create unwanted results under very specific circumstances. E.g. if both filters create the same wave form, but the a phase shift of Pi, the resulting sound is silence. But this is the physically correct solution and not a computational problem.
Avishek
Avishek on 18 Apr 2012
Thanks for the answers. But the sound produced are not like the filterguitardemo in matlab.

Sign in to comment.

More Answers (0)

Categories

Find more on Audio Processing Algorithm Design 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!