Borrar filtros
Borrar filtros

How can i use the linear interpolation?

2 visualizaciones (últimos 30 días)
Áron Laczkovits
Áron Laczkovits el 2 de Oct. de 2013
Comentada: Áron Laczkovits el 10 de Oct. de 2013
Hi!
I need some help about my resampling task. I would like to make up for the non-existent samples with linear interpolation. For example: I have the C and D notes, but missing the C# and I'd like to create it with higher playing. Somebody can explain me how can i use interpolation?
Thx in advance

Respuesta aceptada

Jan
Jan el 2 de Oct. de 2013
Some of the musicians about us remember, that C# is not the linearly interpolated value between C and D.
C = 261.63Hz
C# = 277.18Hz % Not 277.51 !!
D = 293.66Hz
But if you really want to do this, post the format you store the known frequencies in. We cannot guess this detail. Afterwards interp1 would be easy to apply, so if you have troubles with this command, please post, what you have tried and which troubles you got.
  1 comentario
Áron Laczkovits
Áron Laczkovits el 10 de Oct. de 2013
Well, i don't really understand how should i use it. I have an organ sample library. The sample rate is 48kHz for all. I would like to make the C# note from the C. I'd like to know how should i use the interpolation to reach that.Could u explain it with a little example or something?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by