CN106454644A - Audio playing method and device - Google Patents

Audio playing method and device Download PDF

Info

Publication number
CN106454644A
CN106454644A CN201610875672.6A CN201610875672A CN106454644A CN 106454644 A CN106454644 A CN 106454644A CN 201610875672 A CN201610875672 A CN 201610875672A CN 106454644 A CN106454644 A CN 106454644A
Authority
CN
China
Prior art keywords
earphone
speaker
audio
terminal
multimedia file
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.)
Granted
Application number
CN201610875672.6A
Other languages
Chinese (zh)
Other versions
CN106454644B (en
Inventor
张亮
骆艳飞
刘健全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610875672.6A priority Critical patent/CN106454644B/en
Publication of CN106454644A publication Critical patent/CN106454644A/en
Application granted granted Critical
Publication of CN106454644B publication Critical patent/CN106454644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Abstract

The invention provides an audio playing method and device and belongs to the technical field of terminals. The audio playing method comprises the steps of sending audio signals of a multimedia file to an earphone of a terminal in a playing process of the multimedia file; receiving a sounding instruction for a loudspeaker of the terminal; and sending the audio signals of the multimedia file to the earphone continuously and sending the audio signals of the multimedia file to the loudspeaker. As a loudspeaker opening option is provided at the terminal, the audio can be played through the loudspeaker when the loudspeaker opening option is triggered while the audio is played through the earphone; and as a double-play playing mode is provided, the audio playing effect is enhanced greatly.

Description

Audio frequency playing method and device
Technical field
It relates to field of terminal technology, more particularly, to a kind of audio frequency playing method and device.
Background technology
With the development of terminal technology, the function that terminal can be supported is stronger and stronger, and for example, terminal can be supported such as Music software, video software are additionally it is possible to support Voice Communication etc., these softwares have an identical feature, that is, be both needed to Terminal is wanted to carry out audio frequency broadcasting.
Terminal, when carrying out audio frequency broadcasting, can adopt two kinds of broadcast modes, first, the speaker being configured by terminal Play out, second, the earphone passage being configured by terminal is played out.The privacy of the first broadcast mode is poor, its The audio sound play not only can be heard by terminal use, and the other users can also being in the same space are listened Arrive.And second broadcast mode compares secret, the user that only can be worn earphone hears.
Content of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of audio frequency playing method and device.
In a first aspect, the embodiment of the present disclosure provides a kind of audio frequency playing method, methods described includes:
The audio signal of described multimedia file in the playing process of multimedia file, is sent to the earphone of terminal;Connect Receive the sounding instruction of the speaker to described terminal, described sounding instruction by opening option triggering to speaker;Continue to institute State the audio signal that earphone sends described multimedia file, and send the audio frequency letter of described multimedia file to described speaker Number.
The method that the embodiment of the present disclosure provides, opens option so that by earphone by providing speaker in terminal While playing audio frequency, also audio frequency can be play by speaker simultaneously, carry when this speaker is opened option and is triggered Supply a kind of broadcast mode of dual broadcasting, greatly strengthen audio frequency result of broadcast.
In a kind of possible implementation, the described earphone to terminal sends the audio signal bags of described multimedia file Include:If described earphone accesses described terminal by earphone interface in described terminal, by described earphone interface to described Earphone sends the audio signal of described multimedia file;If or, described earphone accesses described terminal by bluetooth connection, led to The bluetooth connection crossing foundation sends the audio signal of described multimedia file to described earphone.
By above-mentioned possible implementation, for different earphone connected modes, there is provided different audio signals sends Method, enriches applicable scene.
In a kind of possible implementation, after the described sounding receiving the speaker to described terminal instructs, described side Method also includes:
Detect whether the volume of described earphone is more than the first predetermined threshold value, if it is greater, then the volume of described earphone is adjusted Whole to the second predetermined threshold value, described first predetermined threshold value is more than described second predetermined threshold value;
The volume of described speaker is adjusted to the 3rd predetermined threshold value, described second predetermined threshold value and the described 3rd presets threshold Value sum is to specify numerical value.
By above-mentioned possible implementation, there is provided a kind of mode that volume is adjusted, by earphone and can raise one's voice The volume of device adjusts to a harmonious effect, it is to avoid artificial volume adjusts so that this audio frequency broadcast mode can reach To optimum efficiency.
In a kind of possible implementation, after the described sounding receiving the speaker to described terminal instructs, described side Method also includes:According to the wear condition of described earphone, determine the audio pattern that described speaker is adopted when audio frequency is play.
By above-mentioned possible implementation, actual wear situation that can be according to user to earphone, to adjust further and to raise The audio pattern of sound device is so that this audio frequency broadcast mode can reach optimum efficiency.
In a kind of possible implementation, the described wear condition according to described earphone, determine described speaker in audio frequency The audio pattern being adopted during broadcasting includes:
When described earphone is worn for monaural, described audio pattern is defined as monophonic mode, described monophonic mode Middle worked sound channel and described earphone to wear side different;Or, when described earphone is worn for ears, by described audio pattern It is defined as stereo mode.
By above-mentioned possible implementation, there is provided different audio patterns under different wear condition are so that result of broadcast More conform to the actually used situation of user.
Second aspect, the embodiment of the present disclosure provides a kind of audio playing apparatus, and described device includes:
Sending module, for, in the playing process of multimedia file, sending described multimedia file to the earphone of terminal Audio signal;
Receiver module, for receiving the sounding instruction to the speaker of described terminal, described sounding instruction is by raising one's voice Option triggering opened by device;
Described sending module, for continuing to send the audio signal of described multimedia file to described earphone, and to described Speaker sends the audio signal of described multimedia file.
In a kind of possible implementation, described sending module is used for:
If described earphone accesses described terminal by earphone interface in described terminal, by described earphone interface to Described earphone sends the audio signal of described multimedia file;Or,
If described earphone accesses described terminal by bluetooth connection, by the bluetooth connection of foundation to described earphone Send the audio signal of described multimedia file.
In a kind of possible implementation, described device also includes:
Detection module, whether the volume for detecting described earphone is more than the first predetermined threshold value;
Adjusting module, if the volume for described earphone is more than the first predetermined threshold value, the volume of described earphone is adjusted Whole to the second predetermined threshold value, described first predetermined threshold value is more than described second predetermined threshold value;
Described adjusting module is additionally operable to adjust the volume of described speaker to the 3rd predetermined threshold value, the described second default threshold Value and described 3rd predetermined threshold value sum are to specify numerical value.
In a kind of possible implementation, described device also includes:
Audio mode decision module, for the wear condition according to described earphone, determines that described speaker is play in audio frequency When the audio pattern that adopted.
In a kind of possible implementation, described audio mode decision module is used for when described earphone is worn for monaural, Described audio pattern is defined as monophonic mode, the sound channel being worked in described monophonic mode wears side with described earphone Different;Or, when described earphone is worn for ears, described audio pattern is defined as stereo mode.
The third aspect, the embodiment of the present disclosure provides a kind of audio playing apparatus, including:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, described processor is configured to:
The audio signal of described multimedia file in the playing process of multimedia file, is sent to the earphone of terminal;
Receive the sounding instruction of the speaker to described terminal, described sounding instruction is touched by opening option to speaker Send out;
Continue to send the audio signal of described multimedia file to described earphone, and send described many matchmakers to described speaker The audio signal of body file.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of the audio frequency playing method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the audio frequency playing method according to an exemplary embodiment.
Fig. 3 is a kind of audio playing apparatus block diagram according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the audio playing apparatus 400 according to an exemplary embodiment.
Specific embodiment
Purpose, technical scheme and advantage for making the disclosure are clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the audio frequency playing method according to an exemplary embodiment, as shown in figure 1, audio frequency Player method is used in terminal, comprises the following steps.
In a step 101, in the playing process of multimedia file, send described multimedia file to the earphone of terminal Audio signal.
In a step 102, receive the sounding instruction of the speaker to described terminal, described sounding instructs by speaker Open option triggering.
In step 103, continue to send the audio signal of described multimedia file to described earphone, and to described speaker Send the audio signal of described multimedia file.
The method that the embodiment of the present disclosure provides, opens option so that by earphone by providing speaker in terminal While playing audio frequency, also audio frequency can be play by speaker simultaneously, carry when this speaker is opened option and is triggered Supply a kind of broadcast mode of dual broadcasting, greatly strengthen audio frequency result of broadcast.
In a kind of possible implementation, the described earphone to terminal sends the audio signal bags of described multimedia file Include:
If described earphone accesses described terminal by earphone interface in described terminal, by described earphone interface to Described earphone sends the audio signal of described multimedia file;Or,
If described earphone accesses described terminal by bluetooth connection, by the bluetooth connection of foundation to described earphone Send the audio signal of described multimedia file.
In a kind of possible implementation, after the described sounding receiving the speaker to described terminal instructs, described side Method also includes:
Detect whether the volume of described earphone is more than the first predetermined threshold value, if it is greater, then the volume of described earphone is adjusted Whole to the second predetermined threshold value, described first predetermined threshold value is more than described second predetermined threshold value;
The volume of described speaker is adjusted to the 3rd predetermined threshold value, described second predetermined threshold value and the described 3rd presets threshold Value sum is to specify numerical value.
In a kind of possible implementation, after the described sounding receiving the speaker to described terminal instructs, described side Method also includes:According to the wear condition of described earphone, determine the audio pattern that described speaker is adopted when audio frequency is play.
In a kind of possible implementation, the described wear condition according to described earphone, determine described speaker in audio frequency The audio pattern being adopted during broadcasting includes:
When described earphone is worn for monaural, described audio pattern is defined as monophonic mode, described monophonic mode Middle worked sound channel and described earphone to wear side different;Or,
When described earphone is worn for ears, described audio pattern is defined as stereo mode.
Above-mentioned all optional technical schemes, can be using the alternative embodiment arbitrarily combining to form the disclosure, and here is no longer Repeat one by one.
Fig. 2 is a kind of flow chart of the audio frequency playing method according to an exemplary embodiment, as shown in Fig. 2 audio frequency Player method is used in terminal, comprises the following steps.
In step 201, when earphone access terminal is detected, the sounding of terminal mute speaker.
For terminal, in the playing process of any one multimedia file, access eventually without earphone is detected End, then the speaker that can configure into terminal sends the audio signal of multimedia file, so that speaker sounding.And when inspection When measuring earphone access terminal, terminal stops sending audio signal to speaker, that is to say the sounding of mute speaker, under execution State step 202.
The embodiment of the present disclosure is only first passing through speaker generation, then illustrates, certainly, another as a example earphone is accessed In one embodiment or after having earphone to access, terminal just commences play out multimedia file, then now, directly execute step Rapid 202.
In step 202., the sound of this multimedia file in the playing process of multimedia file, is sent to the earphone of terminal Frequency signal.
In actual scene, earphone can pass through different modes access terminal, such as wired mode, and that is, earphone is by earphone On union joint insert terminal on earphone interface, thus realizing earphone access terminal, and for example, earphone is bluetooth ear in itself Machine, then this earphone can be by setting up bluetooth connection between built-in bluetooth module and the bluetooth module of terminal, thus realizing ear Machine access terminal.For the different access way of both, following audio signal sending method can be adopted:
If this earphone of the first sending method accesses this terminal by the earphone interface in this terminal, pass through this ear Machine interface sends the audio signal of this multimedia file to this earphone.
Wherein, the audio signal of multimedia file can be analogue signal, certainly, if earphone interface connects for Type-C Mouthful, this audio signal can also be digital signal.
If this earphone of second sending method accesses this terminal by bluetooth connection, by the bluetooth of foundation even Connect the audio signal sending this multimedia file to this earphone.
For bluetooth connection, the audio signal of this multimedia file can be analogue signal or digital signal, if It is analogue signal, then directly the vibrations of earphone film can be driven come sounding by analogue signal, if digital signal, then earphone First this digital signal can be carried out with digital-to-analogue conversion etc. process, thus carrying out sounding.
By above-mentioned possible implementation, for different earphone connected modes, there is provided different audio signals sends Method, enriches applicable scene.
In step 203, receive the sounding instruction of the speaker to this terminal, this sounding instructs by opening to speaker Option triggers.
For terminal, speaker can be provided in terminal system to open option, or by arbitrary multimedia Apply and provide speaker to open option, with the opening and closing of control terminal speaker, certainly, this unlatching on its application interface Refer to carry out being opened while audio frequency is play in earphone, and this closing then may refer to be closed after speaker is unlocked Close.When closed, earphone may be at access terminal state it is also possible to be in non-access terminal state, the embodiment of the present disclosure pair This is not specifically limited.
Certainly, when speaker is opened option by this speaker and is closed, this multimedia file may be at playing shape State or placed in a suspend state, is also in playing halted state.
In the disclosed embodiments, if receiving the sounding instruction to speaker, speaker can directly adopt current Set volume carries out sounding, however, in order to make audio frequency play reach optimum efficiency, additionally provide a kind of to volume The mode being adjusted, can adjust the volume of earphone and speaker to a harmonious effect, it is to avoid artificial volume Adjustment is so that this audio frequency broadcast mode can reach optimum efficiency.
For example, after the sounding instruction receiving the speaker to this terminal, the method also includes:Detect the sound of this earphone Whether amount is more than the first predetermined threshold value, if it is greater, then the volume of this earphone is adjusted to the second predetermined threshold value, this first is preset Threshold value is more than this second predetermined threshold value;The volume of this speaker is adjusted to the 3rd predetermined threshold value, this second predetermined threshold value and should 3rd predetermined threshold value sum is to specify numerical value.
Wherein, the first predetermined threshold value can be the volume value that a meeting shields external sound, if the volume of earphone is more than This first predetermined threshold value, once then user wears earphone it is likely that external sound cannot be heard, is also just unable to reach by speaker Coordinate sounding to want the effect reaching with earphone, therefore, it can adjust the volume of earphone to the second predetermined threshold value, and opening During dynamic speaker, directly the volume of speaker is adjusted to the 3rd predetermined threshold value the volume cooperation so that this speaker and earphone, Specified numerical value can be reached, thus providing a harmonious audio.
For example it is intended that numerical value is 40 decibels, the first predetermined threshold value is 30 decibels, and the second predetermined threshold value is 25 decibels, then If the volume of current earphone is 35 decibels, adjusted to 25 decibels, with 15 decibels of the 3rd predetermined threshold value of speaker Sound merges, and can reach the audio of harmony.
In another embodiment, because the mode of user's actual wear earphone is possible to difference, for example, someone likes monaural Wear earphone, then in order to provide the audio more meeting its wearing mode, then can be according to the wear condition of this earphone, determining should The audio pattern that speaker is adopted when audio frequency is play.
For example, in a kind of possible implementation, when this earphone is worn for monaural, this audio pattern is defined as monophone Road pattern, the sound channel being worked in this monophonic mode and this earphone to wear side different.In another kind of implementation, when this When earphone is worn for ears, this audio pattern is defined as stereo mode.
Wherein, the concrete wear condition of user can be detected, the embodiment of the present disclosure is not done to this in itself by earphone Concrete restriction.
By above-mentioned possible implementation, actual wear situation that can be according to user to earphone, to adjust further and to raise The audio pattern of sound device is so that this audio frequency broadcast mode can reach optimum efficiency.
In step 204, continue to send the audio signal of this multimedia file to this earphone, and should to the transmission of this speaker The audio signal of multimedia file.
For terminal, the audio signal of multimedia file can be sent respectively so that ear to earphone and speaker Machine and speaker can be simultaneously emitted by sound, to reach the effect that scene is rendered, provide one kind more particularly audiovisual body Test.
In this step, terminal can provide speaker volume adjustment option and earpiece volume adjustment option so that user According to audition demand, the volume of speaker and/or earphone can be adjusted.
It should be noted that the multimedia file involved by the embodiment of the present disclosure can be audio file can also be video File, the embodiment of the present disclosure does not limit to this.
The method that the embodiment of the present disclosure provides, opens option so that by earphone by providing speaker in terminal While playing audio frequency, also audio frequency can be play by speaker simultaneously, carry when this speaker is opened option and is triggered Supply a kind of broadcast mode of dual broadcasting, greatly strengthen audio frequency result of broadcast.
Fig. 3 is a kind of audio playing apparatus block diagram according to an exemplary embodiment.With reference to Fig. 3, this device includes Sending module 301 and receiver module 302.
Sending module 301, for, in the playing process of multimedia file, sending described multimedia literary composition to the earphone of terminal The audio signal of part;
Receiver module 302, for receiving the sounding instruction to the speaker of described terminal, described sounding instruction is by raising Option triggering opened by sound device;
Described sending module 301, for continuing to send the audio signal of described multimedia file to described earphone, and to institute State the audio signal that speaker sends described multimedia file.
For terminal, in the playing process of any one multimedia file, access eventually without earphone is detected End, then the speaker that can configure into terminal sends the audio signal of multimedia file, so that speaker sounding.And when inspection When measuring earphone access terminal, terminal stops sending audio signal to speaker, that is to say the sounding of mute speaker.
For terminal, speaker can be provided in terminal system to open option, or by arbitrary multimedia Apply and provide speaker to open option, with the opening and closing of control terminal speaker, certainly, this unlatching on its application interface Refer to carry out being opened while audio frequency is play in earphone, and this closing then may refer to be closed after speaker is unlocked Close.When closed, earphone may be at access terminal state it is also possible to be in non-access terminal state, the embodiment of the present disclosure pair This is not specifically limited.
Certainly, when speaker is opened option by this speaker and is closed, this multimedia file may be at playing shape State or placed in a suspend state, is also in playing halted state.
For terminal, the audio signal of multimedia file can be sent respectively so that ear to earphone and speaker Machine and speaker can be simultaneously emitted by sound, to reach the effect that scene is rendered, provide one kind more particularly audiovisual body Test.
In a kind of possible implementation, described sending module 301 is used for:
If described earphone accesses described terminal by earphone interface in described terminal, by described earphone interface to Described earphone sends the audio signal of described multimedia file, and wherein, the audio signal of multimedia file can be analogue signal, Certainly, if earphone interface is Type-C interface, this audio signal can also be digital signal;Or,
If described earphone accesses described terminal by bluetooth connection, by the bluetooth connection of foundation to described earphone Send the audio signal of described multimedia file;For bluetooth connection, the audio signal of this multimedia file can be mould Intend signal or digital signal, if analogue signal, then directly the vibrations of earphone film can be driven come sounding by analogue signal, If digital signal, then earphone first can carry out the process such as digital-to-analogue conversion to this digital signal, thus carrying out sounding.
In actual scene, earphone can pass through different modes access terminal, such as wired mode, and that is, earphone is by earphone On union joint insert terminal on earphone interface, thus realizing earphone access terminal, and for example, earphone is bluetooth ear in itself Machine, then this earphone can be by setting up bluetooth connection between built-in bluetooth module and the bluetooth module of terminal, thus realizing ear Machine access terminal.
By above-mentioned possible implementation, for different earphone connected modes, there is provided different audio signals sends Method, enriches applicable scene.
In a kind of possible implementation, if receiving the sounding instruction to speaker, speaker can directly adopt Currently set volume carries out sounding, however, reaching optimum efficiency in order to make audio frequency play, it is a kind of right to additionally provide The mode that volume is adjusted, can adjust the volume of earphone and speaker to a harmonious effect, it is to avoid artificial Volume adjusts so that this audio frequency broadcast mode can reach optimum efficiency.Correspondingly, described device also includes:
Detection module, whether the volume for detecting described earphone is more than the first predetermined threshold value;
Adjusting module, if the volume for described earphone is more than the first predetermined threshold value, the volume of described earphone is adjusted Whole to the second predetermined threshold value, described first predetermined threshold value is more than described second predetermined threshold value;
Described adjusting module is additionally operable to adjust the volume of described speaker to the 3rd predetermined threshold value, the described second default threshold Value and described 3rd predetermined threshold value sum are to specify numerical value.
Wherein, the first predetermined threshold value can be the volume value that a meeting shields external sound, if the volume of earphone is more than This first predetermined threshold value, once then user wears earphone it is likely that external sound cannot be heard, is also just unable to reach by speaker Coordinate sounding to want the effect reaching with earphone, therefore, it can adjust the volume of earphone to the second predetermined threshold value, and opening During dynamic speaker, directly the volume of speaker is adjusted to the 3rd predetermined threshold value the volume cooperation so that this speaker and earphone, Specified numerical value can be reached, thus providing a harmonious audio.
In a kind of possible implementation, described device also includes:
Audio mode decision module, for the wear condition according to described earphone, determines that described speaker is play in audio frequency When the audio pattern that adopted.
In a kind of possible implementation, described audio mode decision module is used for when described earphone is worn for monaural, Described audio pattern is defined as monophonic mode, the sound channel being worked in described monophonic mode wears side with described earphone Different;Or, when described earphone is worn for ears, described audio pattern is defined as stereo mode.
By above-mentioned possible implementation, actual wear situation that can be according to user to earphone, to adjust further and to raise The audio pattern of sound device is so that this audio frequency broadcast mode can reach optimum efficiency.
Terminal can provide speaker volume adjustment option and earpiece volume adjustment option so that user can be according to audition Demand, is adjusted to the volume of speaker and/or earphone.
It should be noted that the multimedia file involved by the embodiment of the present disclosure can be audio file can also be video File, the embodiment of the present disclosure does not limit to this.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the audio playing apparatus 400 according to an exemplary embodiment.For example, device 400 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, it is good for Body equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 can include following one or more assemblies:Process assembly 402, memorizer 404, power supply Assembly 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
The integrated operation of the usual control device 400 of process assembly 402, such as with display, call, data communication, phase Machine operation and record operate associated operation.Process assembly 402 can include one or more processors 420 and refer to execute Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more modules, just Interaction between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, many to facilitate Interaction between media component 408 and process assembly 402.
Memorizer 404 is configured to store various types of data to support the operation in device 400.The showing of these data Example includes the instruction for any application program of operation or method on device 400, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 400, the assembly that electric power is associated.
Multimedia groupware 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action Border, but also detection and described touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body assembly 408 includes a front-facing camera and/or post-positioned pick-up head.When device 400 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interface 412 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, for providing the state of various aspects to comment for device 400 Estimate.For example, sensor cluster 414 can detect/the closed mode of opening of equipment 400, and the relative localization of assembly is for example described Assembly is display and the keypad of device 400, and sensor cluster 414 can be with detection means 400 or 400 1 assemblies of device Position change, user is presence or absence of with what device 400 contacted, device 400 orientation or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, is configured to the detection when not having any physical contact The presence of object nearby.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for becoming Use as in application.In certain embodiments, this sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 416 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, described communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example As, RF identification (RFID) technology can be based in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 404 instructing, above-mentioned instruction can be executed by the processor 420 of device 400 to complete said method.For example, Described non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In the exemplary embodiment, additionally provide a kind of non-transitorycomputer readable storage medium, when described storage is situated between In matter instruction by mobile terminal computing device when so that mobile terminal is able to carry out the sound that above-mentioned Fig. 1 or Fig. 2 is provided Frequency player method.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (11)

1. a kind of audio frequency playing method is it is characterised in that methods described includes:
The audio signal of described multimedia file in the playing process of multimedia file, is sent to the earphone of terminal;
Receive the sounding instruction of the speaker to described terminal, described sounding instruction by opening option triggering to speaker;
Continue to send the audio signal of described multimedia file to described earphone, and send described multimedia literary composition to described speaker The audio signal of part.
2. method according to claim 1 is it is characterised in that the described earphone to terminal sends described multimedia file Audio signal includes:
If described earphone accesses described terminal by earphone interface in described terminal, by described earphone interface to described Earphone sends the audio signal of described multimedia file;Or,
If described earphone accesses described terminal by bluetooth connection, sent to described earphone by the bluetooth connection of foundation The audio signal of described multimedia file.
3. method according to claim 1 is it is characterised in that the sounding of the speaker to described terminal for the described reception instructs Afterwards, methods described also includes:
Detect that whether the volume of described earphone is more than the first predetermined threshold value, if it is greater, then by the volume of described earphone adjust to Second predetermined threshold value, described first predetermined threshold value is more than described second predetermined threshold value;
The volume of described speaker is adjusted to the 3rd predetermined threshold value, described second predetermined threshold value and described 3rd predetermined threshold value it With for specify numerical value.
4. method according to claim 1 is it is characterised in that the sounding of the speaker to described terminal for the described reception instructs Afterwards, methods described also includes:
According to the wear condition of described earphone, determine the audio pattern that described speaker is adopted when audio frequency is play.
5. method according to claim 1, it is characterised in that the described wear condition according to described earphone, determines described The audio pattern that speaker is adopted when audio frequency is play includes:
When described earphone is worn for monaural, described audio pattern is defined as monophonic mode, institute in described monophonic mode Sound channel and the described earphone of work to wear side different;Or,
When described earphone is worn for ears, described audio pattern is defined as stereo mode.
6. a kind of audio playing apparatus are it is characterised in that described device includes:
Sending module, for, in the playing process of multimedia file, sending the sound of described multimedia file to the earphone of terminal Frequency signal;
Receiver module, for receiving the sounding instruction of the speaker to described terminal, described sounding instructs by opening to speaker Open option triggering;
Described sending module, for continuing to send the audio signal of described multimedia file to described earphone, and raises one's voice to described Device sends the audio signal of described multimedia file.
7. device according to claim 6 is it is characterised in that described sending module is used for:
If described earphone accesses described terminal by earphone interface in described terminal, by described earphone interface to described Earphone sends the audio signal of described multimedia file;Or,
If described earphone accesses described terminal by bluetooth connection, sent to described earphone by the bluetooth connection of foundation The audio signal of described multimedia file.
8. device according to claim 6 is it is characterised in that described device also includes:
Detection module, whether the volume for detecting described earphone is more than the first predetermined threshold value;
Adjusting module, if for described earphone volume be more than the first predetermined threshold value, by the volume of described earphone adjust to Second predetermined threshold value, described first predetermined threshold value is more than described second predetermined threshold value;
Described adjusting module is additionally operable to adjust the volume of described speaker to the 3rd predetermined threshold value, described second predetermined threshold value and Described 3rd predetermined threshold value sum is to specify numerical value.
9. device according to claim 6 is it is characterised in that described device also includes:
Audio mode decision module, for the wear condition according to described earphone, determines that described speaker plays when institute in audio frequency Using audio pattern.
10. device according to claim 6 is it is characterised in that described audio mode decision module is used for when described earphone When wearing for monaural, described audio pattern is defined as monophonic mode, the sound channel being worked in described monophonic mode and institute That states earphone wears side difference;Or, when described earphone is worn for ears, described audio pattern is defined as stereo mode.
A kind of 11. audio playing apparatus are it is characterised in that include:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, described processor is configured to:
The audio signal of described multimedia file in the playing process of multimedia file, is sent to the earphone of terminal;
Receive the sounding instruction of the speaker to described terminal, described sounding instruction by opening option triggering to speaker;
Continue to send the audio signal of described multimedia file to described earphone, and send described multimedia literary composition to described speaker The audio signal of part.
CN201610875672.6A 2016-09-30 2016-09-30 Audio playing method and device Active CN106454644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875672.6A CN106454644B (en) 2016-09-30 2016-09-30 Audio playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875672.6A CN106454644B (en) 2016-09-30 2016-09-30 Audio playing method and device

Publications (2)

Publication Number Publication Date
CN106454644A true CN106454644A (en) 2017-02-22
CN106454644B CN106454644B (en) 2020-09-04

Family

ID=58172897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875672.6A Active CN106454644B (en) 2016-09-30 2016-09-30 Audio playing method and device

Country Status (1)

Country Link
CN (1) CN106454644B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775571A (en) * 2017-03-21 2017-05-31 北京小米移动软件有限公司 Audio frequency playing method and device
CN107147780A (en) * 2017-04-26 2017-09-08 维沃移动通信有限公司 A kind of method for controlling audio frequency of mobile terminal to export and mobile terminal
CN107179893A (en) * 2017-05-18 2017-09-19 努比亚技术有限公司 A kind of audio output control method, equipment and computer-readable recording medium
CN107864422A (en) * 2017-09-26 2018-03-30 捷开通讯(深圳)有限公司 Playback equipment and the player method based on playback equipment
CN109714487A (en) * 2019-01-25 2019-05-03 合肥星空物联信息科技有限公司 A kind of method that more equipment play audio simultaneously
CN112291597A (en) * 2019-07-22 2021-01-29 苹果公司 Modifying and transferring audio between devices
CN112991845A (en) * 2020-07-20 2021-06-18 律世刚 Foreign language learning device
CN114567840A (en) * 2020-11-27 2022-05-31 北京小米移动软件有限公司 Audio output method and device, mobile terminal and storage medium
CN116761156A (en) * 2023-08-23 2023-09-15 腾讯科技(深圳)有限公司 Audio processing method, device, storage medium and electronic equipment

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1275301A (en) * 1998-07-09 2000-11-29 索尼公司 Audio signal processor and audio device
CN2726214Y (en) * 2004-06-10 2005-09-14 瑞轩科技股份有限公司 Sound player with volume control module
CN101410900A (en) * 2006-03-24 2009-04-15 皇家飞利浦电子股份有限公司 Device for and method of processing data for a wearable apparatus
CN101594422A (en) * 2008-05-28 2009-12-02 鸿富锦精密工业(深圳)有限公司 Can select the portable terminal of audio signal output mode
US20110170703A1 (en) * 2010-01-11 2011-07-14 Dennis Palma Audio Player Headset Earhook Apparatus and System Thereof
CN102325216A (en) * 2011-06-29 2012-01-18 惠州Tcl移动通信有限公司 Mobile communication equipment and volume control method thereof
CN102340589A (en) * 2010-07-27 2012-02-01 上海闻泰电子科技有限公司 Mobile phone with FM (frequency modulation) multi-channel playback function and FM multi-channel playback method
CN102572635A (en) * 2012-01-29 2012-07-11 华为终端有限公司 Earphone, terminal and method capable of switching earphone modes
CN102651834A (en) * 2011-02-25 2012-08-29 比亚迪股份有限公司 Mobile terminal and sound output method thereof
CN202737967U (en) * 2012-03-07 2013-02-13 深圳市福智软件技术有限公司 Multi-decoder audio system and mobile equipment including the audio system
CN103037282A (en) * 2012-11-29 2013-04-10 深圳Tcl新技术有限公司 Wireless speaker box system
CN103237277A (en) * 2013-04-12 2013-08-07 广东欧珀移动通信有限公司 Method and device for headset audio playing
CN103533497A (en) * 2013-10-09 2014-01-22 上海斐讯数据通信技术有限公司 Sound channel switching device and sound channel switching method of stereo playing system
CN104254040A (en) * 2013-06-28 2014-12-31 深圳富泰宏精密工业有限公司 Audio switching system of mobile communication terminal
CN104683917A (en) * 2015-01-27 2015-06-03 上海闻泰电子科技有限公司 Audio control method for mobilephone
CN105430569A (en) * 2015-12-31 2016-03-23 宇龙计算机通信科技(深圳)有限公司 Playing method, playing device and terminal
CN105491469A (en) * 2014-09-15 2016-04-13 Tcl集团股份有限公司 Method and system for controlling audio output mode based on wearing earphone state

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1275301A (en) * 1998-07-09 2000-11-29 索尼公司 Audio signal processor and audio device
CN2726214Y (en) * 2004-06-10 2005-09-14 瑞轩科技股份有限公司 Sound player with volume control module
CN101410900A (en) * 2006-03-24 2009-04-15 皇家飞利浦电子股份有限公司 Device for and method of processing data for a wearable apparatus
CN101594422A (en) * 2008-05-28 2009-12-02 鸿富锦精密工业(深圳)有限公司 Can select the portable terminal of audio signal output mode
US20110170703A1 (en) * 2010-01-11 2011-07-14 Dennis Palma Audio Player Headset Earhook Apparatus and System Thereof
CN102340589A (en) * 2010-07-27 2012-02-01 上海闻泰电子科技有限公司 Mobile phone with FM (frequency modulation) multi-channel playback function and FM multi-channel playback method
CN102651834A (en) * 2011-02-25 2012-08-29 比亚迪股份有限公司 Mobile terminal and sound output method thereof
CN102325216A (en) * 2011-06-29 2012-01-18 惠州Tcl移动通信有限公司 Mobile communication equipment and volume control method thereof
CN102572635A (en) * 2012-01-29 2012-07-11 华为终端有限公司 Earphone, terminal and method capable of switching earphone modes
CN202737967U (en) * 2012-03-07 2013-02-13 深圳市福智软件技术有限公司 Multi-decoder audio system and mobile equipment including the audio system
CN103037282A (en) * 2012-11-29 2013-04-10 深圳Tcl新技术有限公司 Wireless speaker box system
CN103237277A (en) * 2013-04-12 2013-08-07 广东欧珀移动通信有限公司 Method and device for headset audio playing
CN104254040A (en) * 2013-06-28 2014-12-31 深圳富泰宏精密工业有限公司 Audio switching system of mobile communication terminal
CN103533497A (en) * 2013-10-09 2014-01-22 上海斐讯数据通信技术有限公司 Sound channel switching device and sound channel switching method of stereo playing system
CN105491469A (en) * 2014-09-15 2016-04-13 Tcl集团股份有限公司 Method and system for controlling audio output mode based on wearing earphone state
CN104683917A (en) * 2015-01-27 2015-06-03 上海闻泰电子科技有限公司 Audio control method for mobilephone
CN105430569A (en) * 2015-12-31 2016-03-23 宇龙计算机通信科技(深圳)有限公司 Playing method, playing device and terminal

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775571A (en) * 2017-03-21 2017-05-31 北京小米移动软件有限公司 Audio frequency playing method and device
CN107147780A (en) * 2017-04-26 2017-09-08 维沃移动通信有限公司 A kind of method for controlling audio frequency of mobile terminal to export and mobile terminal
CN107179893A (en) * 2017-05-18 2017-09-19 努比亚技术有限公司 A kind of audio output control method, equipment and computer-readable recording medium
US11166103B2 (en) 2017-09-26 2021-11-02 Huizhou Tcl Mobile Communication Co., Ltd. Playing device and playing method based on playing device
CN107864422A (en) * 2017-09-26 2018-03-30 捷开通讯(深圳)有限公司 Playback equipment and the player method based on playback equipment
WO2019062717A1 (en) * 2017-09-26 2019-04-04 惠州Tcl移动通信有限公司 Playback device, and plaback method based on playback device
CN109714487A (en) * 2019-01-25 2019-05-03 合肥星空物联信息科技有限公司 A kind of method that more equipment play audio simultaneously
CN112291597A (en) * 2019-07-22 2021-01-29 苹果公司 Modifying and transferring audio between devices
US11653148B2 (en) 2019-07-22 2023-05-16 Apple Inc. Modifying and transferring audio between devices
CN112991845A (en) * 2020-07-20 2021-06-18 律世刚 Foreign language learning device
CN114567840A (en) * 2020-11-27 2022-05-31 北京小米移动软件有限公司 Audio output method and device, mobile terminal and storage medium
CN114567840B (en) * 2020-11-27 2024-02-06 北京小米移动软件有限公司 Audio output method and device, mobile terminal and storage medium
CN116761156A (en) * 2023-08-23 2023-09-15 腾讯科技(深圳)有限公司 Audio processing method, device, storage medium and electronic equipment
CN116761156B (en) * 2023-08-23 2023-11-14 腾讯科技(深圳)有限公司 Audio processing method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106454644B (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN106454644A (en) Audio playing method and device
CN105262452A (en) Method and apparatus for adjusting volume, and terminal
CN105451111A (en) Earphone play control method and apparatus and terminal
CN104902059A (en) Call reminding method and device
CN107493500A (en) Multimedia resource player method and device
CN106161781A (en) Method for regulation of sound volume and device
CN105138319A (en) Event reminding method and apparatus
CN104021148A (en) Method and device for adjusting sound effect
CN106941635B (en) Speaker connection method and device
CN108549529A (en) Control the method and device of audio output
CN104935729B (en) Audio-frequency inputting method and device
CN105391477A (en) A communication method and device between bluetooth devices
CN107682538A (en) The display methods and device of application interface
CN108845787A (en) Method, apparatus, terminal and the storage medium that audio is adjusted
CN105101013A (en) Method and device for playing voice signals
CN106303896A (en) The method and apparatus playing audio frequency
CN106454684A (en) Multimedia playing control method and device
CN104682908A (en) Method and device for controlling volume
CN106451824A (en) Bluetooth earphone charging method, Bluetooth earphone charging device and Bluetooth earphone
CN104599691B (en) Audio frequency playing method and device
CN104464764B (en) Audio data play method and device
CN106375846A (en) Method and device for processing live audio
CN105635916A (en) Audio processing method and apparatus
CN104794074A (en) External connection device identification method and device
CN105185396A (en) Method and device for playing audio signal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant