CN115562615A - Volume adjusting method, device, equipment and storage medium - Google Patents

Volume adjusting method, device, equipment and storage medium Download PDF

Info

Publication number
CN115562615A
CN115562615A CN202211194375.7A CN202211194375A CN115562615A CN 115562615 A CN115562615 A CN 115562615A CN 202211194375 A CN202211194375 A CN 202211194375A CN 115562615 A CN115562615 A CN 115562615A
Authority
CN
China
Prior art keywords
audio
video
volume
switching
volume adjustment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211194375.7A
Other languages
Chinese (zh)
Inventor
史轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Zhirong Innovation Technology Development Co ltd Beijing Branch
Tianjin Zhirong Innovation Technology Development Co ltd
Original Assignee
Tianjin Zhirong Innovation Technology Development Co ltd Beijing Branch
Tianjin Zhirong Innovation Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Zhirong Innovation Technology Development Co ltd Beijing Branch, Tianjin Zhirong Innovation Technology Development Co ltd filed Critical Tianjin Zhirong Innovation Technology Development Co ltd Beijing Branch
Priority to CN202211194375.7A priority Critical patent/CN115562615A/en
Publication of CN115562615A publication Critical patent/CN115562615A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Abstract

The embodiment of the disclosure provides a volume adjusting method, a volume adjusting device, volume adjusting equipment and a storage medium. The method comprises the following steps: acquiring a first audio/video identifier of a first audio/video to be played currently and a second audio/video identifier of a second audio/video to be played; inquiring a volume adjusting curve required by switching from the first audio/video to the second audio/video according to the first audio/video identification and the second audio/video identification; and when the first audio and video is switched to the second audio and video, carrying out volume adjustment on the second audio and video according to the volume adjustment curve. In this way, the volume of the switched audio and video can be smoothly adjusted by referring to the volume adjustment curve required by switching the currently played audio and video to the audio and video to be played, and the auditory perception of a user is improved.

Description

Volume adjusting method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of multimedia technologies, and in particular, to a volume adjustment method, apparatus, device, and storage medium.
Background
At present, audio and video playing is an important means for people to relax, but when playing audio and video, because different audio and video sources output different amounts of sound during recording and post-processing, the audio and video can be output in a large or small amount, for example, a user can be frightened by the fact that the volume is too large sometimes, and the volume needs to be adjusted to be too small sometimes, so that the user experience is poor.
Disclosure of Invention
The present disclosure provides a volume adjustment method, device, apparatus, and storage medium, which can smoothly adjust the volume of a switched audio/video with reference to a volume adjustment curve required to switch from a currently played audio/video to an audio/video to be played, thereby improving the auditory sensation of a user.
In a first aspect, an embodiment of the present disclosure provides a volume adjustment method, where the method includes:
acquiring a first audio/video identifier of a currently played first audio/video and a second audio/video identifier of a second audio/video to be played;
inquiring a volume adjusting curve required by switching from the first audio/video to the second audio/video according to the first audio/video identifier and the second audio/video identifier;
and when the first audio/video is switched to the second audio/video, carrying out volume adjustment on the second audio/video according to the volume adjustment curve.
In some implementations of the first aspect, the generating of the volume adjustment curve includes:
and generating a volume adjusting curve required by switching from the first audio and video to the second audio and video according to the volume adjusting operation adopted by the historical user for audio and video switching.
In some realizable manners of the first aspect, the audio/video switching is performed by taking a first audio/video as a starting point and a second audio/video as an end point, and no other audio/video switching operation exists between the starting point and the end point;
according to the volume adjustment operation adopted by the historical user for audio and video switching, a volume adjustment curve required for switching from a first audio and video to a second audio and video is generated, and the method comprises the following steps:
and generating a volume adjusting curve required by switching from the first audio and video to the second audio and video according to the volume adjusting operation of the historical user for switching from the first audio and video to the second audio and video.
In some realizable manners of the first aspect, the audio/video switching is performed by taking a first audio/video as a starting point and a second audio/video as an end point, and other audio/video switching operations exist between the starting point and the end point;
according to the volume adjustment operation adopted by the historical user for audio and video switching, a volume adjustment curve required for switching from a first audio and video to a second audio and video is generated, and the method comprises the following steps:
generating a volume adjusting curve required by the switching of the adjacent audios and videos according to the volume adjusting operation adopted by a historical user when the adjacent audios and videos are switched;
and combining the plurality of volume adjusting curves to generate a volume adjusting curve required by switching the first audio/video to the second audio/video.
In some realizable manners of the first aspect, when switching from the first audio/video to the second audio/video, performing volume adjustment on the second audio/video according to the volume adjustment curve includes:
and sequentially adjusting the volume of the second audio and video according to the volume value corresponding to each part in the volume adjustment curve.
In some implementations of the first aspect, the method further comprises:
detecting a picture scene appearing when a second audio and video is played;
and adjusting the volume of the second audio and video to the volume range corresponding to the picture scene.
In some implementations of the first aspect, the method further comprises:
detecting the type of the environment where the user is located when the second audio and video is played;
and adjusting the volume of the second audio and video to the volume range corresponding to the environment type.
In a second aspect, an embodiment of the present disclosure provides a volume adjustment device, including:
the acquisition module is used for acquiring a first audio and video identifier of a first audio and video to be played currently and a second audio and video identifier of a second audio and video to be played;
the query module is used for querying a volume adjustment curve required by switching from the first audio/video to the second audio/video according to the first audio/video identifier and the second audio/video identifier;
and the adjusting module is used for adjusting the volume of the second audio/video according to the volume adjusting curve when the first audio/video is switched to the second audio/video.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
In a fourth aspect, the disclosed embodiments provide a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method as described above.
According to the method and the device, a volume adjusting curve required for switching from the first audio and video to the second audio and video can be inquired according to a first audio and video identification of the first audio and video which is played currently and a second audio and video identification of the second audio and video to be played, and when the first audio and video is switched to the second audio and video, volume adjustment is carried out on the second audio and video according to the volume adjusting curve. In this way, the volume of the switched audio and video can be smoothly adjusted by referring to the volume adjustment curve required by switching the currently played audio and video to the audio and video to be played, and the auditory perception of a user is improved.
It should be understood that what is described in this summary section is not intended to define key or essential features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings. The accompanying drawings are included to provide a further understanding of the present disclosure, and are not intended to limit the disclosure thereto, and the same or similar reference numerals will be used to indicate the same or similar elements, where:
fig. 1 shows a flow chart of a volume adjustment method provided by an embodiment of the present disclosure;
fig. 2 is a structural diagram illustrating a volume adjusting apparatus provided in an embodiment of the present disclosure;
FIG. 3 sets forth a block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Moreover, in this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the term "and/or" herein is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In view of the problems occurring in the background art, embodiments of the present disclosure provide a volume adjustment method, apparatus, device, and storage medium.
Specifically, a volume adjustment curve required for switching from the first audio/video to the second audio/video can be queried according to a first audio/video identifier of a currently played first audio/video and a second audio/video identifier of a second audio/video to be played, and when the first audio/video is switched to the second audio/video, volume adjustment is performed on the second audio/video according to the volume adjustment curve.
In this way, the volume of the switched audio and video can be smoothly adjusted by referring to the volume adjustment curve required by switching the currently played audio and video to the audio and video to be played, and the auditory perception of a user is improved.
The following describes a volume adjusting method, a volume adjusting apparatus, a volume adjusting device, and a storage medium according to embodiments of the present disclosure in detail by using specific embodiments in conjunction with the accompanying drawings.
The volume adjusting method may be applied to a Mobile electronic device or a non-Mobile electronic device, for example, the Mobile electronic device may be a tablet Computer, a notebook Computer, a palm Computer, or an Ultra-Mobile Personal Computer (UMPC), and the non-Mobile electronic device may be a Personal Computer (PC), an Ultra-Mobile Computer, or a Television (TV).
Fig. 1 shows a flowchart of a volume adjustment method provided by an embodiment of the present disclosure, and as shown in fig. 1, the volume adjustment method 100 may include the following steps:
s110, a first audio and video identification of a first audio and video to be played currently and a second audio and video identification of a second audio and video to be played are obtained.
The audio/video may be a short video, an MV, a movie, a television program, or the like, and the audio/video identifier is used to uniquely identify the audio/video, and may be a number or a name of the audio/video, which is not limited herein.
And S120, inquiring a volume adjusting curve required for switching from the first audio/video to the second audio/video according to the first audio/video identifier and the second audio/video identifier.
The volume adjusting curve is used for indicating the change of the volume of the second audio/video when the first audio/video is switched to the second audio/video.
In some embodiments, the generation of the volume adjustment curve may include the steps of:
and generating a volume adjusting curve required by switching from the first audio and video to the second audio and video according to the volume adjusting operation adopted by the historical user for audio and video switching.
Therefore, the volume adjusting operation adopted by audio and video switching can be carried out according to massive historical users, and a volume adjusting curve suitable for the users and required by switching from the first audio and video to the second audio and video is generated.
Optionally, the audio/video switching may be performed by taking the first audio/video as a starting point and the second audio/video as an end point, and no switching operation of other audio/video exists between the starting point and the end point, that is, the first audio/video is directly switched to the second audio/video.
Correspondingly, a volume adjusting curve required by switching from the first audio and video to the second audio and video can be quickly generated according to the volume adjusting operation of the historical user for switching from the first audio and video to the second audio and video.
As an example, an average value of volume values corresponding to the same volume adjustment operation of each historical user may be calculated, and a volume adjustment curve may be generated according to the average value corresponding to each volume adjustment operation. Here, the same volume adjustment operation may refer to volume adjustment operations in the same order.
For example, there are volume adjustment operations taken by the users 1-3 to switch from a first audio-video to a second audio-video, where the volume adjustment operation taken by the user 1 is: s1 (volume 20), S2 (volume 25), S3 (volume 30), S4 (volume 40), S5 (volume 50); the volume adjustment operation taken by the user 2 is: s1 (volume 10), S2 (volume 15), S3 (volume 20), S4 (volume 40), S5 (volume 60); the volume adjustment operation taken by the user 3 is: s1 (adjusted to volume 12), S2 (adjusted to volume 17), S3 (adjusted to volume 25), S4 (adjusted to volume 37) and S5 (adjusted to volume 40), the average value corresponding to S1 is 14, the average value corresponding to S2 is 19, the average value corresponding to S3 is 25, the average value corresponding to S4 is 39, and the average value corresponding to S5 is 50, and then the average values corresponding to S1-S5 can be mapped as curve nodes and connected with the curve nodes in sequence to generate a volume adjustment curve.
In addition, the audio/video switching may be performed with the first audio/video as a starting point and the second audio/video as an end point, and there is a switching operation of other audio/video between the starting point and the end point, that is, other audio/video needs to be switched during the switching from the first audio/video to the second audio/video. For example, the historical user switches from the first audio/video to the third audio/video first, and then switches from the third audio/video to the second audio/video.
Correspondingly, a volume adjustment curve required by the switching of the adjacent audios and videos can be generated according to volume adjustment operations adopted by a historical user when the adjacent audios and videos are switched, and then the generated multiple volume adjustment curves are combined, for example, the multiple volume adjustment curves are arranged according to the sequence of the adjacent audios and videos, the adjacent volume adjustment curves are sequentially fused (namely, the adjacent curves are horizontally translated, and overlapped parts after translation are removed), and the volume adjustment curve required by the switching of the first audios and videos to the second audios and videos is generated.
Therefore, under the condition that the history data of direct switching is insufficient, the volume adjusting curve required by switching from the first audio/video to the second audio/video can be accurately generated by using the history data of indirect switching.
And S130, when the first audio and video is switched to the second audio and video, carrying out volume adjustment on the second audio and video according to the volume adjustment curve.
In some embodiments, the volume of the second audio/video can be sequentially adjusted according to the volume value corresponding to each part in the volume adjustment curve, so that the volume of the second audio/video can be gradually and smoothly adjusted, and the immersion of a user is improved. Wherein the target of the adjustment is the corresponding volume value in the volume adjustment curve.
Taking a volume adjustment curve generated according to volume adjustment operations adopted by the users 1-3 to switch from the first audio and video to the second audio and video as an example, when the first audio and video is switched to the second audio and video, the volume of the second audio and video can be sequentially adjusted according to volume values corresponding to S1-S5 in the volume adjustment curve.
For example, if the occurrence time of S1 is the start point of the second video, the occurrence time of S2 is the 5 th S of the second video, the occurrence time of S3 is the 7 th S of the second video, the occurrence time of S4 is the 10s of the second video, and the occurrence time of S5 is the 13 th S of the second video, the volume is adjusted to 14 when the second video starts to be played, the volume is adjusted to 19 when the second video is played to 5S, the volume is adjusted to 25 when the second video is played to 7S, the volume is adjusted to 39 when the second video is played to 10S, and the volume is adjusted to 50 when the second video is played to 13S.
According to the embodiment of the disclosure, a volume adjustment curve required for switching from the currently played audio and video to the audio and video to be played can be inquired, and the volume adjustment curve is referred to, so that when the currently played audio and video is switched to the audio and video to be played, the volume of the switched audio and video is smoothly adjusted, and the auditory sensation of a user is improved.
In some embodiments, a picture scene occurring when the second audio/video is played (for example, study in library, rainy day, airplane take-off, football match, etc.) may be detected, and the volume of the second audio/video is adjusted to a volume range corresponding to the picture scene, so as to improve the hearing experience of the user.
In addition, the environment type (such as a park, a subway carriage and a living room) where the user is located during playing of the second audio and video can be detected, the volume of the second audio and video is adjusted to the volume range corresponding to the environment type, and the use experience of the user is improved.
It is noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
The above is a description of embodiments of the method, and the embodiments of the apparatus are described below to further illustrate the aspects of the disclosure.
Fig. 2 illustrates a block diagram of a volume adjusting apparatus provided according to an embodiment of the present disclosure, and as shown in fig. 2, the volume adjusting apparatus 200 may include:
the obtaining module 210 is configured to obtain a first audio/video identifier of a first audio/video currently being played and a second audio/video identifier of a second audio/video to be played.
The query module 220 is configured to query a volume adjustment curve required for switching from the first audio/video to the second audio/video according to the first audio/video identifier and the second audio/video identifier.
And the adjusting module 230 is configured to adjust the volume of the second audio/video according to the volume adjustment curve when the first audio/video is switched to the second audio/video.
In some embodiments, the generating of the volume adjustment curve comprises:
and generating a volume adjusting curve required by switching from the first audio and video to the second audio and video according to the volume adjusting operation adopted by the historical user for audio and video switching.
In some embodiments, the audio/video switching is performed by taking a first audio/video as a starting point and a second audio/video as an end point, and no other audio/video switching operation exists between the starting point and the end point.
According to the volume adjustment operation adopted by a historical user for switching audio and video, a volume adjustment curve required for switching from a first audio and video to a second audio and video is generated, and the method comprises the following steps:
and generating a volume adjusting curve required by switching from the first audio and video to the second audio and video according to the volume adjusting operation of the historical user for switching from the first audio and video to the second audio and video.
In some embodiments, the audio/video switching is to use a first audio/video as a starting point and a second audio/video as an end point, and there is another audio/video switching operation between the starting point and the end point.
According to the volume adjustment operation adopted by the historical user for audio and video switching, a volume adjustment curve required for switching from a first audio and video to a second audio and video is generated, and the method comprises the following steps:
and generating a volume adjusting curve required by the switching of the adjacent audios and videos according to the volume adjusting operation adopted by the historical user when the adjacent audios and videos are switched.
And combining the plurality of volume adjusting curves to generate a volume adjusting curve required by switching the first audio/video to the second audio/video.
In some embodiments, the adjusting module 230 is specifically configured to:
and sequentially adjusting the volume of the second audio and video according to the volume value corresponding to each part in the volume adjustment curve.
In some embodiments, the volume adjusting apparatus 200 further includes:
and the first detection module is used for detecting a picture scene appearing during the playing of the second audio/video.
The adjusting module 230 is further configured to adjust the volume of the second audio/video to a volume range corresponding to the picture scene.
In some embodiments, the volume adjusting apparatus 200 further includes:
and the second detection module is used for detecting the environment type of the user when the second audio/video is played.
The adjusting module 230 is further configured to adjust the volume of the second audio/video to a volume range corresponding to the environment type.
It can be understood that each module/unit in the volume adjusting device 200 shown in fig. 2 has a function of implementing each step in the volume adjusting method 100 provided by the embodiment of the disclosure, and can achieve the corresponding technical effect, and for brevity, no further description is provided herein.
FIG. 3 illustrates a block diagram of an electronic device that may be used to implement embodiments of the present disclosure. The electronic device 300 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device 300 may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 3, the electronic device 300 may include a computing unit 301 that may perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 302 or a computer program loaded from a storage unit 308 into a Random Access Memory (RAM) 303. In the RAM303, various programs and data necessary for the operation of the electronic apparatus 300 can also be stored. The calculation unit 301, the ROM302, and the RAM303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
A number of components in the electronic device 300 are connected to the I/O interface 305, including: an input unit 306 such as a keyboard, a mouse, or the like; an output unit 307 such as various types of displays, speakers, and the like; a storage unit 308 such as a magnetic disk, optical disk, or the like; and a communication unit 309 such as a network card, modem, wireless communication transceiver, etc. The communication unit 309 allows the electronic device 300 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 301 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 301 performs the various methods and processes described above, such as the method 100. For example, in some embodiments, the method 100 may be implemented as a computer program product, including a computer program, tangibly embodied in a computer-readable medium, such as the storage unit 308. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 300 via ROM302 and/or communication unit 309. When the computer program is loaded into RAM303 and executed by the computing unit 301, one or more steps of the method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the method 100 by any other suitable means (e.g., by means of firmware).
The various embodiments described herein above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a computer-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to enable a computer to execute the method 100 and achieve the corresponding technical effects achieved by the method according to the embodiments of the present disclosure, and for brevity, no detailed description is given here again.
Additionally, the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the method 100.
To provide for interaction with a user, the above-described embodiments may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The embodiments described above may be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user may interact with an implementation of the systems and techniques described herein), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server combining a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (10)

1. A method of volume adjustment, the method comprising:
acquiring a first audio/video identifier of a first audio/video to be played currently and a second audio/video identifier of a second audio/video to be played;
inquiring a volume adjusting curve required by switching from the first audio/video to the second audio/video according to the first audio/video identifier and the second audio/video identifier;
and when the first audio and video is switched to the second audio and video, carrying out volume adjustment on the second audio and video according to the volume adjustment curve.
2. The method of claim 1, wherein the generating of the volume adjustment curve comprises:
and generating a volume adjusting curve required by switching from the first audio and video to the second audio and video according to the volume adjusting operation adopted by the historical user for switching the audio and video.
3. The method according to claim 2, wherein the audio/video switching is performed with the first audio/video as a starting point and the second audio/video as an end point, and no other audio/video switching operation exists between the starting point and the end point;
the method for generating the volume adjustment curve required by switching from the first audio and the video to the second audio and the video according to the volume adjustment operation adopted by the historical user for switching the audio and the video comprises the following steps:
and generating a volume adjusting curve required for switching from the first audio and video to the second audio and video according to the volume adjusting operation of the historical user for switching from the first audio and video to the second audio and video.
4. The method according to claim 2, wherein the audio/video switching is performed by taking the first audio/video as a starting point, taking the second audio/video as an end point, and performing other audio/video switching operation between the starting point and the end point;
the method for generating a volume adjustment curve required for switching from a first audio and video to a second audio and video according to the volume adjustment operation adopted by the historical user for switching the audio and video comprises the following steps:
generating a volume adjusting curve required by the switching of adjacent audios and videos according to the volume adjusting operation adopted by a historical user when the adjacent audios and videos are switched;
and combining the plurality of volume adjusting curves to generate a volume adjusting curve required by switching the first audio/video to the second audio/video.
5. The method according to claim 1, wherein when switching from a first audio and video to a second audio and video, performing volume adjustment on the second audio and video according to the volume adjustment curve comprises:
and sequentially adjusting the volume of the second audio and video according to the volume value corresponding to each part in the volume adjustment curve.
6. The method of claim 1, further comprising:
detecting a picture scene appearing when the second audio/video is played;
and adjusting the volume of the second audio/video to the volume range corresponding to the picture scene.
7. The method of claim 1, further comprising:
detecting the type of the environment where the user is located when the second audio and video is played;
and adjusting the volume of the second audio/video to the volume range corresponding to the environment type.
8. A volume adjustment device, characterized in that the device comprises:
the acquisition module is used for acquiring a first audio and video identifier of a first audio and video to be played currently and a second audio and video identifier of a second audio and video to be played;
the query module is used for querying a volume adjusting curve required by switching from the first audio/video to the second audio/video according to the first audio/video identification and the second audio/video identification;
and the adjusting module is used for adjusting the volume of the second audio/video according to the volume adjusting curve when the first audio/video is switched to the second audio/video.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-7.
CN202211194375.7A 2022-09-28 2022-09-28 Volume adjusting method, device, equipment and storage medium Pending CN115562615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211194375.7A CN115562615A (en) 2022-09-28 2022-09-28 Volume adjusting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211194375.7A CN115562615A (en) 2022-09-28 2022-09-28 Volume adjusting method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115562615A true CN115562615A (en) 2023-01-03

Family

ID=84743021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211194375.7A Pending CN115562615A (en) 2022-09-28 2022-09-28 Volume adjusting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115562615A (en)

Similar Documents

Publication Publication Date Title
US10719293B2 (en) Interactive control method and device for voice and video communications
JP2021034003A (en) Human object recognition method, apparatus, electronic device, storage medium, and program
CN113365146B (en) Method, apparatus, device, medium and article of manufacture for processing video
US20220076476A1 (en) Method for generating user avatar, related apparatus and computer program product
CN112866809A (en) Video processing method and device, electronic equipment and readable storage medium
CN109388737B (en) Method and device for sending exposure data of content item and storage medium
CN113660504A (en) Message display method and device, electronic equipment and storage medium
CN114168793A (en) Anchor display method, device, equipment and storage medium
CN112994980B (en) Time delay test method, device, electronic equipment and storage medium
CN113656125A (en) Virtual assistant generation method and device and electronic equipment
CN112929728A (en) Video rendering method, device and system, electronic equipment and storage medium
CN114363704B (en) Video playing method, device, equipment and storage medium
CN113873323B (en) Video playing method, device, electronic equipment and medium
CN114627556B (en) Motion detection method, motion detection device, electronic apparatus, and storage medium
CN111177479A (en) Method and device for acquiring feature vectors of nodes in relational network graph
CN113784217A (en) Video playing method, device, equipment and storage medium
CN114125498B (en) Video data processing method, device, equipment and storage medium
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN115562615A (en) Volume adjusting method, device, equipment and storage medium
CN114554110B (en) Video generation method, device, electronic equipment and storage medium
CN115665363A (en) Video conference method, device, equipment and storage medium
CN113873318A (en) Video playing method, device, equipment and storage medium
CN113327311A (en) Virtual character based display method, device, equipment and storage medium
CN113556575A (en) Method, apparatus, device, medium and product for compressing data
CN114416937B (en) Man-machine interaction method, device, equipment, storage medium and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination