Interpretation Sin(2*pi*f*t) in matlab for producing sound
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone, I am required to produce wave sound files for a given data which contains information about the sound pressure and frequency. I use the equation y = A sin(2*pi*f*t) to produce sound. I am using sound pressure as amplitude. What's strange is that when I produce the sound using this method, I am getting frequency components which are exactly double the original frequency value. When I remove the 2 from the Sin(2*pi*f*t), its working! I get the exact frequency when I perform a fft transform on the wave file. Do any of you have an explanantion for this??
2 comentarios
Star Strider
el 9 de Mzo. de 2016
‘Do any of you have an explanantion for this??’
Not without seeing the rest of your code.
Respuestas (0)
Ver también
Categorías
Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!