Spectrogram - Piano sound length

2 次查看(过去 30 天)
Approximately how long are the piano keys kept down in 2.wav when the sound is played? I am supposed to draw guides in the spectrogram to support the argument.
*The attached picture wav 2 is the figure I get from Matlab, but I'm not sure how to see how long the keys are kept down when the sound plays.
Anyone that can help?
  1 个评论
David Goodmanson
David Goodmanson 2022-4-8
编辑:David Goodmanson 2022-4-8
Hi Cecilie,
if you follow along this plot in time, you should see a part at the beginning and a part at the end where the colors are spread out vertically in a different way from what is going on for times in the middle.

请先登录,再进行评论。

回答(1 个)

Bjorn Gustavsson
Bjorn Gustavsson 2022-4-8
Well there are one "music/instrument-based" problem with the question (that might be important or not): on pianos there are the pedals that allow the strings to ring-out even after you release the keys.
What you should do first is to zoom in on the nice cler harmonics that are easily visible at around 2-4 kHz. Do that and then listen to the sound again and think about what you look at, keeping the progress of time in mind. If you do that you will get at least a good grasp of how the spectrogram varies from when a key is hit and another key is hit (or the same keys are hit again and again, like between 8 and 10 s, and 12 and 14 s for example). Once you get that you should also be able to figure out what type of additional variations might be related to the keys being hit and held.
HTH

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by