An entertainment platform sound system control method, system and terminal
Patent Information
- Application Number
- CN202611266347.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-09-22
AI Technical Summary
[0005]针对上述问题,本发明提供了一种娱乐平台的音响系统控制方法、系统及终端,用于处理娱乐平台的音响系统在核心音频输入变化时伴随音效功能项易遗漏、参数补全来源不明确以及变化参数项写入缺少冲突检查和校验的问题
在整个娱乐平台的音响系统控制方法中,首先,通过模块配置表确定音效功能项对应的目标音频处理模块和参数地址,并按基础控制等级划分主处理功能集合和伴随处理功能候选集合,使后续控制对象限定在当前娱乐平台的音响系统可执行、可写入的音效功能项范围内。进一步地,通过历史音频控制事件窗记录识别伴随音效功能项,并结合共同出现事件窗数量、参数变化方向反向次数和异常事件窗数量进行判断,可以减少偶然共同出现、历史调校方向不稳定或者带有异常控制记录的音效功能项进入当前控制周期的情况。进一步地,通过检查当前待处理控制数据集并按照当前生效音效参数、同类历史音频控制事件窗记录中的调校后参数、出厂安全默认参数的顺序补全音效参数,可以在当前输入信号未直接携带伴随音效参数时,为待补全音效功能项提供确定的参数来源。进一步地,通过根据参数冲突检查结果和音频信号能量状态确定写入时机,并在写入后执行回读校验,可以减少非保护类变化参数项在演唱持续段写入造成的音效突变,也可以使保护类音效功能项在需要时及时写入,并使当前生效音效参数集与目标音频处理模块的实际参数状态保持一致。
Smart Images

Figure CN122802844A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and specifically to a method, system, and terminal for controlling the audio system of an entertainment platform. Background Technology
[0002] Entertainment platform audio systems typically accept wireless microphone vocal input, wired microphone vocal input, song request / accompaniment input, external audio source input, and Bluetooth audio input simultaneously. Audio processing is handled by digital signal processing, reverb processing, feedback suppression, echo suppression, equalization, song request / accompaniment processing, and power amplification control modules. During song request, singing, and switching between multiple input sources, the audio effects functions corresponding to different input signals are interconnected. For example, wireless microphone vocal input usually triggers vocal processing, noise thresholding, and feedback suppression, and may also undergo parameter adjustments in conjunction with reverb effects, echo suppression, or equalization adjustments during historical usage.
[0003] Existing entertainment platform audio systems often adjust parameters based on sound effect function items directly mapped from the current input signal. While this method can handle sound effect function items directly corresponding to the current input signal, it doesn't fully utilize sound effect function items that are associated with the core audio input type during historical control processes. When only wireless microphone voice input is detected in the current control cycle, and voice processing, noise thresholding, or feedback suppression are processed accordingly, if the current control dataset lacks parameters for associated sound effect function items such as reverberation and echo suppression, the system may not include these parameters in subsequent control flows, resulting in an incomplete range of sound effect parameter updates for the same performance scenario.
[0004] Furthermore, the existing audio control process lacks sufficient filtering of the validity of historical audio control event records and the exclusion of abnormal records. If the need for a particular sound effect function to be added is determined solely by its historical frequency, sound effect functions that appear occasionally, have repeatedly changed adjustment directions, or have previously generated feedback risks, clipping risks, echo remnants, or parameter writing failures may be included in the current control cycle. If such sound effect functions are directly written into the target audio processing module, it may result in inconsistent parameter switching, output states that are inconsistent with the currently effective sound effect parameter set, or the need for subsequent manual readjustment. Simultaneously, the existing parameter writing method typically writes changed parameter items directly into the corresponding audio processing module without fully considering parameter conflict check results and the audio signal energy state to determine the timing of writing. For example, writing reverberation depth, equalization adjustment, or delay processing parameters during a sustained vocal segment may cause a perceptible change in sound effect; protective sound effect functions such as feedback suppression, noise threshold, and echo suppression need to be written only when risks occur. Summary of the Invention
[0005] To address the aforementioned issues, this invention provides a method, system, and terminal for controlling the audio system of an entertainment platform. These methods address problems such as the easy omission of sound effect function items, unclear sources of parameter completion, and lack of conflict checks and verification when writing changed parameter items, especially when the core audio input of the entertainment platform's audio system changes.
[0006] A method for controlling the audio system of an entertainment platform includes: acquiring the audio effect function items, input signal set, module configuration table, and historical audio control event window records of the entertainment platform's audio system; determining the target audio processing module and parameter address corresponding to the audio effect function item based on the module configuration table, and dividing the main processing function set and the accompanying processing function candidate set according to the basic control level; acquiring the core audio input type from the input signal set based on the mapping relationship between signal type and audio effect function item; acquiring the accompanying audio effect function item from the accompanying processing function candidate set based on the historical audio control event window records corresponding to the core audio input type; checking the current control dataset to be processed, acquiring the missing audio effect function items to be completed, and completing the audio effect parameters in the order of currently effective audio effect parameters, calibrated parameters in the same historical audio control event window records, and factory default safety parameters; acquiring the changed parameter items based on the current control dataset to be processed and the currently effective audio effect parameter set, and writing them to the target audio processing module based on the parameter conflict check results, audio signal energy state, and parameter address; updating the currently effective audio effect parameter set after the write verification is passed.
[0007] Optionally, the system acquires the sound effect function items, input signal sets, module configuration tables, and historical audio control event window records of the entertainment platform's audio system. Based on the module configuration table, it determines the target audio processing module and parameter address corresponding to each sound effect function item. It then divides the main processing function set and accompanying processing function candidate set according to the basic control level. This includes: reading the module configuration table and acquiring the sound effect functions corresponding to at least two audio processing modules from the following: digital signal processing module, wireless microphone receiving module, reverb processing module, feedback suppression module, echo suppression module, equalization processing module, song selection and accompaniment processing module, and power amplification control module. The system determines the target audio processing module, parameter name, parameter address, and writable status of each audio effect function item based on the module configuration table. Audio effect functions items that do not have a target audio processing module or whose parameter addresses are not writable are excluded from the process of determining accompanying audio effect functions. Based on the basic control level of each audio effect function item, audio effect functions items that need to participate in core control when microphone input, singing input, accompaniment playback, or input source switching are included in the main processing function set. Audio effect functions items that can be identified as having an accompanying relationship in the historical audio control event window are included in the accompanying processing function candidate set.
[0008] Optionally, historical audio control event window records are generated and filtered in the following way: During historical operation, when any of the following events occur: core audio input access, core audio input type switching, core audio input short-term energy crossing the start threshold, user adjustment of sound effect parameters, system automatic adjustment of sound effect parameters, feedback suppression triggering, echo remnant marker generation, or parameter writing by the target audio processing module, a historical audio control event window record is generated; the historical audio control event window record records the core audio input type, input channel number, sampling time period, adjusted sound effect function item, parameter value before adjustment, parameter value after adjustment, target audio processing module, parameter writing result, abnormal audio marker, and event window end time; valid event windows with the same core audio input type are filtered from the historical audio control event window record, wherein a valid event window is a historical audio control event window record in which the target audio processing module still exists in the entertainment platform's sound system, the parameter writing result is not in a continuous failure state, and the abnormal audio marker does not indicate a hardware failure.
[0009] Optionally, based on the historical audio control event window records corresponding to the core audio input type, the accompanying sound effect function item is obtained from the accompanying processing function candidate set, including: for each candidate sound effect function item in the accompanying processing function candidate set, counting the number of event windows in which the candidate sound effect function item co-occurs with the core audio input type in the effective event windows, wherein when the same candidate sound effect function item is adjusted multiple times in the same effective event window, it is only counted as one co-occurrence; according to the order of the event window end time, counting the number of times the adjusted parameters of the candidate sound effect function item change in the opposite direction to the adjusted parameters of the previous effective event window, and counting the number of abnormal event windows that generate feedback risk markers, clipping risk markers, echo residue markers, or parameter writing failure markers after the candidate sound effect function item participates in control; when the number of co-occurring event windows meets the co-occurrence requirements determined by the number of effective event windows, the number of times the change direction reverses no more than once, and the number of abnormal event windows is zero, the candidate sound effect function item is determined as the accompanying sound effect function item corresponding to the core audio input type.
[0010] Optionally, the co-occurrence requirement is determined based on the number of valid event windows, including: determining the allowed number of times that do not co-occur based on the number of valid event windows, wherein the allowed number of times that do not co-occur is the larger of the number of event windows and the number of valid event windows rounded up; subtracting the allowed number of times that do not co-occur from the number of valid event windows to obtain the co-occurrence requirement; when the number of event windows that co-occur with the candidate sound effect function item and the core audio input type reaches the co-occurrence requirement, it is determined that the candidate sound effect function item meets the co-occurrence condition.
[0011] Optionally, the current control dataset to be processed is checked to obtain the missing audio effect function items to be completed. The audio effect parameters are completed in the following order: currently active audio effect parameters, adjusted parameters in the historical audio control event window records of the same type, and factory default safety parameters. This includes: generating the current control dataset to be processed based on the mapping relationship between the input signal set and signal type and the audio effect function items. The data items in the current control dataset to be processed must include at least the audio effect function item identifier, parameter name, parameter value, parameter unit, parameter source, target audio processing module identifier, and parameter address; and checking whether there are any accompanying audio effect function items in the current control dataset to be processed. If a data item with the same sound effect function item identifier and the same parameter name does not exist, the accompanying sound effect function item will be identified as the sound effect function item to be completed. The current parameter values with the same sound effect function item identifier and the same parameter name as the sound effect function item to be completed in the current effective sound effect parameter set, the adjusted parameter values in the most recent historical audio control event window record containing the same core audio input type and the same sound effect function item to be completed, and the factory default parameters will be read in sequence. If none of the above three types of parameters exist, a parameter missing identifier will be recorded in the current control dataset to be processed, and writing empty parameters to the target audio processing module will be prohibited.
[0012] Optionally, the variable parameter items are obtained based on the current control dataset to be processed and the current effective sound effect parameter set, and written to the target audio processing module according to the parameter conflict check results, audio signal energy state, and parameter address. This includes: comparing the data items in the current control dataset to be processed with the parameter items in the current effective sound effect parameter set that have the same sound effect function item identifier and the same parameter name; if there is no corresponding parameter item in the current effective sound effect parameter set, or if there is a corresponding parameter item but the parameter value is different, the corresponding data item in the current control dataset to be processed is identified as a variable parameter item; when the variable parameter item contains at least two of the following: voice gain, reverberation depth, feedback suppression level, and noise threshold, the presence of feedback risk or clipping is determined according to the parameter conflict rule table. The parameter combination is considered for risk or echo residue risk. If a parameter combination risk exists, the safety boundaries of the feedback suppression level and noise threshold are maintained, and the increase in voice gain or reverberation depth is limited. Based on the short-time energy sequence in the input signal set, it is determined whether there is a segment in the current control cycle whose energy meets the writing conditions. If there is a segment whose energy meets the writing conditions, the variable parameter item is written in the segment whose energy meets the writing conditions. If there is no segment whose energy meets the writing conditions and the sound effect function item corresponding to the variable parameter item belongs to the protection type of sound effect function item, the variable parameter item is written immediately. If there is no segment whose energy meets the writing conditions and the sound effect function item corresponding to the variable parameter item does not belong to the protection type of sound effect function item, the variable parameter item is written after the end of the current control cycle.
[0013] Optionally, after successful write verification, the currently effective sound effect parameter set is updated, including: querying the module configuration table based on the sound effect function item identifier of the changed parameter item to determine the target audio processing module and parameter address corresponding to the changed parameter item; when the target audio processing module exists and the parameter address is writable, the changed parameter item is written to the corresponding parameter address at the determined write time; when the target audio processing module does not exist or the parameter address is not writable, the changed parameter item is not written, and the module is not executable; after the write is completed, the readback value of the corresponding parameter address in the target audio processing module is read, and the readback value is compared with the target write value; if the readback value is consistent with the target write value, the currently effective sound effect parameter set is updated; if the readback value is inconsistent with the target write value, it is rewritten; if it is still inconsistent after rewriting, the original parameter value in the currently effective sound effect parameter set is retained, and a parameter write failure flag is recorded in the historical audio control event window record.
[0014] A sound system control system for an entertainment platform is also provided, including: a configuration parsing module, used to acquire the sound effect function items, input signal set, module configuration table, and historical audio control event window records of the entertainment platform's sound system; determine the target audio processing module and parameter address corresponding to the sound effect function item according to the module configuration table; and divide the main processing function set and accompanying processing function candidate set according to the basic control level; a core input determination module, used to acquire the core audio input type from the input signal set according to the mapping relationship between signal type and sound effect function item; and an accompanying sound effect function item determination module, used to determine the target audio processing module and parameter address corresponding to the core audio input type according to the historical audio control event window records. The frequency control event window records the accompanying sound effect function items from the candidate set of accompanying processing functions; the parameter completion module is used to check the current control dataset to be processed, obtain the missing sound effect function items to be completed, and complete the sound effect parameters in the order of the currently effective sound effect parameters, the adjusted parameters in the same historical audio control event window records, and the factory default safety parameters; the parameter writing module is used to obtain the changed parameter items according to the current control dataset to be processed and the current effective sound effect parameter set, and write them to the target audio processing module according to the parameter conflict check results, audio signal energy status, and parameter address. After the write verification is passed, the current effective sound effect parameter set is updated.
[0015] A sound system control terminal for an entertainment platform is also provided, including a processor, a memory, an audio input interface, an audio output interface, and an audio processing control interface. The memory stores a module configuration table, a mapping relationship between signal types and sound effect function items, historical audio control event window records, a set of currently active sound effect parameters, factory default parameters, and a parameter conflict rule table. The audio input interface receives wireless microphone voice input, wired microphone voice input, song request accompaniment input, external audio source input, or Bluetooth audio input, and forms an input signal set. The audio processing control interface writes changed parameter items to the target audio processing module according to the parameter address and reads the readback value of the corresponding parameter address in the target audio processing module. The processor executes the program stored in the memory to implement the sound system control method of the entertainment platform.
[0016] The beneficial effects of this invention are reflected in: In the overall audio system control method of the entertainment platform, firstly, the target audio processing module and parameter address corresponding to the audio effect function item are determined through the module configuration table. Then, the main processing function set and the accompanying processing function candidate set are divided according to the basic control level, limiting the subsequent control objects to the range of executable and writable audio effect functions of the current entertainment platform's audio system. Furthermore, accompanying audio effect functions are identified through historical audio control event window records. This is combined with the number of co-occurring event windows, the number of reverse parameter change directions, and the number of abnormal event windows to reduce the occurrence of audio effect functions that are accidentally co-occurring, have unstable historical calibration directions, or have abnormal control records entering the current control cycle. Furthermore, by checking the current control dataset to be processed and supplementing the audio effect parameters in the order of currently effective audio effect parameters, calibrated parameters in similar historical audio control event window records, and factory default safety parameters, a definite parameter source can be provided for the audio effect function items to be supplemented when the current input signal does not directly carry accompanying audio effect parameters. Furthermore, by determining the timing of writing based on the parameter conflict check results and the audio signal energy state, and performing a readback check after writing, the sudden changes in sound effects caused by writing non-protected variable parameter items during the singing duration can be reduced. It can also ensure that protected sound effect function items are written in a timely manner when needed, and keep the currently effective sound effect parameter set consistent with the actual parameter state of the target audio processing module. Attached Figure Description
[0017] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn to scale.
[0018] Figure 1This is a schematic diagram illustrating the steps of the audio system control method for the entertainment platform of the present invention; Figure 2 This is a schematic diagram of a portion of steps S1 in the audio system control method of the entertainment platform of the present invention; Figure 3 This is a schematic diagram of a portion of step S2 in the audio system control method of the entertainment platform of the present invention; Figure 4 This is a schematic diagram of a portion of step S3 in the audio system control method of the entertainment platform of the present invention; Figure 5 This is a schematic diagram of a portion of step S4 in the audio system control method of the entertainment platform of the present invention; Figure 6 This is a schematic diagram of the overall architecture and data flow of the audio system control method of the entertainment platform of the present invention; Figure 7 This is a timing interaction diagram of the audio system control method of the entertainment platform of the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0021] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, the terms first, second, etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0022] This invention provides a method for controlling the audio system of an entertainment platform, such as... Figure 1 As shown, in one embodiment, the method includes: S1. Obtain the sound effect function items, input signal set, module configuration table and historical audio control event window records of the entertainment platform's audio system. Determine the target audio processing module and parameter address corresponding to the sound effect function item according to the module configuration table, and divide the main processing function set and the accompanying processing function candidate set according to the basic control level. S2. Based on the mapping relationship between signal type and sound effect function item, obtain the core audio input type from the input signal set, and based on the historical audio control event window record corresponding to the core audio input type, obtain the accompanying sound effect function item from the accompanying processing function candidate set. S3. Check the current control dataset to be processed, obtain the missing sound effect function items to be completed, and complete the sound effect parameters in the order of the currently effective sound effect parameters, the adjusted parameters in the similar historical audio control event window records, and the factory safety default parameters. S4. Obtain the changed parameter items based on the current control dataset to be processed and the current effective sound effect parameter set, and write them to the target audio processing module according to the parameter conflict check results, audio signal energy status and parameter address. After the write verification is passed, update the current effective sound effect parameter set.
[0023] In this embodiment, the audio system of the entertainment platform can be applied to karaoke entertainment scenarios, singing entertainment scenarios, interactive entertainment rooms, home entertainment platforms, or entertainment platforms with multiple input audio sources and sound effect control functions. The audio system of the entertainment platform includes multiple audio processing modules capable of receiving, processing, or outputting audio. These audio processing modules may include at least two of the following: a digital signal processing module, a wireless microphone receiving module, a reverb processing module, a feedback suppression module, an echo suppression module, an equalization processing module, a karaoke accompaniment processing module, and a power amplification control module. Sound effect functions are audio control objects in the entertainment platform's audio system that can be identified, recorded, completed, compared, and written, including at least two of the following: vocal processing, noise threshold, feedback suppression, echo suppression, reverb effect, equalization adjustment, accompaniment enhancement, delay processing, input channel gain, and power output limiting. Sound effect functions are extracted from the module configuration table and the list of executable functions returned by each audio processing module. The system deduplicates the function names returned by different modules and uses the sound effect function identifier as the unique identification basis. For example, if the digital signal processing module returns voice processing, equalization adjustment, and input channel gain; the reverb processing module returns reverb effect; and the feedback suppression module returns feedback suppression, then the system extracts five audio effect function items: voice processing, equalization adjustment, input channel gain, reverb effect, and feedback suppression. The input signal set represents the real-time audio signal acquired within the current control cycle, and the current control dataset represents the data set actually involved in parameter completion, parameter comparison, and parameter writing within the current control cycle.
[0024] The current control cycle length is set based on the parameter response time of the audio processing module, the input buffer update cycle, and the user-perceptible sound effect switching time. It can be written to the memory during system initialization. For example, if the audio system of an entertainment platform updates the input buffer every 10 ms and parameter writing and reading are usually completed within 40 ms, the current control cycle length can be set to 100 ms so that sampling, judgment, writing, and verification can be completed within one control cycle.
[0025] In S1, the system first establishes the execution boundary between sound effect function items and target audio processing modules. The module configuration table records whether each sound effect function item can be executed by the current entertainment platform's audio system, whether the corresponding parameters can be written, and whether the write address exists. This serves as the control basis for the system to determine the target audio processing module and parameter address. For example, although reverb effects may frequently appear in historical audio control event window records, if the current entertainment platform's audio system does not have a reverb processing module, or if the reverb depth parameter address of the reverb processing module is in a non-writable state, the system cannot use the reverb effect as a subsequently writable accompanying sound effect function item. S1 also divides sound effect function items into a main processing function set and an accompanying processing function candidate set according to the basic control level. The main processing function set is used to identify the core audio input type, and the accompanying processing function candidate set is used to determine the accompanying relationship based on historical audio control event window records. This step is used to determine the audio module execution boundary and function candidate range in the subsequent control process, and to exclude sound effect function items that cannot be executed or are non-writable. For example, in an entertainment platform private room system, the module configuration table records that the reverb processing module, feedback suppression module, digital signal processing module, and wireless microphone receiving module are all in an available state. The system can incorporate reverb effects, feedback suppression, voice processing, and noise thresholds into subsequent judgments. If the delay processing does not have a corresponding target audio processing module, the delay processing will not enter the process of determining the accompanying sound effect function item.
[0026] In S2, the system determines the core audio input type based on the input signal set and identifies accompanying sound effect functions based on historical audio control event window records. The real-time audio signals in the input signal set include at least the signal type, input channel number, sampling time period, short-time energy sequence, and source module identifier. Based on the mapping relationship between signal type and sound effect function, the system converts wireless microphone voice input, wired microphone voice input, song request accompaniment input, external audio source input, or Bluetooth audio input into corresponding sound effect function items. When at least one sound effect function item corresponding to a real-time audio signal belongs to the main processing function set, the signal type of that real-time audio signal is determined as the core audio input type. Subsequently, the system filters valid event windows that are the same as the core audio input type and counts the number of event windows in the candidate set of accompanying processing functions where candidate sound effect functions co-occur with the core audio input type, the number of times the parameter change direction is reversed, and the number of abnormal event windows. In this way, S2 determines the accompanying sound effect function item based on the count of co-occurrences, combined with the number of times the adjustment direction is reversed and the number of abnormal event windows. For example, if the reverb effect appears in 18 event windows, the reversal direction occurs once, and the number of abnormal event windows is 0, then it can be identified as an accompanying sound effect function item; if the delay processing only appears in 8 event windows, then it will not be identified as an accompanying sound effect function item.
[0027] The input signal set is generated by combining audio data collected by the audio input interface within the current control cycle and the status of the source module. The system determines the input channel number according to the input interface number, the source module identifier according to the module identifier, and the sampling time period according to the sampling start and end time. A short-time energy sequence is then generated based on the audio sampling data. For example, if a human voice signal is input to channel 1 of the wireless microphone receiving module within the current control cycle of 0 s to 0.1 s, an input signal item is formed with the signal type "wireless microphone human voice input," input channel number 1, and sampling time period of 0 s to 0.1 s.
[0028] In S3, the system matches the accompanying sound effect function items obtained in S2 with the current control dataset to be processed to determine if there are any missing items in the current control cycle. Each data item in the current control dataset to be processed includes at least the sound effect function item identifier, parameter name, parameter value, parameter unit, parameter source, target audio processing module identifier, and parameter address. If a data item with the same sound effect function item identifier and parameter name as the accompanying sound effect function item already exists in the current control dataset, it means that the current control cycle already contains the corresponding sound effect parameter and does not need to be completed again; if it does not exist, the accompanying sound effect function item is identified as a sound effect function item to be completed. For a sound effect function item to be completed, the system obtains the sound effect parameters in the following order: currently active sound effect parameters, adjusted parameters recorded in the historical audio control event window of the same type, and factory default safety parameters. The technical significance of this order is that it prioritizes maintaining the continuity of the current running state, then utilizes the results of similar historical control, and finally uses the safety default parameters; if none of the three types of parameters exist, a parameter missing identifier is recorded, and writing empty parameters to the target audio processing module is prohibited. For example, if the current control dataset to be processed already contains voice processing parameters and feedback suppression parameters corresponding to the human voice input of the wireless microphone, but no reverb effect parameters, and the reverb effect has been determined as an accompanying sound effect function item, then the system reads the reverb depth, reverb time and wet sound ratio from the currently effective sound effect parameter set and writes them into the current control dataset to be processed.
[0029] In S4, the system compares the current control dataset to be processed with the current effective audio effect parameter set to determine the variable parameter items that actually need to be written to the target audio processing module. If the corresponding parameter item does not exist in the current effective audio effect parameter set, or if the corresponding parameter item exists but the parameter value is different, then the corresponding data item in the current control dataset to be processed is determined as the variable parameter item. Subsequently, the system determines whether there is a risk of howling, clipping, or echo residue between the variable parameter items according to the parameter conflict rule table; then, it determines whether there is a segment in the current control cycle that meets the writing conditions based on the short-time energy sequence in the input signal set. If there is a segment that meets the writing conditions, then the variable parameter item is written to that segment; if there is no segment that meets the writing conditions but the variable parameter item belongs to the protection category of audio effect function items, then it is written immediately; if there is no segment that meets the writing conditions and the variable parameter item does not belong to the protection category of audio effect function items, then it is delayed until the end of the current control cycle to write. After the writing is completed, the system reads the readback value of the corresponding parameter address in the target audio processing module and compares it with the target written value. Only after the write verification passes is the current effective audio effect parameter set updated. For example, if the reverberation depth in the current control dataset is 56% and the reverberation depth in the current effective sound effect parameter set is 50%, then the reverberation depth is a variable parameter item. If the short-time energy value at 1.28 s within the current control cycle meets the writing condition, then the system writes the reverberation depth to the segment corresponding to that time, and updates the current effective sound effect parameter set after the readback value matches the target write value.
[0030] In summary, by determining the target audio processing module and parameter address corresponding to the audio effect function item through the module configuration table, and dividing the main processing function set and the accompanying processing function candidate set according to the basic control level, the subsequent control objects are limited to the range of audio effect functions that can be executed and written by the current entertainment platform's audio system. Furthermore, by identifying accompanying audio effect functions through historical audio control event window records, and combining this with the number of co-occurring event windows, the number of reverse parameter change directions, and the number of abnormal event windows, the number of audio effect functions that occasionally co-occur, have unstable historical calibration directions, or have abnormal control records entering the current control cycle can be reduced. Furthermore, by checking the current control dataset to be processed and supplementing the audio effect parameters in the order of currently effective audio effect parameters, calibrated parameters in similar historical audio control event window records, and factory default safety parameters, a definite parameter source can be provided for the audio effect function items to be supplemented when the current input signal does not directly carry accompanying audio effect parameters. Furthermore, by determining the timing of writing based on the parameter conflict check results and the audio signal energy state, and performing a readback check after writing, the sudden changes in sound effects caused by writing non-protected variable parameter items during the singing duration can be reduced. It can also ensure that protected sound effect function items are written in a timely manner when needed, and keep the currently effective sound effect parameter set consistent with the actual parameter state of the target audio processing module.
[0031] like Figure 2 As shown, in one specific embodiment, S1 includes: S11. Read the module configuration table and obtain the sound effect function items corresponding to at least two audio processing modules in the audio system of the entertainment platform, namely, digital signal processing module, wireless microphone receiving module, reverb processing module, feedback suppression module, echo suppression module, equalization processing module, song selection and accompaniment processing module, and power amplification control module.
[0032] S12. Determine the target audio processing module, parameter name, parameter address, and writable status of each sound effect function item according to the module configuration table, and exclude sound effect function items that do not have a target audio processing module or whose parameter address is in a non-writable state from the process of determining the accompanying sound effect function items.
[0033] S13. Based on the basic control level of each sound effect function item, the sound effect function items that need to participate in the core control when microphone input, singing input, accompaniment playback or input source switching are included in the main processing function set, and the sound effect function items that can be identified by their accompaniment relationship in the historical audio control event window record are included in the accompaniment processing function candidate set.
[0034] In this embodiment, it should be noted that in S11, the module configuration table can be pre-stored in the control storage area of the entertainment platform's audio system. The module configuration table includes at least the audio processing module name, audio processing module identifier, sound effect function item identifier, parameter name, parameter address, and parameter writable status. After reading the module configuration table, the system can determine the sound effect functions that each audio processing module can execute. For example, in an entertainment platform booth system, the digital signal processing module can correspond to voice processing, equalization adjustment, input channel gain, and delay processing; the wireless microphone receiving module can correspond to noise threshold and input channel gain; the reverb processing module can correspond to reverb effects; the feedback suppression module can correspond to feedback suppression; the echo suppression module can correspond to echo suppression; the song selection and accompaniment processing module can correspond to accompaniment enhancement; and the power amplification control module can correspond to power output limiting. If the module configuration table records that the reverb depth parameter address of the reverb processing module is writable and the feedback suppression level parameter address of the feedback suppression module is writable, then the system can subsequently use the reverb effect and feedback suppression as executable sound effect functions for judgment. S11 is used to extract controllable sound effect functions from the audio system hardware and software configuration of the entertainment platform, so that the control objects are derived from the module configuration table and the list of executable functions.
[0035] The module configuration table is generated by the audio system of the entertainment platform during factory configuration, module initialization, and on-site debugging. The system reads the module identifier, executable function list, parameter address table, and write permission status of each audio processing module to form the module configuration table. For example, if the module identifier of the reverb processing module is read as M03, the reverb depth parameter address is 0x2101, and the parameter writable status is writable, then the module configuration table records "Reverb Processing Module - Reverb Effect - Reverb Depth - 0x2101 - Writable".
[0036] In S12, the system confirms the target audio processing module, parameter name, parameter address, and parameter writable status corresponding to each sound effect function item according to the module configuration table. The target audio processing module refers to the audio processing module capable of executing the corresponding sound effect function item; the parameter address refers to the address, register location, or parameter storage location in the target audio processing module used to write the corresponding parameter value; the parameter writable status indicates whether the parameter address is allowed to be written within the current control cycle. If a sound effect function item does not have a corresponding target audio processing module in the module configuration table, it means that the current entertainment platform's sound system cannot execute that sound effect function item; if the target audio processing module exists but the parameter address is in a non-writable state, it means that although the sound effect function item exists, it is not allowed to be written within the current control cycle. The system excludes the aforementioned sound effect function items from the process of determining accompanying sound effect function items, and does not consider unexecutable or non-writable sound effect function items as currently available accompanying sound effect function items. For example, if an entertainment platform replaces the sound system in a private room and removes the independent delay processing module, and the delay processing module is not listed in the module configuration table, then even if the delay processing has appeared together with the wireless microphone voice input in the history, the system will not consider the delay processing as a currently available accompanying sound effect function.
[0037] The parameter address and writable status are determined by the target audio processing module's communication protocol, register table, or parameter storage table. During initialization, the system reads the parameter address table and, in conjunction with the module's online status, parameter locking status, and current control permissions, determines the parameter writable status. For example, if the reverb processing module returns a reverb depth parameter address of 0x2101, and the module is currently online and this address is not locked, then the parameter writable status is writable. If the delay processing module is offline, the corresponding parameter address record for delay processing is empty, and the parameter writable status record is non-writable.
[0038] In S13, the basic control level is used to determine the fundamental role of audio effects in the audio system control process of the entertainment platform. Audio effects related to microphone access and vocal input, such as vocal processing, noise thresholding, and feedback suppression, can be classified into the main processing function set. Audio effects that may not directly trigger core control but may have a historical relationship with core audio input, such as reverb, delay processing, and accompaniment enhancement, can be classified into the accompanying processing function candidate set. For example, in a wireless microphone vocal input scenario, vocal processing, noise thresholding, and feedback suppression are audio effects that need to participate in core control; reverb does not need to be adjusted every time a wireless microphone is accessed, but it may appear together with wireless microphone vocal input in historical singing events, so it can be included in the accompanying processing function candidate set. The basic control level is only used to define the processing scope and does not directly determine whether audio effect parameters are written. Whether to write is determined by the historical audio control event window record, the missing state of the current pending control dataset, the parameter conflict check results, and the audio signal energy state. The basic control level is not directly used as the writing priority.
[0039] The basic control level is a configuration field stored in the module configuration table corresponding to the sound effect function item identifier. It represents the basic control role of the sound effect function item in the current entertainment platform's audio system. The basic control level includes at least a core control level and an accompanying candidate level. The core control level is used to mark sound effect function items that need to directly participate in the core audio input type determination when microphone access, vocal input, accompaniment playback, or input source switching occurs. The accompanying candidate level is used to mark sound effect function items that do not directly determine the core audio input type but allow the determination of accompanying relationships based on historical audio control event window records. The basic control level can be written into the module configuration table during factory configuration, system initialization, or on-site debugging, and is read along with the sound effect function item identifier each time the module configuration table is read.
[0040] The basic control level can be determined by the factory-configured function roles and a limited number of historical control records. Functions that directly participate in the core audio input type judgment are set as the core control level, while other function items that allow the identification of accompanying relationships based on historical event windows are set as accompanying candidate levels. For example, in 30 wireless microphone voice input history records, if voice processing, noise threshold, and feedback suppression are all activated directly upon microphone input, then they are configured as the core control level; if the reverb effect is only adjusted jointly in some singing events, then it is configured as an accompanying candidate level.
[0041] The main processing function set and the accompanying processing function candidate set are automatically constructed based on the basic control level. The system writes sound effect functions with a basic control level of core control level into the main processing function set, and writes sound effect functions with a basic control level of accompanying candidate level and writable parameter addresses into the accompanying processing function candidate set. For example, if the basic control level of vocal processing, noise thresholding, and feedback suppression is core control level, then they enter the main processing function set; if the basic control level of reverb effects, delay processing, and accompaniment enhancement is accompanying candidate level and their parameter addresses are writable, then they enter the accompanying processing function candidate set.
[0042] Through steps S11 to S13, the system establishes a range of executable sound effect functions, a set of main processing functions, and a candidate set of accompanying processing functions. This process enables subsequent step S2 to identify accompanying relationships based on the writable sound effect functions in the module configuration table, and to exclude outdated modules, functions with non-writable parameters, or functions without a target audio processing module. For the audio system of an entertainment platform, this step maps the sound effect function classification process to audio processing modules, parameter addresses, and writability.
[0043] like Figure 3 As shown, in one specific embodiment, S2 includes: S21. Obtain the input signal set within the current control cycle. Based on the mapping relationship between signal type and sound effect function item, convert the real-time audio signal in the input signal set into the corresponding sound effect function item, and determine the signal type of at least one corresponding sound effect function item belonging to the main processing function set as the core audio input type.
[0044] S22. During historical operation, when any of the following events occur, such as core audio input access, core audio input type switching, core audio input short-term energy crossing the start threshold, user adjustment of sound effect parameters, system automatic adjustment of sound effect parameters, feedback suppression triggering, echo residue marker generation, or parameter writing by the target audio processing module, a historical audio control event window record is generated, and valid event windows of the same type as the core audio input are selected from the historical audio control event window record.
[0045] S23. Based on the valid event window, perform co-occurrence statistics, reverse change direction statistics, and abnormal event window statistics on the candidate sound effect function items in the candidate set of accompanying processing functions, and obtain the accompanying sound effect function items corresponding to the core audio input type based on the statistical results.
[0046] In this embodiment, it should be noted that in S21, the real-time audio signal in the input signal set includes at least the signal type, input channel number, sampling time period, short-time energy sequence, and source module identifier. The signal type includes wireless microphone vocal input, wired microphone vocal input, song request accompaniment input, external audio source input, or Bluetooth audio input. The mapping relationship between signal type and sound effect function items is used to convert different input signals into sound effect function items that can be recognized by the audio system control logic of the entertainment platform. For example, wireless microphone vocal input can be mapped to vocal processing, noise thresholding, and feedback suppression; song request accompaniment input can be mapped to accompaniment enhancement and equalization adjustment; and Bluetooth audio input can be mapped to input channel gain and equalization adjustment. If at least one sound effect function item corresponding to the real-time audio signal belongs to the main processing function set, the signal type of the real-time audio signal is determined as the core audio input type. This determination does not rely solely on the volume of a single frame, reducing the impact of pauses in singing, accompaniment intervals, or short-time input fluctuations on the core audio input type determination. For example, the energy of a wireless microphone vocal input drops briefly during the short pause after a lyric, but its source module identifier and input channel number still indicate that the input is a wireless microphone vocal input, so it can still be identified as a core audio input type.
[0047] The mapping relationship between signal type and sound effect function is determined by the factory input source configuration, on-site debugging results, and a limited number of historical control records. The system counts the sound effect functions that are directly activated or adjusted by the user after the same signal type is connected, and writes the corresponding relationships that meet the record quantity requirements into the mapping table. For example, if 20 wireless microphone voice input records are counted, and voice processing, noise thresholding, and feedback suppression are all activated in all 20 records, then the wireless microphone voice input is mapped to voice processing, noise thresholding, and feedback suppression.
[0048] The short-time energy sequence is obtained by dividing the audio sampling data within the current control cycle according to a preset frame length and a preset frame shift. The preset frame length and frame shift are set based on the sampling rate, control cycle length, and write response requirements. For example, with a sampling rate of 48 kHz and a current control cycle length of 100 ms, the preset frame length can be set to 20 ms and the preset frame shift to 10 ms. Each frame contains 960 sampling points, with a 480-sampling-point interval between adjacent frames. The system calculates the energy value of each frame of audio sampling data and arranges the energy values in chronological order to form a short-time energy sequence. The short-time energy value can be expressed in dBFS. If the short-time energy value is less than or equal to the reference energy value, the time segment corresponding to that frame is determined as a segment whose energy meets the write conditions.
[0049] The segment whose energy meets the write conditions is obtained by comparing the short-time energy sequence with the reference energy value. The system checks the short-time energy value of each frame in chronological order and selects the first time segment that is less than or equal to the reference energy value as the write segment for the non-protected change parameter item. For example, the short-time energies at 1.20 s, 1.28 s, and 1.36 s within the current control cycle are respectively 42 dBFS 48 dBFS 44 dBFS, with a reference energy value of If the energy is 45 dBFS, then the 1.28 s segment corresponds to the segment whose energy meets the writing conditions.
[0050] In S22, the historical audio control event window record is a historical record formed by the core audio input state, sound effect parameter changes, and target audio processing module write behavior when audio control events occur in the entertainment platform's sound system. The system generates a historical audio control event window record when any of the following events occur: core audio input access, core audio input type switching, core audio input short-term energy crossing the activation threshold, user adjustment of sound effect parameters, system automatic adjustment of sound effect parameters, feedback suppression triggering, echo remnant marker generation, or parameter writing by the target audio processing module. Each historical audio control event window record includes at least the core audio input type, input channel number, sampling time period, adjusted sound effect function item, parameter value before adjustment, parameter value after adjustment, target audio processing module, parameter writing result, abnormal audio marker, and event window end time. The system filters valid event windows from the historical audio control event window record that match the current core audio input type. A valid event window is one where the target audio processing module still exists in the entertainment platform's sound system, the parameter writing result is not a continuous failure state, and the abnormal audio marker does not indicate a hardware failure. By filtering valid event windows, you can exclude expired module records, continuously failing write records, or hardware failure records.
[0051] The abnormal audio markers are generated from the write results of the feedback suppression module, power amplification control module, echo suppression module, or target audio processing module; the system does not generate abnormal markers out of thin air. For example, if the feedback suppression module outputs a howling risk marker, the power amplification control module outputs a clipping risk marker, or the echo suppression module outputs an echo residue marker within an event window, the system will write the corresponding abnormal audio marker into the historical audio control event window record; if the reverberation depth parameter writing fails, the writing parameter will be marked as failed.
[0052] In this context, a persistent failure state refers to a situation where the same parameter address of the same target audio processing module shows a write failure flag in at least two consecutive historical audio control event windows, and no write verification success record appears in subsequent event windows. Parameter write results in a persistent failure state are not used as the basis for judging accompanying sound effect functions.
[0053] The persistent failure status is determined based on consecutive write results for the same parameter address. The system checks write records from the most recent event window end time to the oldest. If two or more consecutive event windows show write failures and there are no subsequent write verification records, it is marked as a persistent failure status. For example, if the reverberation depth parameter address 0x2101 shows write failures in the two most recent historical audio control event windows, and no write verification record for this address appears after the third event window, then the write result corresponding to this parameter address is determined to be a persistent failure status.
[0054] The historical audio control event window records the start time of the triggered event, which includes any of the following: core audio input access, core audio input type switching, core audio input short-term energy crossing the start threshold, user adjustment of sound effect parameters, system automatic adjustment of sound effect parameters, feedback suppression triggering, echo remnant marker generation, or parameter writing by the target audio processing module. The event window ends when no new control event occurs after a preset silence period following the completion of the last sound effect parameter adjustment or parameter writing. If new control events occur consecutively, the event window extends to the end of the preset silence period after the completion of the last control event. The preset silence period can be set according to the control cycle length of the entertainment platform's audio system, for example, one to three control cycles. Therefore, a historical audio control event window can correspond to a continuous control behavior, rather than a single isolated parameter value.
[0055] The preset silence duration is determined based on the current control cycle length and the minimum interval between consecutive control events, and is used to determine whether a historical audio control event window has ended. For example, if the current control cycle length is 100 ms, and the interval between two adjacent user adjustments in on-site debugging is usually greater than 300 ms, then the preset silence duration can be set to 300 ms; if no new control event occurs within 300 ms after the last parameter is written, then the recording of the current historical audio control event window ends.
[0056] The automatic adjustment of sound effect parameters by the system is only used to indicate that the sound system of the entertainment platform has performed sound effect parameter adjustment behavior during historical operation. This behavior serves as the trigger condition and recording object of the historical audio control event window. This method does not rely on the automatic adjustment process to generate accompanying sound effect function items, but performs deterministic statistics based on the core audio input type, the adjusted sound effect function items, the adjusted parameter values, the parameter writing results, and abnormal audio markers that have been recorded.
[0057] The start-up threshold for the short-term energy crossing of the core audio input is determined based on the baseline noise energy range and the effective vocal or accompaniment input energy range. The system can use a fixed margin above the mean of the baseline noise energy as the start-up threshold. For example, during initialization, the baseline noise energy of the wireless microphone in the non-singing state is calculated as follows: With a 62 dBFS field test margin of 12 dB, the start-up threshold is set to... 50 dBFS; when the wireless microphone's energy is briefly reduced by... 58 dBFS increased to At 47 dBFS, it is determined that the start threshold has been crossed and a historical audio control event window record is generated.
[0058] In S23, for each candidate audio effect function in the candidate set of accompanying processing functions, the system counts the number of event windows in which the candidate audio effect function co-occurs with the core audio input type within the effective event windows. If the same candidate audio effect function is adjusted multiple times within the same effective event window, it is only counted as one co-occurrence. The system also counts the number of times the adjusted parameters of the candidate audio effect function change in the opposite direction to the adjusted parameters of the previous effective event window, according to the order of the event window's end time. It also counts the number of abnormal event windows that generate feedback risk flags, clipping risk flags, echo residue flags, or parameter write failure flags after the candidate audio effect function participates in control. When the number of co-occurring event windows meets the co-occurrence requirements determined by the number of effective event windows, the number of times the change direction reverses no more than once, and the number of abnormal event windows is zero, the system determines the candidate audio effect function as the accompanying audio effect function corresponding to the core audio input type. In this embodiment, the process of determining the co-occurrence requirement based on the number of valid event windows is as follows: The allowed number of non-co-occurrences is determined based on the number of valid event windows. The allowed number of non-co-occurrences is the larger of the number of event windows and the number of valid event windows rounded up. Then, the allowed number of non-co-occurrences is subtracted from the number of valid event windows to obtain the co-occurrence requirement. When the number of event windows where a candidate sound effect function item and the core audio input type co-occur reach the co-occurrence requirement, the candidate sound effect function item is determined to meet the co-occurrence condition.
[0059] The allowed number of non-co-occurrences is determined by the number of valid event windows. The system first obtains the number of valid event windows, then takes one-tenth of that number, rounded up, and compares it with the number of event windows, taking the larger value. For example, if there are 20 valid event windows, one-tenth rounded up results in 2, allowing 2 non-co-occurrences, and requiring 18 co-occurrences. If there are 6 valid event windows, one-tenth rounded up results in 1, allowing 1 non-co-occurrence, and requiring 5 co-occurrences.
[0060] When a candidate sound effect function item corresponds to multiple parameter names, the system counts the number of times the change direction reverses according to the accompanying relationship judgment parameter names pre-recorded in the module configuration table. If the module configuration table does not record the accompanying relationship judgment parameter names, the system selects the writable parameter with the most historical adjustments in that sound effect function item as the accompanying relationship judgment parameter. Taking reverb effect as an example, the accompanying relationship judgment parameter name can be reverb depth. The system arranges the reverb depth adjusted parameter values in each valid event window according to the event window end time, compares the reverb depth adjusted parameter values in two adjacent valid event windows, and increments the number of times the change direction reverses by one when the current change direction is opposite to the previous change direction. If the adjusted parameter values in two adjacent valid event windows are the same, the number of times the change direction reverses is not counted.
[0061] The names of the accompanying relationship judgment parameters are determined based on the main parameters that have a significant impact on changes in auditory perception in the sound effect function items, or the parameters that have been adjusted the most times in history, and are recorded in the module configuration table. For example, the reverberation effect includes three parameters: reverberation depth, reverberation time, and wet sound ratio. If the reverberation depth was adjusted 24 times, the reverberation time was adjusted 8 times, and the wet sound ratio was adjusted 6 times in the past 30 reverberation effect adjustments, then the reverberation depth will be recorded as the accompanying relationship judgment parameter name for the reverberation effect.
[0062] In this embodiment, the accompanying sound effects function item can also be determined according to the following expression:
[0063] in, Indicates the first in the candidate set of accompanying processing functions One candidate sound effect feature item; Indicates the first The set of accompanying sound effects functions corresponding to each core audio input type; Indicates the first Candidate sound effect function items In the The number of event windows that appear together in the valid event windows corresponding to each core audio input type, in units of; Indicates the first The number of valid event windows corresponding to each core audio input type, in units of; This represents the allowed number of non-co-occurrences, determined based on the number of valid event windows, expressed in units of one. This represents rounding up to one-tenth of the number of valid event windows, in units of one. Indicates the first Candidate sound effect function items The number of times the parameter changes in the reverse direction in the valid event windows arranged in chronological order; Indicates the first Candidate sound effect function items The number of event windows that generate abnormal audio flags or parameter writing failure flags after participating in control, expressed in units of [number]. Indicates the first Candidate sound effect function items Determined as the first Each core audio input type corresponds to an accompanying sound effect function item; This means that the left side is true if and only if all three conditions on the right side are true.
[0064] The number of event windows, the allowed number of non-co-occurrences, the number of times the parameter change direction is reversed, and the number of abnormal event windows in this expression are all count results, and there is no issue of directly adding different physical quantities among the items. The first item is used to determine whether the candidate sound effect function item and the core audio input type meet the co-occurrence requirement; the second item is used to determine whether the parameters of the candidate sound effect function item have frequent reverse changes after historical tuning; the third item is used to exclude candidate sound effect function items that generate abnormal audio flags or parameter writing failure flags after participating in control. Thus, the system determines the accompanying sound effect function item based on the number of co-occurrences, the number of times the parameter change direction is reversed, and the number of abnormal event windows. In a data example, the current core audio input type is wireless microphone voice input, and the system filters out 20 valid event windows. When the candidate sound effect function item is reverb, the reverb effect co-occurs with the wireless microphone voice input in 18 valid event windows, and the tuned parameters corresponding to the reverb effect, after being arranged according to the event window end time, only have one reverse change direction, and the number of abnormal event windows is 0. The allowed number of non-co-occurrences determined by the number of valid event windows is 2 event windows, and the co-occurrence requirement is 18 event windows. Since the number of event windows where the reverb effect co-occurs meets the requirement of co-occurrence, the number of times the change direction reverses does not exceed once, and the number of abnormal event windows is 0, the reverb effect is determined to be the accompanying sound effect function item corresponding to the wireless microphone voice input. If the delay processing only co-occurs with the wireless microphone voice input in 8 valid event windows, then the delay processing does not meet the co-occurrence requirement and is not determined to be the accompanying sound effect function item.
[0065] Through steps S21 to S23, the entertainment platform's audio system identifies the core audio input type within the current control cycle and retrieves accompanying sound effect function items that meet the requirements of common occurrence, reverse direction of change, and number of abnormal event windows from the historical audio control event window records. This process differs from the judgment method based solely on the number of historical occurrences and from the fixed sound effect mode invocation method, allowing the determination of accompanying sound effect function items to include common occurrence, reverse direction, and abnormal event window judgments.
[0066] like Figure 4 As shown, in one specific embodiment, S3 includes: S31. Generate the current control dataset to be processed based on the input signal set and the mapping relationship between signal type and sound effect function items.
[0067] S32. Check if there is a data item in the current control dataset that has the same sound effect function item identifier and the same parameter name as the accompanying sound effect function item. If not, the accompanying sound effect function item is identified as the sound effect function item to be completed.
[0068] S33. Read the current parameter values in the current effective sound effect parameter set that have the same sound effect function item identifier and the same parameter name as the sound effect function item to be completed, the adjusted parameter values in the most recent historical audio control event window record containing the same core audio input type and the same sound effect function item to be completed, and the factory default parameters in sequence; if none of the three types of parameters exist, record the parameter missing identifier in the current control dataset to be processed, and prohibit writing empty parameters to the target audio processing module.
[0069] In this embodiment, it should be noted that in S31, the data items in the current control dataset to be processed include at least the sound effect function item identifier, parameter name, parameter value, parameter unit, parameter source, target audio processing module identifier, and parameter address. The system generates an initial current control dataset to be processed based on the real-time audio signals in the input signal set, combined with the mapping relationship between signal type and sound effect function items. For example, wireless microphone voice input can generate data items corresponding to voice processing, noise threshold, and feedback suppression; song request accompaniment input can generate data items corresponding to accompaniment enhancement and equalization adjustment. If a data item can have its parameter value directly parsed from the input signal set, the parsed parameter value is written to the current control dataset to be processed; if the parameter value cannot be directly parsed, it is not written temporarily and awaits subsequent completion. The distinction between the current control dataset to be processed and the input signal set is necessary. The input signal set only represents the real-time audio signals within the current control cycle, while the current control dataset to be processed represents the data objects that will participate in sound effect parameter completion, parameter comparison, and writing to the target audio processing module.
[0070] The parameter values obtained through user adjustment or automatic system adjustment come from adjustment commands within the current control cycle of the entertainment platform's audio system, inputs from the control panel, or adjustment results returned by the target audio processing module. The system uses these as the source of parameter values in the current control dataset to be processed. For example, if the user adjusts the reverberation depth from 50% to 56% within the current control cycle, after receiving the adjustment command, the system writes the corresponding reverberation depth parameter value of 56% into the current control dataset to be processed and records the parameter source as user adjustment.
[0071] The current control dataset to be processed is generated jointly by the input signal set, the mapping relationship between signal type and sound effect function items, and the module configuration table. The system first determines the sound effect function items to be processed based on the input signal set, and then fills in the target audio processing module identifier and parameter address according to the module configuration table. For example, if the wireless microphone voice input is mapped to voice processing, noise threshold, and feedback suppression, and the voice gain address in the module configuration table is 0x1101, the noise threshold address is 0x1201, and the feedback suppression level address is 0x3101, then the current control dataset to be processed generates three corresponding data items.
[0072] The parameter source field is generated based on the path through which the parameter value is obtained. The system marks parameters directly from the current input signal or current adjustment command as the current control source, parameters from the currently effective sound effect parameter set as the current effective source, parameters from similar historical audio control event window records as historical calibration sources, and parameters from factory default safety parameters as factory default sources. For example, if the reverberation time is read as 1200 ms from the currently effective sound effect parameter set, then the parameter source record is the current effective source.
[0073] In step S32, the system matches the accompanying sound effect function items obtained in step S2 with the current control dataset to be processed. The matching rule is to check whether there is a data item in the current control dataset to be processed that has the same sound effect function item identifier and the same parameter name as the accompanying sound effect function item. If it exists, it means that the current control cycle already contains the corresponding sound effect parameter, and there is no need to repeat the completion; if it does not exist, it means that the core audio input type has already triggered the direct control item, but the current control dataset to be processed is missing a sound effect function item with a stable accompanying relationship with the core audio input type. In this case, the accompanying sound effect function item is identified as a sound effect function item to be completed. For example, the wireless microphone voice input has already made the current control dataset to be processed contain voice processing and feedback suppression parameters, but not reverb effect parameters. Since step S2 has already identified the reverb effect as an accompanying sound effect function item, the reverb effect is identified as a sound effect function item to be completed. This step is used to handle the problem of the current control cycle missing accompanying sound effect function items, so that the accompanying sound effect function item is included in the current control dataset to be processed.
[0074] In S33, the audio effect parameters to be completed are obtained in a predetermined order. The first order is the currently active audio effect parameters, because these parameters maintain the continuity of the entertainment platform's audio system's current operating state. The second order is the calibrated parameters recorded in the historical audio control event window of the same type, because this window records the parameter values after the most recent control under the same core audio input type. The third order is the factory default safety parameters, as these provide basic safety parameters when historical data is lacking. If none of the three types of parameters exist, the system does not generate any parameters or write empty parameters to the target audio processing module. Instead, it records a parameter missing identifier in the current control dataset to be processed. For example, if the current core audio input type is wireless microphone voice input, and the accompanying audio effect is reverb, and the current control dataset to be processed does not contain the reverb depth, reverb time, or wetness ratio corresponding to the reverb effect, the system first reads the reverb depth, reverb time, and wetness ratio from the currently active audio effect parameter set; if these parameters exist, they are written to the current control dataset to be processed. If not found, read the adjusted parameters from the most recent audio control event window record containing wireless microphone voice input and reverb effects. If still not found, read the factory default parameters. If the factory default parameters also do not exist, record a parameter missing flag and prohibit writing empty parameters to the reverb processing module.
[0075] The currently active sound effect parameters are the parameter items in the currently active sound effect parameter set. This set records the sound effect parameters that have been written to the target audio processing module and passed readback verification. Subsequent parameter completion, comparison of changed parameter items, and write verification all use the currently active sound effect parameter set as the basis for the current active status.
[0076] The currently active audio effect parameter set is generated from the parameter address readback value of the target audio processing module when the system starts. If the target audio processing module starts for the first time and there is no valid readback value, it is initialized with the factory default parameters. For example, if the system reads a reverb depth of 50%, a reverb time of 1200 ms, and a wet sound ratio of 35% from the reverb processing module when it starts, and the readback verification is valid, then the above parameters are written into the currently active audio effect parameter set; if there is no readback value for the reverb time, then the factory default parameters are read as the initial value.
[0077] Among them, the "same type of historical audio control event window record" refers to historical audio control event window records where the core audio input type is the same as the current core audio input type, the target audio processing module still exists, the parameter writing result is not in a continuous failure state, and the abnormal audio flag does not indicate a hardware failure. The system searches for records in the same type of historical audio control event window record where the sound effect function item to be completed and the parameter name are the same, and sorts them from most recent to oldest according to the event window end time, prioritizing reading the adjusted parameter value from the most recent record.
[0078] The historical audio control event window records are filtered based on the core audio input type and the audio effect function to be completed, and sorted from most recent to oldest according to the event window's end time. For example, if the current core audio input type is wireless microphone voice input and the audio effect function to be completed is reverb, the system will filter the most recent wireless microphone voice input that includes a reverb effect from the history records. If the reverb time parameter in this event window is 1200 ms after adjustment, then 1200 ms will be used as a candidate source for the reverb time to be completed.
[0079] The factory default safety parameters are determined by the device's factory calibration, module manufacturer-recommended parameters, and a limited number of safe operation records, and are stored in the memory along with the parameter names and units. For example, if the factory calibration determines the default reverberation depth to be 45%, the default reverberation time to be 1000 ms, the default wet sound ratio to be 30%, and the default feedback suppression level to be level 3 for a wireless microphone voice input scenario, then the above factory default safety parameters will be read when there are no currently effective sound effect parameters or similar historical calibration parameters.
[0080] The missing parameter flag is generated during the parameter completion process. This flag is generated when the system cannot find a parameter value corresponding to the same sound effect function item identifier and parameter name in the currently active sound effect parameter set, the recent historical audio control event window records, or the factory default parameters. For example, if the parameter to be completed is the delay time for delay processing, and this parameter is not found in the currently active sound effect parameter set, the recent historical event window, or the factory default parameters, then a missing delay time parameter flag is recorded, and writing empty parameters is prohibited.
[0081] Through steps S31 to S33, the audio system of the entertainment platform converts the accompanying sound effect function items from historical identification results into currently writable and comparable control data items to be processed within the current control cycle. This step does not use a parameter generation method without specifying the source, but instead obtains parameters in the order of currently effective sound effect parameters, calibrated parameters recorded in the window of similar historical audio control events, and factory default safety parameters, so that the source and writing basis of the sound effect parameters to be supplemented can be determined by those skilled in the art.
[0082] like Figure 5As shown, in one specific embodiment, S4 includes: S41. Compare the data items in the current control dataset to be processed with the parameter items in the current effective sound effect parameter set that have the same sound effect function item identifier and the same parameter name, and obtain the changed parameter items.
[0083] S42. Based on the parameter conflict rule table and the short-time energy sequence in the input signal set, determine the parameter conflict check result and writing timing of the changed parameter item.
[0084] S43. Query the module configuration table according to the sound effect function item identifier of the changed parameter item, determine the target audio processing module and parameter address corresponding to the changed parameter item, write the changed parameter item to the corresponding parameter address, and update the currently effective sound effect parameter set after the write verification is passed.
[0085] In this embodiment, it should be noted that in S41, the system compares the data items in the current control dataset to be processed with the parameter items in the current effective sound effect parameter set that have the same sound effect function item identifier and the same parameter name. If there is no parameter item in the current effective sound effect parameter set that has the same sound effect function item identifier and the same parameter name as a data item in the current control dataset, then the corresponding data item in the current control dataset is determined as a changed parameter item. If there is a corresponding parameter item in the current effective sound effect parameter set, but the parameter value is different, the corresponding data item in the current control dataset is also determined as a changed parameter item. If there is a corresponding parameter item in the current effective sound effect parameter set and the parameter value is the same, then the corresponding data item is not determined as a changed parameter item. This step is used to reduce the situation where invariant parameters are repeatedly written to the target audio processing module. For example, the reverberation depth in the current control dataset to be processed is 56%, and the reverberation depth in the current effective sound effect parameter set is 50%. Since the two parameter values are different, the reverberation depth is determined to be a variable parameter item. The reverberation time in the current control dataset to be processed is 1200 ms, and the reverberation time in the current effective sound effect parameter set is also 1200 ms. Since the two parameter values are the same, the reverberation time is not determined to be a variable parameter item.
[0086] In S42, when the variable parameter item simultaneously includes at least two of the following: voice gain, reverberation depth, feedback suppression level, and noise threshold, the system determines whether there is a parameter combination with the risk of howling, clipping, or echo residue based on the parameter conflict rule table. If a parameter combination risk exists, the system maintains the safety boundaries of the feedback suppression level and noise threshold, and limits the increase in voice gain or reverberation depth. The system also determines whether there is a segment with energy that meets the writing conditions within the current control cycle based on the short-time energy sequence in the input signal set. If there is a segment with energy that meets the writing conditions, the variable parameter item is written to that segment. If there is no segment with energy that meets the writing conditions and the sound effect function item corresponding to the variable parameter item belongs to the protection category, the variable parameter item is written immediately. If there is no segment with energy that meets the writing conditions and the sound effect function item corresponding to the variable parameter item does not belong to the protection category, the variable parameter item is written only at the end of the current control cycle. This step is used to reduce the sudden changes in sound caused by writing non-protective variable parameters during the duration of the vocal performance or during periods of high accompaniment energy, while allowing protective sound effects such as feedback suppression, noise threshold, and echo suppression to be written when needed.
[0087] The safety boundary values are determined based on parameter values that did not produce anomalies in the factory calibration and historical anomaly event window. The system can select the upper limit of the parameter range that does not produce feedback risk, clipping risk, or echo residue risk as the safety boundary. For example, if no feedback risk occurred when the voice gain was 5.5 dB and the reverberation depth was 58% during historical calibration, but a feedback risk occurred when the voice gain was 7 dB and the reverberation depth was 65%, then the voice gain safety boundary can be set to 6 dB and the reverberation depth safety boundary can be set to 60%.
[0088] In this embodiment, the timing of the write operation can also be determined according to the following expression:
[0089] in, Indicates the first The timing of writing each changed parameter item, in time; This indicates the time corresponding to the segment within the current control cycle where the energy meets the write condition, expressed in time. Indicates time The short-time energy value of a real-time audio signal, its unit is... The same; representing the reference energy value of the current control cycle, it is statistically obtained from the base energy segment before the core audio input trigger, the base energy segment without singing in the previous control cycle, or the base noise energy segment recorded during the system initialization phase, and its unit is the same as... Same, determine first Then, within the current control cycle, find the one that satisfies... The segment to be judged is not used to generate the judgment threshold; This indicates the time taken for the current controller to perform a write check, expressed in time. Indicates the first The sound effect function items corresponding to each variable parameter item; This represents a set of protective sound effects features, which must include at least one of feedback suppression, noise thresholding, and echo suppression. This indicates the end time of the current control cycle, in units of time. Indicates the time within the current control cycle. The short-time energy value of a real-time audio signal, its unit is... same; This indicates that no segment with sufficient energy to meet the write conditions has been detected within the current control cycle; Indicates the first The sound effect function items corresponding to the changed parameter items do not belong to the set of protection-type sound effect function items. The reference energy value is determined based on the base energy segment before the core audio input is triggered, the base energy segment without vocals from the previous control cycle, or the base noise energy segment recorded during system initialization. The system can take the average of multiple short-time energy values within the base energy segment as the reference energy value; for example, the short-time energies of the five consecutive frames before the core audio input is triggered are respectively... 47 dBFS 46 dBFS 45 dBFS 46 dBFS With a reference energy value of 46 dBFS, the reference energy value can be taken as... 46 dBFS. The current controller's write decision time is the current system time after the system completes the acquisition of changed parameters, parameter conflict checks, and energy segment judgment. This time is used for the immediate writing of protective audio effects. For example, if the current control cycle starts at 1.00 s, and the system completes the feedback suppression level parameter change judgment at 1.04 s without detecting any segments whose energy meets the write conditions, then 1.04 s is used as the current controller's write decision time, and the feedback suppression level is written immediately. The current control cycle end time is determined by the current control cycle start time and current control cycle length. The system records the start time at the beginning of the cycle and obtains the end time according to the preset control cycle length. For example, if the current control cycle starts at 1.00 s and the current control cycle length is 100 ms, then the current control cycle end time is 1.10 s. If the reverberation effect is not a protective audio effect and there are no segments whose energy meets the write conditions within the cycle, the writing is delayed until 1.10 s.
[0090] In this expression, the short-time energy value is only compared with the reference energy value; time is only used as the writing opportunity for the output and is not added or subtracted from the energy value. This expression is used to determine the writing opportunity for variable parameter items. For non-protected variable parameter items, the system writes during segments where the energy meets the writing conditions; for protected audio effect function items, the system performs immediate writing when there are no segments where the energy meets the writing conditions. For example, if the current control cycle is within A short-term energy value was detected at the location. 47.2 dBFS, with a reference energy value of 45.0 dBFS, then due to 47.2 dBFS≤ Non-protected variable parameters such as 45.0 dBFS and reverberation depth can be written at 1.28 s. If there is no segment with enough energy to meet the writing conditions within the current control cycle, and the variable parameter is feedback suppression level (feedback suppression is a protected audio effect), then immediate writing is allowed. If there is no segment with enough energy to meet the writing conditions within the current control cycle, and the variable parameter is reverberation depth (reverberation effect is not a protected audio effect), then writing will be delayed until the end of the current control cycle.
[0091] The parameter conflict rule table is pre-stored in memory. This table includes at least the controlled sound effect function combination, parameter name combination, risk type, risk trigger condition, safety boundary value, single allowable increment, and conflict handling action. Risk types include feedback risk, clipping risk, and echo residue risk. Taking a simultaneous increase in vocal gain and reverberation depth as an example, when the proposed increase in vocal gain reaches the preset gain increment boundary, the proposed increase in reverberation depth reaches the preset reverberation increment boundary, and the feedback suppression level is lower than the preset protection level, the parameter conflict rule table marks this combination as a feedback risk combination. Before writing, the system maintains the feedback suppression level at least as high as the preset protection level and limits the single increment of vocal gain or reverberation depth to the single allowable increment recorded in the rule table. Taking clipping risk as an example, when the proposed written value of vocal gain exceeds the preset upper gain boundary and the power output limit is not reduced, the parameter conflict rule table marks this combination as a clipping risk combination. The system first maintains the safety boundary of the power output limit and then limits the written value of the vocal gain. The boundary values in the rule table above are written into the memory by the audio system of the entertainment platform after factory calibration, on-site debugging, or statistical analysis of a limited number of historical operation data, and are saved together with the parameter unit.
[0092] The parameter conflict rule table is generated from factory calibration, on-site debugging, and statistics from a limited number of historical anomaly events. The system records parameter combinations that have previously caused feedback risk, clipping risk, or echo residue risk as risk combinations, and saves the corresponding safety boundaries and handling actions. For example, if it is found during on-site debugging that a voice gain higher than 6 dB and a reverberation depth higher than 60% are likely to trigger feedback risk, then the "voice gain - reverberation depth" combination is written into the parameter conflict rule table, and the voice gain safety boundary is recorded as 6 dB and the reverberation depth safety boundary as 60%.
[0093] The set of protective audio effects is determined based on whether the audio effects are used to suppress feedback, clipping, echo remnants, or input anomalies, and is written into memory during factory configuration or on-site debugging. For example, feedback suppression is used to reduce the risk of feedback, noise threshold is used to reduce invalid input noise, and echo suppression is used to reduce echo remnants; therefore, feedback suppression, noise threshold, and echo suppression are written into the set of protective audio effects. Reverb effects and equalization adjustment are not included in the set of protective audio effects.
[0094] The permissible increment per write is determined based on the parameter unit, the user-perceptible change range, and historical records of no abnormal adjustments. It is used to limit the parameter change range during a single write operation. For example, if a single increase in reverberation depth of less than 5% did not produce a significant change in perceived sound during historical adjustments, and a single increase in voice gain of less than 1 dB did not pose a clipping risk, then the parameter conflict rule table can record a permissible increment of 5% for reverberation depth and a permissible increment of 1 dB for voice gain.
[0095] In S43, when the target audio processing module exists and the parameter address is writable, the system writes the changed parameter items to the corresponding parameter address at a determined write time. When the target audio processing module does not exist or the parameter address is not writable, the system does not write the changed parameter items and records a module non-executable flag. After writing, the system reads the readback value of the corresponding parameter address in the target audio processing module and compares the readback value with the target write value. If the readback value matches the target write value, the currently effective sound effect parameter set is updated. If the readback value does not match the target write value, it is rewritten. If it still does not match after rewriting, the original parameter values in the currently effective sound effect parameter set are retained, and a parameter write failure flag is recorded in the historical audio control event window. Through write verification, the system determines whether the current control dataset to be processed, the target audio processing module, and the currently effective sound effect parameter set are consistent based on the readback value. For example, after the system writes the reverb depth of 56% to the corresponding parameter address of the reverb processing module, it reads the readback value. If the readback value is 56%, the current effective sound effect parameter set is updated. If the readback value is not 56%, it is rewritten once. If the rewriting is still inconsistent, the original reverb depth parameter is retained and a parameter writing failure flag is recorded.
[0096] The consistency between the readback value and the target write value means that the readback level of the discrete-level parameter is the same as the target write level, or the difference between the readback value and the target write value of the continuous-value parameter does not exceed the minimum quantization step size recorded in the module configuration table. For example, if the target write value for the feedback suppression level is 3 and the readback value is 3, then they are considered consistent; if the target write value for the reverberation depth is 56%, the minimum quantization step size is 1%, and the readback value is 55.5%, the difference does not exceed the minimum quantization step size, and the write verification is also considered successful.
[0097] The minimum quantization step size is determined by the parameter precision, communication protocol, and parameter storage format of the target audio processing module, and is stored in the module configuration table corresponding to the parameter name. For example, if the reverberation processing module stores the reverberation depth in 1% steps and the reverberation time in 10 ms steps, and the digital signal processing module stores the voice gain in 0.5 dB steps, then the module configuration table records the minimum quantization step size for the reverberation depth as 1%, the minimum quantization step size for the reverberation time as 10 ms, and the minimum quantization step size for the voice gain as 0.5 dB, respectively.
[0098] The rewrite is triggered by a failed write check. After the first write, the system reads and compares the readback value. If the comparison result does not meet the consistency requirements, the same target write value is written again to the same parameter address of the same target audio processing module. For example, if the target write value is a reverberation depth of 56%, the first readback value is 50%, and the difference exceeds the minimum quantization step size, the system rewrites 56% to the reverberation depth parameter address. If the second readback value is still inconsistent, a parameter write failure flag is recorded.
[0099] The module non-executable flag is generated from the module configuration table query results. The system generates this flag when the target audio processing module corresponding to the changed parameter item does not exist, the module is offline, the parameter address is empty, or the parameter's writable status is not writable. For example, if the changed parameter item is the delay time of delay processing, but there is no target audio processing module for delay processing in the module configuration table, or the delay time parameter address is empty, the system records the module non-executable flag and does not perform the write operation.
[0100] Through steps S41 to S43, the entertainment platform's audio system converts the completed current control dataset to be processed into a write action for the target audio processing module, and handles parameter write risks through parameter conflict checking, audio signal energy state control, and write verification. This step associates the control data to be processed, changed parameter items, parameter addresses, and the write results of the target audio processing module.
[0101] like Figure 6 and Figure 7As shown, the present invention also provides a sound system control system for an entertainment platform, including a configuration parsing module, a core input determination module, an accompanying sound effect function item determination module, a parameter completion module, and a parameter writing module.
[0102] The configuration parsing module retrieves the audio effect function items, input signal sets, module configuration tables, and historical audio control event window records of the entertainment platform's audio system. Based on the module configuration table, it determines the target audio processing module and parameter address corresponding to each audio effect function item, and divides the main processing function set and accompanying processing function candidate set according to the basic control level. The core input determination module retrieves the core audio input type from the input signal set based on the mapping relationship between signal type and audio effect function items. The accompanying audio effect function item determination module retrieves the accompanying audio effect function item from the accompanying processing function candidate set based on the historical audio control event window records corresponding to the core audio input type. The parameter completion module checks the current control dataset to be processed, retrieves missing audio effect function items to be completed, and completes the audio effect parameters in the following order: currently active audio effect parameters, calibrated parameters from similar historical audio control event window records, and factory default safety parameters. The parameter writing module retrieves changed parameter items based on the current control dataset to be processed and the currently active audio effect parameter set, and writes them to the target audio processing module based on parameter conflict check results, audio signal energy status, and parameter addresses. After successful write verification, it updates the currently active audio effect parameter set.
[0103] In this embodiment, the accompanying sound effect function item determination module is also used to filter valid event windows that are the same as the core audio input type, count the number of event windows where candidate sound effect function items and the core audio input type coexist, count the number of times the parameter change direction of the candidate sound effect function item is reversed after adjustment, and count the number of abnormal event windows that generate abnormal audio markers or parameter writing failure markers after the candidate sound effect function item participates in control. The parameter writing module is also used to check whether there are parameter combinations with feedback risk, clipping risk, or echo residue risk in the changed parameter items according to the parameter conflict rule table, determine the writing timing according to the short-time energy sequence, determine the target audio processing module and parameter address according to the module configuration table, and read the readback value for writing verification after the writing is completed. The above modules correspond to the method steps, and the system executes the above-mentioned audio system control method of the entertainment platform through each module.
[0104] This invention also provides a sound system control terminal for an entertainment platform. The sound system control terminal for the entertainment platform includes a processor, a memory, an audio input interface, an audio output interface, and an audio processing control interface. The memory stores a module configuration table, a mapping relationship between signal types and sound effect function items, historical audio control event window records, the currently effective sound effect parameter set, factory default parameters, and a parameter conflict rule table. The audio input interface receives wireless microphone voice input, wired microphone voice input, song request accompaniment input, external audio source input, or Bluetooth audio input. The audio processing control interface writes changed parameter items to the target audio processing module. The processor executes the program stored in the memory to implement the aforementioned sound system control method for the entertainment platform.
[0105] To further clarify the operating mechanism and physical quantification process of the technical solution of the present invention, the following analysis will be conducted in detail on the audio system control method, system and terminal underlying operating logic of the entertainment platform, using a scenario containing specific parameters and data.
[0106] like Figure 6 and Figure 7 As shown, in a specific application scenario, an entertainment platform's sound system is installed in a private room. The system includes a wireless microphone receiving module, a digital signal processing module, a reverb processing module, a feedback suppression module, an equalization processing module, a song request / accompaniment processing module, and a power amplification control module. The current control cycle length is 2 seconds, and the input signal set includes wireless microphone vocal input and song request / accompaniment input. The input channel number for the wireless microphone vocal input is 1, the sampling time period is from 0 seconds to 2 seconds, and the short-time energy sequence is represented using dBFS, where the short-time energy value at 1.28 seconds is... 47.2 dBFS. The system obtains the reference energy value of the current control cycle based on the baseline energy segment before the core audio input trigger. 45.0 dBFS. The module configuration table records that the reverb effect corresponds to the reverb processing module, and the reverb depth parameter address is writable; feedback suppression corresponds to the feedback suppression module, and the feedback suppression level parameter address is writable; vocal processing corresponds to the digital signal processing module, and the vocal gain parameter address is writable. Therefore, reverb effect, feedback suppression, and vocal processing all have executable target audio processing modules and parameter addresses.
[0107] In S1, after reading the module configuration table, the system classifies vocal processing, noise thresholding, and feedback suppression into the main processing function set, and reverb effects, delay processing, accompaniment enhancement, and equalization adjustment into the accompanying processing function candidate set. In S2, based on the mapping relationship between signal type and sound effect function items, the system converts wireless microphone vocal input into vocal processing, noise thresholding, and feedback suppression, and song request accompaniment input into accompaniment enhancement and equalization adjustment. Since at least one sound effect function item corresponding to the wireless microphone vocal input belongs to the main processing function set, the wireless microphone vocal input is determined as the core audio input type. The system queries historical audio control event window records and filters out 20 valid event windows identical to the wireless microphone vocal input.
[0108] In the process of determining the accompanying sound effect function item in S23, when the candidate sound effect function item is reverb, it is selected. , , , Then, specifically, substitute it as Calculations yielded Therefore, the above judgment result is: If all three conditions are met, the reverb effect is determined as the accompanying audio effect function corresponding to the wireless microphone's voice input. When the candidate audio effect function is delay processing, it is selected. , , , Then, after substituting the first term, we get: ,because This is not valid; delay processing is not identified as an accompanying sound effect function. When the candidate sound effect function is equalization adjustment, then... , , , Then the first item is The third item is However, the second item is This is not valid, therefore equalization adjustment is not identified as an accompanying sound effect function.
[0109] In S3, the current control dataset to be processed already contains voice processing parameters, feedback suppression parameters, and reverberation depth parameters corresponding to the reverberation effect. The reverberation depth is 56%, which comes from user adjustment or automatic system adjustment within the current control cycle. However, the current control dataset to be processed does not contain the reverberation time and wetness ratio corresponding to the reverberation effect. Since the reverberation effect has already been identified as an accompanying sound effect function in S2, the system identifies the reverberation time and wetness ratio as the sound effect parameters to be completed. The system reads the currently effective sound effect parameter set and obtains a reverberation time of 1200 ms and a wetness ratio of 35%. Therefore, it writes the reverberation time of 1200 ms and the wetness ratio of 35% into the current control dataset to be processed and records the parameter source as the currently effective sound effect parameter set. If the reverberation time or wetness ratio is not found in the currently effective sound effect parameter set, the system continues to read the adjusted parameters from the most recent historical audio control event window record containing wireless microphone voice input and reverberation effect; if they are still not found, the factory default parameters are read. If the factory default safety parameters are also missing, the system will record the missing parameter flag and prohibit writing empty parameters to the reverb processing module.
[0110] In S4, the voice gain in the current control dataset is 3.0 dB, while the voice gain in the current effective sound effect parameter set is 1.0 dB. Since they are different, the voice gain is identified as a variable parameter. The reverberation depth in the current control dataset is 56%, while the reverberation depth in the current effective sound effect parameter set is 50%. Since they are different, the reverberation depth is identified as a variable parameter. The reverberation time in the current control dataset is 1200 ms, and the reverberation time in the current effective sound effect parameter set is 1200 ms. Since they are the same, the reverberation time is not identified as a variable parameter. The system checks parameter combinations where both voice gain and reverberation depth increase simultaneously according to the parameter conflict rule table. If the feedback suppression level remains within the safe boundary and the noise threshold is not reduced, then voice gain and reverberation depth are allowed to enter the write timing judgment.
[0111] For the write timing determination process in S42, when the changing parameter is reverberation depth, take... , , Then, specifically, substitute it as ,because: 47.2 dBFS≤ 45.0 dBFS is established, therefore In other words, the reverberation depth is written to the corresponding parameter address of the reverberation processing module at 1.28 s in the current control cycle. If the changing parameter is the feedback suppression level, and no segment with energy meeting the writing condition is detected in the current control cycle, since feedback suppression is a protective audio effect function, it is substituted into the second term to obtain... If the parameter to be changed is equalization adjustment, and no segment with sufficient energy to meet the writing conditions is detected in the current control cycle, and equalization adjustment is not a protective audio effect function, then substituting it into the third item yields the result. After the write operation is complete, the system reads the reverb depth parameter address from the reverb processing module. If the target write value is 56% and the reverb value is also 56%, the write verification passes, and the system updates the reverb depth in the currently active sound effect parameter set to 56%. If the reverb value is not 56%, the system rewrites it; if the rewrite is still inconsistent, the original reverb depth is retained and a parameter write failure flag is recorded.
[0112] In simple terms, in this scenario, the system first uses historical event window data to filter out the reverberation effect, then completes the reverberation parameters, and finally selects the writing time based on the short-term energy and verifies the writing result.
[0113] The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the specific details of the above embodiments. Within the scope of the technical concept of the present invention, various simple modifications can be made to the technical solution of the present invention, and these simple modifications all fall within the protection scope of the present invention.
[0114] It should also be noted that the various specific technical features described in the above embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the present invention will not describe the various possible combinations separately.
[0115] Furthermore, various different embodiments of the present invention can be combined in any way, as long as they do not violate the spirit of the present invention, they should also be regarded as the content disclosed by the present invention.
[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be covered within the scope of the claims and specification of the present invention.
Claims
1. A method for controlling the audio system of an entertainment platform, characterized in that, The methods include: Obtain the sound effect function items, input signal set, module configuration table and historical audio control event window records of the entertainment platform's audio system; determine the target audio processing module and parameter address corresponding to the sound effect function item according to the module configuration table; and divide the main processing function set and the accompanying processing function candidate set according to the basic control level. Based on the mapping relationship between signal type and sound effect function items, the core audio input type is obtained from the input signal set; Based on the historical audio control event window records corresponding to the core audio input type, retrieve the accompanying sound effect function items from the accompanying processing function candidate set; Check the current control dataset to be processed, obtain the missing sound effect function items to be completed, and complete the sound effect parameters in the order of currently effective sound effect parameters, the adjusted parameters in the similar historical audio control event window records, and the factory safety default parameters. The changed parameter items are obtained based on the current control dataset to be processed and the current effective sound effect parameter set. The changed parameter items are written to the target audio processing module based on the parameter conflict check results, audio signal energy status and parameter address. After the write verification is passed, the current effective sound effect parameter set is updated.
2. The audio system control method for an entertainment platform according to claim 1, characterized in that, Obtain the sound effect function items, input signal sets, module configuration table, and historical audio control event window records of the entertainment platform's audio system. Based on the module configuration table, determine the target audio processing module and parameter address corresponding to each sound effect function item. Then, divide the system into a main processing function set and a candidate set of accompanying processing functions according to the basic control level, including: Read the module configuration table and obtain the sound effect function items corresponding to at least two audio processing modules from the digital signal processing module, wireless microphone receiving module, reverb processing module, feedback suppression module, echo suppression module, equalization processing module, song request and accompaniment processing module, and power amplification control module; Based on the module configuration table, determine the target audio processing module, parameter name, parameter address, and writable status of each sound effect function item. Exclude sound effect function items that do not have a target audio processing module or whose parameter address is in a non-writable state from the process of determining the accompanying sound effect function items. Based on the basic control level of each sound effect function, sound effect functions that need to participate in core control when microphone input, singing input, accompaniment playback, or input source switching are classified into the main processing function set, and sound effect functions that can be identified by their accompaniment relationship in the historical audio control event window are classified into the accompaniment processing function candidate set.
3. The audio system control method for an entertainment platform according to claim 1, characterized in that, Historical audio control event records are generated and filtered in the following ways: During historical operation, when any of the following events occur, such as core audio input access, core audio input type switching, core audio input short-term energy crossing the start threshold, user adjustment of sound effect parameters, system automatic adjustment of sound effect parameters, feedback suppression triggering, echo residue marker generation, or parameter writing by the target audio processing module, a historical audio control event window record is generated. Record the core audio input type, input channel number, sampling time period, adjusted sound effect function item, parameter value before adjustment, parameter value after adjustment, target audio processing module, parameter writing result, abnormal audio mark and event window end time in the historical audio control event window record; Filter the historical audio control event window records to find valid event windows that are the same type as the core audio input. Valid event windows are those where the target audio processing module still exists in the entertainment platform's sound system, the parameter writing result is not in a continuous failure state, and the abnormal audio flag does not indicate a hardware failure.
4. The audio system control method for an entertainment platform according to claim 3, characterized in that, Based on the historical audio control event window records corresponding to the core audio input type, retrieve the accompanying sound effect function items from the accompanying processing function candidate set, including: For each candidate audio effect function in the candidate set of accompanying processing functions, count the number of event windows in which the candidate audio effect function co-occurs with the core audio input type in the effective event window. Among them, when the same candidate audio effect function is adjusted multiple times in the same effective event window, it is only counted as one co-occurrence. Based on the order of the event window's end time, count the number of times the adjusted parameters of the candidate sound effect function item change in the opposite direction to the adjusted parameters of the previous valid event window, and count the number of abnormal event windows that generate howling risk markers, clipping risk markers, echo residue markers, or parameter writing failure markers after the candidate sound effect function item participates in control. When the number of co-occurring event windows reaches the co-occurrence requirement determined based on the number of valid event windows, the number of times the change direction reverses does not exceed once, and the number of abnormal event windows is zero, the candidate sound effect function item is determined as the accompanying sound effect function item corresponding to the core audio input type.
5. The audio system control method for an entertainment platform according to claim 4, characterized in that, The common occurrence requirements are determined based on the number of valid event windows, including: The allowed number of non-co-occurrences is determined based on the number of valid event windows. The allowed number of non-co-occurrences is the larger of the number of event windows and the result of rounding up one-tenth of the number of valid event windows. Subtract the allowed number of non-co-occurrences from the number of valid event windows to obtain the co-occurrence requirement; When the number of event windows where candidate sound effect features and core audio input types coexist reach the co-occurrence requirement, the candidate sound effect features are deemed to meet the co-occurrence condition.
6. The audio system control method for an entertainment platform according to claim 1, characterized in that, Check the current control dataset to be processed, obtain the missing audio effect function items to be completed, and complete the audio effect parameters in the following order: currently active audio effect parameters, adjusted parameters in the historical audio control event window records of the same type, and factory default safety parameters, including: Based on the mapping relationship between the input signal set and signal type and the sound effect function item, generate the current control dataset to be processed. The data items in the current control dataset to be processed include at least the sound effect function item identifier, parameter name, parameter value, parameter unit, parameter source, target audio processing module identifier, and parameter address. Check if there is a data item in the current control dataset that has the same sound effect function item identifier and the same parameter name as the accompanying sound effect function item. If not, the accompanying sound effect function item is identified as the sound effect function item to be completed. The system sequentially reads the current parameter values in the current active sound effect parameter set that have the same sound effect function item identifier and the same parameter name as the sound effect function item to be completed, the adjusted parameter values in the most recent historical audio control event window record containing the same core audio input type and the same sound effect function item to be completed, and the factory default parameters. If none of the above three types of parameters exist, the system records the parameter missing identifier in the current control dataset to be processed and prohibits writing empty parameters to the target audio processing module.
7. The audio system control method for an entertainment platform according to claim 1, characterized in that, The changed parameter items are obtained based on the current control dataset to be processed and the currently effective sound effect parameter set, and are written to the target audio processing module according to the parameter conflict check results, audio signal energy state, and parameter address, including: Compare the data items in the current control dataset to be processed with the parameter items in the current effective sound effect parameter set that have the same sound effect function item identifier and the same parameter name. If there is no corresponding parameter item in the current effective sound effect parameter set, or if there is a corresponding parameter item but the parameter value is different, the corresponding data item in the current control dataset to be processed is identified as the changed parameter item. When the variable parameter includes at least two of the following: voice gain, reverberation depth, feedback suppression level, and noise threshold, the parameter combination with the risk of feedback, clipping, or echo residue is determined according to the parameter conflict rule table. If the parameter combination risk exists, the safety boundaries of the feedback suppression level and noise threshold are maintained, and the increase in voice gain or reverberation depth is limited. Based on the short-time energy sequence in the input signal set, determine whether there is a segment in the current control cycle whose energy meets the writing conditions; if there is a segment whose energy meets the writing conditions, write the change parameter item in the segment whose energy meets the writing conditions; if there is no segment whose energy meets the writing conditions and the sound effect function item corresponding to the change parameter item belongs to the protection type sound effect function item, then write the change parameter item immediately; if there is no segment whose energy meets the writing conditions and the sound effect function item corresponding to the change parameter item does not belong to the protection type sound effect function item, then delay writing the change parameter item until the end of the current control cycle.
8. The audio system control method for an entertainment platform according to claim 1, characterized in that, After successful write verification, update the currently active sound effect parameter set, including: Based on the sound effect function item identifier of the changed parameter item, query the module configuration table to determine the target audio processing module and parameter address corresponding to the changed parameter item; When the target audio processing module exists and the parameter address is writable, the changed parameter items are written to the corresponding parameter address at a determined write time; when the target audio processing module does not exist or the parameter address is not writable, the changed parameter items are not written, and the module is recorded as unexecutable. After writing is complete, read the readback value of the corresponding parameter address in the target audio processing module and compare the readback value with the target written value. If the readback value matches the target written value, update the currently effective sound effect parameter set. If the readback value does not match the target written value, rewrite it once. If it still does not match after rewriting, retain the original parameter value in the currently effective sound effect parameter set and record the parameter writing failure flag in the historical audio control event window.
9. A sound system control system for an entertainment platform, characterized in that, include: The configuration parsing module is used to obtain the sound effect function items, input signal sets, module configuration table and historical audio control event window records of the entertainment platform's audio system. Based on the module configuration table, it determines the target audio processing module and parameter address corresponding to the sound effect function item, and divides the main processing function set and the accompanying processing function candidate set according to the basic control level. The core input determination module is used to obtain the core audio input type from the input signal set based on the mapping relationship between signal type and sound effect function items; The accompanying sound effect function item determination module is used to obtain accompanying sound effect function items from the accompanying processing function candidate set based on the historical audio control event window records corresponding to the core audio input type. The parameter completion module is used to check the current control dataset to be processed, obtain the missing sound effect function items to be completed, and complete the sound effect parameters in the order of the currently effective sound effect parameters, the adjusted parameters in the similar historical audio control event window records, and the factory safety default parameters. The parameter writing module is used to obtain the changed parameter items based on the current control dataset to be processed and the current effective sound effect parameter set, and write them to the target audio processing module according to the parameter conflict check results, audio signal energy status and parameter address. After the write verification is passed, the current effective sound effect parameter set is updated.
10. A sound system control terminal for an entertainment platform, characterized in that, Includes a processor, memory, audio input interface, audio output interface, and audio processing control interface; The memory is used to store the module configuration table, the mapping relationship between signal type and sound effect function items, historical audio control event window records, the currently effective sound effect parameter set, factory safety default parameters, and parameter conflict rule table; The audio input interface is used to receive wireless microphone voice input, wired microphone voice input, song request accompaniment input, external audio source input, or Bluetooth audio input, and form an input signal set; The audio processing control interface is used to write changed parameter items to the target audio processing module according to the parameter address, and to read the readback value of the corresponding parameter address in the target audio processing module; The processor is used to execute a program stored in the memory to implement the audio system control method of the entertainment platform according to any one of claims 1 to 8.