Ardour/Working-with-midi/Transformation-midi
来自motewiki
更多操作
Transformation MIDI:MIDI events 本质上是数值——Transform tool 可以对 region 应用数学运算:humanize(随机化 velocity/start/duration)、创建 arpeggios、transpose 等。入口:right-click region → *[name]* → *MIDI > Transform...*。
用法:先选 *Set* 字段中的属性,再用其后两个字段设置目标值;按 *[+]* 添加行,*[-]* 删除行;*Transform* 应用。每行对每条 note 独立计算。
可变换的属性:MIDI note number、MIDI velocity(0–127)、start time(beats)、length(beats)、MIDI channel。
取值依据:
- this note's(本 note 的值)
- the previous note's
- this note's index(序号,第一条 = 0)
- exactly(常数 1–127)
- a random number from *lower* to *higher*
- equal steps from *lower* to *higher*
运算符:*+*(加)、*-*(减)、**(乘)、*/*(整除)、*mod*(取余)。
示例(humanize):velocity = 本 note velocity + random(1–20) − random(1–20)——最终 velocity 与原值相差 <19 的随机量。
注意:除以零(无效操作)、误以为 index 从 1 开始(实际从 0)等都会产生意外结果。