Matlab creating piano sounds (strange sound problem)

前端 未结 1 1714
没有蜡笔的小新
没有蜡笔的小新 2021-01-29 06:32

Hello I have to build a program that is able to play some piano sounds from beethoven elise

Now I have implemented the function for the frequency and the sound but it so

1条回答
  •  伪装坚强ぢ
    2021-01-29 07:34

    As mentioned in the Comments, the sound that a piano makes is quite complicated. As such this is not a Matlab challenge, just a math problem.

    Now that you know this, you 'just' need to come up with a reasonable mathematical approximation, and from here it should be straight forward to implement in Matlab.

    Here is something to get you started with the math:

    https://dsp.stackexchange.com/questions/46598/mathematical-equation-for-the-sound-wave-that-a-piano-makes

    0 讨论(0)
提交回复
热议问题