调整MUTE参数

This commit is contained in:
flym 2026-06-10 21:07:19 +08:00
parent 907fb0aed3
commit 2e7f6bca54
13 changed files with 22663 additions and 22585 deletions

View File

@ -1196,11 +1196,17 @@ void mix_out_automute_open()
e_det_param.count_cycle_ms = 5; /* 检测周期(ms):每 5ms 采样一次能量,周期越短响应越快、耗 CPU 略增 */
#endif
//非屏蔽线拾音头静音参数
e_det_param.mute_energy = 500;
/* e_det_param.mute_energy = 500;
e_det_param.unmute_energy = 550;
e_det_param.mute_time_ms = 35;
e_det_param.unmute_time_ms = 13;
e_det_param.count_cycle_ms = 5;
e_det_param.count_cycle_ms = 5; */
e_det_param.mute_energy = 200;
e_det_param.unmute_energy = 230;
e_det_param.mute_time_ms = 150;
e_det_param.unmute_time_ms = 13;
e_det_param.count_cycle_ms = 5; /**/ // flym 240607-1
/*屏蔽线拾音头静音参数 2026.0520 17:30
e_det_param.mute_energy = 350;
@ -1228,6 +1234,10 @@ void mix_out_automute_open()
e_det_param.ch_total = app_audio_output_channel_get();
#endif
e_det_param.dcc = 1;
printf("mix_out_automute e_det: mute_energy=%d unmute_energy=%d mute_time_ms=%u unmute_time_ms=%u count_cycle_ms=%u ch_total=%d\n",
e_det_param.mute_energy, e_det_param.unmute_energy,
e_det_param.mute_time_ms, e_det_param.unmute_time_ms,
e_det_param.count_cycle_ms, e_det_param.ch_total);
mix_out_automute_hdl = audio_energy_detect_open(&e_det_param);
mix_out_automute_entry = audio_energy_detect_entry_get(mix_out_automute_hdl);
}

Binary file not shown.

View File

@ -0,0 +1,67 @@
@echo off
cd %~dp0
copy ..\..\script.ver .
copy ..\..\uboot.boot .
copy ..\..\tone.cfg .
copy ..\..\cfg_tool.bin .
copy ..\..\app.bin .
copy ..\..\br23loader.bin .
copy ..\..\eq_cfg_bt.bin .
copy ..\..\eq_cfg_lp.bin .
copy ..\..\ota_all.bin .
copy ..\..\ota_nor.bin .
::..\..\isd_download.exe -tonorflash -dev br23 -boot 0x12000 -div8 -wait 300 -uboot uboot.boot -app app.bin -res tone.cfg cfg_tool.bin eq_cfg_bt.bin eq_cfg_lp.bin %1
..\..\isd_download.exe -tonorflash -dev br23 -boot 0x12000 -div8 -wait 300 -uboot uboot.boot -app app.bin -res tone.cfg cfg_tool.bin eq_cfg_bt.bin eq_cfg_lp.bin -format all %1 -key KTS-AC69xx_5458.key
:: -format all
::-reboot 2500
@rem ɾ<><C9BE><EFBFBD><EFBFBD>ʱ<EFBFBD>ļ<EFBFBD>-format all
if exist *.mp3 del *.mp3
if exist *.PIX del *.PIX
if exist *.TAB del *.TAB
if exist *.res del *.res
if exist *.sty del *.sty
@rem <20><><EFBFBD>ɹ̼<C9B9><CCBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
copy ota_all.bin ota.bin
..\..\fw_add.exe -noenc -fw jl_isd.fw -add ota.bin -type 100 -out jl_isd_all.fw
copy ota_nor.bin ota.bin
..\..\fw_add.exe -noenc -fw jl_isd.fw -add ota.bin -type 100 -out jl_isd_nor.fw
@rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ýű<C3BD><C5B1>İ汾<C4B0><E6B1BE>Ϣ<EFBFBD><CFA2> FW <20>ļ<EFBFBD><C4BC><EFBFBD>
..\..\fw_add.exe -noenc -fw jl_isd_all.fw -add script.ver -out jl_isd_all.fw
..\..\fw_add.exe -noenc -fw jl_isd_nor.fw -add script.ver -out jl_isd_nor.fw
..\..\ufw_maker.exe -fw_to_ufw jl_isd_all.fw
..\..\ufw_maker.exe -fw_to_ufw jl_isd_nor.fw
copy jl_isd_all.ufw update.ufw
copy jl_isd_nor.ufw nor_update.ufw
copy jl_isd_all.fw jl_isd.fw
del jl_isd_all.ufw jl_isd_nor.ufw jl_isd_all.fw jl_isd_nor.fw
@REM <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
::ufw_maker.exe -chip AC800X %ADD_KEY% -output config.ufw -res bt_cfg.cfg
::IF EXIST jl_696x.bin del jl_696x.bin
@rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>
@rem -format vm //<2F><><EFBFBD><EFBFBD>VM <20><><EFBFBD><EFBFBD>
@rem -format cfg //<2F><><EFBFBD><EFBFBD>BT CFG <20><><EFBFBD><EFBFBD>
@rem -format 0x3f0-2 //<2F><>ʾ<EFBFBD>ӵ<EFBFBD> 0x3f0 <20><> sector <20><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2 <20><> sector(<28><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ16<31><36><EFBFBD>ƻ<EFBFBD>10<31><30><EFBFBD>ƶ<EFBFBD><C6B6>ɣ<EFBFBD><C9A3>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>10<31><30><EFBFBD><EFBFBD>)
ping /n 2 127.1>null
IF EXIST null del null

View File

@ -13,6 +13,7 @@ copy ..\..\eq_cfg_lp.bin .
copy ..\..\ota_all.bin .
copy ..\..\ota_nor.bin .
::..\..\isd_download.exe -tonorflash -dev br23 -boot 0x12000 -div8 -wait 300 -uboot uboot.boot -app app.bin -res tone.cfg cfg_tool.bin eq_cfg_bt.bin eq_cfg_lp.bin %1
..\..\isd_download.exe -tonorflash -dev br23 -boot 0x12000 -div8 -wait 300 -uboot uboot.boot -app app.bin -res tone.cfg cfg_tool.bin eq_cfg_bt.bin eq_cfg_lp.bin -format all %1 -key KTS-AC69xx_5458.key

File diff suppressed because it is too large Load Diff