Volume adjustment method, device, electronic device and readable storage medium

By receiving user input to determine the audio file ratio and adjusting the volume, the problem of the same volume of multiple audio signals is solved, and personalized attention to the audio signal with adjustable volume in the mix is achieved.

CN115113845BActive Publication Date: 2025-08-15VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210881373.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2025-08-15
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

In the prior art, after multiple audio signals are mixed, the volume of each audio signal is the same, which makes it impossible for the user to focus on one or several audio signals, and to adjust the volume information of multiple audio signals at the same time.

Method used

In the case of playing at least two audio files, the user's input is received, the ratio corresponding to the audio file is determined, and the volume information of each audio file is adjusted according to the ratio and the target volume information.

Benefits of technology

The volumes of each audio signal are different in the mixing situation, allowing users to pay attention to audio signals with higher volumes in a targeted manner, meeting users' personalized volume adjustment needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115113845B_ABST
    Figure CN115113845B_ABST
Patent Text Reader

Abstract

The present application discloses a volume adjustment method, apparatus, electronic device, and readable storage medium, belonging to the field of electronic technology. The method comprises: receiving a first input for at least two audio files while playing the at least two audio files; determining a first ratio corresponding to the at least two audio files in response to the first input, wherein each item in the first ratio corresponds to the at least two audio files; and adjusting the volume information of the at least two audio files based on the first ratio and first target volume information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic technology, and specifically relates to a volume adjustment method, device, electronic device and readable storage medium. Background Art

[0002] Electronic devices can play audio signals, such as those in videos. In some scenarios, people need to open multiple audio files simultaneously. For example, a user might be watching a live stream on live streaming software and want to purchase something through the live stream. However, the live stream is long, and they need to wait to avoid missing out on important information. To pass the time, they might open a video app to catch up on a TV series.

[0003] In the prior art, when multiple audio files are played simultaneously on an electronic device, the audio signals of the multiple audio files are mixed and then played by a playback device such as a speaker of the electronic device. Typically, after the multiple audio signals are mixed, the volume of each audio signal is the same, making it difficult for the user to focus on one or more audio signals.

[0004] It can be seen that in the prior art, after multiple audio signals are mixed, the volume of each audio signal is the same, resulting in the user being unable to focus on one or several audio signals in a targeted manner, and the user being unable to adjust the volume information of multiple audio signals at the same time. Summary of the Invention

[0005] The purpose of the embodiments of the present application is to provide a volume adjustment method that can solve the problem in the prior art that after multiple audio signals are mixed, the volume of each audio signal is the same and the user cannot adjust the volume information of multiple audio signals at the same time.

[0006] In a first aspect, an embodiment of the present application provides a volume adjustment method, the method comprising: receiving a first input for at least two audio files while playing the at least two audio files; determining a first ratio corresponding to the at least two audio files in response to the first input, wherein each item in the first ratio corresponds to the at least two audio files respectively; and adjusting the volume information of the at least two audio files according to the first ratio and first target volume information.

[0007] In a second aspect, an embodiment of the present application provides a volume adjustment device, comprising: a first receiving module for receiving a first input of the at least two audio files when playing the at least two audio files; a first determining module for determining a first ratio corresponding to the at least two audio files in response to the first input, wherein each item in the first ratio corresponds to the at least two audio files respectively; and a first adjusting module for adjusting the volume information of the at least two audio files according to the first ratio and first target volume information.

[0008] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0010] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.

[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.

[0012] Thus, in an embodiment of the present application, an electronic device plays at least two audio files simultaneously, a user makes a first input for the at least two audio files, and in response to the first input, determines a first ratio corresponding to the first input. The number of items corresponding to the first ratio is consistent with the number of audio files corresponding to the first input, so that the first ratio can reflect the volume distribution scheme for each audio file, and then the electronic device plays the audio signals of the at least two audio files according to the volume distribution scheme. It can be seen that although the sound played by the embodiment of the present application is a mix, the volume of each sound in the mix is different, and the user can adjust the volume information of multiple audio signals at the same time, so that the user can focus on one or several sounds with higher volume. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 is a flow chart of a volume adjustment method according to an embodiment of the present application;

[0014] Figures 2 to 5 is a display schematic diagram of an electronic device according to an embodiment of the present application;

[0015] Figure 6 is a block diagram of a volume adjustment device according to an embodiment of the present application;

[0016] Figure 7 This is one of the hardware structure diagrams of the electronic device according to the embodiment of the present application;

[0017] Figure 8 This is the second hardware structure diagram of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION

[0018] The following will be combined with the accompanying drawings of the embodiments of the present application to clearly describe the technical solutions of the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0019] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0020] The volume adjustment method provided in the embodiment of the present application may be executed by the volume adjustment device provided in the embodiment of the present application, or an electronic device integrating the volume adjustment device, wherein the volume adjustment device may be implemented in hardware or software.

[0021] The volume adjustment method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0022] Figure 1 A flow chart of a volume adjustment method according to an embodiment of the present application is shown, taking the method applied to an electronic device as an example, including:

[0023] Step 110: In the case of playing at least two audio files, receiving a first input of the at least two audio files.

[0024] Optionally, the application scenario of this embodiment is a split-screen mode. In the split-screen mode, the screen of the electronic device includes multiple areas, one area is used to display one audio file. Of course, the electronic device can also include multiple screens, one screen is used to display one audio file.

[0025] Optionally, an audio output terminal such as a speaker of the electronic device can play audio signals of multiple audio files simultaneously, and the volume information of the audio signals of the multiple audio files is the same by default.

[0026] Optionally, the volume information in this application is expressed in the form of a percentage.

[0027] Optionally, the audio file includes a video file, a music file, a voice file, and the like.

[0028] The first input includes touch input performed by the user on the screen, not limited to clicks, slides, drags, and other inputs. The first input may also be airborne input by the user, such as gestures or facial movements. The first input also includes input performed by the user on physical buttons on the device, not limited to presses. Furthermore, the first input may include one or more inputs, wherein the multiple inputs may be continuous or spaced apart.

[0029] In this step, the first input is used to perform an association operation on at least two audio files to adjust volume information of audio signals of the at least two audio files.

[0030] Optionally, the at least two audio files displayed in this step are all audio files whose volume information the user needs to adjust, and are not limited to representing all audio files currently being played by the electronic device.

[0031] Step 120: In response to the first input, determine a first ratio corresponding to at least two audio files, wherein each item in the first ratio corresponds to the at least two audio files.

[0032] In this step, the number of items corresponding to the first ratio is consistent with the number of audio files first input by the user; correspondingly, each item in the first ratio corresponds to each audio file corresponding to the first input.

[0033] For example, the user performs a first input on two audio files, and correspondingly, a first ratio is obtained as a:b, where a corresponds to one audio file and b corresponds to another audio file.

[0034] For another example, the user performs a first input on three audio files, and correspondingly, a first ratio is obtained as a:b:c, where a corresponds to one audio file, b corresponds to another audio file, and c corresponds to another audio file.

[0035] Step 130: Adjust the volume information of at least two audio files according to the first ratio and the first target volume information.

[0036] Optionally, the first target volume information is a certain volume that the electronic device can output, such as 50%.

[0037] Alternatively, use Formula 1:

[0038]

[0039] In formula 1, V MIt is used to represent the volume information of the audio file M, S is used to represent the first target volume information, D1, D2, D3...D N Used to represent the items corresponding to the first ratio, D M It is used to represent the item of the first ratio corresponding to the audio file M, where M and N are positive integers, M is a value between 1 and N, and N is used to represent the total number of audio files corresponding to the first input.

[0040] Furthermore, audio signals of the at least two audio files are played according to the adjusted volume information of the at least two audio files.

[0041] Based on the adjustment of this embodiment, when the electronic device plays the audio signals of the respective audio files, the volumes of the audio signals of the respective audio files may be inconsistent.

[0042] For example, based on the user's adjustment, the volume of two audio files played simultaneously is increased and the volume of the other audio file is decreased, so that the user can pay more attention to the audio file with a higher volume while paying attention to the audio file with a lower volume.

[0043] Thus, in an embodiment of the present application, an electronic device plays at least two audio files simultaneously, a user makes a first input for the at least two audio files, and in response to the first input, determines a first ratio corresponding to the first input. The number of items corresponding to the first ratio is consistent with the number of audio files corresponding to the first input, so that the first ratio can reflect the volume distribution scheme for each audio file, and then the electronic device plays the audio signals of the at least two audio files according to the volume distribution scheme. It can be seen that although the sound played by the embodiment of the present application is a mix, the volume of each sound in the mix is different, and the user can adjust the volume information of multiple audio signals at the same time, so that the user can focus on one or several sounds with higher volume.

[0044] In the process of the volume adjustment method according to another embodiment of the present application, each of at least two audio files is displayed in an area; step 110 includes:

[0045] Sub-step A1: For each region, receive a first input of a target location point of the region.

[0046] Optionally, in combination with the split-screen mode in the previous embodiment, in the split-screen mode, one screen corresponds to an area in this embodiment, or one area corresponds to an area in this embodiment.

[0047] Furthermore, one area corresponds to displaying one audio file.

[0048] In this step, the user selects a target location point in each area through a first input.

[0049] For example, within a preset time period, the user performs a click input in each area, and the location point corresponding to the click input is used as the target location point.

[0050] For example, see Figure 2 , displaying the first area 201 and the second area 202 side by side, starting from the first area 201, pressing a position point, without releasing, dragging to a position point in the second area 202, and then releasing. Correspondingly, the position point where the pressing starts and the position point where the last release is made can be respectively regarded as the two position points.

[0051] For example, see Figure 3 , according to the first area 301, second area 302, and third area 303 shown in the figure, starting from the first area 301, press a location point, do not release, drag to the second area 302, then drag to the third area 303, and finally return to the first area 301 and release. Correspondingly, for any area, based on the preset connection line and the drag route 304, find the intersection point as the location point. The preset connection line for each area is shown as the dotted line in the figure.

[0052] For example, see Figure 4 , according to the first area 401, second area 402, third area 403 and fourth area 404 shown in the figure, starting from the first area 401, press a location point, do not release, drag to the second area 402, do not release, drag to the third area 403, do not release, drag to the fourth area 404, and finally return to the first area 401 and release. Correspondingly, for any area, based on the preset connection line and the drag route 405, find the intersection point as the location point. The preset connection line for each area is shown as the dotted line in the figure.

[0053] Correspondingly, step 120 includes:

[0054] Sub-step A2: Obtain each target distance between each target position point and a preset reference position.

[0055] Optionally, the preset reference position is customized by the user; optionally, the preset reference position is intelligently defined based on the number and distribution of areas.

[0056] For example, see Figure 2 In the example shown, the preset reference position may be the intersection point between the dragging route 203 and the intersection line 204 between the two areas.

[0057] For example, see Figure 3 and Figure 4 In the example shown, the preset reference position may be an intersection point of multiple areas.

[0058] Correspondingly, in this step, the target distance between each target position point and the preset reference position is obtained respectively.

[0059] Sub-step A3: Determine a first ratio based on each target distance.

[0060] In this step, all target distances are taken as terms in the first scale.

[0061] In this embodiment, the allocated volume is reflected by the length of the distance, which facilitates the user to intuitively allocate the volume information of each audio file, thereby making the user's operation simple and interesting.

[0062] In the process of the volume adjustment method according to another embodiment of the present application, before step 130, the method further includes:

[0063] Step B1: Receive a second input.

[0064] The second input includes touch input performed by the user on the screen, including but not limited to clicks, slides, and drags. The second input can also be airborne input, such as hand gestures and facial movements. The second input also includes input performed by the user on physical buttons on the device, including but not limited to presses. Furthermore, the second input can include one or more inputs, where the multiple inputs can be continuous or spaced apart.

[0065] In this step, the second input is used to set the first target volume information.

[0066] Step B2: In response to the second input, determine first target volume information corresponding to the second input.

[0067] In this step, the user can set a specific value as the first target volume information.

[0068] For example, see Figure 2 When at least two audio files are played, a volume adjustment control 205 is displayed, and the user inputs on the volume adjustment control 205 to set seventy percent as the first target volume information.

[0069] Optionally, the user sets reasonable first target volume information based on the decibel value of the sound in the current environment, so that the volume of the audio signal played by the electronic device can ensure that the user can hear it comfortably in the current environment without being unclear or too noisy.

[0070] or,

[0071] Step B3: Determine first target volume information according to the decibel value of the ambient sound.

[0072] In this step, the electronic device can automatically set a more appropriate first target volume information in combination with the decibel value of the current ambient sound.

[0073] In this embodiment, the first target volume information may be determined based on a manual setting of the user or an automatic setting of the device, so that the determined first target volume information can ensure that the user has a better listening experience.

[0074] In the volume adjustment method of another embodiment of the present application, the audio file is a video file; when at least two audio files are played, the method further includes:

[0075] Step C1: displaying a first volume adjustment control corresponding to a first object, where at least two video files include the first object, and the first volume adjustment control is used to adjust first volume information corresponding to the first object.

[0076] Optionally, this application is implemented in a scenario where the "multi-screen audio volume intelligent adjustment" function is turned on.

[0077] For example, the user presses and holds the "Volume +" button and the "Volume -" button at the same time to turn on the "Multi-screen Audio Volume Smart Adjustment" function.

[0078] Furthermore, when the "Multi-screen Audio Volume Intelligent Adjustment" function is turned on, artificial intelligence algorithms are used to automatically identify various objects in each video that can make sound.

[0079] Among them, the background can also be used as an object.

[0080] In this step, the first object is one of the objects.

[0081] Therefore, based on the identified objects, a volume adjustment control is displayed at the corresponding position of each object.

[0082] For example, see Figure 5 , a drag bar 501 is displayed at the recognized object.

[0083] Optionally, the color of the drag bar corresponding to each object is different to facilitate user differentiation.

[0084] In this step, a first volume adjustment control, such as a first drag bar, is displayed at a position corresponding to the first object.

[0085] When each object is initially recognized, the volume information indicated by all volume adjustment controls is consistent, such as 50%.

[0086] Step C2: Receive a third input to the first volume adjustment control.

[0087] The third input includes touch input performed by the user on the screen, including but not limited to clicks, slides, and drags. The third input can also be airborne input, such as hand gestures and facial movements. The third input also includes input performed by the user on physical buttons on the device, including but not limited to presses. Furthermore, the third input can include one or more inputs, where the multiple inputs can be continuous or spaced apart.

[0088] In this step, the third input is used to operate the first volume adjustment control to separately adjust the first volume information of the audio signal emitted by the first object.

[0089] For example, the user drags the cursor on the first drag bar.

[0090] Step C3: In response to the third input, adjust the first volume information.

[0091] In this step, based on the user's adjustment of the first volume information corresponding to the first object, the electronic device will play the audio signal corresponding to the first object based on the adjusted first audio information when playing multiple videos, so that the volume corresponding to the first object can be increased or decreased separately, thereby achieving the expected playback effect and meeting user needs.

[0092] In the volume adjustment method of another embodiment of the present application, the audio file is a video file; when at least two audio files are played, the method further includes:

[0093] Step D1: Display a second volume adjustment control corresponding to the second object and a third volume adjustment control corresponding to the third object, at least two video files include the second object and the third object, the second volume adjustment control is used to adjust the second volume information corresponding to the second object, and the third volume adjustment control is used to adjust the third volume information corresponding to the third object.

[0094] With reference to the previous embodiment, the second object and the second object are two objects among the identified objects.

[0095] In more embodiments, the number of objects is not limited to the second object and the third object, but may be a greater number of objects.

[0096] The second object and the third object may be objects in the same video file or objects in different video files.

[0097] Step D2: Receive a fourth input, where the fourth input is associated with the second object and the third object in a first manner.

[0098] Step D3: In response to the fourth input, adjust the third volume information based on the second volume information, or adjust the second volume information based on the third volume information.

[0099] The fourth input includes touch input by the user on the screen, including but not limited to clicks, slides, and drags. It can also be airborne input, such as hand gestures and facial movements. It also includes input on physical buttons on the device, including but not limited to presses. Furthermore, the fourth input includes one or more inputs, where the multiple inputs can be continuous or spaced apart.

[0100] In this embodiment, the fourth input is used to input the second object and the third object to associate the two objects in the first manner, so that based on the current second volume information, the third volume information corresponding to the third object is adjusted to be consistent with the second volume information; or, based on the current third volume information, the second volume information corresponding to the second object is adjusted to be consistent with the third volume information.

[0101] For example, the user long presses the second volume adjustment control, drags it to the third object position and then releases it, thereby automatically adjusting the third volume information indicated by the third volume adjustment control to be consistent with the second volume information currently indicated by the second volume adjustment control.

[0102] In another example, the user long-presses the third volume control, drags it to the second object, and then releases it, thereby automatically adjusting the second volume information indicated by the second volume control to be consistent with the third volume information currently indicated by the third volume control. In another example, the user long-presses the second object, drags it to the third object, and then releases it.

[0103] Optionally, this embodiment is applicable to a scenario where the second volume information is different from the third volume information. For example, if the user has adjusted at least one of the second volume information and the third volume information separately, the two volume information can be unified in this embodiment.

[0104] In this embodiment, a method for unifying the volume information of two or more objects is provided. The user can quickly adjust the volume information of the two or more objects to be consistent through simple operations. This is not only simple to operate, but also can meet the needs of users.

[0105] In the volume adjustment method of another embodiment of the present application, the audio file is a video file; when at least two audio files are played, the method further includes:

[0106] Step E1: Display a fourth volume adjustment control corresponding to the fourth object and a fifth volume adjustment control corresponding to the fifth object, at least two video files include the fourth object and the fifth object, the fourth volume adjustment control is used to adjust the fourth volume information corresponding to the fourth object, and the fifth volume adjustment control is used to adjust the fifth volume information corresponding to the fifth object.

[0107] With reference to the previous embodiment, the fourth object and the fifth object are two objects among the identified objects.

[0108] In more embodiments, the fourth object and the fifth object are not limited to two objects, and a greater number of objects may be included.

[0109] The fourth object and the fifth object may be objects in the same video file or objects in different video files.

[0110] Step E2: receiving a fifth input, the fifth input being associated with the fourth object and the fifth object in a second manner. Step E3: establishing an association relationship between the fourth volume adjustment control and the fifth audio adjustment control in response to the fifth input.

[0111] The fifth input includes touch input by the user on the screen, including but not limited to clicks, slides, and drags. It can also be airborne input, such as hand gestures or facial movements. It also includes input on physical buttons on the device, including but not limited to presses. Furthermore, the fifth input includes one or more inputs, where the multiple inputs can be continuous or spaced apart.

[0112] In this embodiment, the fifth input is used to input the fourth object and the fifth object to associate the two objects in the second manner, so that the user can automatically and synchronously adjust the volume information of the other object by adjusting the volume information corresponding to either object.

[0113] For example, the user long presses the fourth object, drags to the fifth object, and then releases the touch, thereby binding the fourth object and the fifth object, that is, associating the fourth object and the fifth object in the second manner.

[0114] Optionally, the color of the fourth volume adjustment control and the color of the fifth volume adjustment control are unified to indicate that the two are associated in the second manner.

[0115] Optionally, this embodiment is applicable to the scenario where the fourth volume information is the same as the fifth volume information. For example, before the user adjusts any volume information, all volume information is consistent. Therefore, in this embodiment, the user associates the fourth object and the fifth object, and then in the subsequent playback process, the two volume information can be adjusted uniformly.

[0116] Optionally, this embodiment is applicable to scenarios where the fourth volume information is different from the fifth volume information. For example, if the user has separately adjusted at least one of the fourth volume information and the fifth volume information, making the two volume information different, in this embodiment, after associating the two objects, the two volume information can be unified first, and then the two volume information can be adjusted uniformly during subsequent playback.

[0117] Step E4: Receiving a sixth input to either the fourth volume adjustment control or the fifth volume adjustment control.

[0118] The sixth input includes touch input by the user on the screen, not limited to clicks, slides, and drags. It can also be airborne input, such as hand gestures or facial movements. It also includes input on physical buttons on the device, not limited to presses. Furthermore, the sixth input includes one or more inputs, where the multiple inputs can be continuous or spaced apart.

[0119] In this step, the sixth input is used to adjust the fourth volume information shown by the fourth volume adjustment control, or to adjust the fifth volume information shown by the fifth volume adjustment control.

[0120] For example, the fourth volume adjustment control is a fourth drag bar, and the fifth volume adjustment control is a fifth drag bar. The user drags the cursor on the fourth drag bar or the cursor on the fifth drag bar.

[0121] Step E5: In response to the sixth input, according to the second target volume information corresponding to the sixth input, adjusting the fourth volume adjustment control and the fifth volume adjustment control to indicate the second target volume information.

[0122] In this step, the user can adjust the fourth volume adjustment control to indicate the second target volume information, or adjust the fifth volume adjustment control to indicate the second target volume information. No matter which control the user operates, the volume information indicated by the other control is automatically adjusted.

[0123] In this embodiment, another method for unifying the volume information of two or more objects is provided. In the previous embodiment, the volume information of two or more objects is unified based on a certain playback moment, while the adjustment of each volume information at other moments is still independent of each other. Unlike the previous embodiment, this embodiment is based on the relationship binding of two or more objects. During the entire playback process, the user can always adjust the volume of only one object, and the volumes of all bound objects are adjusted synchronously, simplifying user operations.

[0124] In the volume adjustment method of another embodiment of the present application, the audio file is a video file; when at least two audio files are played, the method further includes:

[0125] Step F1: When at least two video files both include a sixth object, a sixth volume adjustment control corresponding to the sixth object is displayed, where the sixth volume adjustment control is used to adjust sixth volume information corresponding to the sixth object.

[0126] In this step, if multiple video files include the sixth object, the sixth volume adjustment control is displayed only at the position corresponding to the sixth object in one video.

[0127] Step F2: Receive a seventh input to the sixth volume adjustment control.

[0128] The seventh input includes touch input by the user on the screen, including but not limited to clicks, slides, and drags. It can also be airborne input, such as hand gestures and facial movements. It also includes input on physical buttons on the device, including but not limited to presses. Furthermore, the seventh input includes one or more inputs, where the multiple inputs can be continuous or spaced apart.

[0129] In this step, the seventh input is used to adjust the volume information of the audio signal emitted by the sixth object.

[0130] For example, the sixth volume adjustment control is a sixth drag bar, and the user drags a cursor on the sixth drag bar.

[0131] Step F3: In response to the seventh input, adjust the sixth volume information corresponding to the sixth object in at least two videos respectively.

[0132] In this step, based on the user's input to the sixth volume adjustment control, the sixth volume information of the sixth object in all videos is uniformly adjusted to be consistent.

[0133] In this embodiment, a method for unifying the volume information of the same object in multiple videos is provided. The user can quickly adjust the volume information of the same object in multiple videos to be consistent. This is not only simple to operate, but also meets the needs of users.

[0134] In the above embodiment, each object currently emitting an audio signal can be identified, allowing the user to adjust the volume of the audio signal. If the object is not emitting an audio signal, the corresponding volume adjustment control may no longer be displayed. However, when the object emits an audio signal again, the volume adjustment control is displayed and the volume information of the last user adjustment is retrieved and played directly. In other words, a memory function can be provided. After adjusting the volume of an object, the previously memorized volume can be retrieved when the object's voice is played again.

[0135] In summary, the purpose of this application is to provide a volume adjustment method, which allows users to set the mixing ratio through a simple operation method, so that users can hear the mixed sound of multiple different audio files according to personal needs.

[0136] The volume adjustment method provided in the embodiment of the present application can be executed by a volume adjustment device. In the embodiment of the present application, the volume adjustment device provided in the embodiment of the present application is described by taking the volume adjustment method executed by the volume adjustment device as an example.

[0137] Figure 6 A block diagram of a volume adjustment device according to another embodiment of the present application is shown, the device comprising:

[0138] A first receiving module 10 is configured to receive a first input of at least two audio files when playing at least two audio files;

[0139] A first determining module 20 is configured to determine, in response to a first input, a first ratio corresponding to at least two audio files, wherein each item in the first ratio corresponds to the at least two audio files;

[0140] The first adjustment module 30 is configured to adjust volume information of at least two audio files according to the first ratio and the first target volume information.

[0141] Thus, in an embodiment of the present application, an electronic device plays at least two audio files simultaneously, and a user makes a first input for the at least two audio files. In response to the first input, a first ratio corresponding to the first input is determined. The number of items corresponding to the first ratio is consistent with the number of audio files corresponding to the first input, so that the first ratio can reflect a volume distribution plan for each audio file, and the electronic device then plays the audio signals of the at least two audio files according to the volume distribution plan. It can be seen that although the sound played by the embodiment of the present application is a mix, the volume of each sound in the mix is different, allowing the user to focus on one or more sounds with higher volume.

[0142] Optionally, each of the at least two audio files is displayed in one area; the first receiving module 10 includes:

[0143] A receiving unit, configured to receive, for each area, a first input of a target location point of the area;

[0144] The first determination module includes:

[0145] An acquisition unit, configured to respectively acquire each target distance between each target position point and a preset reference position;

[0146] The determining unit is configured to determine a first ratio according to each target distance.

[0147] Optionally, the device further comprises:

[0148] A second receiving module, configured to receive a second input;

[0149] a second determining module, configured to determine, in response to a second input, first target volume information corresponding to the second input;

[0150] The third determining module is used to determine first target volume information according to the decibel value of the ambient sound.

[0151] Optionally, the audio file is a video file; the device further includes:

[0152] A first display module, configured to display a first volume adjustment control corresponding to a first object, wherein the at least two video files include the first object, and the first volume adjustment control is configured to adjust first volume information corresponding to the first object;

[0153] a third receiving module, configured to receive a third input to the first volume adjustment control;

[0154] The second adjustment module is configured to adjust the first volume information in response to a third input.

[0155] Optionally, the audio file is a video file; the device further includes:

[0156] a second display module, configured to display a second volume adjustment control corresponding to a second object and a third volume adjustment control corresponding to a third object, wherein the at least two video files include the second object and the third object, the second volume adjustment control is configured to adjust second volume information corresponding to the second object, and the third volume adjustment control is configured to adjust third volume information corresponding to the third object;

[0157] a fourth receiving module, configured to receive a fourth input, the fourth input being associated with the second object and the third object in a first manner;

[0158] The third adjustment module is configured to adjust the third volume information based on the second volume information in response to a fourth input, or to adjust the second volume information based on the third volume information.

[0159] Optionally, the audio file is a video file; the device further includes:

[0160] a third display module, configured to display a fourth volume adjustment control corresponding to a fourth object and a fifth volume adjustment control corresponding to a fifth object, wherein the at least two video files include the fourth object and the fifth object, the fourth volume adjustment control is configured to adjust fourth volume information corresponding to the fourth object, and the fifth volume adjustment control is configured to adjust fifth volume information corresponding to the fifth object;

[0161] a fifth receiving module, configured to receive a fifth input, the fifth input being associated with the fourth object and the fifth object in a second manner;

[0162] an establishing module, configured to establish an association relationship between the fourth volume adjustment control and the fifth audio adjustment control in response to a fifth input;

[0163] a sixth receiving module, configured to receive a sixth input to either the fourth volume adjustment control or the fifth volume adjustment control;

[0164] The fourth adjustment module is configured to, in response to a sixth input, adjust the fourth volume adjustment control and the fifth volume adjustment control to indicate the second target volume information according to the second target volume information corresponding to the sixth input.

[0165] Optionally, the audio file is a video file; the device further includes:

[0166] a fourth display module, configured to display a sixth volume adjustment control corresponding to the sixth object when both of the at least two video files include the sixth object, the sixth volume adjustment control being used to adjust sixth volume information corresponding to the sixth object;

[0167] a seventh receiving module, configured to receive a seventh input to the sixth volume adjustment control;

[0168] The fifth adjustment module is configured to adjust sixth volume information corresponding to a sixth object in at least two videos in response to the seventh input.

[0169] The volume adjustment device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0170] The volume adjustment device of the embodiment of the present application may be a device having an action system. The action system may be an Android action system, an iOS action system, or other possible action systems, which are not specifically limited in the embodiment of the present application.

[0171] The volume adjustment device provided in the embodiment of the present application can implement each process implemented in the above method embodiment. To avoid repetition, it will not be described here.

[0172] Alternatively, as Figure 7 As shown, an embodiment of the present application further provides an electronic device 100, including a processor 101, a memory 102, and a program or instruction stored in the memory 102 and executable on the processor 101. When the program or instruction is executed by the processor 101, each step of any of the above-mentioned volume adjustment method embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0173] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0174] Figure 8 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0175] The electronic device 1000 includes but is not limited to components such as a radio frequency unit 1001 , a network module 1002 , an audio output unit 1003 , an input unit 1004 , a sensor 1005 , a display unit 1006 , a user input unit 1007 , an interface unit 1008 , a memory 1009 , and a processor 1010 .

[0176] Those skilled in the art will understand that the electronic device 1000 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.

[0177] Among them, the user input unit 1007 is used to receive a first input for the at least two audio files when the at least two audio files are being played; the processor 1010 is used to determine a first ratio corresponding to the at least two audio files in response to the first input, where each item in the first ratio corresponds to the at least two audio files respectively; and adjust the volume information of the at least two audio files according to the first ratio and the first target volume information.

[0178] Thus, in an embodiment of the present application, an electronic device plays at least two audio files simultaneously, and a user makes a first input for the at least two audio files. In response to the first input, a first ratio corresponding to the first input is determined. The number of items corresponding to the first ratio is consistent with the number of audio files corresponding to the first input, so that the first ratio can reflect a volume distribution plan for each audio file, and the electronic device then plays the audio signals of the at least two audio files according to the volume distribution plan. It can be seen that although the sound played by the embodiment of the present application is a mix, the volume of each sound in the mix is different, allowing the user to focus on one or more sounds with higher volume.

[0179] Optionally, each of the at least two audio files is displayed in an area; the user input unit 1007 is further used to receive a first input of a target position point of the area for each of the areas; the processor 1010 is further used to respectively obtain each target distance between each of the target position points and a preset reference position; and determine the first ratio based on the each target distance.

[0180] Optionally, the user input unit 1007 is further used to receive a second input; the processor 1010 is further used to determine the first target volume information corresponding to the second input in response to the second input; and determine the first target volume information according to the decibel value of the ambient sound.

[0181] Optionally, the audio file is a video file; the display unit 1006 is further used to display a first volume adjustment control corresponding to a first object when playing at least two audio files, and the at least two video files include the first object, and the first volume adjustment control is used to adjust the first volume information corresponding to the first object; the user input unit 1007 is further used to receive a third input to the first volume adjustment control; the processor 1010 is further used to adjust the first volume information in response to the third input.

[0182] Optionally, the audio file is a video file; the display unit 1006 is further used to display a second volume adjustment control corresponding to the second object and a third volume adjustment control corresponding to the third object when playing at least two audio files, the at least two video files including the second object and the third object, the second volume adjustment control is used to adjust the second volume information corresponding to the second object, and the third volume adjustment control is used to adjust the third volume information corresponding to the third object; the user input unit 1007 is further used to receive a fourth input, the fourth input being associated with the second object and the third object in a first manner; the processor 1010 is further used to adjust the third volume information based on the second volume information in response to the fourth input, or to adjust the second volume information based on the third volume information.

[0183] Optionally, the audio file is a video file; the display unit 1006 is used to display a fourth volume adjustment control corresponding to a fourth object and a fifth volume adjustment control corresponding to a fifth object when playing at least two audio files, the at least two video files including the fourth object and the fifth object, the fourth volume adjustment control is used to adjust the fourth volume information corresponding to the fourth object, and the fifth volume adjustment control is used to adjust the fifth volume information corresponding to the fifth object; the user input unit 1007 is also used to receive a fifth input, and the fifth input is associated with the fourth object and the fifth object in a second manner; the processor 1010 is also used to establish an association relationship between the fourth volume adjustment control and the fifth audio adjustment control in response to the fifth input; the user input unit 1007 is also used to receive a sixth input for either the fourth volume adjustment control or the fifth volume adjustment control; the processor 1010 is also used to adjust the fourth volume adjustment control and the fifth volume adjustment control to indicate the second target volume information according to the second target volume information corresponding to the sixth input in response to the sixth input.

[0184] Optionally, the audio file is a video file; the display unit 1006 is further used to display a sixth volume adjustment control corresponding to the sixth object when playing at least two audio files and when the sixth object is included in at least two video files, and the sixth volume adjustment control is used to adjust the sixth volume information corresponding to the sixth object; the user input unit 1007 is further used to receive a seventh input to the sixth volume adjustment control; the processor 1010 is further used to adjust the sixth volume information corresponding to the sixth object in the at least two videos respectively in response to the seventh input.

[0185] In summary, the purpose of this application is to provide a volume adjustment method, which allows users to set the mixing ratio through a simple operation method, so that users can hear the mixed sound of multiple different audio files according to personal needs.

[0186] It should be understood that in an embodiment of the present application, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of a static picture or video image obtained by an image capture device (such as a camera) in a video image capture mode or an image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of the other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an action stick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and action systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the action system, user pages and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

[0187] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0188] Processor 1010 may include one or more processing units. Optionally, processor 1010 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1010.

[0189] The embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned volume adjustment method embodiment is implemented and can achieve the same technical effect. To avoid repetition, it is not repeated here.

[0190] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0191] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to execute a program or instruction to implement the various processes of the above-mentioned volume adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, these are not described here.

[0192] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0193] An embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-mentioned volume adjustment method embodiment and can achieve the same technical effects. To avoid repetition, it is not described here.

[0194] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0195] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0196] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A volume adjustment method, characterized in that: The method comprises: In the case of playing at least two audio files, receiving a first input of the at least two audio files; the audio files are video files; In response to the first input, determining a first ratio corresponding to the at least two audio files, wherein each item in the first ratio corresponds to the at least two audio files; adjusting the volume information of the at least two audio files according to the first ratio and the first target volume information; In the case of playing at least two audio files, the method further includes: displaying a second volume adjustment control corresponding to a second object and a third volume adjustment control corresponding to a third object, wherein the at least two video files include the second object and the third object, the second volume adjustment control being used to adjust second volume information corresponding to the second object, and the third volume adjustment control being used to adjust third volume information corresponding to the third object; receiving a fourth input, the fourth input being associated with the second object and the third object in a first manner; In response to the fourth input, the third volume information is adjusted based on the second volume information, or the second volume information is adjusted based on the third volume information.

2. The method according to claim 1, characterized in that Each of the at least two audio files is displayed in an area; The receiving a first input of the at least two audio files comprises: For each of the regions, receiving a first input of a target location point of the region; Determining a first ratio corresponding to the at least two audio files in response to the first input includes: Respectively obtaining each target distance between each target position point and a preset reference position; The first ratio is determined according to the respective target distances.

3. The method according to claim 1, characterized in that Before adjusting the volume information of the at least two audio files according to the first ratio and the first target volume information, the method further includes: receiving a second input; In response to the second input, determining the first target volume information corresponding to the second input; or, The first target volume information is determined according to the decibel value of the ambient sound.

4. The method according to claim 1, wherein The audio file is a video file; In the case of playing at least two audio files, the method further includes: displaying a first volume adjustment control corresponding to a first object, where the at least two video files include the first object, and the first volume adjustment control is used to adjust first volume information corresponding to the first object; receiving a third input to the first volume adjustment control; In response to the third input, the first volume information is adjusted.

5. The method according to claim 1, wherein The audio file is a video file; In the case of playing at least two audio files, the method further includes: displaying a fourth volume adjustment control corresponding to a fourth object and a fifth volume adjustment control corresponding to a fifth object, wherein the at least two video files include the fourth object and the fifth object, the fourth volume adjustment control being used to adjust fourth volume information corresponding to the fourth object, and the fifth volume adjustment control being used to adjust fifth volume information corresponding to the fifth object; receiving a fifth input, the fifth input being associated with the fourth object and the fifth object in a second manner; In response to the fifth input, establishing an association relationship between the fourth volume adjustment control and the fifth volume adjustment control; receiving a sixth input to either the fourth volume adjustment control or the fifth volume adjustment control; In response to the sixth input, the fourth volume adjustment control and the fifth volume adjustment control are adjusted to indicate the second target volume information according to the second target volume information corresponding to the sixth input.

6. The method according to claim 1, characterized in that The audio file is a video file; In the case of playing at least two audio files, the method further includes: In a case where the sixth object is included in at least two video files, a sixth volume adjustment control corresponding to the sixth object is displayed, where the sixth volume adjustment control is used to adjust sixth volume information corresponding to the sixth object; receiving a seventh input to the sixth volume adjustment control; In response to the seventh input, the sixth volume information corresponding to the sixth object in the at least two videos is adjusted respectively.

7. A volume adjustment device, characterized in that: The device comprises: A first receiving module is configured to receive a first input of at least two audio files when playing at least two audio files; the audio files are video files; a first determining module configured to determine, in response to the first input, a first ratio corresponding to the at least two audio files, wherein each item in the first ratio corresponds to the at least two audio files; a first adjustment module, configured to adjust the volume information of the at least two audio files according to the first ratio and the first target volume information; a second display module, configured to display a second volume adjustment control corresponding to a second object and a third volume adjustment control corresponding to a third object, wherein the at least two video files include the second object and the third object, the second volume adjustment control is configured to adjust second volume information corresponding to the second object, and the third volume adjustment control is configured to adjust third volume information corresponding to the third object; a fourth receiving module, configured to receive a fourth input, the fourth input being associated with the second object and the third object in a first manner; The third adjustment module is configured to adjust the third volume information based on the second volume information in response to a fourth input, or to adjust the second volume information based on the third volume information.

8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the volume adjustment method according to any one of claims 1 to 6 are implemented.

9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the volume adjustment method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Volume adjusting method and device

    CN104427083A

  • Volume adjusting method and mobile terminal

    CN104869207A

  • A volume adjusting method and a terminal

    CN109683847A

  • Volume adjusting method and device

    CN112383817A