JAMES BOND 主题曲, 已经更新,完整版本看附件,化了我一晚上敲键盘打出来的。。。。。吹牛ING)
看到KIX 的脚本可以做到,不知道有没有其他更容易的办法。
如果有软件能将一个MP3转换成这些字符串就好了。
WKIX32.EXE play.kix
play.kix (JAMES BOND 主题曲)
-----------------------------------------------------------
PLAY "0g256t 0g8d247f 4d165f 247f 8d262f 4d165f 262f 8d277f 4d165f
277f 8d262f 4d165f 262f 8d247f 4d165f 247f 8d262f 4d165f
262f 8d277f 4d165f 277f 8d262f"
-------------------------------------------------------------
The string or file consists of a sequence of commands indicating the frequency and duration of the tones to play. The following commands are available:
• F or f - frequency
This command causes a tone to be produced at the current frequency. The initial current frequency is 1000Hz. To change the value, indicate the desired frequency immediately followed by the f character. For example, to produce a tone at 1500Hz, specify 1500F.
• G or g - gap
This command sets the number of timer ticks (1 second = 18 ticks) of silence between individual tones. The number of timer ticks between tones is specified as a number immediately followed by G. The initial value is 0.
• D or d - duration
This command sets the length (in timer ticks) of each tone. For example, to make each tone last about a third of a second, use the command 6d.
• T or t - tempo
This command scales the duration of each tone. This allows you to change the duration of a series of tones globally, without having to change each of the individual duration commands.A tempo value of 256 indicates normal tempo. A value of 4df lasts:
• 2 timer ticks, when the tempo is set to 128
• 4 timer ticks, when the tempo is set to 256
• 8 timer ticks, when the tempo is set to 512
还可以播放WAV文件:
play2.kix
play file "C:\WINDOWS\Media\Windows XP Shutdown.wav"
[ Last edited by uiopuiop on 2008-9-25 at 06:08 PM ]