Pickup control method and device, terminal and readable storage medium
By determining the pickup control rules based on the attributes of the terminal's current running application and obtaining the pickup configuration parameters based on the key operation event, the recording process of the terminal is solved, and the problem of the user's pickup effect needs in the existing technology is not able to meet the user's pickup effect needs in a variety of application scenarios, and flexible pickup operation optimization is achieved.
Patent Information
- Application Number
- CN202411378686.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-02-28
AI Technical Summary
Existing terminals are difficult to meet users' pickup effect needs in diverse application scenarios, and they cannot flexibly adjust the pickup configuration parameters to adapt to the recording needs of different scenarios.
By determining the corresponding sound pickup control rules based on the application properties of the currently running application of the terminal, when a key operation event is received, the corresponding sound pickup configuration parameters are obtained based on these rules, and the recording process is controlled to perform the sound pickup operation according to these parameters.
It realizes the user's function button operation behavior during application operation, adapts to user recording needs in different application scenarios, optimizes the terminal's sound pickup operation, and ensures the sound pickup effect in diverse application scenarios.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of electronic technology and can be applied to a sound pickup control scenario of a terminal. Specifically, the present application relates to a sound pickup control method, device, terminal and readable storage medium. [Background technology]
[0002] With the continuous development of science and technology, the functions of terminals are becoming more and more diversified. As a high-frequency function, the sound pickup function has been widely used in people's daily work and life. At present, terminals usually perform sound pickup tasks based on default sound pickup configuration parameters, that is, the same sound pickup configuration parameters are used in different application scenarios, which makes it difficult to satisfy the sound pickup effects expected by users in various application scenarios.
[0003] It is worth noting that the related technologies described in this section are not necessarily technologies that have been previously conceived or adopted. Unless otherwise specified, it should not be assumed that any related technologies described in this section are considered to be prior art simply because they are included in this section. Similarly, unless otherwise specified, the issues mentioned in this section should not be considered to have been recognized in any prior art. [Summary of the invention]
[0004] The present application provides a sound pickup control method, device, terminal and readable storage medium, aiming to solve one of the problems in the related art at least to a certain extent.
[0005] In order to solve the above technical problems, the first aspect of the present application provides a sound pickup control method, comprising:
[0006] Determining corresponding sound pickup control rules according to application attributes of a currently running application of the terminal; wherein the allowed calling process of the currently running application includes a recording process;
[0007] When receiving a key operation event input for a preset terminal function key, acquiring a sound pickup configuration parameter corresponding to the key operation event based on the sound pickup control rule;
[0008] The recording process of the currently running application is controlled to perform corresponding sound pickup operations according to the sound pickup configuration parameters.
[0009] A second aspect of the present application provides a sound pickup control device, comprising:
[0010] A determination module, used to determine a corresponding sound pickup control rule according to an application attribute of a currently running application of the terminal; wherein the allowed calling process of the currently running application includes a recording process;
[0011] An acquisition module, configured to, when receiving a key operation event input for a preset terminal function key, acquire a sound pickup configuration parameter corresponding to the key operation event based on the sound pickup control rule;
[0012] The control module is used to control the recording process of the currently running application to perform corresponding sound pickup operations according to the sound pickup configuration parameters.
[0013] The third aspect of the present application provides a terminal, comprising: a memory and a processor, wherein the processor is used to execute a computer program stored in the memory; when the processor executes the computer program, the steps of the sound pickup control method provided in the first aspect of the present application are implemented.
[0014] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step of the sound pickup control method provided in the first aspect of the present application is implemented.
[0015] As can be seen from the above, according to the sound pickup control method, device, terminal and readable storage medium provided by the present application, the corresponding sound pickup control rules are determined according to the application attributes of the currently running application of the terminal; wherein the allowed calling process of the currently running application includes the recording process; when a key operation event for a preset terminal function key input is received, the sound pickup configuration parameters corresponding to the key operation event are obtained based on the sound pickup control rules; the recording process of the currently running application is controlled to perform the corresponding sound pickup operation according to the sound pickup configuration parameters. Through the implementation of the present application, according to the user's function key operation behavior during the application running process, the terminal is controlled to perform the sound pickup operation using the corresponding sound pickup working parameters, so that the terminal's sound pickup operation can be optimized accordingly to meet the user's recording needs in different application scenarios, thereby ensuring the terminal sound pickup effect in diversified application scenarios.
[0016] It should be understood that the content described in this section is not intended to identify the key or important features of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
Brief Description of the Drawings
[0017] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The drawings shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0018] Figure 1 A schematic diagram of the basic flow of a sound pickup control method provided in one embodiment of the present application;
[0019] Figure 2A detailed flowchart of a sound pickup control method provided in one embodiment of the present application;
[0020] Figure 3 A schematic diagram of the functional modules of a sound pickup control device provided in one embodiment of the present application;
[0021] Figure 4 A schematic diagram of the hardware structure of a terminal provided in one embodiment of the present application. [Specific implementation method]
[0022] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0023] In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features; the term "multiple" means two or more, unless otherwise clearly and specifically defined; the term "including" indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections; the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may include the existence of A alone, the existence of A and B at the same time, and the existence of B alone. The character " / " generally indicates that the previously associated objects belong to the "or" relationship.
[0024] In order to solve the problem that the related art cannot simultaneously meet the sound pickup effects expected by users in diverse application scenarios, an embodiment of the present application provides a sound pickup control method, which can be applied to a terminal with a sound pickup, the sound pickup includes a microphone and an audio signal processing circuit (such as an audio signal amplifying circuit), such as Figure 1 This is a basic flow chart of the sound pickup control method provided in this embodiment. The sound pickup control method includes the following steps:
[0025] Step 101: Determine a corresponding sound pickup control rule according to an application attribute of a currently running application of a terminal.
[0026] In this embodiment, the allowed calling process of the currently running application includes the recording process, and the application attribute may include at least one of the following: application type, and the type of function currently used in the application. It should be understood that a "process" refers to an instance of a running application, and each application can have one or more allowed calling processes. A process can perform various tasks, including but not limited to processing user input, performing calculations or data acquisition, and communicating with other applications.
[0027] It should be noted that the application types of this embodiment may include camera applications, recording applications, etc., and the function types within the camera application may include video recording functions and photo taking functions, and the photo taking functions further include static image shooting functions and dynamic image shooting functions. Although the recording process can be started in different application running scenarios, the recording needs of users in different application running scenarios are different. Based on this, this embodiment configures an exclusive sound pickup control rule for different application attributes. The sound pickup control rule includes a customized mapping relationship between key operation events and sound pickup configuration parameters. In actual applications, the key operation events and / or sound pickup configuration parameters recorded in different sound pickup control rules are different.
[0028] Step 102: when a key operation event input for a preset terminal function key is received, a sound pickup configuration parameter corresponding to the key operation event is obtained based on a sound pickup control rule.
[0029] The terminal function keys of this embodiment can be physical keys or virtual keys, and the setting position of the terminal function keys can be a specific side or back of the terminal, and the terminal function keys can be single-body keys or split keys. In addition, the terminal function keys can be multi-function keys, for example, they can be used as human-computer interaction interfaces for camera applications and recording applications at the same time. It should also be noted that the terminal function keys can reuse traditionally designed keys (such as volume adjustment keys), or they can be keys with improved designs. In actual applications, if traditional keys need to be reused, it can be determined whether the traditional key reuse conditions are met based on the application properties of the currently running application. If so, the functional state of the traditional keys is switched to the sound pickup control state to respond to the aforementioned key operation events of this embodiment.
[0030] In the preferred implementation of this embodiment, the terminal function key is a virtual side key configured on the side of the terminal, which can realize multi-gesture interaction and multi-scenario customized applications, set specific interaction methods for specific application scenarios, and assist users to realize one-handed interaction and blind operation.
[0031] In some implementations of this embodiment, the above-mentioned acquisition of sound pickup configuration parameters corresponding to the key operation event based on the sound pickup control rule includes: acquiring the sound pickup space range corresponding to the key operation event based on the sound pickup control rule; wherein the sound pickup configuration parameters include the sound pickup space range.
[0032] The sound pickup space range of this embodiment refers to the size of the space required to collect sound. The sound pickup space range is related to the width of the sound pickup beam of the microphone, and the two are positively correlated. This embodiment adaptively adjusts the sound pickup space range through key operation. Compared with the fixed sound pickup space range, it can flexibly meet the sound pickup needs in different scenarios.
[0033] In some implementations of this embodiment, the key operation event includes a continuous operation parameter corresponding to the terminal function key, and the continuous operation parameter includes at least one of the following: continuous sliding displacement, continuous pressing time; the continuous operation parameter has a preset functional relationship with the sound pickup space range.
[0034] It is worth mentioning that the functional relationship mentioned in this embodiment can be a proportional functional relationship. In practical applications, when performing the sound pickup control operation, the user can slide and continuously press the terminal function key. It can be understood that when the user applies a sliding operation to the terminal function key, the sliding displacement detected by the terminal includes the sliding distance and the sliding direction.
[0035] This embodiment takes continuous sliding displacement as an example to illustrate the typical sound pickup control implementation process. The terminal of this embodiment is provided with a virtual side key. When the user performs a sliding operation on the virtual side key, the terminal can detect a sliding distance with a sliding direction. Then, it can be determined whether the sound pickup space range is reduced or enlarged according to the sliding direction, and the specific scaling ratio of the sound pickup space range can be determined according to the sliding distance; of course, sound pickup control can also be performed by continuous pressing operation, that is, long pressing operation. For example, the virtual side key of the terminal includes a lower side function area and a lower side function area. The user can continuously press one of the function areas according to needs. The operated function area identifier determines whether the sound pickup space range is reduced or enlarged, and the continuous pressing duration can determine the specific scaling ratio of the sound pickup space range.
[0036] Of course, in actual applications, key operation events may also include single press operation events, etc. For example, before executing the step of determining the corresponding sound pickup control rule according to the application attributes of the currently running application of the terminal, it also includes: detecting whether the key operation event is a single press operation event; if so, triggering the recording process to start the sound pickup operation. Of course, if the currently running application is a camera application, while controlling the imaging process to start the imaging operation, the recording process is synchronously triggered to start the sound pickup operation.
[0037] In some implementations of this embodiment, the method further includes: locating the target sound source orientation within the effective sound pickup space of the terminal; determining the sound pickup reference orientation referenced by the sound pickup space range based on the target sound source orientation; wherein the sound pickup configuration parameters also include the sound pickup reference orientation.
[0038] In actual application scenarios, there is usually background noise and interference in the effective sound pickup space of the terminal. If the sound pickup operation is performed in a fixed direction (for example, perpendicular to the direction of the microphone), noise and interference sounds will inevitably be recorded, resulting in the inability to ensure the clarity of the sound. Based on this, this embodiment locates the position of the target sound source in the effective sound pickup space of the terminal, and then determines the sound pickup reference position of the microphone array according to the position of the target sound source. Then the aforementioned sound pickup space range should be limited with reference to the sound pickup reference position. This embodiment uses a directional sound pickup scheme to only record sounds in a specific position and suppress noise and interference sounds in non-target positions, effectively ensuring the clarity of sound pickup.
[0039] It is worth mentioning that this embodiment can use the sound source localization algorithm to obtain the target sound source position, and can also use the image recognition algorithm to identify key targets such as people and vehicles in the actual application scene, and then use the position of the key target as the target sound source position.
[0040] In some implementations of this embodiment, the type of the currently running application includes a camera application; the method also includes: obtaining a corresponding imaging zoom factor based on a key operation event; and controlling the imaging process of the currently running application to perform a corresponding imaging operation according to the imaging zoom factor.
[0041] In actual applications, the terminal function keys can be reused by the shooting control function and the sound pickup control function, that is, the key operation events input by the user for the terminal function keys can synchronously control the shooting and sound pickup, and can realize the synchronous change of sound with the image zoom. Taking the key operation event as a sliding operation event as an example, when the terminal detects the sliding operation applied by the user to the terminal function key, the camera focal length and the sound pickup space range are synchronously zoomed, for example, when the camera focal length is increased by sliding the key upward (that is, the imaging picture is zoomed out), the sound pickup space range is controlled to be widened, and when the camera focal length is reduced by sliding the key downward (that is, the imaging picture is zoomed in), the sound pickup space range is controlled to be narrowed.
[0042] In some implementations of this embodiment, the type of currently running application includes a camera application; the method also includes: determining whether the key operation event satisfies a preset directional sound pickup trigger event; wherein, if the directional sound pickup trigger event is satisfied, executing the step of locating the target sound source orientation within the effective sound pickup space of the terminal; if the directional sound pickup trigger event is not satisfied, the sound pickup space range is the complete sound pickup space range in the camera framing direction.
[0043] It should be noted that this embodiment can determine whether to trigger directional sound pickup control depending on the actual application scenario. For recording applications, directional sound pickup is required in any case, and for camera applications, only when the key operation event meets the specific directional sound pickup trigger event, the step of locating the target sound source in the effective sound pickup space of the terminal is further triggered. When the specific directional sound pickup trigger event is not met, the sound pickup space range of the microphone array is the complete space defined by the 180-degree plane perpendicular to the camera framing direction.
[0044] It is worth mentioning that this embodiment can determine the camera focal length zoom factor based on the key operation event, and then judge whether the directional sound pickup trigger condition is met according to the camera focal length zoom factor. If the camera focal length zoom factor is less than or equal to 1, the directional sound pickup trigger condition is not met.
[0045] In some implementations of this embodiment, the method also includes: if the range of the sound pickup space reaches the range critical value indicated by the constraint condition corresponding to the aforementioned functional relationship, then during the execution of the sound pickup operation, a corresponding sound enhancement algorithm is executed with reference to the continuous operation parameters; wherein the sound enhancement algorithm includes at least one of the following: a sound signal amplification algorithm, a sound signal noise reduction algorithm, and a sound source separation algorithm.
[0046] It should be noted that the functional relationship between the continuous operation parameter and the sound pickup space range of this embodiment has corresponding constraints, and the constraints are used to constrain the applicable scope of the functional relationship. For example, the constraint is that the sound pickup space range is less than or equal to the preset range critical value, then the sound pickup space range corresponding to the continuous operation parameter calculated using the functional relationship is limited within the range critical value, and accordingly, the continuous operation parameter also has a specific parameter threshold value. When the continuous operation parameter reaches the parameter threshold value, the sound pickup space range calculated based on the functional relationship reaches the range critical value. In this embodiment, even if the continuous operation parameter obtained in real time exceeds the specific parameter threshold value, the function calculation result still takes the range critical value of the sound pickup space range. For example, when the scaling ratio of the sound pickup space range is 4 times, the range critical value is reached, and the collection beam width of the microphone array reaches the limit width. Even if the continuous operation parameter input by the user can theoretically calculate the sound pickup space range that exceeds the range critical value based on the functional relationship without constraints, the sound pickup space range corresponding to the continuous operation parameter is still determined as the range critical value.
[0047] In actual applications, if the sound pickup space range reaches the range critical value, this embodiment can further execute the sound enhancement algorithm in response to the continuous operation parameter. Taking the camera application as an example, when the imaging zoom factor indicated by the continuous operation parameter reaches a preset multiple (for example, the aforementioned 4 times), the sound pickup space range required for reference of the sound pickup control is set to the range critical value, and then as the imaging zoom factor further increases, the sound signal amplification algorithm can be triggered to amplify the size of the input signal of the sound collected by the microphone array. Next, other uplink processing algorithms can also be triggered, such as first triggering the sound source separation algorithm, and then triggering the sound signal noise reduction algorithm, to improve the clarity and loudness of the collected sound.
[0048] Of course, the sound enhancement algorithm of this embodiment can be flexibly selected. When there are multiple sound enhancement algorithms, a specific type of sound enhancement algorithm can be triggered accordingly by referring to the continuous operation parameters, or all types of sound enhancement algorithms can be fully triggered. However, when the algorithm is executed, the execution parameters of the algorithm (such as sound signal amplification and noise reduction ratio) are configured with reference to the continuous operation parameters. This embodiment does not make a sole limitation on this.
[0049] Step 103: Control the recording process of the currently running application to perform corresponding sound pickup operations according to the sound pickup configuration parameters.
[0050] After determining the sound pickup configuration parameters, the recording process started by the camera application or the recording application in this embodiment controls the sound pickup device to perform the corresponding sound pickup operation according to the sound pickup configuration parameters. On the one hand, the user's real-time recording preference can be sensed in response to the user's key operation, and the terminal's sound pickup behavior can be adaptively adjusted, so that directional sound pickup and sound pickup in a specific range that are adapted to the actual scene can be achieved, and the sound pickup effect can be improved; on the other hand, the application type of the currently running application is not limited to the recording application, but can also be a camera application, etc., so based on the user's key operation, the synchronous adjustment of the audio and video acquisition behavior can be achieved at the same time, which greatly improves the convenience of operation.
[0051] It should be noted that the sound pickup operation is usually a continuous operation. In actual application scenarios, it is usually necessary to respond to user instructions to terminate the operation. In this embodiment, the terminal function key can also be used as a control to terminate the sound pickup operation, for example, to detect whether the key operation event is a single press operation event; if so, the sound pickup operation of the recording process is terminated. Of course, if the currently running application is a camera application, the sound pickup operation of the recording process is terminated synchronously while the imaging process is controlled to end the imaging operation.
[0052] In order to better illustrate the embodiment of the present application, an embodiment of the present application also provides a detailed sound pickup control method, such as Figure 2 FIG. 1 is a schematic diagram of a detailed process of a sound pickup control method provided in an embodiment of the present application. The sound pickup control method specifically includes the following process:
[0053] Step 201: during the operation of the camera application, determining a corresponding imaging zoom factor according to a key operation event received by a terminal side key;
[0054] Step 202: If the imaging zoom factor is less than or equal to the preset factor threshold, the sound pickup space range of the microphone array is determined as the complete sound pickup space range in the camera framing direction; then go to step 208;
[0055] Step 203: if the imaging zoom factor is greater than the factor threshold, the target sound source orientation is located in the effective sound pickup space of the terminal, and a sound pickup reference orientation is determined based on the target sound source orientation;
[0056] Step 204, determining the corresponding sound pickup beam width according to the imaging zoom factor;
[0057] Step 205, determining whether the sound pickup beam width exceeds the beam width critical value; if not, executing step 206, and if so, executing step 207;
[0058] Step 206, using the sound pickup reference orientation as a reference and combining the sound pickup beam width to determine the sound pickup spatial range of the microphone array; then go to step 208;
[0059] Step 207: using the sound pickup reference orientation as a reference and combining the beam width critical value to determine the sound pickup spatial range of the microphone array, and configuring the sound enhancement algorithm used in the sound pickup operation execution process according to the imaging zoom factor;
[0060] Step 208: Control the imaging process of the camera application to perform corresponding imaging operations according to the imaging zoom factor, and control the recording process to perform corresponding sound pickup operations according to the sound pickup space range.
[0061] It should be understood that the size of the serial number of each step in this embodiment does not mean the order of execution of the steps. The execution order of each step should be determined by its function and internal logic, and should not constitute a sole limitation on the implementation process of the embodiment of this application.
[0062] Figure 3 A sound pickup control device is provided in one embodiment of the present application. The sound pickup control device can be used to implement the sound pickup control method in the above embodiment, and mainly includes:
[0063] The determination module 301 is used to determine the corresponding sound pickup control rule according to the application attribute of the currently running application of the terminal; wherein the allowed calling process of the currently running application includes the recording process;
[0064] The acquisition module 302 is used to acquire the sound pickup configuration parameters corresponding to the key operation event based on the sound pickup control rule when receiving the key operation event input for the preset terminal function key;
[0065] The control module 303 is used to control the recording process of the currently running application to perform corresponding sound pickup operations in response to the sound pickup configuration parameters.
[0066] In an optional implementation of the present embodiment, the sound pickup control device further includes: an execution module, which is used to execute a corresponding sound enhancement algorithm with reference to the continuous operation parameters during the execution of the sound pickup operation if the sound pickup space range reaches the range critical value indicated by the constraint condition corresponding to the functional relationship; wherein the sound enhancement algorithm includes at least one of the following: a sound signal amplification algorithm, a sound noise reduction algorithm, and a sound source separation algorithm.
[0067] It should be noted that the sound pickup control methods in the aforementioned method embodiments can all be implemented based on the sound pickup control device provided in this embodiment. Ordinary technicians in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the sound pickup control device described in this embodiment can be implemented by referring to the corresponding working process in the aforementioned method embodiments, and will not be repeated here.
[0068] Based on the technical solution of the above-mentioned embodiment of the present application, the corresponding sound pickup control rules are determined according to the application attributes of the currently running application of the terminal; wherein the allowed calling process of the currently running application includes the recording process; when a key operation event for a preset terminal function key input is received, the sound pickup configuration parameters corresponding to the key operation event are obtained based on the sound pickup control rules; the recording process of the currently running application is controlled to perform the corresponding sound pickup operation according to the sound pickup configuration parameters. Through the implementation of the present application, according to the user's function key operation behavior during the application running process, the terminal is controlled to perform the sound pickup operation using the corresponding sound pickup working parameters, so that the terminal's sound pickup operation can be optimized accordingly to meet the user's recording needs in different application scenarios, thereby ensuring the terminal sound pickup effect in diversified application scenarios.
[0069] See also Figure 4 , Figure 4 A terminal is provided in one embodiment of the present application. The terminal can be used to implement the sound pickup control method in the above embodiment. Figure 4 As shown, the terminal mainly includes:
[0070] Memory 401, processor 402 and bus 403, memory 401 and processor 402 are connected via bus 403. Memory 401 stores a computer program that can be run on processor 402, and when processor 402 executes the computer program, the sound pickup control method in the above embodiment is implemented. The number of processors can be one or more.
[0071] The memory 401 may be a high-speed random access memory (RAM) memory, or a non-volatile memory, such as a disk memory. The memory 401 is used to store executable program codes, and the processor 402 is coupled to the memory 401 .
[0072] Furthermore, the embodiment of the present application also provides a computer-readable storage medium, which may be provided in the terminal in the above embodiments. The computer-readable storage medium may be the above Figure 4 Memory in the illustrated embodiment.
[0073] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the sound pickup control method in the aforementioned embodiment is implemented. Furthermore, the computer storable medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.
[0074] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0075] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0076] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0077] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned readable storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0078] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0079] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0080] The above is a description of the sound pickup control method, device, terminal and readable storage medium provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A sound pickup control method, characterized in that: include: Determining a corresponding sound pickup control rule according to an application attribute of a currently running application of the terminal; wherein the allowed calling process of the currently running application includes a recording process; When receiving a key operation event input for a preset terminal function key, acquiring a sound pickup configuration parameter corresponding to the key operation event based on the sound pickup control rule; The recording process of the currently running application is controlled to perform corresponding sound pickup operations according to the sound pickup configuration parameters.
2. The sound pickup control method according to claim 1, characterized in that: The acquiring the sound pickup configuration parameters corresponding to the key operation event based on the sound pickup control rule includes: The sound pickup space range corresponding to the key operation event is obtained based on the sound pickup control rule; wherein the sound pickup configuration parameters include the sound pickup space range.
3. The sound pickup control method according to claim 2, characterized in that: The method further comprises: Locate the target sound source within the effective sound pickup space of the terminal; The sound pickup reference orientation referenced by the sound pickup space range is determined based on the target sound source orientation; wherein the sound pickup configuration parameters also include the sound pickup reference orientation.
4. The sound pickup control method according to claim 2, characterized in that: The key operation event includes a continuous operation parameter corresponding to the terminal function key, and the continuous operation parameter includes at least one of the following: continuous sliding displacement, continuous pressing time; the continuous operation parameter is in a preset functional relationship with the sound pickup space range.
5. The sound pickup control method according to claim 3, characterized in that: The type of the currently running application includes a camera application; and the method further includes: Determine whether the key operation event satisfies a preset directional sound pickup trigger event; Among them, if the directional sound pickup trigger event is met, the step of locating the target sound source orientation in the effective sound pickup space of the terminal is executed; if the directional sound pickup trigger event is not met, the sound pickup space range is the complete sound pickup space range in the camera framing direction.
6. The sound pickup control method according to claim 4, characterized in that: The method further comprises: If the sound pickup space range reaches the range critical value indicated by the constraint condition corresponding to the functional relationship, the corresponding sound enhancement algorithm is executed with reference to the continuous operation parameter during the execution of the sound pickup operation; wherein the sound enhancement algorithm includes at least one of the following: sound signal amplification algorithm, sound signal noise reduction algorithm, sound source separation algorithm.
7. The sound pickup control method according to any one of claims 1 to 6, characterized in that: The type of the currently running application includes a camera application; and the method further includes: Acquire a corresponding imaging zoom factor based on the key operation event; The imaging process of the currently running application is controlled to perform a corresponding imaging operation according to the imaging zoom factor.
8. A sound pickup control device, characterized in that: include: A determination module, used to determine a corresponding sound pickup control rule according to an application attribute of a currently running application of the terminal; wherein the allowed calling process of the currently running application includes a recording process; An acquisition module, configured to, when receiving a key operation event input for a preset terminal function key, acquire a sound pickup configuration parameter corresponding to the key operation event based on the sound pickup control rule; The control module is used to control the recording process of the currently running application to perform corresponding sound pickup operations according to the sound pickup configuration parameters.
9. A terminal, characterized in that: include: Memory and processor; The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps of the sound pickup control method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the sound pickup control method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Audio recording method, head-mounted device and storage medium
CN120676113A