WO2020048222A1 - Appareil et procédé de réglage d'effets sonores, dispositif électronique, et support d'informations - Google Patents

Appareil et procédé de réglage d'effets sonores, dispositif électronique, et support d'informations Download PDF

Info

Publication number
WO2020048222A1
WO2020048222A1 PCT/CN2019/095142 CN2019095142W WO2020048222A1 WO 2020048222 A1 WO2020048222 A1 WO 2020048222A1 CN 2019095142 W CN2019095142 W CN 2019095142W WO 2020048222 A1 WO2020048222 A1 WO 2020048222A1
Authority
WO
WIPO (PCT)
Prior art keywords
type
target application
electronic device
audio
sound effect
Prior art date
Application number
PCT/CN2019/095142
Other languages
English (en)
Chinese (zh)
Inventor
李亚军
许钊铵
冷文华
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020048222A1 publication Critical patent/WO2020048222A1/fr

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

Definitions

  • the present application relates to the technical field of electronic devices, and more particularly, to a sound effect adjustment method, device, electronic device, and storage medium.
  • this application proposes a sound effect adjustment method, device, electronic device, and storage medium to solve the above problems.
  • an embodiment of the present application provides a sound effect adjustment method applied to an electronic device.
  • the method includes: detecting whether the electronic device is running a target application program, wherein the target application program can output when the target application program is running. Audio; obtaining the type of the target application when the electronic device is running the target application; and adjusting an output sound effect of the electronic device during the running of the target application based on the type.
  • an embodiment of the present application provides a sound effect adjusting device applied to an electronic device.
  • the device includes a detection module for detecting whether the electronic device runs a target application program, where the target application program Audio can be output at runtime; an acquisition module for acquiring the type of the target application when the electronic device is running the target application; an adjustment module for adjusting the electronic device based on the type Outputting sound effects during the running of the target application.
  • an embodiment of the present application provides an electronic device including a memory and a processor.
  • the memory is coupled to the processor, the memory stores instructions, and is executed when the instructions are executed by the processor.
  • the processor executes the above method.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores program code, and the program code can be called by a processor to execute the foregoing method.
  • FIG. 1 is a schematic flowchart of a sound effect adjustment method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a sound effect adjustment method according to another embodiment of the present application.
  • FIG. 3 is a schematic flowchart of step S230 of the sound effect adjustment method provided by the embodiment shown in FIG. 2 of the present application;
  • FIG. 4 is a schematic flowchart of an embodiment of step S232 of the sound effect adjustment method provided by the embodiment shown in FIG. 3 of the present application;
  • FIG. 5 is a schematic flowchart of another embodiment of step S232 of the sound effect adjustment method according to the embodiment shown in FIG. 3 of the present application;
  • FIG. 6 is a schematic flowchart of a sound effect adjustment method according to another embodiment of the present application.
  • FIG. 7 shows a schematic interface diagram of an electronic device provided by the embodiment shown in FIG. 6 of the present application.
  • FIG. 8 shows an operation schematic diagram of an electronic device provided by the embodiment shown in FIG. 6 of the present application.
  • FIG. 9 shows a module block diagram of a sound effect adjustment device provided by an embodiment of the present application.
  • FIG. 10 shows a block diagram of an electronic device for performing a sound effect adjustment method according to an embodiment of the present application
  • FIG. 11 illustrates a storage unit for saving or carrying a program code for implementing a sound effect adjustment method according to an embodiment of the present application.
  • the audio architecture of electronic devices is similar to the audio architecture of computers.
  • Processor and built-in audio CODEC codec
  • the processor converts it into an I2S signal, transmits it to a CODEC, converts it to an analog signal, and then plays it.
  • sound effects refer to the effects produced by sound, and to enhance the realism, atmosphere or theatrical information of the scene.
  • Noises or sounds added to the vocal cords are artificially produced or enhanced sounds used to enhance the sound processing of movies, video games, music, or other media art or other content.
  • video game sound effects refer to Percussion, running, gunfire, etc. Therefore, with the development of electronic device technology, more and more electronic devices begin to provide sound effect output.
  • the current electronic device's sound effect function is mainly used by the user to manually select and set the sound effect mode of a certain scene according to their own preferences.
  • the conventional and fixed processing method does not consider the influence of external factors. For example, if the influence of different applications is not considered, the output sound effect is fixed.
  • the inventor has discovered through long-term research and proposed a sound effect adjustment method, device, electronic device, and storage medium provided in the embodiments of the present application, which adjust the output sound effect of the electronic device when the target application program is run according to the type of application , To achieve automatic and quick configuration of the output sound effects of electronic devices, improve the output sound effect and user experience.
  • the specific sound effect adjustment method is described in detail in subsequent embodiments.
  • FIG. 1 is a schematic flowchart of a sound effect adjustment method according to an embodiment of the present application.
  • the sound effect adjustment method is used to adjust the output sound effect of the electronic device when the target application is running according to the type of the application program, to automatically and quickly configure the output sound effect of the electronic device, and to improve the effect of the output sound effect and the user experience.
  • the sound effect adjustment method is applied to a sound effect adjustment device 200 as shown in FIG. 9 and an electronic device 100 (FIG. 10) configured with the sound effect adjustment device 200.
  • FIG. 10 an electronic device is taken as an example to describe the specific process of this embodiment.
  • the electronic device applied in this embodiment may be a smart phone, a tablet computer, a wearable electronic device, a vehicle-mounted device, a gateway, etc. This is not specifically limited.
  • the process shown in FIG. 1 will be described in detail below.
  • the sound effect adjustment method may specifically include the following steps:
  • Step S110 It is detected whether a target application is running on the electronic device, wherein the target application can output audio when running.
  • the applications running on the electronic device may include applications running on the foreground of the electronic device, applications running on the background of the electronic device, or applications running on the foreground and background of the electronic device.
  • an application running in the foreground refers to an application that can usually interact with the user.
  • An application that can run in the foreground is suspended when it is not visible (such as a game).
  • An application running in the background refers to the user Interaction is very limited. Except during the configuration, its other lifetimes are hidden (such as SMS auto-response program and alarm clock program); applications that are switched between the foreground and background of the electronic device are those that can be used in the foreground and background. Switch between applications at will. Understandably, when the application program is not killed, it indicates that the application program runs on the electronic device.
  • the electronic device may run only one application or multiple applications at the same time.
  • the application may run in the foreground of the electronic device and in the background of the electronic device. Or switch operation in the foreground and background of the electronic device; when the electronic device runs multiple applications at the same time, the multiple applications can all run in the background of the electronic device, and one of the multiple applications is in the foreground of the electronic device Run, the remaining applications run in the background of the electronic device or one of the multiple applications is switched between the foreground and background of the electronic device, and the remaining applications run in the background of the electronic device, which are not limited here.
  • a target application program is determined from the application programs.
  • the target application program may include a single application program or multiple application programs, which is not limited herein.
  • the target application can output audio when it is running, that is, the target application has at least audio output.
  • the target application can include a music playback application and a video playback application. , Call application, game application, etc., the target application can output audio data, and can also output audio data and image data at the same time.
  • Step S120 When the target application is running on the electronic device, obtain the type of the target application.
  • the electronic device when it is determined that the electronic device is running a target application program, it is characterized that the electronic device is outputting audio or that the audio device will output audio at a certain time in the future. Therefore, as a method, obtaining the target application is performed.
  • the type of the program as another way, it is detected whether the electronic device has audio output at this time, and when it is detected that the electronic device has audio output, then the type of the target application is obtained by executing.
  • the target application is an application that has an audio output when running, such as a music playing application, a video playing application, a calling application, and the like
  • the electronic device runs a target
  • the application program is in use
  • the electronic device is outputting audio.
  • the type of the target application program is obtained by executing the corresponding application.
  • an application program is applied, whether the electronic device has an audio output is detected first, and when it is detected that the electronic device has an audio output, then the type of the target application program is obtained by executing.
  • an instant messaging application is used as an example for description.
  • the instant messaging application may include WeChat, QQ, etc.
  • WeChat can output audio data during running, such as voice chat or Video chat, at the same time, it may not output audio data when running, such as text chat. Therefore, when the electronic device runs such a target application, it can be further determined that the electronic device has audio output at this time. , And then obtain the type of the target application.
  • the electronic device may establish a mapping relationship between an application and a type in advance, and generate a mapping relationship table for storage in the electronic device, as shown in Table 1.
  • the mapping relationship between the application and the type can be manually associated by the user, can be automatically associated by the electronic device, or can be automatically associated by the server, etc., which is not limited here, and the mapping relationship between the application and the type can include an application
  • the program corresponds to one type, or multiple applications correspond to one type, and is not limited here. For example, taking WeChat and QQ as an example, the mapping relationship can be one type for WeChat and QQ, or the same for WeChat and QQ. A type etc.
  • the target application and a plurality of applications stored in the mapping relationship table are compared one by one to obtain an application matching the target application, and then according to the mapping,
  • the relationship table looks up the type corresponding to the application, so that the type of the target application can be obtained. For example, when the mapping relationship table includes the mapping relationship between WeChat and instant messaging, that is, WeChat is stored under the application in the mapping relationship table, and the instant messaging class is stored under the type, which is related to WeChat and instant messaging. Then, when the target application is WeChat, the target application can be matched with the application stored in the mapping relationship table. It is understandable that the target application can be matched with WeChat in the mapping relationship table. It was further found that the type of the target application was an instant messaging class.
  • the type of the application close to the target application may be used as the type of the target application by searching for an application close to the type of the target application, so as to obtain the target application. Describe the type of target application.
  • the package name of the target application can be obtained. Since the package name includes various information related to the application, the package name can be analyzed to obtain the package name included in the package name. The manufacturer of the target application, and then finds other applications produced by the manufacturer, looks up the type of the other application in the mapping relationship table, and uses the type of the other application as the type of the target application.
  • the Android system is taken as an example.
  • the version number of the application program is configured in the AndroidManifest.xml file
  • the PackageInfo class encapsulates all the information obtained from the configuration file. , Describes the overall information of the package content, therefore, you can use the versionName property of the PackageInfo object to get the version number of the application, and you can get the PackageInfo object through the PackageManager object, where PackageManager is a retrieved related applications currently installed on the device
  • the getPackageInfo method in the PackageManager object can get the PackageInfo object. This method needs to pass two parameters: the application package name and the condition.
  • the package name of an application can be obtained by the getPackageName () method of Activity or Context (Activity inherits from Context), and adding can have many settings, usually set to 0. Finally, the PackageManager object is obtained.
  • the Context object provides the getPackageManager () method to obtain the object. Therefore, the package name of the target application can be obtained based on the above method.
  • Step S130 Adjust the output sound effect of the electronic device during the running of the target application based on the type.
  • the output sound effect of the electronic device during the running of the target application is adjusted based on the type.
  • the electronic device may increase or decrease the output sound effect of the electronic device during the running of the target application based on the type.
  • the output sound effect of the target application can be correspondingly improved, and the output sound effect of the multiple other applications can be kept unchanged or reduced;
  • the output sound effect of the target application program is unchanged, and the output sound effect of other multiple application programs is correspondingly reduced, thereby highlighting the output sound effect of the target application program.
  • the output sound effect that characterizes the target application may not be better than the output sound effect of other applications.
  • the output sound effect of the target application program may be correspondingly reduced, and the output sound effect of the multiple other application programs may be kept unchanged or increased; or the target application may be maintained.
  • the output sound effect of the program is unchanged, and the output sound effect of the other application program is increased correspondingly; or the output sound effect of the target application program and other application programs are kept unchanged, thereby weakening the output sound effect of the target application program, thereby Adjust the output sound effect of the electronic device when running the target application according to the type of application program, and realize the automatic and quick configuration of the output sound effect of the electronic device, improving the output sound effect and the user experience.
  • the electronic device when the electronic device runs the game application, the electronic device may be simultaneously Run a game application and a system native application, where the system native application can be used to emit a system prompt sound. At this time, the electronic device may correspondingly increase the output sound effect of the game application program at runtime, and the output sound effect of the system native application program remains unchanged or reduced, or the game application is maintained The output sound effect of the program when the program is running is unchanged, while the output sound effect of the system native application program is reduced when the program is running.
  • the sound effect adjustment method detects whether an electronic device has a target application running, wherein the target application can output audio when running, and when the electronic device runs a target application, obtaining the type of the target application Based on this type, the output sound effect of the electronic device during the running of the target application program is adjusted, so that the output sound effect of the electronic device when the target application program is running is adjusted according to the type of the application program, so as to automatically and quickly configure the output sound effect of the electronic device and improve the output Sound effects and user experience.
  • FIG. 2 is a schematic flowchart of a sound effect adjustment method according to another embodiment of the present application.
  • the sound effect adjustment method is applied to the above electronic device.
  • the electronic device is provided with multiple audio channels, and each of the multiple audio channels corresponds to a different sound processing algorithm.
  • the process shown in FIG. 2 will be described in detail below.
  • the method may specifically include the following steps:
  • Step S210 It is detected whether a target application is running on the electronic device, wherein the target application can output audio when running.
  • Step S220 When the target application is running on the electronic device, obtain the type of the target application.
  • steps S210 to S220 For a detailed description of steps S210 to S220, refer to step S110, and details are not described herein again.
  • Step S230 Select at least one audio channel from the plurality of audio channels as the target audio channel based on the type.
  • the electronic device is provided with multiple audio channels, and each of the multiple audio channels corresponds to a different audio processing algorithm. Specifically, the electronic device is separately based on the existing structure of the audio system. Different scenes add different audio channels, where each audio channel refers to different sounds going through different channels. Further, after obtaining the type of the target application, at least one audio channel corresponding to the type is obtained. Specifically, the audio data of the target application is analyzed to obtain the type of sound in the audio data, and then based on the analyzed As a result, at least one audio channel is selected as the target audio channel from the multiple audio channels, that is, one application program can correspond to multiple audio channels. As a method, when the audio data includes only one type of sound, only one of the audio channels may be selected as the target audio channel; when the audio data includes multiple types of sound, multiple audio channels may be selected The path serves as the target audio path.
  • the game application may include sound types such as striking sound, running sound, gun sound, etc. Therefore, the striking sound, the striking sound, Corresponding audio channels such as running sounds and gun sounds are used as target audio channels to transmit the percussion sounds, running sounds, gun sounds, etc., so that different audio data is processed by different sound effect processing algorithms, and the processing effect is better.
  • each application program can also have a separate audio channel, that is, one application program corresponds to one audio channel, and the audio channels corresponding to each application program have different sound effects processing according to the type of application program.
  • Algorithm therefore, after obtaining the type of the application program corresponding to the package name, according to the type, obtain the audio channel corresponding to the target application program as the target audio channel.
  • the target application as a game application as an example, based on the game application, an audio channel is determined as a target audio channel of the game application from a plurality of audio channels, and the electronic device is running when the electronic device is running. Output sound effects during the target application process.
  • FIG. 3 is a schematic flowchart of step S230 of the sound effect adjustment method provided by the embodiment shown in FIG. 2 of the present application.
  • the process shown in FIG. 3 will be described in detail below.
  • the method may specifically include the following steps:
  • Step S231 Determine whether the type is a game type.
  • the electronic device presets and stores a game type, where the game type is used as a basis for determining the type of the target application to be acquired, and the game type has also been manually divided and configured by the user.
  • the configuration may also be divided by the electronic device, which is not limited herein.
  • the type of the target application is obtained, the type is compared with the game type to determine whether the type of the target application is consistent with the game type. It is understandable that when the type of the target application is consistent with the game type When the target application is a game application, when the type of the target application is not consistent with the game type, the target application is characterized as a non-game application.
  • Step S232 When the type is the game type, select at least one audio channel from the multiple audio channels as the target audio channel based on the type.
  • the electronic device serves as In response, an audio path is selected as a target audio path from a plurality of audio paths based on the type.
  • the game application may include multiple sound types, and then the audio data of the target application may be analyzed to obtain the sound types in the audio data. , And then select at least one audio channel from the multiple audio channels as the target audio channel according to the analyzed results.
  • the target application includes running sounds, wind sounds, and human voices. Therefore, audio channels corresponding to running sounds, wind sounds, and human voices can be selected from multiple audio channels as the target audio channels to transmit running sounds, wind sounds, and human voices, respectively. Sound, so different audio data is processed by different sound processing algorithms.
  • Step S233 When the type is a non-game type, use an original audio path as the target audio path, where the original audio path is used for outputting a system sound effect of the electronic device.
  • the electronic device responds by using the original audio path as the target audio path, where the original audio path is used for the output of the system audio effect of the electronic device, that is, the audio data and system audio data of the target application can pass
  • the same sound effect processing algorithm performs processing output to save and reduce power consumption caused by processing of unique audio data in multiple audio channels.
  • the type of the target application is a non-game type
  • the sound effect setting of the audio stream for the target application is closed, and the original audio path is used as the target audio path. That is, when the target application running on the electronic device is a non-game application, the audio data representing the target application does not need to be processed separately. Therefore, in order to further reduce the power consumption of the electronic device, Turn off the sound effect settings for the audio stream of the target application program. As a method, close the newly set multiple audio channels and only open the original audio channel as the target audio channel.
  • FIG. 4 is a schematic flowchart of an embodiment of step S232 of the sound effect adjustment method provided by the embodiment shown in FIG. 3 of the present application.
  • the process shown in FIG. 4 will be described in detail below.
  • the method may specifically include the following steps:
  • Step S2321A When the type is the game type, obtain an application scenario of the target application.
  • the application scenario of the target application is obtained correspondingly, where the application scenario may include at least a fighting scene, a design scene, a construction scene, a dancing scene, and a chase scene. It is not limited here, it is understandable that multiple applications that belong to the same game type may be used in different application scenarios, and one application can correspond to one application scenario, or one application can also correspond to multiple applications Application scenarios, etc.
  • the electronic device may establish a mapping relationship between an application type and an application scenario in advance, and generate a mapping relationship table for storage in the electronic device, as shown in Table 2.
  • the mapping relationship between the type of application and the application scenario can be manually associated by the user, it can be automatically associated by the electronic device or automatically by the server, etc., which is not limited here, and the type between the application and the application scenario
  • the mapping relationship may include one application type corresponding to one application scenario, one application type corresponding to multiple application scenarios, or multiple application types corresponding to one application scenario, and the like is not limited herein.
  • the type of the target application and the types of multiple applications stored in the mapping relationship table are compared one by one to obtain a match with the type of the target application.
  • the application scenario corresponding to the type of the application is searched according to the mapping relationship table, so that the application scenario corresponding to the type of the target application can be obtained.
  • the electronic device may also establish a mapping relationship between the application program, the type of the application program, and the application scenario in advance, and generate a mapping relationship table for storage in the electronic device, as shown in Table 3. Therefore, in this embodiment, after the target application is determined, the electronic device searches for the type of the target application corresponding to the target application and finds the type corresponding to the target application according to the mapping relationship shown in Table 3. Application scenario, so that the application scenario of the target application can be obtained.
  • Step S2322A Select at least one audio channel from the multiple audio channels as the target audio channel based on the application scenario.
  • the requirements for output sound effects are different in fighting scenes, design scenes, construction scenes, dancing scenes, and chasing scenes.
  • fighting scenes have different output sound effects.
  • the output sound requirements are more detailed, such as the need to highlight gun sounds, running sounds, and percussion sounds. Therefore, the audio channel selection based on the fighting scene is different from the audio channel selection based on the construction scene, and the selection is based on the fighting scene.
  • the number of audio channels can be different from the number of audio channels selected based on the construction scene.
  • a mapping relationship between an application scenario and an audio path may be established in the electronic device in advance, and a mapping relationship table may be generated and stored in the electronic device, as shown in Table 4.
  • the mapping relationship between the application scenario and the audio channel can be manually associated by the user, it can be automatically associated by the electronic device or the server, etc., which is not limited here, and the mapping relationship between the application scenario and the audio channel can include One application scenario corresponds to one audio channel, one application scenario corresponds to multiple audio channels, or multiple application scenarios correspond to one audio channel, which are not limited here.
  • the application scenario of the target application is determined, the application scenario of the target application and the application scenarios of multiple applications stored in the mapping relationship table are compared one by one to obtain the application scenario of the target application. According to the application scenario of the application scenario matched by the application scenario, the audio channel corresponding to the application scenario of the application program is found according to the mapping relationship table, so that the audio channel corresponding to the application scenario of the target application program can be obtained.
  • FIG. 5 is a schematic flowchart of another embodiment of step S232 of the sound effect adjustment method provided by the embodiment shown in FIG. 3 of the present application.
  • the process shown in FIG. 4 will be described in detail below.
  • the method may specifically include the following steps:
  • Step S2321B When the type is the game type, determine an audio channel corresponding to the type according to a preset relationship table, where the preset relationship table includes a correspondence between an application type and an audio channel.
  • the electronic device may establish a mapping relationship between the type of the application program and the audio channel in advance, and generate a mapping relationship table, that is, a preset relationship table is stored in the electronic device, as shown in Table 5.
  • the mapping relationship between the type of the application and the audio channel may be manually associated by the user, may be automatically associated by an electronic device, or automatically associated by a server, etc., and is not limited herein.
  • the type of the target application when determining the type of the target application, compare the type of the target application and the types of multiple applications stored in the mapping relationship table one by one to obtain an application that matches the type of the target application. The type of the program, and then the audio channel corresponding to the type of the application program is searched according to the mapping relationship table, so that the audio channel corresponding to the type of the target application program can be obtained.
  • Step S2322B Determine the audio path corresponding to the type as the target audio path.
  • Step S240 transmitting an output sound effect of the electronic device during the running of the target application program through the target audio path.
  • the target audio channel includes at least one audio channel.
  • the original audio data is processed by the audio effect processing algorithm corresponding to the audio channel to obtain corresponding output sound effects.
  • the output audio effects of the electronic device during the running of the target application program can be transmitted through the target audio channel, and the original audio data can be processed differently to obtain each sound. Different output sound effects, better processing effect.
  • the sound effect adjustment method provided by another embodiment of the present application detects whether an electronic device has a target application running, wherein the target application can output audio when running, and when the electronic device runs a target application, obtaining a type of the target application Based on this type, an audio channel is selected from multiple audio channels as the target audio channel, and the output audio effect of the electronic device during the running of the target application program is transmitted through the target audio channel.
  • multiple audio channels with different audio processing algorithms are set, so as to conveniently and quickly adjust the output sound effect to improve the effect of the output sound effect.
  • FIG. 6 is a schematic flowchart of a sound effect adjustment method according to another embodiment of the present application.
  • the sound effect adjustment method is applied to the electronic device.
  • the process shown in FIG. 6 will be described in detail below.
  • the method may specifically include the following steps:
  • Step S310 Detect whether the electronic device is running a target application program, wherein the target application program can output audio when running.
  • Step S320 When the target application is running on the electronic device, obtain the type of the target application.
  • steps S310 to S320 please refer to steps S110 to S120, and details are not described herein again.
  • Step S330 Determine whether the type is a game type.
  • Step S340 When the type is the game type, a sound parameter setting interface corresponding to the type is displayed.
  • the electronic device displays a sound parameter setting interface corresponding to the type of the target application, where the sound parameter may include a volume value of the target application , Frequency value, power value, etc. are not limited here.
  • the sound effect parameter setting interface is fixed, that is, when different types of applications correspond to the same sound effect parameter setting interface; as another way, the sound effect parameter setting interface includes multiple, and each type corresponds to a different Interface of sound parameter settings.
  • the electronic device displays a sound effect parameter setting interface corresponding to the type of the target application.
  • the sound effect parameter setting interface may be suspended above the current display interface of the electronic device.
  • the display may also be displayed at the same level as the current display interface of the electronic device, and when the sound parameter setting interface is displayed at the same level as the current display interface, it may be displayed in an upper part area and a lower part of the current display interface
  • the area, the partial area or the right partial area is not limited here.
  • Step S350 Detect a setting operation acting on the sound parameter setting interface, and generate a sound effect parameter based on the setting operation.
  • the setting operation can include single-finger tap, multi-finger tap, single-finger long press, single-finger long press, multi-finger long press, heavy pressing, multiple taps, sliding operation, parameter input, etc., as shown in Figure 8
  • the single-finger tap refers to a single-finger tap operation on a parameter
  • the multi-finger tap refers to a multi-finger tap operation on a parameter
  • a single-finger long press refers to a single-finger press on a parameter Exceed the preset time
  • Multi-finger long press means that multiple fingers press on the parameter at the same time for more than the preset time
  • Heavy press means that the pressure on the parameter exceeds the preset strength
  • Multiple clicks means that the number of clicks exceeds the prese
  • the electronic device can generate a sound effect parameter after detecting that the setting operation is completed. It can be understood that the sound effect parameter is manually set by the user, and therefore, it is more in line with the user's preferences and needs, and has more applicability.
  • Step S360 Adjust the output sound effect of the electronic device during the running of the target application based on the sound effect parameters.
  • volume value in the sound effect parameter Take the volume value in the sound effect parameter as an example.
  • the volume value included in the sound effect parameter is greater than the volume value output when the electronic device runs the target application, the volume value and the electronic device are set in the sound effect parameter.
  • the difference between the current volume values increases the output volume of the electronic device when the target application is running to achieve a volume value consistent with the sound effect parameter set by the user.
  • the sound effect parameter includes When the volume value is smaller than the volume value output when the electronic device runs the target application, the electronic device is reduced in operation according to the difference between the volume value set in the sound effect parameter and the current volume value of the electronic device.
  • the output volume of the target application program is to reach a volume value consistent with the sound effect parameter set by the user, so that the output sound effect of the electronic device during the running of the target application program is adjusted according to the set sound effect parameter, so that the user can quickly obtain his favorite Output sound effects.
  • the sound effect adjustment method provided by another embodiment of the present application detects whether an electronic device has a target application running, wherein the target application can output audio when running, and when the electronic device runs a target application, obtaining a type of the target application To determine whether the genre is a game type.
  • the genre is a game type
  • it is displayed on the sound parameter setting interface corresponding to the type, detects a setting operation that acts on the sound parameter setting interface, and generates a sound parameter based on the setting operation.
  • the sound effect parameter adjustment electronic device outputs sound effects during the running of the target application.
  • this embodiment also displays a parameter setting interface for the user when the target application is a game application. Automatically set the sound effect parameters, and adjust the output sound effect of the electronic device during the running of the target application according to the set sound effect parameters, so that the user can quickly obtain his favorite output sound effect.
  • FIG. 9 illustrates a block diagram of a sound effect adjusting apparatus 200 provided by an embodiment of the present application.
  • the sound effect adjusting device 200 is applied to the above-mentioned electronic equipment.
  • the sound effect adjustment device 200 includes a detection module 210, an acquisition module 220, and an adjustment module 230, where:
  • the detection module 210 is configured to detect whether the electronic device runs a target application program, wherein the target application program can output audio when running.
  • the obtaining module 220 is configured to obtain a type of the target application when the electronic device runs the target application.
  • An adjustment module 230 is configured to adjust an output sound effect of the electronic device during the running of the target application based on the type. Further, the electronic device is provided with multiple audio channels, each of the multiple audio channels corresponds to a different sound processing algorithm, and the adjustment module 230 includes a selection sub-module and a transmission sub-module, wherein:
  • a selection sub-module is configured to select at least one audio channel as a target audio channel from the multiple audio channels based on the type. Further, the selection sub-module includes a judgment unit and a selection unit, wherein:
  • a determining unit is configured to determine whether the type is a game type.
  • a selection unit is configured to select at least one audio channel from the plurality of audio channels as the target audio channel when the type is the game type. Further, the selection unit includes: an acquisition subunit and a selection subunit, wherein:
  • An acquisition subunit is configured to acquire an application scenario of the target application when the type is the game type.
  • a selection subunit is configured to select at least one audio path from the multiple audio paths as the target audio path based on the application scenario.
  • the selection unit is further configured to use an original audio path as the target audio path when the type is a non-game type, wherein the original audio path is used for outputting a system sound effect of the electronic device.
  • the selecting unit is further configured to determine an audio channel corresponding to the type according to a preset relationship table when the type is the game type, and the preset relationship table includes a type of an application program and a corresponding audio channel. relationship.
  • the selection unit is further configured to determine an audio path corresponding to the type as the target audio path.
  • a transmission submodule configured to transmit an output sound effect of the electronic device during the running of the target application program through the target audio path.
  • the adjustment module 230 further includes: a display sub-module, a generation sub-module, and an adjustment sub-module, wherein:
  • a display sub-module for displaying a sound parameter setting interface corresponding to the type when the type is the game type;
  • An adjustment sub-module is configured to adjust an output sound effect of the electronic device during the running of the target application based on the sound effect parameters.
  • the coupling between the modules may be electrical, mechanical, or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist separately physically, or two or more modules may be integrated into one module.
  • the above integrated modules may be implemented in the form of hardware or software functional modules.
  • the sound effect adjustment device provided in the embodiment of the present application includes a detection module, an acquisition module, and an adjustment module.
  • the detection module is configured to detect whether the electronic device is running a target application program, and the target application program can output audio when running.
  • the obtaining module is configured to obtain the type of the target application when the electronic device is running the target application, and the adjustment module is configured to adjust the running process of the electronic device in the target application based on the type.
  • the output sound effect of the electronic device is adjusted according to the type of the application program, and the output sound effect of the electronic device when the target application is running is realized, so that the output sound effect of the electronic device is automatically and quickly configured, and the effect of the output sound effect and the user experience are improved.
  • FIG. 10 is a structural block diagram of an electronic device 100 according to an embodiment of the present application.
  • the electronic device 100 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, or an e-book.
  • the electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, where one or more application programs may be stored in the memory 120 and configured to be implemented by one Or multiple processors 110 execute, and one or more programs are configured to execute the method as described in the foregoing method embodiment.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts in the entire electronic device 100, and executes or executes instructions, programs, code sets, or instruction sets stored in the memory 120 by calling or executing data stored in the memory 120 to execute Various functions and processing data of the electronic device 100.
  • the processor 110 may use at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). To implement a hardware form.
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • modem modem
  • the CPU mainly handles the operating system, user interface, and application programs; the GPU is responsible for rendering and rendering of the displayed content; the modem is used for wireless communication. It can be understood that the modem may not be integrated into the processor 110, and may be implemented by a single communication chip.
  • the memory 120 may include Random Access Memory (RAM), and may also include Read-Only Memory.
  • the memory 120 may be used to store instructions, programs, codes, code sets, or instruction sets.
  • the memory 120 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , Instructions for implementing the following method embodiments, and the like.
  • the storage data area may also store data (such as phonebook, audio and video data, and chat history data) created by the terminal 100 during use.
  • FIG. 11 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable medium 300 stores program code, which can be called by a processor to execute the method described in the foregoing method embodiment.
  • the computer-readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk, or a ROM.
  • the computer-readable storage medium 300 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 300 has a storage space of a program code 310 that executes any of the method steps in the above method. These program codes can be read from or written into one or more computer program products.
  • the program code 310 may be compressed, for example, in a suitable form.
  • the sound effect adjustment method, device, electronic device, and storage medium detect whether the electronic device is running a target application program, where the target application program can output audio when the electronic device is running and When the target application is obtained, the type of the target application is obtained, and based on the type, the output sound effect of the electronic device during the running of the target application is adjusted, so that the output sound effect of the electronic device when the target application is running is adjusted according to the type of the application to achieve Automatically and quickly configure the output sound effects of electronic devices to improve the output sound effect and user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

La présente invention concerne un appareil et un procédé de réglage d'effets sonores, un dispositif électronique et un support d'informations se rapportant au domaine technique des dispositifs électroniques. Le procédé s'applique à un dispositif électronique. Le procédé comprend les étapes suivantes : détecter si un dispositif électronique exécute un programme d'application cible, le programme d'application cible pouvant émettre un audio pendant l'exécution; lorsque le dispositif électronique exécute le programme d'application cible, acquérir le type de programme d'application cible; et régler un effet sonore de sortie du dispositif électronique pendant un processus d'exécution du programme d'application cible en fonction du type. Dans la présente invention, un effet sonore de sortie d'un dispositif électronique pendant l'exécution d'un programme d'application cible est réglé en fonction du type de programme d'application, ce qui permet de réaliser une configuration automatique et rapide de l'effet sonore de sortie du dispositif électronique, et d'améliorer l'effet sonore de sortie et l'expérience de l'utilisateur.
PCT/CN2019/095142 2018-09-04 2019-07-08 Appareil et procédé de réglage d'effets sonores, dispositif électronique, et support d'informations WO2020048222A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811026571.7 2018-09-04
CN201811026571.7A CN109388367B (zh) 2018-09-04 2018-09-04 音效调整方法、装置、电子设备以及存储介质

Publications (1)

Publication Number Publication Date
WO2020048222A1 true WO2020048222A1 (fr) 2020-03-12

Family

ID=65417554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/095142 WO2020048222A1 (fr) 2018-09-04 2019-07-08 Appareil et procédé de réglage d'effets sonores, dispositif électronique, et support d'informations

Country Status (2)

Country Link
CN (1) CN109388367B (fr)
WO (1) WO2020048222A1 (fr)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388367B (zh) * 2018-09-04 2021-03-02 Oppo广东移动通信有限公司 音效调整方法、装置、电子设备以及存储介质
CN111752651A (zh) * 2019-03-29 2020-10-09 比亚迪股份有限公司 悬浮工具框的显示控制方法、装置及车辆
CN110704126A (zh) * 2019-09-25 2020-01-17 Tcl移动通信科技(宁波)有限公司 Wifi程序运行方法、装置、设备及计算机可读存储介质
CN111111188B (zh) * 2019-12-24 2024-03-22 北京像素软件科技股份有限公司 游戏音效的控制方法及相关装置
CN111654744A (zh) * 2020-06-08 2020-09-11 海信视像科技股份有限公司 一种声音输出幅度的调整方法及显示设备
CN111726724A (zh) * 2020-06-30 2020-09-29 联想(北京)有限公司 一种信息处理装置和方法
CN114003193B (zh) * 2020-07-28 2023-10-17 宏碁股份有限公司 电子装置与声音模式调整方法
CN112394901A (zh) * 2020-11-24 2021-02-23 维沃移动通信有限公司 音频输出模式调整方法、装置及电子设备
CN112433698A (zh) * 2020-11-30 2021-03-02 上海米哈游天命科技有限公司 一种资源展示方法、装置、电子设备及存储介质
CN115134675A (zh) * 2021-03-26 2022-09-30 北京小米移动软件有限公司 声音输出方法及装置、电子设备、存储介质
CN115904303A (zh) * 2021-05-21 2023-04-04 荣耀终端有限公司 一种播放声音的方法及设备
CN113076082B (zh) * 2021-06-03 2021-09-03 杭州星犀科技有限公司 音频源处理的方法、系统、电子装置和存储介质
CN114253623B (zh) * 2021-11-19 2024-01-19 惠州Tcl移动通信有限公司 基于移动终端的屏幕放大处理方法、装置、终端及介质
CN117389507B (zh) * 2023-12-12 2024-05-10 荣耀终端有限公司 音频数据处理方法、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068798A (zh) * 2015-07-28 2015-11-18 珠海金山网络游戏科技有限公司 一种基于Fmod控制游戏音量、音效的系统和方法
CN107179908A (zh) * 2017-05-16 2017-09-19 网易(杭州)网络有限公司 音效调整方法、装置、电子设备及计算机可读存储介质
CN107819958A (zh) * 2017-11-30 2018-03-20 河南浩德科技有限公司 音量调整方法、装置、移动终端及计算机存储介质
CN107948874A (zh) * 2017-11-28 2018-04-20 维沃移动通信有限公司 一种终端控制方法、移动终端
CN109388367A (zh) * 2018-09-04 2019-02-26 Oppo广东移动通信有限公司 音效调整方法、装置、电子设备以及存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552010B (zh) * 2009-04-30 2011-09-14 华为技术有限公司 音频处理方法和音频处理装置
CN104090766B (zh) * 2014-07-17 2017-08-25 广东欧珀移动通信有限公司 一种移动终端的音效切换方法及系统
CN104811864B (zh) * 2015-04-20 2018-11-13 深圳市冠旭电子股份有限公司 一种自适应调节音效的方法及系统
CN105959481B (zh) * 2016-06-16 2019-04-30 Oppo广东移动通信有限公司 一种场景音效的控制方法、及电子设备
CN107870759A (zh) * 2016-09-26 2018-04-03 中兴通讯股份有限公司 一种音频控制方法和装置
CN107978321B (zh) * 2017-11-29 2021-04-27 广州酷狗计算机科技有限公司 音频处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068798A (zh) * 2015-07-28 2015-11-18 珠海金山网络游戏科技有限公司 一种基于Fmod控制游戏音量、音效的系统和方法
CN107179908A (zh) * 2017-05-16 2017-09-19 网易(杭州)网络有限公司 音效调整方法、装置、电子设备及计算机可读存储介质
CN107948874A (zh) * 2017-11-28 2018-04-20 维沃移动通信有限公司 一种终端控制方法、移动终端
CN107819958A (zh) * 2017-11-30 2018-03-20 河南浩德科技有限公司 音量调整方法、装置、移动终端及计算机存储介质
CN109388367A (zh) * 2018-09-04 2019-02-26 Oppo广东移动通信有限公司 音效调整方法、装置、电子设备以及存储介质

Also Published As

Publication number Publication date
CN109388367A (zh) 2019-02-26
CN109388367B (zh) 2021-03-02

Similar Documents

Publication Publication Date Title
WO2020048222A1 (fr) Appareil et procédé de réglage d'effets sonores, dispositif électronique, et support d'informations
WO2020048217A1 (fr) Procédé, appareil, dispositif électronique et support de stockage d'ajustement d'effet sonore
WO2017193540A1 (fr) Procédé, dispositif et système pour lire un commentaire de recouvrement
CN109284080B (zh) 音效调整方法、装置、电子设备以及存储介质
WO2020048220A1 (fr) Appareil et procédé de réglage d'effet sonore, dispositif électronique, et support d'informations
US9437194B2 (en) Electronic device and voice control method thereof
CN114286173B (zh) 一种显示设备及音画参数调节方法
CN107340991A (zh) 语音角色的切换方法、装置、设备以及存储介质
WO2020168571A1 (fr) Procédé, appareil et système de commande de dispositifs, dispositif électronique et serveur en nuage
US11511200B2 (en) Game playing method and system based on a multimedia file
CN108965981B (zh) 视频播放方法、装置、存储介质及电子设备
CN110876180B (zh) 功耗处理方法、装置、电子设备及计算机可读介质
US10999415B2 (en) Creating a cinematic storytelling experience using network-addressable devices
KR102669100B1 (ko) 전자 장치 및 그 제어 방법
KR20200063777A (ko) 디스플레이 장치 및 그 제어 방법
WO2021196617A1 (fr) Procédé et appareil d'interaction vocale, dispositif électronique et support de stockage
CN109240641B (zh) 音效调整方法、装置、电子设备以及存储介质
WO2019228138A1 (fr) Procédé et appareil de lecture de musique, support d'informations et dispositif électronique
US9053710B1 (en) Audio content presentation using a presentation profile in a content header
US20210082405A1 (en) Method for Location Reminder and Electronic Device
WO2023071425A1 (fr) Procédé et appareil de commande de volume, dispositif électronique et support de stockage
EP3484183B1 (fr) Classification d'emplacements pour un assistant personnel intelligent
WO2020048175A1 (fr) Procédé de traitement d'effet sonore, dispositif, dispositif électronique, et support de stockage
US11665013B1 (en) Output device selection
US20240057234A1 (en) Adjusting light effects based on adjustments made by users of other systems

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19857842

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19857842

Country of ref document: EP

Kind code of ref document: A1