【发布时间】:2020-02-19 19:13:48
【问题描述】:
我一直在尝试获得类似于 audiomath examples 中的动态平移演示的效果:
import math
import audiomath as am
s = am.TestSound('12').MixDownToMono()
p = am.Player(s)
period_in_seconds = 4.0
p.Play(loop=True, pan=lambda t: math.sin(2 * math.pi * t / period_in_seconds))
但是,声像听起来并不流畅:声音在中间时音量会增大,而在两侧会略微减弱。关于如何使这样的过渡听起来流畅的任何建议?
【问题讨论】: