由给定的谐波分量相对强度生成音符,用于乐器模拟、MIDI制作等...
代码说明:
由给定的谐波分量相对强度生成音符,用于乐器模拟、MIDI制作等- HARMONIC Generates a note with its harmonic wave HT=harmonic(soundname,tone,k,type) Generate a note with its harmonic wave in given tone, simulating particular type of musical instrument type=[basic,second,third,fourth,fifth] represents the coefficients of harmonic wave. This function is able to simulate several musical instrument varying the relative amplitude of each harmonic wave. Example : Re=harmonic(2, C ,4,[1,0.1,0.3,0.05,0.004]) generates a quarter note re in C , and simulating a particular instrument
下载说明:请别用迅雷下载,失败请重下,重下不扣分!