Audio 如何叠加2个音频剪辑,并使用批脚本同时播放

Audio 如何叠加2个音频剪辑,并使用批脚本同时播放,audio,batch-file,overlay,Audio,Batch File,Overlay,我正在开发一个批处理版本的COD:Black ops 2,我只有一个问题。当我想同时播放两个音频片段时,它会一次播放一个音频片段。例如,我每次玩家射击时,它都会发出声音效果。如果子弹击中僵尸,它会发出另一种声音效果。这两种音效可以同时播放。或者至少应该有。但它不起作用。我没有使用Windows Media Player作为默认媒体播放器。这是我的密码: :shoot set f%bullet%=Û if %times% == 0 goto shot_sound set /a times=%tim

我正在开发一个批处理版本的COD:Black ops 2,我只有一个问题。当我想同时播放两个音频片段时,它会一次播放一个音频片段。例如,我每次玩家射击时,它都会发出声音效果。如果子弹击中僵尸,它会发出另一种声音效果。这两种音效可以同时播放。或者至少应该有。但它不起作用。我没有使用Windows Media Player作为默认媒体播放器。这是我的密码:

:shoot
set f%bullet%=Û
if %times% == 0 goto shot_sound
set /a times=%times% + 1

if %face% == 1 set /a bullet=%bullet% - 20
if %face% == 2 set /a bullet=%bullet% + 20
if %face% == 3 set /a bullet=%bullet% - 1
if %face% == 4 set /a bullet=%bullet% + 1
if %bullet% == %p2% goto hit2
if %bullet% == %p3% goto hit3
if %bullet% == %p4% goto hit4
if %bullet% == %p5% goto hit5
if %bullet% == %p6% goto hit6
if %bullet% == %p7% goto hit7
goto play

:shot_sound
set /a times=%times% + 1
if %n1% == gay_pistol start /min c:\Users\%username%\Desktop\zombies\pistol.mp3
if %n1% == Executioner start /min c:\Users\%username%\Desktop\zombies\Executioner.ogg
goto play




:hit2
start /min c:\Users\%USERNAME%\Desktop\zombies\zombie01.wma
if %hp2% leq 0 goto kill1
if %knife% == %p2% set /a hp2=%hp2% - %knife_power%
if %bullet% == %p2% set /a hp2=%hp2% - %power%
goto play    

我无法测试这是否有效,因为我的电脑上没有任何音乐,但我相信键入:

call pistol.mp3

调用Executioner.ogg

将工作,希望它有帮助