Sound with filters
2 views (last 30 days)
Show older comments
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??
0 Comments
Accepted Answer
Walter Roberson
on 18 Apr 2012
mean() the six signals and output that.
2 Comments
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.
More Answers (0)
See Also
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!