Audio playing method and electronic equipment
阅读说明:本技术 一种音频播放方法及电子设备 (Audio playing method and electronic equipment ) 是由 马子平 于 2019-10-18 设计创作,主要内容包括:本发明实施例提供了一种音频播放方法及电子设备,涉及通信技术领域,以解决现有的电子设备因无法充分发挥扬声器的功效,从而影响音频的播放品质的问题。其中,所述音频播放方法,包括:在播放目标音频文件的情况下,识别所述目标音频文件的声道数量;根据所述目标音频文件的声道数量,为每个声道分配对应的扬声器;通过每个声道对应的扬声器播放目标音频文件。本发明实施例中的音频播放方法应用于电子设备中。(The embodiment of the invention provides an audio playing method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the playing quality of audio is influenced because the conventional electronic equipment cannot give full play to the effect of a loudspeaker. The audio playing method comprises the following steps: under the condition of playing a target audio file, identifying the number of sound channels of the target audio file; distributing a corresponding loudspeaker for each sound channel according to the number of the sound channels of the target audio file; and playing the target audio file through the loudspeaker corresponding to each sound channel. The audio playing method in the embodiment of the invention is applied to the electronic equipment.)
1. An audio playing method applied to an electronic device, the electronic device including a plurality of speakers, the audio playing method comprising:
under the condition of playing a target audio file, identifying the number of sound channels of the target audio file;
distributing a corresponding loudspeaker for each sound channel according to the number of the sound channels of the target audio file;
and playing the target audio file through a loudspeaker corresponding to each sound channel.
2. The method of claim 1, wherein the number of the plurality of speakers is m, the number of the channels is n, wherein m and n are both positive integers, and m > 1;
the allocating a corresponding speaker to each channel according to the number of channels of the target audio file includes:
in the case that n ≧ m, m channels are determined among the n channels;
and respectively distributing m loudspeakers corresponding to one for the m sound channels.
3. The method of claim 1, wherein the number of the plurality of speakers is m, the number of the channels is n, wherein m and n are both positive integers, and m > 1;
the allocating a corresponding speaker to each channel according to the number of channels of the target audio file includes:
in the case of n < m, determining n speakers among the m speakers;
and respectively distributing the n loudspeakers in one-to-one correspondence to the n sound channels.
4. The method of claim 1, wherein the assigning a corresponding speaker to each channel according to the number of channels of the target audio file comprises:
and according to the number of the sound channels of the target audio file, distributing a corresponding loudspeaker for each sound channel at a plurality of target moments in the playing of the target audio file.
5. The method of claim 1, wherein after the target audio file is played through the speaker corresponding to each channel, the method further comprises:
and displaying an indication color corresponding to any loudspeaker on a screen under the condition that the target audio file is played by the any loudspeaker.
6. An electronic device, the electronic device comprising a plurality of speakers, further comprising:
the identification module is used for identifying the number of sound channels of a target audio file under the condition of playing the target audio file;
the distribution module is used for distributing a corresponding loudspeaker for each sound channel according to the number of the sound channels of the target audio file;
and the playing module is used for playing the target audio file through the loudspeaker corresponding to each sound channel.
7. The electronic device of claim 6, wherein the number of the plurality of speakers is m, the number of the sound channels is n, wherein m and n are positive integers, and m > 1;
the distribution module includes:
a channel determination unit configured to determine m channels from among the N channels when N ≧ m;
and the first loudspeaker distribution unit is used for distributing m loudspeakers corresponding to each other for the m sound channels.
8. The electronic device of claim 6, wherein the number of the plurality of speakers is m, the number of the sound channels is n, wherein m and n are positive integers, and m > 1;
the distribution module includes:
a speaker determining unit for determining n speakers among the m speakers in a case where n < m;
and the second loudspeaker distribution unit is used for distributing the n loudspeakers which are in one-to-one correspondence to the n sound channels respectively.
9. The electronic device of claim 6, wherein the assignment module comprises:
and the time sharing unit is used for distributing a corresponding loudspeaker to each sound channel at a plurality of target moments in the playing of the target audio file according to the number of the sound channels of the target audio file.
10. The electronic device of claim 6, further comprising:
and the display module is used for displaying the indication color corresponding to any loudspeaker on a screen under the condition that the target audio file is played by any loudspeaker.
11. An electronic device, comprising a processor, a memory, a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the audio playback method as claimed in any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the audio playback method as claimed in any one of claims 1 to 5.
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an audio playing method and electronic equipment.
Background
In the era of mobile internet, along with the popularization of intelligent terminals, the terminals meet the basic requirements of users, and meanwhile, the terminals pursue the extreme multimedia audio-visual experience, High-Fidelity (High-Fidelity, short for HiFi) sound source and stereo sound effect experience, so that the playing quality of audio is merged into the aspect of daily life.
Generally, an electronic device includes two speakers, one on top of the electronic device, for receiving a call; and the other is positioned at the bottom of the electronic equipment and is used for playing audio files such as music and the like. The audio files such as music are played by one loudspeaker, so that more integral sound effect can be brought, but the playing quality completely depends on the audio files, and the efficacy of the loudspeaker cannot be fully exerted.
Therefore, the conventional electronic equipment cannot fully exert the efficacy of the loudspeaker, so that the playing quality of the audio is influenced.
Disclosure of Invention
The embodiment of the invention provides an audio playing method and electronic equipment, and aims to solve the problem that the playing quality of audio is influenced because the conventional electronic equipment cannot fully exert the effect of a loudspeaker.
In order to solve the technical problem, the invention is realized as follows:
the embodiment of the invention provides an audio playing method, which is applied to electronic equipment, wherein the electronic equipment comprises a plurality of loudspeakers, and the method comprises the following steps: under the condition of playing a target audio file, identifying the number of sound channels of the target audio file; distributing a corresponding loudspeaker for each sound channel according to the number of the sound channels of the target audio file; and playing the target audio file through a loudspeaker corresponding to each sound channel.
An embodiment of the present invention further provides an electronic device, where the electronic device includes a plurality of speakers, and is characterized by further including: the identification module is used for identifying the number of sound channels of a target audio file under the condition of playing the target audio file; the distribution module is used for distributing a corresponding loudspeaker for each sound channel according to the number of the sound channels of the target audio file; and the playing module is used for playing the target audio file through the loudspeaker corresponding to each sound channel.
The embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program implements the steps of the audio playing method when executed by the processor.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the audio playing method are implemented.
Therefore, in the embodiment of the invention, the difference of sound wave phases is brought by the difference of the distances from the plurality of loudspeakers to the listener, so that the three-dimensional sound effect is realized, the number of the sound channels of the target audio file can be firstly identified, the corresponding loudspeakers are allocated to different sound channels, and then when the target audio file is played, the different loudspeakers output the audio data of the corresponding sound channels, so that the target audio file is played through the loudspeakers corresponding to each sound channel, and the audio file achieves the effect of surround sound. Meanwhile, the loudspeaker corresponding to each sound channel can be changed during playing, and even if the audio file is a single-channel audio file, the loudspeakers can be circularly switched to play, so that the sound effect of surround sound is achieved. Therefore, the embodiment of the invention fully utilizes the effects of the plurality of loudspeakers to improve the playing quality of the audio, thereby realizing the high-quality audio playing effect.
Drawings
Fig. 1 is one of the flow charts of the audio playing method of the embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a folding screen electronic device according to an embodiment of the invention;
FIG. 3 is a second flowchart of an audio playing method according to an embodiment of the present invention;
FIG. 4 is a third flowchart of an audio playing method according to an embodiment of the present invention;
FIG. 5 is a fourth flowchart of an audio playing method according to an embodiment of the present invention;
FIG. 6 is a fifth flowchart of an audio playing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a screen display of an electronic device according to an embodiment of the invention;
FIG. 8 is one of the block diagrams of an electronic device of an embodiment of the invention;
fig. 9 is a second block diagram of the electronic device according to the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of an audio playing method according to an embodiment of the present invention is shown, and is applied to an electronic device, where the electronic device includes a plurality of speakers, and includes:
step S1: in the case of playing a target audio file, the number of channels of the target audio file is identified.
In this step, in the case of playing the target audio file, the target audio file is acquired, the target audio file is parsed, and the number of channels of the target audio file is identified and denoted as n.
Illustratively, after the header information of the playing file is analyzed, a file demultiplexer is started, and if the playing file contains a video track and an audio track, the audio track is separated and analyzed to obtain a target audio file; if the playing file only contains the audio file, only the audio track needs to be analyzed, and the target audio file is obtained. Further, the number of the audio channels of the obtained target audio file is identified and recorded as n.
Step S2: and allocating a corresponding loudspeaker to each sound channel according to the number of the sound channels of the target audio file.
In the step, the characteristics of multiple loudspeakers are fully utilized, and corresponding loudspeakers are allocated to each sound channel according to the number of the sound channels of the target audio file.
Preferably, the present embodiment is more suitable for multi-channel audio files, such as audio files in the AC3 format. For a plurality of sound channels included in the target audio file, corresponding speakers can be respectively allocated to each sound channel, and furthermore, the speakers corresponding to each sound channel can be switched in a time-sharing manner, so that a user can hear stereo sound effects.
Preferably, the present embodiment is also applicable to mono audio files. For a sound channel included in the target audio file, the loudspeaker corresponding to the sound channel can be switched in time, so that the user can hear the stereo sound effect.
Wherein in this step, the speaker array may be polled to obtain the number of available speakers before assigning a corresponding speaker to each channel.
Illustratively, the system sends out a silent audio signal to cycle through each loudspeaker, and the system can judge whether each loudspeaker function is stable according to the output feedback state of the loudspeaker, thereby recording the number m of available loudspeakers.
Step S3: and playing the target audio file through the loudspeaker corresponding to each sound channel.
In this step, according to the allocation result in step S2, the corresponding speakers are respectively enabled, and the audio data of the corresponding channels have been output, thereby realizing that the target audio file is played through the speaker corresponding to each channel. Wherein the audio data for each channel may be distributively decoded before the audio data is output by the respective speakers.
Specifically, since the audio data of each channel is independently encoded, the audio decoder enables the corresponding decoder to distributively decode the audio data of each channel for sound output according to the type of encoder employed for each independent channel.
Therefore, in the embodiment of the invention, the difference of sound wave phases is brought by the difference of the distances from the plurality of loudspeakers to the listener, so that the three-dimensional sound effect is realized, the number of the sound channels of the target audio file can be firstly identified, the corresponding loudspeakers are allocated to different sound channels, and then when the target audio file is played, the different loudspeakers output the audio data of the corresponding sound channels, so that the target audio file is played through the loudspeakers corresponding to each sound channel, and the audio file achieves the effect of surround sound. Meanwhile, the loudspeaker corresponding to each sound channel can be changed during playing, and even if the audio file is a single-channel audio file, the loudspeakers can be circularly switched to play, so that the sound effect of surround sound is achieved. Therefore, the embodiment of the invention fully utilizes the effects of the plurality of loudspeakers to improve the playing quality of the audio, thereby realizing the high-quality audio playing effect.
Preferably, the electronic device comprises two screens arranged in a folded manner, and the top and the bottom of each screen are respectively provided with a loudspeaker.
Referring to fig. 2, the embodiment of the present invention is preferably applied to a folding screen electronic device, where the folding screen electronic device includes two screens, a main screen is denoted as an a screen, and an auxiliary screen is denoted as a B screen. The speakers at the bottom and the top of the a screen are respectively recorded as Ma1 and Ma2, and the speakers at the bottom and the top of the B screen are respectively recorded as Mb1 and Mb2, so that when the audio playing method in the embodiment of the present invention is implemented, the corresponding number of speakers are respectively enabled adaptively according to the number of channels of the target audio file, and different speakers are switched circularly.
Further, as shown in fig. 2, when playing an audio file, it is preferable to unfold the folding screen, the unfolding angle of the folding screen is α, i.e. the included angle between the a screen and the B screen, wherein 0 ° < α <180 °. according to the acoustic principle, the unfolding angle of the folding screen is different, the position of each speaker from the ear is different, the phases of the sound waves output from different positions are different, and the difference can bring the stereo sound effect.
Therefore, in the process of playing the audio file, a plurality of loudspeakers of the folding screen electronic equipment are started according to the acoustic principle, so that a loudspeaker array is formed, and a method for switching different loudspeakers in a time-sharing surrounding mode can be provided.
In further embodiments, not limited to forming 4 speakers at the top and bottom of the folding screen electronic device, more locations may be provided, and more than 4 speakers may be formed, and the embodiments provided by the present invention may also be implemented.
In further embodiments, the embodiments provided by the present invention can be implemented not only in a folding screen electronic device, but also in an electronic device with not less than 2 speakers, such as a double-sided screen, a multi-sided screen, or a flexible screen.
In order to achieve a better stereo sound effect, the multiple speakers are preferably respectively located at different positions of the electronic device, so that the distances between the multiple speakers and a listener are different.
On the basis of the embodiment shown in fig. 1, fig. 3 shows a flowchart of an audio playing method according to another embodiment of the present invention, where the number of the plurality of speakers is m, the number of the channels is n, where m and n are both positive integers, and m > 1.
It should be noted that m may represent the number of speakers, and in this embodiment, it is default that all of the m speakers are available in the case of playing the target audio file.
Step S2 includes:
step S21: in the case of n ≧ m, m channels are determined among the n channels.
And when n ≧ m, enabling m loudspeakers to output audio data of the front m sound channels, and discarding the rest n-m sound channels.
Step S22: and respectively allocating m loudspeakers corresponding to one another to the m sound channels.
In this step, the audio channels are indexed with the speakers.
Preferably, when N ≧ m, the speaker array is in a full operation mode, and the sound channel N1Sound channel N2Sound channel N3A sound channel NmOne-to-one loudspeaker M1、M2、M3、...Mm。
In this embodiment, for the case that the number of channels is greater than or equal to the number of speakers, part of the channels may be discarded, and the front channels are preferably acquired, so as to allocate speakers to the remaining channels one by one, and further, the speakers corresponding to each channel may be switched in a time-sharing manner, so as to switch in a time-sharing surround cycle according to the full operation mode of different speakers, thereby creating a stereo sound effect.
On the basis of the embodiment shown in fig. 1, fig. 4 shows a flowchart of an audio playing method according to another embodiment of the present invention, where the number of the plurality of speakers is m, the number of the channels is n, where m and n are both positive integers, and m > 1.
Step S2 includes:
step S23: in the case of n < m, n speakers are determined among the m speakers.
When n < m, then n speakers are enabled to output n channels of audio data.
Step S24: and respectively distributing n loudspeakers corresponding to one for the n sound channels.
In this step, the audio channels are indexed with the speakers.
Preferably, when n<m hours, the loudspeaker array is in a half-operation mode, channel N1Sound channel N2Sound channel N3A sound channel NnOne-to-one loudspeaker M1、M2、M3、...Mn。
In this embodiment, when the number of channels is smaller than the number of speakers, the speakers are allocated to all the channels one by one, and further, the speakers corresponding to each channel can be switched in a time-sharing manner, so that a stereoscopic sound effect can be created according to the time-sharing surround cycle switching of the half-operation modes of different speakers.
On the basis of the embodiment shown in fig. 1, fig. 5 shows a flowchart of an audio playing method according to another embodiment of the present invention, and step S2 includes:
step S25: and according to the number of the sound channels of the target audio file, distributing a corresponding loudspeaker for each sound channel at a plurality of target moments in the playing of the target audio file.
And in the playing of the target audio file, the loudspeaker corresponding to each channel can be switched in time.
Preferably, a plurality of target moments can be set in the playing of the target audio file; the target time can also be set according to a preset time length, namely every other preset time length is one target time.
Preferably, in the playing of the target audio file, the allocation policy may be changed cyclically at a plurality of target times, or one allocation policy may be randomly applied at a certain target time.
Illustratively, N-2 (corresponding channels are each N)1And N2) M is 4 (M is the corresponding loudspeaker respectively)1、M2、M3And M4Preferably, the corresponding speakers are Ma1, Ma2, Mb1, Mb2) as described above, respectively. At time t1Sound channel N1And N2Respectively output by Ma1, Ma 2; at time t2, channel N1And N2Respectively output by Mb1, Mb 2; at time t3, channel N1And N2Respectively output by Ma1, Mb 1; at time t4, channel N1And N2Respectively output by Ma2, Mb 2; at time t5, channel N1And N2Respectively output by Ma1, Mb 2; at time t6, channel N1And N2Respectively by Ma2, Mb1, and so on.
Illustratively, N-3 (corresponding channels are each N)1、N2And N3) M is 4 (M is the corresponding loudspeaker respectively)1、M2、M3And M4Preferably, the corresponding speakers are Ma1, Ma2, Mb1, Mb2) as described above, respectively. At time t1, channel N1、N2And N3Respectively output by Ma1, Ma2, Mb 1; at time t2, channel N1、N2And N3Respectively output by Ma1, Ma2, Mb 2; at time t3, channel N1、N2And N3Is output by Mb1, Mb2, Ma1, respectively; at time t4, channel N1、N2And N3Is output by Mb1, Mb2, Ma2, respectively, and so on.
Illustratively, N is 1 (the corresponding channels are N, respectively)1) M is 4 (M is the corresponding loudspeaker respectively)1、M2、M3And M4Preferably, the corresponding speakers are Ma1, Ma2, Mb1, Mb2) as described above, respectively. At time t1, channel N1Is output by Ma 1; at time t2, channel N1Is output by Ma 2; at time t3, channel N1Is output by Mb 1; sound channel N1Is output by Mb2, and so on.
In this embodiment, the corresponding speakers are allocated to each sound channel, so as to achieve a stereoscopic sound effect, and further, the time-sharing surround cycle switching is combined to enrich the stereoscopic sound effect, so as to further improve the audio playing tone quality.
On the basis of the embodiment shown in fig. 1, fig. 6 shows a flowchart of an audio playing method according to another embodiment of the present invention, and after step S3, the method further includes:
step S4: in the case where any speaker plays the target audio file, an indication color corresponding to any speaker is displayed on the screen.
Referring to fig. 7, during the playing of the target audio file, a dynamic annular color separation map is displayed on the screen, and the dynamic annular color separation map can present a speaker which is working.
Preferably, colors of different color systems are selected by self-definition, and small circles on the circular arc are colored respectively.
Illustratively, when M is 4, (the corresponding speakers are M, respectively1、M2、M3And M4Preferably, the corresponding speakers are the aforementioned Ma1, Ma2, Mb1, Mb2), respectively, when Ma1 is in the working state, 4 small circles at the lower left corner are bright, and 4 small circles at the lower left corner display the first color; when Ma2 is in working condition, the 4 small circles on the top left corner are bright, and the 4 small circles on the top left corner display a second color; when Mb1 is in operation, the 4 small circles in the lower right corner are bright, and the 4 small circles in the lower right corner display a third color; when Mb2 is in operation, the top right-hand 4 small circles are bright and the top right-hand 4 small circles display a fourth color.
In this embodiment, when different speakers are in working states, different indication colors are displayed on the screen, and preferably, the indication colors are dynamically displayed in a time-sharing manner by using the ring light, so that the visual effect of the working of the speakers is dynamically displayed by using the sound effect ring light, and the effect that the sound is applied to the environment of the user is provided.
To sum up, the above embodiments of the present invention provide an audio playing method based on multiple speakers of an electronic device, aiming at the problem that the existing electronic device cannot achieve better audio playing tone quality by using the efficacy of the speakers, and particularly cannot play multi-channel audio files. The embodiment of the invention is particularly suitable for folding screen electronic equipment, when the folding screen electronic equipment is unfolded, the multi-loudspeaker mode of the folding screen electronic equipment is switched, the plurality of loudspeakers of the main screen and the auxiliary screen are started, the sound wave phase difference can be brought by the difference of the distances between the loudspeakers and a listener according to the number of sound channels of the sound source file and the dynamic output of the plurality of loudspeakers, and the three-dimensional sound effect is realized. Wherein, surround and switch different speakers in a dynamic timesharing to present the speaker that is having sound output with the audio annular lamp developments, reach the visual effect of cool dazzling. Therefore, the effect of the plurality of loudspeakers is fully exerted, the three-dimensional playing effect is realized, and the playing experience of music is enriched.
Fig. 8 shows a block diagram of an electronic device according to another embodiment of the invention, the electronic device comprising a plurality of speakers, further comprising:
the
the
and the
Therefore, in the embodiment of the invention, the difference of sound wave phases is brought by the difference of the distances from the plurality of loudspeakers to the listener, so that the three-dimensional sound effect is realized, the number of the sound channels of the target audio file can be firstly identified, the corresponding loudspeakers are allocated to different sound channels, and then when the target audio file is played, the different loudspeakers output the audio data of the corresponding sound channels, so that the target audio file is played through the loudspeakers corresponding to each sound channel, and the audio file achieves the effect of surround sound. Meanwhile, the loudspeaker corresponding to each sound channel can be changed during playing, and even if the audio file is a single-channel audio file, the loudspeakers can be circularly switched to play, so that the sound effect of surround sound is achieved. Therefore, the embodiment of the invention fully utilizes the effects of the plurality of loudspeakers to improve the playing quality of the audio, thereby realizing the high-quality audio playing effect.
Preferably, the number of the plurality of loudspeakers is m, the number of the sound channels is n, wherein m and n are positive integers, and m > 1;
the dispensing
a channel determination unit configured to determine m channels from among the N channels when N ≧ m;
and the first loudspeaker distribution unit is used for distributing m loudspeakers corresponding to each other one by one for the m sound channels.
Preferably, the number of the plurality of loudspeakers is m, the number of the sound channels is N, wherein m and N are positive integers, and m > 1;
the dispensing
a speaker determining unit for determining n speakers among the m speakers in a case where n < m;
and the second loudspeaker distribution unit is used for distributing n loudspeakers corresponding to the n sound channels one by one respectively.
Preferably, the
and the time sharing unit is used for distributing a corresponding loudspeaker to each sound channel at a plurality of target moments in the playing of the target audio file according to the number of the sound channels of the target audio file.
Preferably, the electronic device further comprises:
and the display module is used for displaying the indication color corresponding to any loudspeaker on the screen under the condition that any loudspeaker plays the target audio file.
Preferably, the electronic device comprises two screens arranged in a folded manner, and the top and the bottom of each screen are respectively provided with a loudspeaker.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 7, and is not described herein again to avoid repetition.
Fig. 9 is a schematic diagram of a hardware structure of an
Wherein, the
and the
Therefore, in the embodiment of the invention, the difference of sound wave phases is brought by the difference of the distances from the plurality of loudspeakers to the listener, so that the three-dimensional sound effect is realized, the number of the sound channels of the target audio file can be firstly identified, the corresponding loudspeakers are allocated to different sound channels, and then when the target audio file is played, the different loudspeakers output the audio data of the corresponding sound channels, so that the target audio file is played through the loudspeakers corresponding to each sound channel, and the audio file achieves the effect of surround sound. Meanwhile, the loudspeaker corresponding to each sound channel can be changed during playing, and even if the audio file is a single-channel audio file, the loudspeakers can be circularly switched to play, so that the sound effect of surround sound is achieved. Therefore, the embodiment of the invention fully utilizes the effects of the plurality of loudspeakers to improve the playing quality of the audio, thereby realizing the high-quality audio playing effect.
It should be understood that, in the embodiment of the present invention, the
The electronic device provides wireless broadband internet access to the user via the
The
The
The
The
The
Further, the
The
The
The
The
In addition, the
Preferably, an embodiment of the present invention further provides an electronic device, which includes a
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned audio playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:用于耳机虚拟化的混响生成