CN109920457A - Play method, apparatus, equipment and the storage medium of song - Google Patents
Play method, apparatus, equipment and the storage medium of song Download PDFInfo
- Publication number
- CN109920457A CN109920457A CN201910157329.1A CN201910157329A CN109920457A CN 109920457 A CN109920457 A CN 109920457A CN 201910157329 A CN201910157329 A CN 201910157329A CN 109920457 A CN109920457 A CN 109920457A
- Authority
- CN
- China
- Prior art keywords
- audio
- virtual environment
- information
- instruction
- playback
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
This application discloses a kind of method, apparatus, equipment and storage mediums for playing song, belong to multimedia technology field.Method includes: to obtain playback of songs instruction, includes the information of target song in the playback of songs instruction;The information for obtaining virtual environment audio is instructed based on playback of songs;Information based on the target song loads the audio file of the target song, the audio file of the information load virtual environment audio based on the virtual environment audio, to play the target song and virtual environment audio.Increase virtual environment audio on the basis of playback of songs, song can be played in different virtual environment audios, meet the playback of songs demand of different scenes, extend the form for playing song, improve the atmosphere sense of song, user can be experienced when listening to target song it is on the spot in person as effect promote user experience to enjoy target song more absorbedly.
Description
Technical field
The invention relates to multimedia technology field, in particular to a kind of method, apparatus for playing song, equipment and
Storage medium.
Background technique
It is more next in order to pursue spiritual enjoyment with the development of playback of songs client and the raising of quality of the life
More users likes playing song using playback of songs client.
In the related technology, playback of songs client obtains playback of songs instruction, includes target song in playback of songs instruction
Information, based on target song information load target song audio file, then play target song.
During realizing the application, inventor find the relevant technologies the prior art has at least the following problems:
In the related technology, playback of songs client terminal playing target song, user are only capable of hearing the original sound of target song,
Song atmosphere sense is poor, plays the in the form of a single of song, and user experience is poor, is not able to satisfy the broadcasting demand of different scenes.
Summary of the invention
The embodiment of the present application provides a kind of method, apparatus, equipment and storage medium for playing song, can be used for solving phase
The problems in pass technology.The technical solution is as follows:
On the one hand, the embodiment of the present application provides a kind of method for playing song, which comprises
Playback of songs instruction is obtained, includes the information of target song in the playback of songs instruction;
The information for obtaining virtual environment audio is instructed based on the playback of songs;
Information based on the target song loads the audio file of the target song, is based on the virtual environment audio
Information load virtual environment audio audio file, to play the target song and virtual environment audio.
Optionally, before the information that acquisition virtual environment audio is instructed based on the playback of songs, further includes:
The setting instruction of virtual environment audio is obtained, based on virtual environment audio setting instruction setting virtual environment sound
Effect, obtains the information of the virtual environment audio, stores to the information of the virtual environment audio;
It is described that the information for obtaining virtual environment audio is instructed based on the playback of songs, comprising: to be based on the playback of songs
Instruction obtains the information of the virtual environment audio of storage.
It is optionally, described that the information for obtaining virtual environment audio is instructed based on the playback of songs, comprising:
The setting instruction of virtual environment audio is obtained, based on virtual environment audio setting instruction setting virtual environment sound
Effect, obtains the information of the virtual environment audio.
Optionally, described based on virtual environment audio setting instruction setting virtual environment audio, it obtains described virtual
The information of environmental sound, comprising:
Instruction is set based on the virtual environment audio and shows virtual environment audio set interface, is shown in the set interface
It is shown with optional environment scene, different environment scenes has different environmental sound;
Using the environmental sound that selected environment scene has as the virtual environment audio being set, the selected environment is obtained
The setting information of scene, using the setting information of the selected environment scene as the information of the virtual environment audio.
Optionally, after the acquisition playback of songs instruction, further includes:
The volume setting information of virtual environment audio is obtained, to play the virtual environment according to the volume setting information
Audio.
Optionally, each environment scene has multiple audio elements, and each audio element corresponds to a kind of environmental sound;Its
In, any of the multiple audio element or multiple combinations are played out as virtual environment audio.
Optionally, the audio graphic element icon of selected environment scene is also shown in the set interface, if any of display
Audio graphic element icon is selected, updates the switch state of the selected audio element, and the switch state of audio element is used for
Indicate whether the sound of the corresponding environmental sound of the audio element closes.
Optionally, the setting information for obtaining the selected environment scene, comprising:
It, will be in the selected environment scene based on the switch state for the audio element being selected in the selected environment scene
Setting information of the switch state of selected audio element as the selected environment scene.
It optionally, include evaluation region, show surroundings in the evaluation region in the virtual environment audio set interface
The evaluation of audio.
Optionally, the acquisition virtual environment audio setting instruction, comprising:
It shows virtual environment audio inlet porting, if the virtual environment audio inlet porting is triggered, obtains virtual
Environmental sound setting instruction.
Optionally, the displaying virtual environment audio inlet porting, comprising: shown in the broadcast interface of the target song
Virtual environment audio inlet porting, or show that virtual environment audio is set into the application menu for playing the target song
Mouthful.
Optionally, after playing the target song and virtual environment audio, further includes:
If pause plays the target song, suspends and play the virtual environment audio.
A kind of device for playing song is additionally provided, described device includes:
First obtains module, includes the letter of target song for obtaining playback of songs instruction, in the playback of songs instruction
Breath;
Second obtains module, for instructing the information for obtaining virtual environment audio based on the playback of songs;
Playing module loads the audio file of the target song for the information based on the target song, is based on institute
The audio file of the information load virtual environment audio of virtual environment audio is stated, to play the target song and virtual environment sound
Effect.
Optionally, described second module is obtained, is also used to obtain the setting instruction of virtual environment audio, is based on the virtual ring
Border audio setting instruction setting virtual environment audio, obtains the information of the virtual environment audio;
Described device, further includes: memory module is stored for the information to the virtual environment audio;
Described second obtains module, for instructing the letter for obtaining the virtual environment audio of storage based on the playback of songs
Breath.
Optionally, described second module is obtained, for obtaining the setting instruction of virtual environment audio, is based on the virtual environment
Audio setting instruction setting virtual environment audio, obtains the information of the virtual environment audio.
Optionally, described second module is obtained, for showing virtual environment based on virtual environment audio setting instruction
Audio set interface, optional environment scene is shown in the set interface, and different environment scenes has different environment
Audio;Using the environmental sound that selected environment scene has as the virtual environment audio being set, the selected environment field is obtained
The setting information of scape, using the setting information of the selected environment scene as the information of the virtual environment audio.
Optionally, described second module is obtained, is also used to obtain the volume setting information of virtual environment audio, according to institute
It states volume setting information and plays the virtual environment audio.
Optionally, each environment scene has multiple audio elements, and each audio element corresponds to a kind of environmental sound;Its
In, any of the multiple audio element or multiple combinations are played out as virtual environment audio.
Optionally, the audio graphic element icon of selected environment scene is also shown in the set interface;
Described device further include:
Update module updates the selected audio element if any audio graphic element icon for display is selected
Switch state, whether the sound that the switch state of audio element is used to indicate the corresponding environmental sound of the audio element close
It closes.
Optionally, described second module is obtained, for based on the audio element being selected in the selected environment scene
Switch state, using the switch state for the audio element being selected in the selected environment scene as the selected environment scene
Setting information.
It optionally, include evaluation region, show surroundings in the evaluation region in the virtual environment audio set interface
The evaluation of scene.
Optionally, described second module is obtained, for showing virtual environment audio inlet porting, if the virtual environment sound
Effect inlet porting is triggered, then obtains the setting instruction of virtual environment audio.
Optionally, described second module is obtained, shows virtual environment audio for the broadcast interface in the target song
Inlet porting, or virtual environment audio inlet porting is shown in the application menu for playing the target song.
Optionally, the playing module plays the target song if being also used to suspend, suspends and play the virtual ring
Border audio.
On the other hand, a kind of computer equipment is provided, the computer equipment includes processor and memory, described to deposit
At least one instruction is stored in reservoir, at least one instruction is realized any of the above-described described when being executed by the processor
Broadcasting song method.
On the other hand, a kind of computer readable storage medium is additionally provided, is stored in the computer readable storage medium
There are at least one instruction, the method that any of the above-described broadcasting song is realized at least one instruction when executed.
Technical solution provided by the embodiments of the present application is at least brought the following benefits:
Increase virtual environment audio on the basis of playback of songs, song can be played in different virtual environment audios
Song meets the broadcasting demand in different scenes, extends the form for playing song, improves the atmosphere sense of song, user is listening
Take can be experienced when target song it is on the spot in person as effect promote user's body to enjoy target song more absorbedly
It tests.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of implementation environment schematic diagram for playing song provided by the embodiments of the present application;
Fig. 2 is a kind of method flow diagram for playing song provided by the embodiments of the present application;
Fig. 3 is a kind of virtual environment audio inlet porting schematic diagram provided by the embodiments of the present application;
Fig. 4 is a kind of virtual environment audio set interface schematic diagram provided by the embodiments of the present application;
Fig. 5 is a kind of schematic device for playing song provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
As the type of playback of songs client is more and more and the raising of people's quality of the life, in order to pursue spirit
On enjoyment, more and more users like playing song using playback of songs client.
The embodiment of the present application provides a kind of method for playing song, and this method can be applied to implementation ring as shown in Figure 1
In border.In Fig. 1, including at least one terminal 11 and server 12, terminal 11 can be communicatively coupled with server 12, with from clothes
Audio file is downloaded on business device 12.
Wherein, playback of songs client is installed in terminal 11, which, which can be any one, to pass through key with user
One or more modes such as disk, touch tablet, touch screen, remote controler, interactive voice or handwriting equipment carry out the electronics of human-computer interaction
Product, such as PC (Personal Computer, personal computer), mobile phone, smart phone, PDA (Personal Digital
Assistant, personal digital assistant), wearable device, palm PC PPC (Pocket PC), tablet computer, intelligent vehicle device,
Smart television, intelligent sound box etc..
Server 12 can be a server, be also possible to the server cluster being made of multiple servers, either
One cloud computing service center.
Those skilled in the art will be understood that above-mentioned terminal 11 and server 12 are only for example, other are existing or from now on may be used
The terminal or server that can occur such as are applicable to the application, should also be included within the application protection scope, and herein to draw
It is incorporated herein with mode.
Based on above-mentioned implementation environment shown in FIG. 1, referring to fig. 2, the embodiment of the present application provides a kind of side for playing song
Method, this method can be applied in terminal shown in FIG. 1, such as playback of songs client.As shown in Fig. 2, the embodiment of the present application mentions
The method of confession may include the following steps:
In step 201, playback of songs instruction is obtained, includes the information of target song in playback of songs instruction.
In application method provided by the embodiments of the present application, optionally, user opens playback of songs client, and input logs in
Information logs in playback of songs client, and user triggers the broadcast button of target song, and it includes target that playback of songs client, which obtains,
The playback of songs of the information of song instructs.
Target song can be the local song of playback of songs client-cache, is also possible to user and chooses at random in music storehouse
The song of choosing.The information of target song includes the mark of target song, can also include other information, such as song files are deposited
Address is stored up, the embodiment of the present application is not limited this.Information based on target song can load the audio text of target song
Part.
In step 202, the information for obtaining virtual environment audio is instructed based on playback of songs.
Being instructed based on playback of songs and obtaining the information of virtual environment audio includes but is not limited to following two mode:
Mode one: before instructing the information for obtaining virtual environment audio based on playback of songs, virtual environment audio is obtained
Setting instruction obtains the information of mesh virtual environment audio based on virtual environment audio setting instruction setting virtual environment audio, right
The information of virtual environment audio is stored;On this basis, the information for obtaining virtual environment audio is instructed based on playback of songs
It include: that the information for obtaining the virtual environment audio of storage is instructed based on playback of songs.
In this manner, playback of songs client can store the information for the virtual environment audio being set in advance, in this way
When obtaining the information of virtual environment audio, the information of virtual environment audio is extracted directly from the local file of storage, is shortened
Obtain the time of the information of virtual environment audio.
Mode two: obtaining the setting instruction of virtual environment audio, based on virtual environment audio setting instruction setting virtual environment
Audio obtains the information of virtual environment audio.
In this manner, without storing the information of the virtual environment audio of setting in advance, and it is directly based upon virtual environment
Audio setting instruction obtains the information of virtual environment audio, compared to the information for storing the virtual environment audio being set in advance
For mode, the storage resource of playback of songs client is saved.
Either mode one or mode two obtain the setting instruction of virtual environment audio, including but not limited to:
Show that virtual environment audio inlet porting obtains virtual environment if virtual environment audio inlet porting is triggered
Audio setting instruction.
In order to play song in different virtual environments, the playback of songs client in the present embodiment adds void
Near-ring border sound effect function, receives the trigger action of virtual environment audio inlet porting, and playback of songs client then obtains environment
Audio setting instruction.
Playback of songs client shows virtual environment audio inlet porting, comprising: shows in the broadcast interface of target song
Virtual environment audio inlet porting, or virtual environment audio inlet porting is shown in the application menu for playing target song.
For example, thering are standard, MV, audio, description etc. are multiple to set in the broadcast interface displaying of target song as shown in Fig. 3 (1)
Posting port, user click audio inlet porting, detect the trigger action of virtual environment audio inlet porting, so that it may enter sound
Imitate set interface.As shown in Fig. 3 (2), audio set interface includes adder audio, star's audio, automobile audio, common audio etc.
Button is arranged in audio, and wherein adder audio includes a variety of audios such as the beautiful sound of 3D, mega bass, pure voice, virtual environment.If with
Family, which is clicked, uses virtual environment audio, detects the triggering command of virtual environment audio inlet porting, then in audio set interface
Side shows virtual environment audio inlet porting.User clicks the virtual audio inlet porting, just triggers the setting of virtual environment audio
Instruction.
Optionally, also show there is audio inlet porting in the application menu for playing target song, user clicks the audio
Inlet porting can also enter audio set interface, select virtual audio, and then trigger the setting instruction of virtual environment audio.Its
In, the application menu for playing target song is the menu interface of playback of songs client, the menu interface and not only for mesh
Song is marked, but for all songs of playback of songs client.That is, this kind of set-up mode get it is virtual
The information of environmental sound is suitable for all songs.
Instruction setting virtual environment audio is set based on virtual environment audio, obtains the information of virtual environment audio, including
But it is not limited to following sub-step:
Sub-step 1: virtual environment audio set interface, virtual environment audio are shown based on the setting instruction of virtual environment audio
Optional environment scene is shown in set interface, different environment scenes has different environmental sound.
Optionally, the audio graphic element icon of selected environment scene, audio are also shown in virtual environment audio set interface
Graphic element icon can control the switch of corresponding audio element;Optionally, virtual environment audio set interface also shows volume and sets
Control is set, user can freely adjust the volume of virtual environment audio.It further include commenting in virtual environment audio set interface
Valence region, evaluation region are used for the evaluation of show surroundings audio.User can deliver in evaluation region to virtual environment audio
The information such as evaluation and collocation gains in depth of comprehension, evaluation region show all users to the evaluation of virtual environment audio and collocation gains in depth of comprehension etc.
Information.
For example, as shown in figure 4, showing the rings such as the sunny night sky, wind and rain moment, seashore leisure in virtual environment set interface
Border scene, every kind of environment scene have unique environmental sound, and user, which will experience, after setting oneself seemingly really places oneself in the midst of night
Evening, in the rain, listen to music in the scene on seashore.In sunny night sky environment scene, cricket, frog, wind, bonfire, nightingle etc. are shown
Audio graphic element icon shows the audios graphic element icon such as heavy rain, strong wind, thunder, raindrop in wind and rain moment environment scene, stops by the sea
Not busy environment scene shows the audios graphic element icon such as seawater, wave, wind, sea-gull, ship, and every kind of audio graphic element icon can control
The switch of corresponding audio element.
Sub-step 2: the virtual environment audio that the environmental sound that selected environment scene has is set as target song,
The setting information for obtaining selected environment scene, using the setting information of selected environment scene as the virtual environment audio being set
Information.
Each environment scene has multiple audio elements, and each audio element corresponds to a kind of environmental sound;Wherein, Duo Geyin
Any of effect element or multiple combinations are played out as virtual environment audio.
Optionally, it is chosen the setting information of environment scene, comprising:
Based on the switch state for the audio element being selected in selected environment scene, by what is be selected in selected environment scene
Setting information of the switch state of audio element as selected environment scene.
Optionally, if any audio graphic element icon of display is selected, the switch state of selected audio element is updated,
Whether the sound that the switch state of audio element is used to indicate the corresponding environmental sound of audio element closes.For example, audio element
Open state be used to indicate the sound of the corresponding environmental sound of audio element and do not close, the off status of audio element is used to indicate sound
Imitate the audible closure of the corresponding environmental sound of element.
For example, as shown in Fig. 3 (3), when user selects wind and rain moment environment scene, have in wind and rain environment scene strong wind,
This 4 audio elements of heavy rain, thunder and raindrop, user can choose 1 to 4 audios element therein, such as select strong wind, heavy rain this
Two audio elements, do not select the two audio elements of thunder, raindrop, then the two audio elements of the strong wind chosen, heavy rain are sound
Sound, the two audio elements of unchecked thunder, raindrop do not have sound.The wind and rain moment environment scene audio can also be adjusted to broadcast
Volume when putting.Cooperate different target songs, can choose different audio element combinations and different audio sounds
Measure size.
Optionally, after the instruction of acquisition playback of songs, further includes: the volume setting information of virtual environment audio is obtained, with
Virtual environment audio is played according to volume setting information.
In step 203, the audio file of the information load target song based on target song, is based on virtual environment audio
Information load virtual environment audio audio file, to play target song and virtual environment audio.
After obtaining the information of virtual environment audio that target song is set, load target song audio file and
The audio file of virtual environment audio, while playing target song and virtual environment audio.Target song and different virtual rings
Border audio combines, and entirely different impression will be brought to user.
The broadcast state of virtual environment audio and the broadcast state of target song are consistent, and are played when target song is in
When state, virtual environment audio is played;When target song is in pause or halted state, then virtual environment audio suspends or stops
Only.
Optionally, it if user wants to hear the song of no virtual environment audio, can choose without using virtual environment sound
Effect.
Increase virtual environment audio on the basis of playback of songs, song can be played in different virtual environment audios
Song extends the mode for playing song, meets the broadcasting demand in different scenes, improves the atmosphere sense of song, user is listening
Take can be experienced when target song it is on the spot in person as effect promote user's body to enjoy target song more absorbedly
It tests.
Conceived based on same technique, referring to Fig. 5, the embodiment of the present application provides a kind of device for playing song, the device
Include:
First obtains module 501, includes the letter of target song for obtaining playback of songs instruction, in playback of songs instruction
Breath;
Second obtains module 502, for instructing the information for obtaining virtual environment audio based on playback of songs;
Playing module 503 is based on virtual environment for the audio file of the information load target song based on target song
The audio file of the information load virtual environment audio of audio, to play target song and virtual environment audio.
Optionally, second module 502 is obtained, is also used to obtain the setting instruction of virtual environment audio, is based on virtual environment sound
Effect setting instruction setting virtual environment audio, obtains the information of virtual environment audio;
Device, further includes: memory module is stored for the information to virtual environment audio;
Second obtains module 502, for instructing the information for obtaining the virtual environment audio of storage based on playback of songs.
Optionally, second module 502 is obtained, for obtaining the setting instruction of virtual environment audio, is based on virtual environment audio
Setting instruction setting virtual environment audio, obtains the information of virtual environment audio.
Optionally, second module 502 is obtained, for showing that virtual environment audio is set based on the setting instruction of virtual environment audio
Interface is set, optional environment scene is shown in set interface, different environment scenes has different environmental sound;It will be chosen
The environmental sound that environment scene has obtains the setting information of selected environment scene as the virtual environment audio being set, will
Information of the setting information of selected environment scene as virtual environment audio.
Optionally, second module 502 is obtained, is also used to obtain the volume setting information of virtual environment audio, according to sound
It measures setting information and plays virtual environment audio.
Optionally, each environment scene has multiple audio elements, and each audio element corresponds to a kind of environmental sound;Its
In, any of multiple audio elements or multiple combinations are played out as virtual environment audio.
Optionally, the audio graphic element icon of selected environment scene is also shown in set interface;
Device further include:
Update module updates opening for selected audio element if any audio graphic element icon for display is selected
Whether off status, the sound that the switch state of audio element is used to indicate the corresponding environmental sound of audio element close.
Optionally, second module 502 is obtained, for the switch shape based on the audio element being selected in selected environment scene
State, using the switch state for the audio element being selected in selected environment scene as the setting information of selected environment scene.
It optionally, include evaluation region in virtual environment audio set interface, show surroundings scene comments in evaluation region
Valence.
Optionally, second module 502 is obtained, for showing virtual environment audio inlet porting, if virtual environment audio is set
Posting port is triggered, then obtains the setting instruction of virtual environment audio.
Optionally, second module 502 is obtained, shows that virtual environment audio is set into for the broadcast interface in target song
Mouthful, or virtual environment audio inlet porting is shown in the application menu for playing target song.
Optionally, playing module 503 play target song if being also used to suspend, suspend and play virtual environment audio.
In the embodiment of the present application, increase virtual environment audio on the basis of playback of songs, it can be different virtual
Song is played in environmental sound, extends the mode for playing song, is met the broadcasting demand in different scenes, is improved song
Atmosphere sense, user can be experienced when listening to target song it is on the spot in person as effect, to enjoy target more absorbedly
Song promotes user experience.
It should be noted that device provided by the above embodiment is when realizing its function, only with above-mentioned each functional module
It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution,
The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition,
Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this
In repeat no more.
Fig. 6 is a kind of structural schematic diagram of terminal for playing song provided by the embodiments of the present application.The terminal may is that intelligence
It can mobile phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic shadow
As expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic
Image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal is also possible to referred to as user and sets
Other titles such as standby, portable terminal, laptop terminal, terminal console.
In general, terminal includes: processor 601 and memory 602.
Processor 601 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 601 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 601 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 601 can integrate GPU (Graphics Processing Unit, image processor), GPU
For being responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 601 can also include AI
(Artificial Intelligence, artificial intelligence) processor, the AI processor is for handling the calculating in relation to machine learning
Operation.
Memory 602 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 602 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 602 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 601 for realizing this Shen
Please in embodiment of the method provide broadcasting song method.
In some embodiments, terminal is also optional includes: peripheral device interface 603 and at least one peripheral equipment.Place
Managing can be connected between device 601, memory 602 and peripheral device interface 603 by bus or signal wire.Each peripheral equipment can
To be connected by bus, signal wire or circuit board with peripheral device interface 603.Specifically, peripheral equipment includes: radio circuit
604, at least one of touch display screen 605, CCD camera assembly 606, voicefrequency circuit 607, positioning component 608 and power supply 609.
Peripheral device interface 603 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 601 and memory 602.In some embodiments, processor 601, memory 602 and peripheral equipment
Interface 603 is integrated on same chip or circuit board;In some other embodiments, processor 601, memory 602 and outer
Any one or two in peripheral equipment interface 603 can realize on individual chip or circuit board, the present embodiment to this not
It is limited.
Radio circuit 604 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates
Frequency circuit 604 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 604 turns electric signal
It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 604 wraps
It includes: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip
Group, user identity module card etc..Radio circuit 604 can be carried out by least one wireless communication protocol with other terminals
Communication.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), wireless office
Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 604 may be used also
To include the related circuit of NFC (Near Field Communication, wireless near field communication), the application is not subject to this
It limits.
Display screen 605 is for showing UI (User Interface, user interface).The UI may include figure, text, figure
Mark, video and its their any combination.When display screen 605 is touch display screen, display screen 605 also there is acquisition to show
The ability of the touch signal on the surface or surface of screen 605.The touch signal can be used as control signal and be input to processor
601 are handled.At this point, display screen 605 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or
Soft keyboard.In some embodiments, display screen 605 can be one, and the front panel of terminal is arranged in;In other embodiments
In, display screen 605 can be at least two, be separately positioned on the different surfaces of terminal or in foldover design;In still other implementation
In example, display screen 605 can be flexible display screen, be arranged on the curved surface of terminal or on fold plane.Even, display screen
605 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 605 can use LCD (Liquid
Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode)
Etc. materials preparation.
CCD camera assembly 606 is for acquiring image or video.Optionally, CCD camera assembly 606 include front camera and
Rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.One
In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively
Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle
Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are clapped
Camera shooting function.In some embodiments, CCD camera assembly 606 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp,
It is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not
With the light compensation under colour temperature.
Voicefrequency circuit 607 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and will
Sound wave, which is converted to electric signal and is input to processor 601, to be handled, or is input to radio circuit 604 to realize voice communication.
For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal to be multiple.Microphone is also
It can be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used for will be from processor 601 or radio circuit 604
Electric signal is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.Work as loudspeaker
When being piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, electric signal can also be converted
The sound wave that do not hear for the mankind is to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 607 can also be inserted including earphone
Hole.
Positioning component 608 is used for the current geographic position of positioning terminal, to realize navigation or LBS (Location Based
Service, location based service).Positioning component 608 can be GPS (the Global Positioning based on the U.S.
System, global positioning system), the dipper system of China, Russia Gray receive the Galileo system of this system or European Union
Positioning component.
Power supply 609 is used to be powered for the various components in terminal.Power supply 609 can be alternating current, direct current, primary
Property battery or rechargeable battery.When power supply 609 includes rechargeable battery, which can support wired charging or nothing
Line charge electricity.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal further includes having one or more sensors 610.The one or more sensors 610
Including but not limited to: acceleration transducer 611, gyro sensor 612, pressure sensor 613, fingerprint sensor 614, optics
Sensor 615 and proximity sensor 616.
Acceleration transducer 611 can detecte the acceleration magnitude in three reference axis of the coordinate system established with terminal.
For example, acceleration transducer 611 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 601 can be with
According to the acceleration of gravity signal that acceleration transducer 611 acquires, touch display screen 605 is controlled with transverse views or longitudinal view
Carry out the display of user interface.Acceleration transducer 611 can be also used for the acquisition of game or the exercise data of user.
Gyro sensor 612 can detecte body direction and the rotational angle of terminal, and gyro sensor 612 can be with
The collaboration of acceleration transducer 611 acquisition user acts the 3D of terminal.Processor 601 is acquired according to gyro sensor 612
Data, following function may be implemented: image when action induction (for example changing UI according to the tilt operation of user), shooting is steady
Fixed, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 605 in terminal can be set in pressure sensor 613.When pressure passes
When the side frame of terminal is arranged in sensor 613, user can detecte to the gripping signal of terminal, by processor 601 according to pressure
The gripping signal that sensor 613 acquires carries out right-hand man's identification or prompt operation.When the setting of pressure sensor 613 is touching display
When the lower layer of screen 605, by processor 601 according to user to the pressure operation of touch display screen 605, realize on the interface UI can
Operational control is controlled.Operability control include button control, scroll bar control, icon control, in menu control
It is at least one.
Fingerprint sensor 614 is used to acquire the fingerprint of user, collected according to fingerprint sensor 614 by processor 601
The identity of fingerprint recognition user, alternatively, by fingerprint sensor 614 according to the identity of collected fingerprint recognition user.It is identifying
When the identity of user is trusted identity out, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 601
Include solution lock screen, check encryption information, downloading software, payment and change setting etc..Fingerprint sensor 614 can be arranged on end
Front, the back side or the side at end.When being provided with physical button or manufacturer Logo in terminal, fingerprint sensor 614 can be with object
Reason key or manufacturer Logo are integrated.
Optical sensor 615 is for acquiring ambient light intensity.In one embodiment, processor 601 can be according to optics
The ambient light intensity that sensor 615 acquires controls the display brightness of touch display screen 605.Specifically, when ambient light intensity is higher
When, the display brightness of touch display screen 605 is turned up;When ambient light intensity is lower, the display for turning down touch display screen 605 is bright
Degree.In another embodiment, the ambient light intensity that processor 601 can also be acquired according to optical sensor 615, dynamic adjust
The acquisition parameters of CCD camera assembly 606.
Proximity sensor 616, also referred to as range sensor are generally arranged at the front panel of terminal.Proximity sensor 616 is used for
Acquire the distance between user and the front of terminal.In one embodiment, when proximity sensor 616 detects user and terminal
The distance between front when gradually becoming smaller, touch display screen 605 is controlled by processor 601 and is switched to breath screen shape from bright screen state
State;When proximity sensor 616 detects that the distance between the front of user and terminal becomes larger, controlled by processor 601
Touch display screen 605 is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of structure shown in Fig. 6 not structure paired terminal, may include ratio
More or fewer components are illustrated, certain components are perhaps combined or are arranged using different components.
In the exemplary embodiment, a kind of computer equipment is additionally provided, the computer equipment includes processor and deposits
Reservoir is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the memory.Described at least one
Instruction, at least a Duan Chengxu, code set or instruction set are configured to be executed by one or more than one processor, on realizing
State any method for playing song.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, is stored in the storage medium
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
State the method that code set or described instruction collection realize any of the above-described kind of broadcasting song when being executed by the processor of computer equipment.
Optionally, above-mentioned computer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
It should be understood that referenced herein " multiple " refer to two or more."and/or", description association
The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A
And B, individualism B these three situations.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
The foregoing is merely the exemplary embodiments of the application, all in spirit herein not to limit the application
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (15)
1. a kind of method for playing song, which is characterized in that the described method includes:
Playback of songs instruction is obtained, includes the information of target song in the playback of songs instruction;
The information for obtaining virtual environment audio is instructed based on the playback of songs;
Information based on the target song loads the audio file of the target song, the letter based on the virtual environment audio
The audio file of breath load virtual environment audio, to play the target song and virtual environment audio.
2. the method according to claim 1, wherein described obtain virtual environment based on playback of songs instruction
Before the information of audio, further includes:
The setting instruction of virtual environment audio is obtained, based on virtual environment audio setting instruction setting virtual environment audio, is obtained
To the information of the virtual environment audio, the information of the virtual environment audio is stored;
It is described that the information for obtaining virtual environment audio is instructed based on the playback of songs, comprising: to be instructed based on the playback of songs
Obtain the information of the virtual environment audio of storage.
3. the method according to claim 1, wherein described obtain virtual environment based on playback of songs instruction
The information of audio, comprising:
The setting instruction of virtual environment audio is obtained, based on virtual environment audio setting instruction setting virtual environment audio, is obtained
To the information of the virtual environment audio.
4. according to the method in claim 2 or 3, which is characterized in that described based on virtual environment audio setting instruction
Virtual environment audio is set, the information of the virtual environment audio is obtained, comprising:
Instruction is set based on the virtual environment audio and shows virtual environment audio set interface, is shown in the set interface
Optional environment scene, different environment scenes have different environmental sound;
Using the environmental sound that selected environment scene has as the virtual environment audio being set, the selected environment scene is obtained
Setting information, using the setting information of the selected environment scene as the information of the virtual environment audio.
5. the method according to claim 1, wherein after acquisition playback of songs instruction, further includes:
The volume setting information of virtual environment audio is obtained, to play the virtual environment sound according to the volume setting information
Effect.
6. according to the method described in claim 4, it is characterized in that, each environment scene has multiple audio elements, Mei Geyin
Effect element corresponds to a kind of environmental sound;Wherein, any of the multiple audio element or multiple combinations are used as virtual environment sound
Effect plays out.
7. according to the method described in claim 6, it is characterized in that, also showing selected environment scene in the set interface
Audio graphic element icon updates the switch shape of the selected audio element if any audio graphic element icon of display is selected
Whether state, the sound that the switch state of audio element is used to indicate the corresponding environmental sound of the audio element close.
8. the method according to the description of claim 7 is characterized in that the setting information for obtaining the selected environment scene,
Include:
Based on the switch state for the audio element being selected in the selected environment scene, will be chosen in the selected environment scene
In audio element setting information of the switch state as the selected environment scene.
9. according to the method described in claim 4, it is characterized in that, including evaluation area in the virtual environment audio set interface
Domain, the evaluation region are used for the evaluation of show surroundings audio.
10. according to the method in claim 2 or 3, which is characterized in that the acquisition virtual environment audio setting instruction, packet
It includes:
Show that virtual environment audio inlet porting obtains virtual environment if the virtual environment audio inlet porting is triggered
Audio setting instruction.
11. according to the method described in claim 10, it is characterized in that, the displaying virtual environment audio inlet porting, comprising:
Virtual environment audio inlet porting is shown in the broadcast interface of the target song, or in the application for playing the target song
Virtual environment audio inlet porting is shown in menu.
12. the method according to claim 1, wherein after playing the target song and virtual environment audio,
Further include:
If pause plays the target song, suspends and play the virtual environment audio.
13. a kind of device for playing song, which is characterized in that described device includes:
First obtains module, includes the information of target song for obtaining playback of songs instruction, in the playback of songs instruction;
Second obtains module, for instructing the information for obtaining virtual environment audio based on the playback of songs;
Playing module loads the audio file of the target song for the information based on the target song, is based on the void
The audio file of the information load virtual environment audio of quasi- environmental sound, to play the target song and virtual environment audio.
14. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, the memory
In be stored at least one instruction, such as claim 1 to 12 is realized at least one instruction when being executed by the processor
The method of any broadcasting song.
15. a kind of computer readable storage medium, which is characterized in that be stored at least one in the computer readable storage medium
Item instruction, the method that the broadcasting song as described in claim 1 to 12 is any is realized at least one instruction when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910157329.1A CN109920457A (en) | 2019-03-01 | 2019-03-01 | Play method, apparatus, equipment and the storage medium of song |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910157329.1A CN109920457A (en) | 2019-03-01 | 2019-03-01 | Play method, apparatus, equipment and the storage medium of song |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109920457A true CN109920457A (en) | 2019-06-21 |
Family
ID=66962976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910157329.1A Pending CN109920457A (en) | 2019-03-01 | 2019-03-01 | Play method, apparatus, equipment and the storage medium of song |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109920457A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618805A (en) * | 2019-09-17 | 2019-12-27 | Oppo广东移动通信有限公司 | Method and device for adjusting electric quantity of equipment, electronic equipment and medium |
CN114537271A (en) * | 2022-02-09 | 2022-05-27 | 广州小鹏汽车科技有限公司 | Control method, vehicle, and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10149089A (en) * | 1996-09-20 | 1998-06-02 | Hitachi Software Eng Co Ltd | Multiamusement system |
JPH1169228A (en) * | 1997-08-19 | 1999-03-09 | Brother Ind Ltd | Music sound reproducing machine |
JP2005173080A (en) * | 2003-12-10 | 2005-06-30 | Xing Inc | Music reproducing apparatus |
CN1806861A (en) * | 2005-01-19 | 2006-07-26 | 乐金电子(惠州)有限公司 | Pulsation noise generation apparatus of audio equipment and method thereof |
CN101859562A (en) * | 2010-07-01 | 2010-10-13 | 无锡骏聿科技有限公司 | Method for matching conventional images with karaoke melodies in real time |
US8699862B1 (en) * | 2013-02-06 | 2014-04-15 | Google Inc. | Synchronized content playback related to content recognition |
CN103986700A (en) * | 2014-05-09 | 2014-08-13 | 苏州乐聚一堂电子科技有限公司 | Sound effect system of mobile personalized karaoke |
US20140270181A1 (en) * | 2013-03-13 | 2014-09-18 | Beatport, LLC | DJ Stem Systems And Methods |
CN104378695A (en) * | 2014-11-28 | 2015-02-25 | 苏州乐聚一堂电子科技有限公司 | Karaoke interaction rhythm effect system |
CN104378696A (en) * | 2014-11-28 | 2015-02-25 | 苏州乐聚一堂电子科技有限公司 | Karaoke complex-effect system |
CN106302087A (en) * | 2015-05-19 | 2017-01-04 | 深圳市腾讯计算机系统有限公司 | Instant communication method, Apparatus and system |
CN106527724A (en) * | 2016-11-14 | 2017-03-22 | 墨宝股份有限公司 | Method and system for realizing virtual reality scene |
CN107193386A (en) * | 2017-06-29 | 2017-09-22 | 联想(北京)有限公司 | Acoustic signal processing method and electronic equipment |
US20180352021A1 (en) * | 2013-08-19 | 2018-12-06 | Nant Holdings Ip, Llc | Camera-to-camera interactions, systems and methods |
CN108965757A (en) * | 2018-08-02 | 2018-12-07 | 广州酷狗计算机科技有限公司 | video recording method, device, terminal and storage medium |
-
2019
- 2019-03-01 CN CN201910157329.1A patent/CN109920457A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10149089A (en) * | 1996-09-20 | 1998-06-02 | Hitachi Software Eng Co Ltd | Multiamusement system |
JPH1169228A (en) * | 1997-08-19 | 1999-03-09 | Brother Ind Ltd | Music sound reproducing machine |
JP2005173080A (en) * | 2003-12-10 | 2005-06-30 | Xing Inc | Music reproducing apparatus |
CN1806861A (en) * | 2005-01-19 | 2006-07-26 | 乐金电子(惠州)有限公司 | Pulsation noise generation apparatus of audio equipment and method thereof |
CN101859562A (en) * | 2010-07-01 | 2010-10-13 | 无锡骏聿科技有限公司 | Method for matching conventional images with karaoke melodies in real time |
US8699862B1 (en) * | 2013-02-06 | 2014-04-15 | Google Inc. | Synchronized content playback related to content recognition |
US20140270181A1 (en) * | 2013-03-13 | 2014-09-18 | Beatport, LLC | DJ Stem Systems And Methods |
US20180352021A1 (en) * | 2013-08-19 | 2018-12-06 | Nant Holdings Ip, Llc | Camera-to-camera interactions, systems and methods |
CN103986700A (en) * | 2014-05-09 | 2014-08-13 | 苏州乐聚一堂电子科技有限公司 | Sound effect system of mobile personalized karaoke |
CN104378696A (en) * | 2014-11-28 | 2015-02-25 | 苏州乐聚一堂电子科技有限公司 | Karaoke complex-effect system |
CN104378695A (en) * | 2014-11-28 | 2015-02-25 | 苏州乐聚一堂电子科技有限公司 | Karaoke interaction rhythm effect system |
CN106302087A (en) * | 2015-05-19 | 2017-01-04 | 深圳市腾讯计算机系统有限公司 | Instant communication method, Apparatus and system |
CN106527724A (en) * | 2016-11-14 | 2017-03-22 | 墨宝股份有限公司 | Method and system for realizing virtual reality scene |
CN107193386A (en) * | 2017-06-29 | 2017-09-22 | 联想(北京)有限公司 | Acoustic signal processing method and electronic equipment |
CN108965757A (en) * | 2018-08-02 | 2018-12-07 | 广州酷狗计算机科技有限公司 | video recording method, device, terminal and storage medium |
Non-Patent Citations (3)
Title |
---|
安智市场: "酷狗音乐9.1.5版本", 《手机下载-安智市场APP-输入酷狗-查看历史版本-酷狗音乐9.1.5版本-下载-安装 》 * |
热门音乐圈: ""虚拟环境"音效带你穿越自然场景,听歌从此身临其境!", 《HTTPS://NEWS.TOM.COM/201902/4092136834.HT;》 * |
科技志: "《一曲相思》搭配海浪声更好听?酷狗虚拟环境音效实测体验超棒", 《HTTPS://WWW.SOHU.COM/A/296534044_529233;》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618805A (en) * | 2019-09-17 | 2019-12-27 | Oppo广东移动通信有限公司 | Method and device for adjusting electric quantity of equipment, electronic equipment and medium |
CN110618805B (en) * | 2019-09-17 | 2023-12-08 | Oppo广东移动通信有限公司 | Method and device for adjusting electric quantity of equipment, electronic equipment and medium |
CN114537271A (en) * | 2022-02-09 | 2022-05-27 | 广州小鹏汽车科技有限公司 | Control method, vehicle, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110061900B (en) | Message display method, device, terminal and computer readable storage medium | |
CN109451343A (en) | Video sharing method, apparatus, terminal and storage medium | |
CN110244998A (en) | Page layout background, the setting method of live page background, device and storage medium | |
CN109168073B (en) | Method and device for displaying cover of live broadcast room | |
CN109346111B (en) | Data processing method, device, terminal and storage medium | |
CN107888968A (en) | Player method, device and the computer-readable storage medium of live video | |
CN109618212A (en) | Information display method, device, terminal and storage medium | |
CN108922506A (en) | Song audio generation method, device and computer readable storage medium | |
CN110139143B (en) | Virtual article display method, device, computer equipment and storage medium | |
CN110149332A (en) | Live broadcasting method, device, equipment and storage medium | |
CN109302385A (en) | Multimedia resource sharing method, device and storage medium | |
CN109327608A (en) | Method, terminal, server and the system that song is shared | |
CN111711838B (en) | Video switching method, device, terminal, server and storage medium | |
CN110418152A (en) | It is broadcast live the method and device of prompt | |
CN110033503A (en) | Cartoon display method, device, computer equipment and storage medium | |
CN109068008A (en) | The tinkle of bells setting method, device, terminal and storage medium | |
CN109922356A (en) | Video recommendation method, device and computer readable storage medium | |
CN111031391A (en) | Video dubbing method, device, server, terminal and storage medium | |
CN111402844B (en) | Song chorus method, device and system | |
CN109982129A (en) | Control method for playing back, device and the storage medium of short-sighted frequency | |
CN111628925A (en) | Song interaction method and device, terminal and storage medium | |
CN113556481B (en) | Video special effect generation method and device, electronic equipment and storage medium | |
CN109920457A (en) | Play method, apparatus, equipment and the storage medium of song | |
CN108055349B (en) | Method, device and system for recommending K song audio | |
CN110244999A (en) | Control method, apparatus, equipment and the storage medium of destination application operation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |