Sound with filters

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??

 Respuesta aceptada

Walter Roberson
Walter Roberson el 18 de Abr. de 2012

1 voto

mean() the six signals and output that.

2 comentarios

Jan
Jan el 18 de Abr. de 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 el 18 de Abr. de 2012
Thanks for the answers. But the sound produced are not like the filterguitardemo in matlab.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by