WO2022141244A1 - Audio file processing method and apparatus, and bone conduction device - Google Patents

Audio file processing method and apparatus, and bone conduction device Download PDF

Info

Publication number
WO2022141244A1
WO2022141244A1 PCT/CN2020/141606 CN2020141606W WO2022141244A1 WO 2022141244 A1 WO2022141244 A1 WO 2022141244A1 CN 2020141606 W CN2020141606 W CN 2020141606W WO 2022141244 A1 WO2022141244 A1 WO 2022141244A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
audio signal
audio file
component
invalid
Prior art date
Application number
PCT/CN2020/141606
Other languages
French (fr)
Chinese (zh)
Inventor
马雷
李琨
张米乐
赵佑铭
Original Assignee
雷铭科技有限公司
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 雷铭科技有限公司 filed Critical 雷铭科技有限公司
Priority to CN202080107206.8A priority Critical patent/CN116472722A/en
Priority to PCT/CN2020/141606 priority patent/WO2022141244A1/en
Publication of WO2022141244A1 publication Critical patent/WO2022141244A1/en

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers

Definitions

  • the present application relates to the technical field of audio playback, and in particular, to a method, device and bone conduction device for processing audio files.
  • audio playback equipment has developed from traditional air conduction playback equipment to the latest bone conduction equipment.
  • Both air conduction devices and bone conduction devices rely on vibration for sound transmission.
  • the air conduction playback device converts the vibration of the horn vibrator into the vibration of the air, and then vibrates the eardrum of the ear to make people think that the sound is heard.
  • Bone conduction devices use bone as a medium to transmit vibrations to the auditory nerve through the cheekbones or jawbone, making people think that sound is heard.
  • Embodiments of the present application provide an audio file processing method, device, and bone conduction device, so as to solve the problem of high power consumption of the bone conduction device in the prior art.
  • an embodiment of the present application provides a method for processing an audio file, the method comprising:
  • a second audio file to be played is generated.
  • described filtering the invalid components of the first audio signal in the first audio file to generate the second audio signal including:
  • Invalid components of the first audio signal are removed from the first audio signal to generate the second audio signal.
  • the invalid component includes a DC component.
  • the method further includes:
  • the second audio file is sent to a bone conduction component for playing the second audio file using bone as a medium.
  • an embodiment of the present application provides a method for processing an audio file, the method comprising:
  • Audio playback is performed under the driving of the second audio signal.
  • the filtering of invalid components of the first audio signal in the first audio file to generate the second audio signal includes:
  • Invalid components of the first audio signal are removed from the first audio signal to generate the second audio signal.
  • the invalid component includes a DC component.
  • an apparatus for processing audio files including:
  • an acquisition module for acquiring the first audio file to be processed
  • a filtering module configured to filter invalid components of the first audio signal in the first audio file, and generate a second audio signal to be played, where the invalid components are components in the first audio signal that cannot drive the vibration of the sound-emitting element ;
  • a generating module configured to generate a second audio file according to the second audio signal.
  • the filtering module is specifically configured to perform spectrum calculation on the first audio signal to determine invalid components of the first audio signal; The invalid component of the first audio signal generates the second audio signal.
  • the invalid component includes a DC component.
  • the device further includes:
  • a sending module configured to send the second audio file to a bone conduction component, where the bone conduction component is used to play the second audio file using bone as a medium.
  • an apparatus for processing audio files including:
  • an acquisition module for acquiring the first audio file to be processed
  • a filtering module configured to filter the invalid component of the first audio signal in the first audio file, and generate a second audio signal, where the invalid component is a component in the first audio signal that cannot drive the sound-emitting element to vibrate;
  • a playing module is used to play audio under the driving of the second audio signal.
  • the filtering module is specifically configured to perform spectrum calculation on the first audio signal to determine invalid components of the first audio signal; The invalid component of the first audio signal generates the second audio signal.
  • the invalid component includes a DC component.
  • an embodiment of the present application provides a bone conduction device, including: an audio playback circuit, an audio processing circuit, and a bone conduction component;
  • the audio processing circuit is respectively connected with the audio playback circuit and the bone conduction component;
  • the audio playback circuit is used to convert the target audio file to be processed into a first audio signal
  • the audio processing circuit is used to filter invalid components in the first audio signal to generate a second audio signal to be played, and the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate;
  • the bone conduction component is used for audio playback using bone as a medium under the driving of the second audio signal.
  • the audio processing circuit includes a filter element, and the filter element is used to remove invalid components in the first audio signal;
  • the audio processing circuit includes a chip, and the chip is configured to:
  • the filter element includes at least one of the following: a filter, a filter inductor, and a filter capacitor.
  • the target audio file includes a first audio file or a second audio file
  • the second audio file is a terminal device that removes invalid components of the first audio signal in the first audio file. generated audio files.
  • the bone conduction assembly includes a voice coil magnet and a piezoelectric ceramic vibrating piece;
  • the voice coil magnet is used for generating electromagnetic force under the driving of the second audio signal to vibrate the piezoelectric ceramic vibrating piece, so as to use bone as a medium for audio playback.
  • the invalid component includes a DC component.
  • a computer program product includes computer instructions that, when executed by a processor, implement the method of any one of the first aspects.
  • an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
  • an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .
  • a first audio file to be processed is obtained first, and then invalid components of the first audio signal in the first audio file are filtered to generate a second audio signal,
  • the invalid component is the component in the first audio signal that cannot drive the sound-generating element to vibrate.
  • a second audio file is generated. In this way, invalid components in the to-be-processed first audio file can be removed, thereby avoiding the power consumption of invalid components and reducing the power consumption of the bone conduction device.
  • FIG. 1 is a schematic diagram of a vibration element of a bone conduction device provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a vibrating element of another bone conduction device according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an audio file processing method provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for processing an audio file provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a first audio signal provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a second audio signal provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another audio file processing method provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an apparatus for processing an audio file according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another audio file processing apparatus provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a bone conduction device according to an embodiment of the application.
  • FIG. 11 is a schematic diagram of an audio processing circuit provided by an embodiment of the application.
  • FIG. 12 is a schematic diagram of a comparison between a first audio signal and a second audio signal according to an embodiment of the present application.
  • the size of the sequence numbers of each process does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present invention. Implementation constitutes any limitation.
  • B corresponding to A means that B is associated with A, and B can be determined according to A. Determining B based on A does not mean determining B based only on A, but also determining B based on A and/or other information.
  • audio playback equipment has developed from traditional air conduction playback equipment to the latest bone conduction equipment.
  • Both air conduction devices and bone conduction devices rely on vibration for sound transmission.
  • the air conduction playback device converts the vibration of the horn vibrator into the vibration of the air, and then vibrates the eardrum of the ear to make people think that the sound is heard.
  • Bone conduction devices use bone as a medium to transmit vibrations to the auditory nerve through the cheekbones or jawbone, making people think that sound is heard.
  • FIG. 1 is a schematic diagram of a vibration element of a bone conduction device according to an embodiment of the present application.
  • the vibrating element does not have the driving force generated by the current passing through the driving element. At this time, the vibrating element will be in a structurally balanced position.
  • the vibration stroke can be guaranteed to be the maximum vibration stroke S1 as shown in Figure 1.
  • FIG. 2 is a schematic diagram of a vibrating element of another bone conduction device according to an embodiment of the present application.
  • the invalid component will generate electromagnetic force through driving elements such as coils, and the driving vibration element will be in a deviated position for a long time, but cannot be in a balanced position, thus causing the vibration of the vibrator such as the magnet.
  • the vibration stroke becomes smaller, so that the vibration stroke S2 in FIG. 2 is significantly smaller than the vibration stroke S1 in FIG. 1 , causing the vibration element of the bone conduction device to easily collide with other elements when the volume increases.
  • the embodiments of the present application provide an audio file processing method, device, and bone conduction device.
  • the power consumption caused by the loss of the invalid components is avoided.
  • the power consumption of the bone conduction device is reduced.
  • the collision probability between the vibration element of the bone conduction device and other elements is also reduced, and the vibration performance of the bone conduction device is improved.
  • FIG. 3 is a schematic diagram of an audio file processing method provided by an embodiment of the present application.
  • the terminal device 101 interacts with the bone conduction device 102 .
  • the terminal device 101 may first process the first audio file to filter invalid components of the first audio signal in the first audio file. Subsequently, the terminal device 101 may send the processed first audio file to the bone conduction device 102, and the bone conduction device 102 will play it.
  • the bone conduction device 102 may also filter invalid components of the first audio signal in the processed first audio file again.
  • the terminal device 101 may be a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, an industrial control Wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, smart home in the wireless terminal, etc.
  • a device for implementing a function of a terminal may be a terminal, or a device capable of supporting the terminal to implement the function, such as a chip system, and the device may be installed in the terminal.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • This embodiment of the present application does not limit the type of the bone conduction device 102 , which may include, for example, a bone conduction lollipop, a bone conduction hearing aid, and the like.
  • processing apparatus for audio files can be implemented by the processing apparatus for audio files provided in the embodiments of the present application, and the processing apparatus for audio files can be part or all of a certain device, such as bone conduction equipment, bone conduction equipment. Chips, terminal equipment, processors of terminal equipment, etc.
  • FIG. 4 is a schematic flowchart of an audio file processing method provided by an embodiment of the present application.
  • the execution subject of the audio file processing method is a terminal device, and the embodiment of the present application relates to how the terminal device processes the first audio file before sending the to-be-processed first audio file to the bone conduction device for playback the process of.
  • the processing method of the audio file mainly includes steps S201 to S204, and the details are as follows:
  • the terminal device acquires the first audio file to be processed.
  • the bone conduction device before playing the first audio file, the bone conduction device may use the terminal device to obtain the first audio file to be processed, and the terminal device may process the first audio file.
  • the embodiment of the present application does not limit the format of the first audio file, which may include the Moving Picture Experts Group Audio Layer III (MP3) format, the Moving Picture Experts Group (MPEG) ) format, Microsoft audio format (Windows Media Audio, WMA), etc.
  • MP3 Moving Picture Experts Group Audio Layer III
  • MPEG Moving Picture Experts Group
  • WMA Windows Media Audio
  • the terminal device filters invalid components of the first audio signal in the first audio file to generate a second audio signal, where the invalid components are components of the first audio signal that cannot drive the sound-emitting element to vibrate.
  • the terminal device may use audio editing software to filter invalid components of the first audio signal in the first audio file to generate the second audio signal.
  • the terminal device may first perform spectrum calculation on the first audio signal to determine invalid components of the first audio signal. Subsequently, the terminal device removes invalid components of the first audio signal from the first audio signal to generate a second audio signal.
  • the invalid components may include DC components.
  • the frequency of the first audio signal can be calculated by the spectral calculation. Since the frequency of the invalid components such as the DC component in the first audio signal is relatively low, the frequency of the effective component in the first audio signal is relatively high. Therefore, invalid components can be determined from the first signal by calculating the frequency of the first signal, and then the invalid components are removed from the first audio signal to generate a second spectral signal containing only valid components of the first audio signal .
  • the effective component may be an AC component.
  • FIG. 5 is a schematic diagram of a first audio signal provided by an embodiment of the present application
  • FIG. 6 is a schematic diagram of a second audio signal provided by an embodiment of the present application.
  • the DC component will increase the power consumption of the bone conduction device and reduce the vibration performance of the bone conduction device.
  • a second audio signal as shown in FIG. 6 may be generated. Since the second audio signal shown in FIG. 6 is substantially the same in waveform as the first audio signal shown in FIG. 5 , it is ensured that the second audio signal and the first audio signal are audibly substantially the same when playing.
  • the second audio signal shown in FIG. 6 does not have a DC component, the power consumption of the bone conduction device can be reduced and the vibration performance of the bone conduction device can be improved, thereby improving user experience.
  • the terminal device generates a second audio file to be played according to the second audio signal.
  • the terminal device may generate the second audio file according to the second audio signal.
  • the embodiment of the present application does not limit how to regenerate the second audio file from the second audio signal, which can be implemented by audio editing software, for example.
  • the terminal device sends the second audio file to the bone conduction component, and the bone conduction component is used to play the second audio file using bone as a medium.
  • this embodiment of the present application does not limit how to send the second audio file to the bone conduction component.
  • the terminal device may send the second audio file to the memory of the bone conduction device. Subsequently, when playing is required, the bone conduction device can extract the second audio file from the memory for playing.
  • the terminal device can also send the second audio file to the audio playback circuit of the bone conduction device without sending the second audio file to the memory of the bone conduction device through wireless or wired means, so that The bone conduction device directly plays the second audio file, so as to achieve the purpose of reducing the power consumption of the bone conduction sounding device and improving the vibration performance.
  • the terminal device first obtains the first audio file to be processed, and then the terminal device filters the invalid component of the first audio signal in the first audio file to generate the second audio signal, the invalid component It is the component of the first audio signal that cannot drive the vibration of the sound-emitting element. Finally, the terminal device generates a second audio file according to the second audio signal. In this way, invalid components in the to-be-processed first audio file can be removed, thereby avoiding the power consumption of invalid components and reducing the power consumption of the bone conduction device.
  • FIG. 7 is a schematic flowchart of another audio file processing method provided by an embodiment of the present application.
  • the processing method of the audio file mainly includes steps S301 to S303, and the details are as follows:
  • the bone conduction device acquires a first audio file to be processed.
  • the bone conduction device filters invalid components of the first audio signal in the first audio file to generate a second audio signal, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate.
  • S301-S302 can be understood with reference to S201-S202 shown in FIG. 5 , and repeated content will not be repeated here.
  • the bone conduction device performs audio playback under the driving of the second audio signal.
  • the bone conduction device can use the chip analysis method, and the program in the chip of the bone conduction device can determine the DC component of the first audio signal through spectrum analysis, remove the DC component in the first audio signal, and re- A second audio signal is generated. Finally, audio playback is performed by the bone conduction device directly driven by the second audio signal, so as to reduce the power consumption of the bone conduction sound device and improve the vibration performance.
  • FIG. 8 is a schematic structural diagram of an apparatus for processing an audio file according to an embodiment of the present application.
  • the audio file processing apparatus may be implemented by software, hardware, or a combination of the two, such as the above-mentioned terminal equipment, and the audio file processing apparatus is used to execute the audio file processing method in the foregoing embodiment.
  • the audio file processing apparatus 400 includes: an acquiring module 401 , a filtering module 402 , a generating module 403 and a sending module 404 .
  • Obtaining module 401 for obtaining the first audio file to be processed
  • the filtering module 402 is used to filter the invalid component of the first audio signal in the first audio file to generate the second audio signal, and the invalid component is the component that cannot drive the vibration of the sound-emitting element in the first audio signal;
  • the generating module 403 is configured to generate a second audio file to be played according to the second audio signal.
  • the filtering module 402 is specifically configured to perform spectrum calculation on the first audio signal to determine the invalid component of the first audio signal; remove the invalid component of the first audio signal from the first audio signal, and generate a the second audio signal.
  • the invalid component includes a DC component.
  • the device further includes:
  • the sending module 404 is used for sending the second audio file to the bone conduction component, and the bone conduction component is used for playing the second audio file using bone as a medium.
  • the actions of the audio file processing method in the above-mentioned embodiment can be performed, and the implementation principle and technical effect thereof are similar, and are not repeated here.
  • FIG. 9 is a schematic structural diagram of another audio file processing apparatus according to an embodiment of the present application.
  • the audio file processing apparatus can be implemented by software, hardware, or a combination of the two, such as the above-mentioned bone conduction equipment, and the audio file processing apparatus is used to execute the audio file processing method in the above embodiment.
  • the audio file processing apparatus 500 includes: an acquiring module 501 , a filtering module 502 and a playing module 503 .
  • Obtaining module 501 for obtaining the first audio file to be processed
  • the filtering module 502 is used to filter the invalid component of the first audio signal in the first audio file, and generate the second audio signal, and the invalid component is the component that cannot drive the sound-emitting element to vibrate in the first audio signal;
  • the playback module 503 is configured to perform audio playback under the driving of the second audio signal.
  • the filtering module 502 is specifically configured to perform spectrum calculation on the first audio signal to determine the invalid component of the first audio signal; remove the invalid component of the first audio signal from the first audio signal, and generate a the second audio signal.
  • the invalid component includes a DC component.
  • the actions of the audio file processing method in the above-mentioned embodiment can be performed, and the implementation principle and technical effect thereof are similar, and are not repeated here.
  • the audio file processing apparatus when the audio file processing apparatus provided in the above embodiment executes the audio file processing method, only the division of the above functional modules is used as an example for illustration.
  • the functional modules of the device are completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the audio file processing apparatus and the audio file processing method embodiments provided in the above-mentioned embodiments belong to the same concept, and the implementation process of the embodiment is described in the method embodiments, which will not be repeated here.
  • FIG. 10 is a schematic structural diagram of a bone conduction device provided by an embodiment of the present application.
  • the bone conduction device includes an audio playback circuit 601 , an audio processing circuit 602 , and a bone conduction component 603 .
  • the audio processing circuit 602 is respectively connected to the audio playback circuit 601 and the bone conduction component 603 .
  • the audio playing circuit 601 is used for converting the target audio file to be processed into a first audio signal. It should be understood that converting the target audio file into the first audio signal can be understood as converting the data of the target audio file into an electrical signal of the first audio signal.
  • the target audio file includes a first audio file or a second audio file
  • the second audio file is an audio file generated by the terminal device after removing invalid components of the first audio signal in the first audio file.
  • the audio processing circuit 602 is used for filtering invalid components in the first audio signal to generate a second audio signal to be played, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate.
  • the invalid components include DC components.
  • the audio processing circuit includes a filter element for removing ineffective components in the first audio signal.
  • the audio processing circuit includes a chip, and the chip is configured to: filter an invalid component of the first audio signal in the target audio file to generate a second audio signal, where the invalid component is that the sound element cannot be driven in the first audio signal component of vibration.
  • the audio processing circuit in this embodiment of the present application may only use filter elements to filter invalid components, or may only use chips to filter invalid components, and may also use both filter elements and chips to filter invalid components. filtering, which is not limited in this embodiment of the present application.
  • FIG. 11 is a schematic diagram of an audio processing circuit provided by an embodiment of the present application
  • FIG. 12 is a schematic diagram of a comparison of a first audio signal and a second audio signal provided by an embodiment of the present application.
  • the audio processing circuit filters out the DC component in the first audio signal with the DC component through the filter element, thereby generating the second audio signal without the DC component.
  • the waveforms of the first audio signal and the second audio signal are shown in FIG. 12 .
  • the filter element includes at least one of the following: a filter, a filter inductor, and a filter capacitor.
  • the bone conduction component 603 is used for playing the processed first audio signal by using the bone as a medium under the driving of the second audio signal.
  • the bone conduction assembly 603 includes a voice coil magnet and a piezoelectric ceramic vibrating plate;
  • the voice coil magnet is used to generate electromagnetic force under the driving of the second audio signal to vibrate the piezoelectric ceramic vibrating piece, so as to use the bone as a medium for audio playback.
  • the DC component can be removed by the filter element in the audio processing circuit, so that the high-frequency audio AC signal can be transmitted to the bone conduction component through the audio processing circuit, and the low-frequency DC signal will be filtered out. It cannot be transmitted to the bone conduction component to achieve the purpose of reducing the power consumption of the bone conduction sounding device and improving the vibration performance.
  • the audio file processing method and the filtering of the first audio file by the bone conduction device provided in the above embodiments can be combined with each other. Two possible combinations are provided below.
  • the bone conduction device when the bone conduction device receives the target audio file to be processed, it can simultaneously use the algorithm corresponding to the processing method of the audio file in the chip and the filter element in the audio processing circuit to perform the first step in the target audio file.
  • the invalid components of the audio signal are filtered, thereby improving the filtering effect of the invalid components.
  • the terminal device can first use the audio editing software corresponding to the audio file processing method to filter the invalid components of the first audio signal in the first audio file, and then send it to the bone conduction device. Subsequently, the chip in the bone conduction device can use the algorithm corresponding to the audio file processing method to filter the invalid components of the first audio signal again, thereby improving the filtering effect of the invalid components.
  • An embodiment of the present application further provides a chip, including a processor and an interface.
  • the interface is used to input and output data or instructions processed by the processor.
  • the processor is configured to execute the methods provided in the above method embodiments.
  • the present invention also provides a computer-readable storage medium
  • the computer-readable storage medium may include: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory) ), a magnetic disk or an optical disk and other media that can store program codes.
  • the computer-readable storage medium stores program information, and the program information is used in the above method.
  • the embodiment of the present application further provides a program, which is used to execute the method provided by the above method embodiments when the program is executed by the processor.
  • Embodiments of the present application further provide a program product, such as a computer-readable storage medium, where instructions are stored in the program product, and when the program product runs on a computer, the computer executes the method provided by the above method embodiments.
  • a program product such as a computer-readable storage medium
  • a computer program product includes one or more computer instructions.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • Computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center via wired (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) means to transmit to another website site, computer, server or data center.
  • the computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server, a data center, or the like that includes one or more available media integrated.
  • Useful media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Details Of Audible-Bandwidth Transducers (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

Disclosed are an audio file processing method and apparatus, and a bone conduction device. The method comprises: acquiring a first audio file to be processed; filtering an invalid component of a first audio signal in the first audio file to generate a second audio signal, wherein the invalid component is a component in the first audio signal that cannot drive a sound producing element to vibrate; and generating a second audio file according to the second audio signal. By means of the method, an invalid component in a first audio file to be processed can be removed, thereby avoiding power loss of the invalid component, and reducing the power consumption of a bone conduction device.

Description

音频文件的处理方法、装置以及骨传导设备Audio file processing method, device and bone conduction device 技术领域technical field
本申请涉及音频播放技术领域,尤其涉及一种音频文件的处理方法、装置以及骨传导设备。The present application relates to the technical field of audio playback, and in particular, to a method, device and bone conduction device for processing audio files.
背景技术Background technique
随着物质生活水品的提高和科技的发展,音频播放设备从传统的气导播放设备,发展为最新出现的骨传导设备。气导播放设备和骨传导设备都是依靠振动进行声音传播的。气导播放设备是将喇叭振子的振动转换成空气的振动,进而振动耳朵的鼓膜使人认为听到了声音。骨传导设备是将骨头作为介质,通过面颊骨或颌骨将振动传播到听觉神经,使人认为听到了声音。With the improvement of material and living water quality and the development of science and technology, audio playback equipment has developed from traditional air conduction playback equipment to the latest bone conduction equipment. Both air conduction devices and bone conduction devices rely on vibration for sound transmission. The air conduction playback device converts the vibration of the horn vibrator into the vibration of the air, and then vibrates the eardrum of the ear to make people think that the sound is heard. Bone conduction devices use bone as a medium to transmit vibrations to the auditory nerve through the cheekbones or jawbone, making people think that sound is heard.
相关技术中,大部分音频文件在录制或者制作的过程中,会在正常音频信号的波形中增加无效分量,该无效分量对声音的呈现没有任何作用,但是会带给骨传导设备造成一定的功耗损失,从而造成骨传导设备的功耗较大。In the related art, during the recording or production process of most audio files, invalid components will be added to the waveform of normal audio signals. loss, resulting in a large power consumption of the bone conduction device.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种音频文件的处理方法、装置以及骨传导设备,以解决现有技术中骨传导设备的功耗较大的问题。Embodiments of the present application provide an audio file processing method, device, and bone conduction device, so as to solve the problem of high power consumption of the bone conduction device in the prior art.
第一方面,本申请实施例提供了一种音频文件的处理方法,所述方法包括:In a first aspect, an embodiment of the present application provides a method for processing an audio file, the method comprising:
获取待处理的第一音频文件;Obtain the first audio file to be processed;
过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;Filtering invalid components of the first audio signal in the first audio file to generate a second audio signal, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate;
根据所述第二音频信号,生成待播放的第二音频文件。According to the second audio signal, a second audio file to be played is generated.
一种可选的实施方式中,所述过滤所述第一音频文件中的第一音频信号 的无效分量,生成第二音频信号,包括:In an optional implementation manner, described filtering the invalid components of the first audio signal in the first audio file to generate the second audio signal, including:
对所述第一音频信号进行频谱计算,确定所述第一音频信号的无效分量;performing spectrum calculation on the first audio signal to determine an invalid component of the first audio signal;
在所述第一音频信号中去除所述第一音频信号的无效分量,生成所述第二音频信号。Invalid components of the first audio signal are removed from the first audio signal to generate the second audio signal.
一种可选的实施方式中,所述无效分量包括直流分量。In an optional implementation manner, the invalid component includes a DC component.
一种可选的实施方式中,在所述根据所述第二音频信号,生成第二音频文件之后,所述方法还包括:In an optional implementation manner, after generating the second audio file according to the second audio signal, the method further includes:
将所述第二音频文件发送给骨传导组件,所述骨传导组件用于使用骨头为介质播放所述第二音频文件。The second audio file is sent to a bone conduction component for playing the second audio file using bone as a medium.
第二方面,本申请实施例提供了一种音频文件的处理方法,所述方法包括:In a second aspect, an embodiment of the present application provides a method for processing an audio file, the method comprising:
获取待处理的第一音频文件;Obtain the first audio file to be processed;
过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;Filtering invalid components of the first audio signal in the first audio file to generate a second audio signal, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate;
在所述第二音频信号的驱动下进行音频播放。Audio playback is performed under the driving of the second audio signal.
一种可选的实施方式中,所述过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,包括:In an optional implementation manner, the filtering of invalid components of the first audio signal in the first audio file to generate the second audio signal includes:
对所述第一音频信号进行频谱计算,确定所述第一音频信号的无效分量;performing spectrum calculation on the first audio signal to determine an invalid component of the first audio signal;
在所述第一音频信号中去除所述第一音频信号的无效分量,生成所述第二音频信号。Invalid components of the first audio signal are removed from the first audio signal to generate the second audio signal.
一种可选的实施方式中,所述无效分量包括直流分量。In an optional implementation manner, the invalid component includes a DC component.
第三方面,本申请实施例提供了一种音频文件的处理装置,包括:In a third aspect, an embodiment of the present application provides an apparatus for processing audio files, including:
获取模块,用于获取待处理的第一音频文件;an acquisition module for acquiring the first audio file to be processed;
过滤模块,用于过滤所述第一音频文件中的第一音频信号的无效分量,生成待播放的第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;A filtering module, configured to filter invalid components of the first audio signal in the first audio file, and generate a second audio signal to be played, where the invalid components are components in the first audio signal that cannot drive the vibration of the sound-emitting element ;
生成模块,用于根据所述第二音频信号,生成第二音频文件。A generating module, configured to generate a second audio file according to the second audio signal.
一种可选的实施方式中,所述过滤模块,具体用于对所述第一音频信号进行频谱计算,确定所述第一音频信号的无效分量;在所述第一音频信号中去除所述第一音频信号的无效分量,生成所述第二音频信号。In an optional implementation manner, the filtering module is specifically configured to perform spectrum calculation on the first audio signal to determine invalid components of the first audio signal; The invalid component of the first audio signal generates the second audio signal.
一种可选的实施方式中,所述无效分量包括直流分量。In an optional implementation manner, the invalid component includes a DC component.
一种可选的实施方式中,所述装置还包括:In an optional embodiment, the device further includes:
发送模块,用于将所述第二音频文件发送给骨传导组件,所述骨传导组件用于使用骨头为介质播放所述第二音频文件。A sending module, configured to send the second audio file to a bone conduction component, where the bone conduction component is used to play the second audio file using bone as a medium.
第四方面,本申请实施例提供了一种音频文件的处理装置,包括:In a fourth aspect, an embodiment of the present application provides an apparatus for processing audio files, including:
获取模块,用于获取待处理的第一音频文件;an acquisition module for acquiring the first audio file to be processed;
过滤模块,用于过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;A filtering module, configured to filter the invalid component of the first audio signal in the first audio file, and generate a second audio signal, where the invalid component is a component in the first audio signal that cannot drive the sound-emitting element to vibrate;
播放模块,用于在所述第二音频信号的驱动下进行音频播放。A playing module is used to play audio under the driving of the second audio signal.
一种可选的实施方式中,所述过滤模块,具体用于对所述第一音频信号进行频谱计算,确定所述第一音频信号的无效分量;在所述第一音频信号中去除所述第一音频信号的无效分量,生成所述第二音频信号。In an optional implementation manner, the filtering module is specifically configured to perform spectrum calculation on the first audio signal to determine invalid components of the first audio signal; The invalid component of the first audio signal generates the second audio signal.
一种可选的实施方式中,所述无效分量包括直流分量。In an optional implementation manner, the invalid component includes a DC component.
第五方面,本申请实施例提供了一种骨传导设备,包括:包括:音频播放电路、音频处理电路以及骨传导组件;In a fifth aspect, an embodiment of the present application provides a bone conduction device, including: an audio playback circuit, an audio processing circuit, and a bone conduction component;
所述音频处理电路分别与所述音频播放电路以及所述骨传导组件连接;The audio processing circuit is respectively connected with the audio playback circuit and the bone conduction component;
所述音频播放电路用于将待处理的目标音频文件转换为第一音频信号;The audio playback circuit is used to convert the target audio file to be processed into a first audio signal;
所述音频处理电路用于过滤所述第一音频信号中的无效分量,生成待播放的第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;The audio processing circuit is used to filter invalid components in the first audio signal to generate a second audio signal to be played, and the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate;
所述骨传导组件用于在所述第二音频信号的驱动下使用骨头为介质进行音频播放。The bone conduction component is used for audio playback using bone as a medium under the driving of the second audio signal.
一种可选的实施方式中,所述音频处理电路包括过滤元件,所述过滤元件用于去除所述第一音频信号中的无效分量;In an optional implementation manner, the audio processing circuit includes a filter element, and the filter element is used to remove invalid components in the first audio signal;
和/或,所述音频处理电路包括芯片,所述芯片被配置为:And/or, the audio processing circuit includes a chip, and the chip is configured to:
过滤所述目标音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量。Filter invalid components of the first audio signal in the target audio file to generate a second audio signal, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate.
一种可选的实施方式中,所述过滤元件包括以下至少一项:滤波器、滤波电感、滤波电容。In an optional implementation manner, the filter element includes at least one of the following: a filter, a filter inductor, and a filter capacitor.
一种可选的实施方式中,所述目标音频文件包括第一音频文件或第二音频文件,所述第二音频文件为终端设备去除所述第一音频文件中的第一音频信号的无效分量后生成的音频文件。一种可选的实施方式中,所述骨传导组件 包括音圈磁铁和压电陶瓷振动片;In an optional implementation manner, the target audio file includes a first audio file or a second audio file, and the second audio file is a terminal device that removes invalid components of the first audio signal in the first audio file. generated audio files. In an optional embodiment, the bone conduction assembly includes a voice coil magnet and a piezoelectric ceramic vibrating piece;
所述音圈磁铁用于在所述第二音频信号的驱动下产生电磁力使所述压电陶瓷振动片振动,以使用骨头为介质进行音频播放。The voice coil magnet is used for generating electromagnetic force under the driving of the second audio signal to vibrate the piezoelectric ceramic vibrating piece, so as to use bone as a medium for audio playback.
一种可选的实施方式中,所述无效分量包括直流分量。In an optional implementation manner, the invalid component includes a DC component.
第六方面,一种计算机程序产品,包括计算机指令,该计算机指令被处理器执行时实现第一方面任一项所述的方法。In a sixth aspect, a computer program product includes computer instructions that, when executed by a processor, implement the method of any one of the first aspects.
七方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a seventh aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
第八方面,本申请实施例提供一种电子设备,可包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法步骤。In an eighth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .
本申请实施例提供的音频文件的处理方法、装置以及骨传导设备,首先获取待处理的第一音频文件,随后过滤第一音频文件中的第一音频信号的无效分量,生成第二音频信号,无效分量为第一音频信号中无法驱动发声元件振动的分量。最后,根据第二音频信号,生成第二音频文件。通过该方式,可以去除掉待处理的第一音频文件中的无效分量,从而避免了无效分量损耗的功耗,减少了骨传导设备的功耗。In the audio file processing method, device, and bone conduction device provided by the embodiments of the present application, a first audio file to be processed is obtained first, and then invalid components of the first audio signal in the first audio file are filtered to generate a second audio signal, The invalid component is the component in the first audio signal that cannot drive the sound-generating element to vibrate. Finally, according to the second audio signal, a second audio file is generated. In this way, invalid components in the to-be-processed first audio file can be removed, thereby avoiding the power consumption of invalid components and reducing the power consumption of the bone conduction device.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本申请实施例提供的一种骨传导设备的振动元件的示意图;1 is a schematic diagram of a vibration element of a bone conduction device provided by an embodiment of the present application;
图2为本申请实施例提供的另一种骨传导设备的振动元件的示意图;FIG. 2 is a schematic diagram of a vibrating element of another bone conduction device according to an embodiment of the present application;
图3为本申请实施例提供的一种音频文件的处理方法的示意图;3 is a schematic diagram of an audio file processing method provided by an embodiment of the present application;
图4为本申请实施例提供的一种音频文件的处理方法的流程示意图;4 is a schematic flowchart of a method for processing an audio file provided by an embodiment of the present application;
图5为本申请实施例提供的一种第一音频信号的示意图;5 is a schematic diagram of a first audio signal provided by an embodiment of the present application;
图6为本申请实施例提供的一种第二音频信号的示意图;6 is a schematic diagram of a second audio signal provided by an embodiment of the present application;
图7为本申请实施例提供的另一种音频文件的处理方法的流程示意图;7 is a schematic flowchart of another audio file processing method provided by an embodiment of the present application;
图8为本申请实施例提供的一种音频文件的处理装置的结构示意图;8 is a schematic structural diagram of an apparatus for processing an audio file according to an embodiment of the present application;
图9为本申请实施例提供的另一种音频文件的处理装置的结构示意图;9 is a schematic structural diagram of another audio file processing apparatus provided by an embodiment of the present application;
图10为本申请实施例提供的一种骨传导设备的结构示意图;10 is a schematic structural diagram of a bone conduction device according to an embodiment of the application;
图11为本申请实施例提供的一种音频处理电路的示意图;11 is a schematic diagram of an audio processing circuit provided by an embodiment of the application;
图12为本申请实施例提供的一种第一音频信号和第二音频信号的对比示意图。FIG. 12 is a schematic diagram of a comparison between a first audio signal and a second audio signal according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。The terms "first", "second" and the like in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein.
应当理解,在本发明的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of each process does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present invention. Implementation constitutes any limitation.
应当理解,在本发明中,“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be understood that in the present invention, "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to Those steps or elements that are expressly listed may instead include other steps or elements that are not expressly listed or are inherent to the process, method, product or apparatus.
应当理解,在本发明中,“与A相对应的B”、“A与B相对应”或者“B与A相对应”,表示B与A相关联,根据A可以确定B。根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其他信息确定B。It should be understood that in the present invention, "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A, and B can be determined according to A. Determining B based on A does not mean determining B based only on A, but also determining B based on A and/or other information.
取决于语境,如在此所使用的“若”可以被解释成为“在……时”或“当……时”或“响应于确定”。Depending on the context, "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining."
随着物质生活水品的提高和科技的发展,音频播放设备从传统的气导 播放设备,发展为最新出现的骨传导设备。气导播放设备和骨传导设备都是依靠振动进行声音传播的。气导播放设备是将喇叭振子的振动转换成空气的振动,进而振动耳朵的鼓膜使人认为听到了声音。骨传导设备是将骨头作为介质,通过面颊骨或颌骨将振动传播到听觉神经,使人认为听到了声音。With the improvement of material and living water quality and the development of science and technology, audio playback equipment has developed from traditional air conduction playback equipment to the latest bone conduction equipment. Both air conduction devices and bone conduction devices rely on vibration for sound transmission. The air conduction playback device converts the vibration of the horn vibrator into the vibration of the air, and then vibrates the eardrum of the ear to make people think that the sound is heard. Bone conduction devices use bone as a medium to transmit vibrations to the auditory nerve through the cheekbones or jawbone, making people think that sound is heard.
相关技术中,大部分音频文件在录制或者制作的过程中,会在正常音频信号的波形中增加无效分量,该无效分量对声音的呈现没有任何作用,但是会带给骨传导设备造成一定的功耗损失,从而造成骨传导设备的功耗较大。In the related art, during the recording or production process of most audio files, invalid components will be added to the waveform of normal audio signals. loss, resulting in a large power consumption of the bone conduction device.
进一步地,图1为本申请实施例提供的一种骨传导设备的振动元件的示意图。如图1所示,若音频信号中不存在无效分量,则在无音频信号时,振动元件不存在电流通过驱动元件产生的驱动力,此时振动元件会处于结构上的平衡位置,磁铁上下的振动行程可以确保都为如图1所示的最大振动行程S1。图2为本申请实施例提供的另一种骨传导设备的振动元件的示意图。如图2所示,若音频信号中存在无效分量,则该无效分量会通过线圈等驱动元件产生电磁力,驱动振动元件长期处于偏离位置,而无法处于平衡位置,由此造成了磁铁等振子的振动行程变小,进而使得图2中的振动行程S2明显小于图1中的振动行程S1,造成音量增加时骨传导设备的振动元件容易与其他元件发生碰撞。Further, FIG. 1 is a schematic diagram of a vibration element of a bone conduction device according to an embodiment of the present application. As shown in Figure 1, if there is no invalid component in the audio signal, when there is no audio signal, the vibrating element does not have the driving force generated by the current passing through the driving element. At this time, the vibrating element will be in a structurally balanced position. The vibration stroke can be guaranteed to be the maximum vibration stroke S1 as shown in Figure 1. FIG. 2 is a schematic diagram of a vibrating element of another bone conduction device according to an embodiment of the present application. As shown in Figure 2, if there is an invalid component in the audio signal, the invalid component will generate electromagnetic force through driving elements such as coils, and the driving vibration element will be in a deviated position for a long time, but cannot be in a balanced position, thus causing the vibration of the vibrator such as the magnet. The vibration stroke becomes smaller, so that the vibration stroke S2 in FIG. 2 is significantly smaller than the vibration stroke S1 in FIG. 1 , causing the vibration element of the bone conduction device to easily collide with other elements when the volume increases.
为解决上述技术问题,本申请实施例提供一种音频文件的处理方法、装置以及骨传导设备,通过过滤第一音频文件中的第一音频信号的无效分量,从而避免了无效分量损耗的功耗,减少了骨传导设备的功耗。同时,由于去除了第一音频信号的无效分量,也降低了骨传导设备的振动元件与其他元件的碰撞概率,提高了骨传导设备的振动性能。In order to solve the above technical problems, the embodiments of the present application provide an audio file processing method, device, and bone conduction device. By filtering the invalid components of the first audio signal in the first audio file, the power consumption caused by the loss of the invalid components is avoided. , reducing the power consumption of the bone conduction device. At the same time, since the invalid component of the first audio signal is removed, the collision probability between the vibration element of the bone conduction device and other elements is also reduced, and the vibration performance of the bone conduction device is improved.
图3为本申请实施例提供的一种音频文件的处理方法的示意图。如图3所示,终端设备101和骨传导设备102交互。终端设备101在获取到待处理的第一音频文件后,可以先对第一音频文件进行处理,过滤第一音频文件中的第一音频信号的无效分量。随后,终端设备101可以将处理后的第一音频文件发送给骨传导设备102,由骨传导设备102进行播放。FIG. 3 is a schematic diagram of an audio file processing method provided by an embodiment of the present application. As shown in FIG. 3 , the terminal device 101 interacts with the bone conduction device 102 . After acquiring the first audio file to be processed, the terminal device 101 may first process the first audio file to filter invalid components of the first audio signal in the first audio file. Subsequently, the terminal device 101 may send the processed first audio file to the bone conduction device 102, and the bone conduction device 102 will play it.
可选的,骨传导设备102在对处理后的第一音频文件进行播放前,也可以再次过滤处理后的第一音频文件中的第一音频信号的无效分量。Optionally, before playing the processed first audio file, the bone conduction device 102 may also filter invalid components of the first audio signal in the processed first audio file again.
其中,终端设备101可以为手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、智慧家庭(smart home)中的无线终端等。本申请实施例中,用于实现终端的功能的装置可以是终端,也可以是能够支持终端实现该功能的装置,例如芯片系统,该装置可以被安装在终端中。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。The terminal device 101 may be a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, an industrial control Wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, smart home in the wireless terminal, etc. In this embodiment of the present application, a device for implementing a function of a terminal may be a terminal, or a device capable of supporting the terminal to implement the function, such as a chip system, and the device may be installed in the terminal. In this embodiment of the present application, the chip system may be composed of chips, or may include chips and other discrete devices.
本申请实施例对于骨传导设备102的类型不作限制,示例性的,可以包括骨传导棒棒糖、骨传导助听器等。This embodiment of the present application does not limit the type of the bone conduction device 102 , which may include, for example, a bone conduction lollipop, a bone conduction hearing aid, and the like.
可以理解,上述音频文件的处理方法可以通过本申请实施例提供的音频文件的处理装置实现,该音频文件的处理装置可以是某个设备的部分或全部,例如可以骨传导设备、骨传导设备的芯片、终端设备、终端设备的处理器等。It can be understood that the above-mentioned processing method for audio files can be implemented by the processing apparatus for audio files provided in the embodiments of the present application, and the processing apparatus for audio files can be part or all of a certain device, such as bone conduction equipment, bone conduction equipment. Chips, terminal equipment, processors of terminal equipment, etc.
下面以集成或安装有相关执行代码的音频文件的处理装置为例,以具体地实施例对本申请实施例的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the embodiments of the present application will be described in detail below with specific embodiments by taking an audio file processing device integrated or installed with relevant execution codes as an example. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
图4为本申请实施例提供的一种音频文件的处理方法的流程示意图。参考图4,该音频文件的处理方法的执行主体为终端设备,本申请实施例涉及的是在将待处理的第一音频文件发送给骨传导设备播放前终端设备如何对第一音频文件进行处理的过程。该音频文件的处理方法主要包括步骤S201至步骤S204,具体如下:FIG. 4 is a schematic flowchart of an audio file processing method provided by an embodiment of the present application. Referring to FIG. 4 , the execution subject of the audio file processing method is a terminal device, and the embodiment of the present application relates to how the terminal device processes the first audio file before sending the to-be-processed first audio file to the bone conduction device for playback the process of. The processing method of the audio file mainly includes steps S201 to S204, and the details are as follows:
S201、终端设备获取待处理的第一音频文件。S201. The terminal device acquires the first audio file to be processed.
在本申请实施例中,骨传导设备在播放第一音频文件前,可以先使用终端设备获取待处理的第一音频文件,由终端设备对第一音频文件进行处理。In the embodiment of the present application, before playing the first audio file, the bone conduction device may use the terminal device to obtain the first audio file to be processed, and the terminal device may process the first audio file.
其中,本申请实施例对于第一音频文件的格式不作限制,可以包括动态影像专家压缩标准音频层面3(Moving Picture Experts Group Audio Layer III,MP3)格式、动态图像专家组(Moving Picture Experts Group,MPEG) 格式、微软音频格式(Windows Media Audio,WMA)等。Wherein, the embodiment of the present application does not limit the format of the first audio file, which may include the Moving Picture Experts Group Audio Layer III (MP3) format, the Moving Picture Experts Group (MPEG) ) format, Microsoft audio format (Windows Media Audio, WMA), etc.
S202、终端设备过滤第一音频文件中的第一音频信号的无效分量,生成第二音频信号,无效分量为第一音频信号中无法驱动发声元件振动的分量。S202. The terminal device filters invalid components of the first audio signal in the first audio file to generate a second audio signal, where the invalid components are components of the first audio signal that cannot drive the sound-emitting element to vibrate.
在本步骤中,终端设备在获取待处理的第一音频文件后,可以使用音频编辑软件过滤第一音频文件中的第一音频信号的无效分量,生成第二音频信号。In this step, after acquiring the to-be-processed first audio file, the terminal device may use audio editing software to filter invalid components of the first audio signal in the first audio file to generate the second audio signal.
本申请实施例对于如何过滤第一音频文件中的第一音频信号的无效分量不作限制。在一些实施例中,终端设备先可以对第一音频信号进行频谱计算,确定第一音频信号的无效分量。随后,终端设备在第一音频信号中去除第一音频信号的无效分量,生成第二音频信号。This embodiment of the present application does not limit how to filter invalid components of the first audio signal in the first audio file. In some embodiments, the terminal device may first perform spectrum calculation on the first audio signal to determine invalid components of the first audio signal. Subsequently, the terminal device removes invalid components of the first audio signal from the first audio signal to generate a second audio signal.
其中,无效分量可以包括直流分量。Wherein, the invalid components may include DC components.
应理解,频谱计算可以计算出第一音频信号的频率。由于第一音频信号中的直流分量等无效分量的频率较低,而第一音频信号中的有效分量的频率较高。因此,通过计算出的第一信号的频率可以从第一信号中确定出无效分量,随后,在第一音频信号中去除掉无效分量,生成只包含第一音频信号的有效分量的第二频谱信号。其中,有效分量可以为交流分量。It should be understood that the frequency of the first audio signal can be calculated by the spectral calculation. Since the frequency of the invalid components such as the DC component in the first audio signal is relatively low, the frequency of the effective component in the first audio signal is relatively high. Therefore, invalid components can be determined from the first signal by calculating the frequency of the first signal, and then the invalid components are removed from the first audio signal to generate a second spectral signal containing only valid components of the first audio signal . The effective component may be an AC component.
示例性的,图5为本申请实施例提供的一种第一音频信号的示意图,图6为本申请实施例提供的一种第二音频信号的示意图。在本申请中,图5中所示的第一音频信号中存在直流分量,直流分量会提高骨传导设备的功耗并降低骨传导设备的振动性能。随后,在去除掉第一音频信号中的直流分量后,可以生成如图6所示的第二音频信号。由于图6所示的第二音频信号与图5中所示的第一音频信号在波形上大致相同,从而保证了第二音频信号在播放时与第一音频信号在听觉上大致相同。并且,由于图6所示的第二音频信号不存在直流分量,可以降低骨传导设备的功耗并提高骨传导设备的振动性能,从而提高了用户体验。Exemplarily, FIG. 5 is a schematic diagram of a first audio signal provided by an embodiment of the present application, and FIG. 6 is a schematic diagram of a second audio signal provided by an embodiment of the present application. In the present application, there is a DC component in the first audio signal shown in FIG. 5 , and the DC component will increase the power consumption of the bone conduction device and reduce the vibration performance of the bone conduction device. Subsequently, after removing the DC component in the first audio signal, a second audio signal as shown in FIG. 6 may be generated. Since the second audio signal shown in FIG. 6 is substantially the same in waveform as the first audio signal shown in FIG. 5 , it is ensured that the second audio signal and the first audio signal are audibly substantially the same when playing. Moreover, since the second audio signal shown in FIG. 6 does not have a DC component, the power consumption of the bone conduction device can be reduced and the vibration performance of the bone conduction device can be improved, thereby improving user experience.
S203、终端设备根据第二音频信号,生成待播放的第二音频文件。S203. The terminal device generates a second audio file to be played according to the second audio signal.
在本步骤中,终端设备在生成第二音频信号后,可以根据第二音频信号,生成第二音频文件。In this step, after generating the second audio signal, the terminal device may generate the second audio file according to the second audio signal.
需要说明的是,本申请实施例对于如何由第二音频信号重新生成第二音频文件不作限制,示例性的,可以由音频编辑软件来实现。It should be noted that, the embodiment of the present application does not limit how to regenerate the second audio file from the second audio signal, which can be implemented by audio editing software, for example.
S204、终端设备将第二音频文件发送给骨传导组件,骨传导组件用于使用骨头为介质播放第二音频文件。S204. The terminal device sends the second audio file to the bone conduction component, and the bone conduction component is used to play the second audio file using bone as a medium.
需要说明的是,本申请实施例对于如何将第二音频文件发送给骨传导组件不作限制。It should be noted that this embodiment of the present application does not limit how to send the second audio file to the bone conduction component.
在一些实施例中,终端设备在生成第二音频文件后,可以将第二音频文件发送到骨传导设备的存储器中。后续地,在需要进行播放时,骨传导设备可以从存储器中提取第二音频文件进行播放。In some embodiments, after generating the second audio file, the terminal device may send the second audio file to the memory of the bone conduction device. Subsequently, when playing is required, the bone conduction device can extract the second audio file from the memory for playing.
在另一些实施例中,终端设备也可以通过无线或有线的手段,无需将第二音频文件发送给骨传导设备的存储器,而是将第二音频文件发送给骨传导设备的音频播放电路,以便骨传导设备直接对第二音频文件进行播放,以达到减小骨传导发声设备功耗及提升振动性能的目的。In other embodiments, the terminal device can also send the second audio file to the audio playback circuit of the bone conduction device without sending the second audio file to the memory of the bone conduction device through wireless or wired means, so that The bone conduction device directly plays the second audio file, so as to achieve the purpose of reducing the power consumption of the bone conduction sounding device and improving the vibration performance.
本申请实施例提供的音频文件的处理方法,终端设备首先获取待处理的第一音频文件,随后终端设备过滤第一音频文件中的第一音频信号的无效分量,生成第二音频信号,无效分量为第一音频信号中无法驱动发声元件振动的分量。最后,终端设备根据第二音频信号,生成第二音频文件。通过该方式,可以去除掉待处理的第一音频文件中的无效分量,从而避免了无效分量损耗的功耗,减少了骨传导设备的功耗。In the audio file processing method provided by the embodiment of the present application, the terminal device first obtains the first audio file to be processed, and then the terminal device filters the invalid component of the first audio signal in the first audio file to generate the second audio signal, the invalid component It is the component of the first audio signal that cannot drive the vibration of the sound-emitting element. Finally, the terminal device generates a second audio file according to the second audio signal. In this way, invalid components in the to-be-processed first audio file can be removed, thereby avoiding the power consumption of invalid components and reducing the power consumption of the bone conduction device.
在上述实施例的基础上,下面提供另一种音频文件的处理方法,该音频文件的处理方法可以由骨传导设备中的芯片直接对待处理的第一音频信号进行处理。图7为本申请实施例提供的另一种音频文件的处理方法的流程示意图。参考图7,该音频文件的处理方法主要包括步骤S301至步骤S303,具体如下:On the basis of the above embodiments, another method for processing audio files is provided below, and the method for processing audio files can directly process the first audio signal to be processed by the chip in the bone conduction device. FIG. 7 is a schematic flowchart of another audio file processing method provided by an embodiment of the present application. Referring to FIG. 7 , the processing method of the audio file mainly includes steps S301 to S303, and the details are as follows:
S301、骨传导设备获取待处理的第一音频文件。S301. The bone conduction device acquires a first audio file to be processed.
S302、骨传导设备过滤第一音频文件中的第一音频信号的无效分量,生成第二音频信号,无效分量为第一音频信号中无法驱动发声元件振动的分量。S302. The bone conduction device filters invalid components of the first audio signal in the first audio file to generate a second audio signal, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate.
S301-S302技术效果、技术特征,以及可选实施方式,可参照图5所示的S201-S202理解,对于重复的内容,在此不再累述。The technical effects, technical features, and optional implementations of S301-S302 can be understood with reference to S201-S202 shown in FIG. 5 , and repeated content will not be repeated here.
S303、骨传导设备在第二音频信号的驱动下进行音频播放。S303, the bone conduction device performs audio playback under the driving of the second audio signal.
在本申请中,骨传导设备可以使用芯片分析的方法,由骨传导设备的芯片中的程序通过频谱分析,确定第一音频信号的直流分量,并将第一音 频信号中的直流分量去除,重新产生第二音频信号。最后由骨传导设备直接在第二音频信号的驱动下进行音频播放,以达到减小骨传导发声设备功耗及提升振动性能的目的。In this application, the bone conduction device can use the chip analysis method, and the program in the chip of the bone conduction device can determine the DC component of the first audio signal through spectrum analysis, remove the DC component in the first audio signal, and re- A second audio signal is generated. Finally, audio playback is performed by the bone conduction device directly driven by the second audio signal, so as to reduce the power consumption of the bone conduction sound device and improve the vibration performance.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序信息相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program information, and the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
图8为本申请实施例提供的一种音频文件的处理装置的结构示意图。该音频文件的处理装置可以通过软件、硬件或者两者的结合实现,可例如上述终端设备,该音频文件的处理装置用以执行上述实施例中的音频文件的处理方法。如图8所示,该音频文件的处理装置400包括:获取模块401、过滤模块402、生成模块403和发送模块404。FIG. 8 is a schematic structural diagram of an apparatus for processing an audio file according to an embodiment of the present application. The audio file processing apparatus may be implemented by software, hardware, or a combination of the two, such as the above-mentioned terminal equipment, and the audio file processing apparatus is used to execute the audio file processing method in the foregoing embodiment. As shown in FIG. 8 , the audio file processing apparatus 400 includes: an acquiring module 401 , a filtering module 402 , a generating module 403 and a sending module 404 .
获取模块401,用于获取待处理的第一音频文件;Obtaining module 401, for obtaining the first audio file to be processed;
过滤模块402,用于过滤第一音频文件中的第一音频信号的无效分量,生成第二音频信号,无效分量为第一音频信号中无法驱动发声元件振动的分量;The filtering module 402 is used to filter the invalid component of the first audio signal in the first audio file to generate the second audio signal, and the invalid component is the component that cannot drive the vibration of the sound-emitting element in the first audio signal;
生成模块403,用于根据第二音频信号,生成待播放的第二音频文件。The generating module 403 is configured to generate a second audio file to be played according to the second audio signal.
一种可选的实施方式中,过滤模块402,具体用于对第一音频信号进行频谱计算,确定第一音频信号的无效分量;在第一音频信号中去除第一音频信号的无效分量,生成第二音频信号。In an optional implementation manner, the filtering module 402 is specifically configured to perform spectrum calculation on the first audio signal to determine the invalid component of the first audio signal; remove the invalid component of the first audio signal from the first audio signal, and generate a the second audio signal.
一种可选的实施方式中,无效分量包括直流分量。In an optional embodiment, the invalid component includes a DC component.
一种可选的实施方式中,装置还包括:In an optional embodiment, the device further includes:
发送模块404,用于将第二音频文件发送给骨传导组件,骨传导组件用于使用骨头为介质播放第二音频文件。The sending module 404 is used for sending the second audio file to the bone conduction component, and the bone conduction component is used for playing the second audio file using bone as a medium.
对于本申请实施例提供的音频文件的处理装置,可以执行上述实施例中音频文件的处理方法的动作,其实现原理和技术效果类似,在此不再赘述。For the audio file processing apparatus provided in the embodiment of the present application, the actions of the audio file processing method in the above-mentioned embodiment can be performed, and the implementation principle and technical effect thereof are similar, and are not repeated here.
图9为本申请实施例提供的另一种音频文件的处理装置的结构示意图。该音频文件的处理装置可以通过软件、硬件或者两者的结合实现,可例如上述骨传导设备,该音频文件的处理装置用以执行上述实施例中的音频文 件的处理方法。如图9所示,该音频文件的处理装置500包括:获取模块501、过滤模块502和播放模块503。FIG. 9 is a schematic structural diagram of another audio file processing apparatus according to an embodiment of the present application. The audio file processing apparatus can be implemented by software, hardware, or a combination of the two, such as the above-mentioned bone conduction equipment, and the audio file processing apparatus is used to execute the audio file processing method in the above embodiment. As shown in FIG. 9 , the audio file processing apparatus 500 includes: an acquiring module 501 , a filtering module 502 and a playing module 503 .
获取模块501,用于获取待处理的第一音频文件;Obtaining module 501, for obtaining the first audio file to be processed;
过滤模块502,用于过滤第一音频文件中的第一音频信号的无效分量,生成第二音频信号,无效分量为第一音频信号中无法驱动发声元件振动的分量;The filtering module 502 is used to filter the invalid component of the first audio signal in the first audio file, and generate the second audio signal, and the invalid component is the component that cannot drive the sound-emitting element to vibrate in the first audio signal;
播放模块503,用于在第二音频信号的驱动下进行音频播放。The playback module 503 is configured to perform audio playback under the driving of the second audio signal.
一种可选的实施方式中,过滤模块502,具体用于对第一音频信号进行频谱计算,确定第一音频信号的无效分量;在第一音频信号中去除第一音频信号的无效分量,生成第二音频信号。In an optional implementation manner, the filtering module 502 is specifically configured to perform spectrum calculation on the first audio signal to determine the invalid component of the first audio signal; remove the invalid component of the first audio signal from the first audio signal, and generate a the second audio signal.
一种可选的实施方式中,无效分量包括直流分量。In an optional embodiment, the invalid component includes a DC component.
对于本申请实施例提供的音频文件的处理装置,可以执行上述实施例中音频文件的处理方法的动作,其实现原理和技术效果类似,在此不再赘述。For the audio file processing apparatus provided in the embodiment of the present application, the actions of the audio file processing method in the above-mentioned embodiment can be performed, and the implementation principle and technical effect thereof are similar, and are not repeated here.
需要说明的是,上述实施例提供的音频文件的处理装置在执行音频文件的处理方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的音频文件的处理装置与音频文件的处理方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。It should be noted that, when the audio file processing apparatus provided in the above embodiment executes the audio file processing method, only the division of the above functional modules is used as an example for illustration. The functional modules of the device are completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the audio file processing apparatus and the audio file processing method embodiments provided in the above-mentioned embodiments belong to the same concept, and the implementation process of the embodiment is described in the method embodiments, which will not be repeated here.
图10为本申请实施例提供的一种骨传导设备的结构示意图,如图10所示,该骨传导设备包括音频播放电路601、音频处理电路602以及骨传导组件603。FIG. 10 is a schematic structural diagram of a bone conduction device provided by an embodiment of the present application. As shown in FIG. 10 , the bone conduction device includes an audio playback circuit 601 , an audio processing circuit 602 , and a bone conduction component 603 .
其中,音频处理电路602分别与音频播放电路601以及骨传导组件603连接。The audio processing circuit 602 is respectively connected to the audio playback circuit 601 and the bone conduction component 603 .
音频播放电路601用于将待处理的目标音频文件转换为第一音频信号。应理解,将目标音频文件转换为第一音频信号,可以理解为目标音频文件的数据转换成第一音频信号的电信号。The audio playing circuit 601 is used for converting the target audio file to be processed into a first audio signal. It should be understood that converting the target audio file into the first audio signal can be understood as converting the data of the target audio file into an electrical signal of the first audio signal.
应理解,目标音频文件包括第一音频文件或第二音频文件,第二音频文件为终端设备去除第一音频文件中的第一音频信号的无效分量后生成的音频文件。It should be understood that the target audio file includes a first audio file or a second audio file, and the second audio file is an audio file generated by the terminal device after removing invalid components of the first audio signal in the first audio file.
音频处理电路602用于过滤第一音频信号中的无效分量,生成待播放的 第二音频信号,无效分量为第一音频信号中无法驱动发声元件振动的分量。The audio processing circuit 602 is used for filtering invalid components in the first audio signal to generate a second audio signal to be played, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate.
其中,无效分量包括直流分量。Among them, the invalid components include DC components.
在一些实施例中,音频处理电路包括过滤元件,过滤元件用于去除第一音频信号中的无效分量。在另一些实施例中,音频处理电路包括芯片,芯片被配置为:过滤目标音频文件中的第一音频信号的无效分量,生成第二音频信号,无效分量为第一音频信号中无法驱动发声元件振动的分量。In some embodiments, the audio processing circuit includes a filter element for removing ineffective components in the first audio signal. In other embodiments, the audio processing circuit includes a chip, and the chip is configured to: filter an invalid component of the first audio signal in the target audio file to generate a second audio signal, where the invalid component is that the sound element cannot be driven in the first audio signal component of vibration.
需要说明的是,本申请实施例中的音频处理电路可以仅使用过滤元件进行无效分量的过滤,也可以仅使用芯片进行无效分量的过滤,还可以既使用过滤元件同时还使用芯片进行无效分量的过滤,本申请实施例对此不做限制。It should be noted that, the audio processing circuit in this embodiment of the present application may only use filter elements to filter invalid components, or may only use chips to filter invalid components, and may also use both filter elements and chips to filter invalid components. filtering, which is not limited in this embodiment of the present application.
示例性的,图11为本申请实施例提供的一种音频处理电路的示意图,图12为本申请实施例提供的一种第一音频信号和第二音频信号的对比示意图。如图11所示,音频处理电路通过滤波元件过滤掉带有直流分量的第一音频信号中的直流分量,从而生成无直流分量的第二音频信号。其中,第一音频信号和第二音频信号的波形如图12所示。Exemplarily, FIG. 11 is a schematic diagram of an audio processing circuit provided by an embodiment of the present application, and FIG. 12 is a schematic diagram of a comparison of a first audio signal and a second audio signal provided by an embodiment of the present application. As shown in FIG. 11 , the audio processing circuit filters out the DC component in the first audio signal with the DC component through the filter element, thereby generating the second audio signal without the DC component. The waveforms of the first audio signal and the second audio signal are shown in FIG. 12 .
其中,过滤元件包括以下至少一项:滤波器、滤波电感、滤波电容。Wherein, the filter element includes at least one of the following: a filter, a filter inductor, and a filter capacitor.
骨传导组件603用于在第二音频信号的驱动下使用骨头为介质播放处理后的第一音频信号。The bone conduction component 603 is used for playing the processed first audio signal by using the bone as a medium under the driving of the second audio signal.
在一些实施例中,骨传导组件603包括音圈磁铁和压电陶瓷振动片;In some embodiments, the bone conduction assembly 603 includes a voice coil magnet and a piezoelectric ceramic vibrating plate;
音圈磁铁用于在第二音频信号的驱动下产生电磁力使压电陶瓷振动片振动,以使用骨头为介质进行音频播放。The voice coil magnet is used to generate electromagnetic force under the driving of the second audio signal to vibrate the piezoelectric ceramic vibrating piece, so as to use the bone as a medium for audio playback.
在本申请实施例中,可以通过音频处理电路中的滤波元件在去除直流分量,使得高频的音频交流信号可以通过音频处理电路,传输到骨传导组件,而低频的直流信号会被滤掉,无法传输到骨传导组件,以达到减小骨传导发声设备功耗及提升振动性能的目的。In the embodiment of the present application, the DC component can be removed by the filter element in the audio processing circuit, so that the high-frequency audio AC signal can be transmitted to the bone conduction component through the audio processing circuit, and the low-frequency DC signal will be filtered out. It cannot be transmitted to the bone conduction component to achieve the purpose of reducing the power consumption of the bone conduction sounding device and improving the vibration performance.
需要说明的是,上述实施例提供的音频文件的处理方法以及骨传导设备对第一音频文件的过滤可以相互结合。下面提供两种可用的结合方式。It should be noted that, the audio file processing method and the filtering of the first audio file by the bone conduction device provided in the above embodiments can be combined with each other. Two possible combinations are provided below.
第一种方式中,骨传导设备在接收到待处理的目标音频文件时,可以同时使用芯片中的音频文件的处理方法对应的算法以及音频处理电路中的滤波元件对目标频文件中的第一音频信号的无效分量进行过滤,从而提高无效分量的过滤效果。In the first method, when the bone conduction device receives the target audio file to be processed, it can simultaneously use the algorithm corresponding to the processing method of the audio file in the chip and the filter element in the audio processing circuit to perform the first step in the target audio file. The invalid components of the audio signal are filtered, thereby improving the filtering effect of the invalid components.
第二种方式中,终端设备可以先使用音频文件的处理方法对应的音频 编辑软件对第一音频文件中的第一音频信号的无效分量进行过滤,再发送给骨传导设备。后续的,骨传导设备中的芯片可以再次使用音频文件的处理方法对应的算法再次过滤第一音频信号的无效分量,从而提高无效分量的过滤效果。In the second mode, the terminal device can first use the audio editing software corresponding to the audio file processing method to filter the invalid components of the first audio signal in the first audio file, and then send it to the bone conduction device. Subsequently, the chip in the bone conduction device can use the algorithm corresponding to the audio file processing method to filter the invalid components of the first audio signal again, thereby improving the filtering effect of the invalid components.
本申请实施例还提供了一种芯片,包括处理器和接口。其中接口用于输入输出处理器所处理的数据或指令。处理器用于执行以上方法实施例中提供的方法。An embodiment of the present application further provides a chip, including a processor and an interface. The interface is used to input and output data or instructions processed by the processor. The processor is configured to execute the methods provided in the above method embodiments.
本发明还提供了一种计算机可读存储介质,该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或者光盘等各种可以存储程序代码的介质,具体的,该计算机可读存储介质中存储有程序信息,程序信息用于上述方法。The present invention also provides a computer-readable storage medium, the computer-readable storage medium may include: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory) ), a magnetic disk or an optical disk and other media that can store program codes. Specifically, the computer-readable storage medium stores program information, and the program information is used in the above method.
本申请实施例还提供一种程序,该程序在被处理器执行时用于执行以上方法实施例提供的方法。The embodiment of the present application further provides a program, which is used to execute the method provided by the above method embodiments when the program is executed by the processor.
本申请实施例还提供一种程序产品,例如计算机可读存储介质,该程序产品中存储有指令,当其在计算机上运行时,使得计算机执行上述方法实施例提供的方法。Embodiments of the present application further provide a program product, such as a computer-readable storage medium, where instructions are stored in the program product, and when the program product runs on a computer, the computer executes the method provided by the above method embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生根据本发明实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务端或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务端或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务端、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk (SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions according to the embodiments of the present invention result in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. Computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center via wired ( For example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) means to transmit to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server, a data center, or the like that includes one or more available media integrated. Useful media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (19)

  1. 一种音频文件的处理方法,其特征在于,包括:A method for processing audio files, comprising:
    获取待处理的第一音频文件;Obtain the first audio file to be processed;
    过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;Filtering invalid components of the first audio signal in the first audio file to generate a second audio signal, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate;
    根据所述第二音频信号,生成待播放的第二音频文件。According to the second audio signal, a second audio file to be played is generated.
  2. 根据权利要求1所述的方法,其特征在于,所述过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,包括:The method according to claim 1, wherein the filtering of invalid components of the first audio signal in the first audio file to generate the second audio signal comprises:
    对所述第一音频信号进行频谱计算,确定所述第一音频信号的无效分量;performing spectrum calculation on the first audio signal to determine an invalid component of the first audio signal;
    在所述第一音频信号中去除所述第一音频信号的无效分量,生成所述第二音频信号。Invalid components of the first audio signal are removed from the first audio signal to generate the second audio signal.
  3. 根据权利要求1或2所述的方法,其特征在于,所述无效分量包括直流分量。The method according to claim 1 or 2, wherein the invalid component comprises a DC component.
  4. 根据权利要求1或2所述的方法,其特征在于,在所述根据所述第二音频信号,生成第二音频文件之后,所述方法还包括:The method according to claim 1 or 2, characterized in that after generating the second audio file according to the second audio signal, the method further comprises:
    将所述第二音频文件发送给骨传导组件,所述骨传导组件用于使用骨头为介质播放所述第二音频文件。The second audio file is sent to a bone conduction component for playing the second audio file using bone as a medium.
  5. 一种音频文件的处理方法,其特征在于,包括:A method for processing audio files, comprising:
    获取待处理的第一音频文件;Obtain the first audio file to be processed;
    过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;Filtering invalid components of the first audio signal in the first audio file to generate a second audio signal, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate;
    在所述第二音频信号的驱动下进行音频播放。Audio playback is performed under the driving of the second audio signal.
  6. 一种音频文件的处理装置,其特征在于,包括:An apparatus for processing audio files, comprising:
    获取模块,用于获取待处理的第一音频文件;an acquisition module for acquiring the first audio file to be processed;
    过滤模块,用于过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;A filtering module, configured to filter the invalid component of the first audio signal in the first audio file, and generate a second audio signal, where the invalid component is a component in the first audio signal that cannot drive the sound-emitting element to vibrate;
    生成模块,用于根据所述第二音频信号,生成待播放的第二音频文件。A generating module, configured to generate a second audio file to be played according to the second audio signal.
  7. 根据权利要求6所述的装置,其特征在于,所述过滤模块,具体用于对所述第一音频信号进行频谱计算,确定所述第一音频信号的无效分量;在所 述第一音频信号中去除所述第一音频信号的无效分量,生成所述第二音频信号。The device according to claim 6, wherein the filtering module is specifically configured to perform spectrum calculation on the first audio signal to determine invalid components of the first audio signal; The invalid components of the first audio signal are removed in the process to generate the second audio signal.
  8. 根据权利要求6或7所述的装置,其特征在于,所述无效分量包括直流分量。The apparatus according to claim 6 or 7, wherein the invalid component comprises a DC component.
  9. 根据权利要求6或7所述的装置,其特征在于,所述装置还包括:The device according to claim 6 or 7, wherein the device further comprises:
    发送模块,用于将所述第二音频文件发送给骨传导组件,所述骨传导组件用于使用骨头为介质播放所述第二音频文件。A sending module, configured to send the second audio file to a bone conduction component, where the bone conduction component is used to play the second audio file using bone as a medium.
  10. 一种音频文件的处理装置,其特征在于,包括:An apparatus for processing audio files, comprising:
    获取模块,用于获取待处理的第一音频文件;an acquisition module for acquiring the first audio file to be processed;
    过滤模块,用于过滤所述第一音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;A filtering module, configured to filter the invalid component of the first audio signal in the first audio file, and generate a second audio signal, where the invalid component is a component in the first audio signal that cannot drive the sound-emitting element to vibrate;
    播放模块,用于在所述第二音频信号的驱动下进行音频播放。A playing module is used to play audio under the driving of the second audio signal.
  11. 一种骨传导设备,其特征在于,包括:音频播放电路、音频处理电路以及骨传导组件;A bone conduction device, comprising: an audio playback circuit, an audio processing circuit and a bone conduction component;
    所述音频处理电路分别与所述音频播放电路以及所述骨传导组件连接;The audio processing circuit is respectively connected with the audio playback circuit and the bone conduction component;
    所述音频播放电路用于将待处理的目标音频文件转换为第一音频信号;The audio playback circuit is used to convert the target audio file to be processed into a first audio signal;
    所述音频处理电路用于过滤所述第一音频信号中的无效分量,生成待播放的第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量;The audio processing circuit is used to filter invalid components in the first audio signal to generate a second audio signal to be played, and the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate;
    所述骨传导组件用于在所述第二音频信号的驱动下使用骨头为介质进行音频播放。The bone conduction component is used for audio playback using bone as a medium under the driving of the second audio signal.
  12. 根据权利要求11所述的骨传导设备,其特征在于,所述音频处理电路包括过滤元件,所述过滤元件用于去除所述第一音频信号中的无效分量;The bone conduction device according to claim 11, wherein the audio processing circuit comprises a filter element for removing invalid components in the first audio signal;
    和/或,所述音频处理电路包括芯片,所述芯片被配置为:And/or, the audio processing circuit includes a chip, and the chip is configured to:
    过滤所述目标音频文件中的第一音频信号的无效分量,生成第二音频信号,所述无效分量为所述第一音频信号中无法驱动发声元件振动的分量。Filter invalid components of the first audio signal in the target audio file to generate a second audio signal, where the invalid components are components in the first audio signal that cannot drive the sound-emitting element to vibrate.
  13. 根据权利要求12所述的骨传导设备,其特征在于,所述过滤元件包括以下至少一项:滤波器、滤波电感、滤波电容。The bone conduction device according to claim 12, wherein the filter element comprises at least one of the following: a filter, a filter inductor, and a filter capacitor.
  14. 根据权利要求11-13任一项所述的骨传导设备,其特征在于,所述目标音频文件包括第一音频文件或第二音频文件,所述第二音频文件为 终端设备去除所述第一音频文件中的第一音频信号的无效分量后生成的音频文件。The bone conduction device according to any one of claims 11-13, wherein the target audio file includes a first audio file or a second audio file, and the second audio file is a terminal device that removes the first audio file. The audio file is generated after the invalid component of the first audio signal in the audio file.
  15. 根据权利要求11-13任一项所述的骨传导设备,其特征在于,所述骨传导组件包括音圈磁铁和压电陶瓷振动片;The bone conduction device according to any one of claims 11-13, wherein the bone conduction component comprises a voice coil magnet and a piezoelectric ceramic vibrating piece;
    所述音圈磁铁用于在所述第二音频信号的驱动下产生电磁力使所述压电陶瓷振动片振动,以使用骨头为介质进行音频播放。The voice coil magnet is used for generating electromagnetic force under the driving of the second audio signal to vibrate the piezoelectric ceramic vibrating piece, so as to use bone as a medium for audio playback.
  16. 根据权利要求11-13任一项所述的骨传导设备,其特征在于,所述无效分量包括直流分量。The bone conduction device according to any one of claims 11-13, wherein the invalid component includes a direct current component.
  17. 一种计算机程序产品,包括计算机指令,其特征在于,该计算机指令被处理器执行时实现权利要求1-5任一项所述的方法。A computer program product comprising computer instructions, characterized in that, when the computer instructions are executed by a processor, the method of any one of claims 1-5 is implemented.
  18. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1-5任意一项的方法。A computer storage medium, characterized in that the computer storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor and execute the method according to any one of claims 1-5.
  19. 一种电子设备,其特征在于,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1-5任意一项的方法。An electronic device, characterized by comprising: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the method according to any one of claims 1-5 method.
PCT/CN2020/141606 2020-12-30 2020-12-30 Audio file processing method and apparatus, and bone conduction device WO2022141244A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080107206.8A CN116472722A (en) 2020-12-30 2020-12-30 Audio file processing method and device and bone conduction equipment
PCT/CN2020/141606 WO2022141244A1 (en) 2020-12-30 2020-12-30 Audio file processing method and apparatus, and bone conduction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/141606 WO2022141244A1 (en) 2020-12-30 2020-12-30 Audio file processing method and apparatus, and bone conduction device

Publications (1)

Publication Number Publication Date
WO2022141244A1 true WO2022141244A1 (en) 2022-07-07

Family

ID=82260002

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141606 WO2022141244A1 (en) 2020-12-30 2020-12-30 Audio file processing method and apparatus, and bone conduction device

Country Status (2)

Country Link
CN (1) CN116472722A (en)
WO (1) WO2022141244A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0762685A2 (en) * 1995-09-11 1997-03-12 Sony Corporation Recording and reproducing apparatus for audio signal using semiconductor memory
CN105609123A (en) * 2015-10-27 2016-05-25 东莞酷派软件技术有限公司 Audio play apparatus and terminal thereof
CN106792354A (en) * 2016-12-27 2017-05-31 广东小天才科技有限公司 The play mode control method and wearable device of a kind of wearable device
CN107613430A (en) * 2017-08-02 2018-01-19 深圳天珑无线科技有限公司 A kind of speaker circuit and mobile terminal
CN207652638U (en) * 2017-10-23 2018-07-24 歌尔股份有限公司 Earphone
CN109068248A (en) * 2018-09-18 2018-12-21 杭州启维网络科技有限公司 Bone-conduction speaker and intelligent wearable device and resonance processing method
CN109240639A (en) * 2018-08-30 2019-01-18 Oppo广东移动通信有限公司 Acquisition methods, device, storage medium and the terminal of audio data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0762685A2 (en) * 1995-09-11 1997-03-12 Sony Corporation Recording and reproducing apparatus for audio signal using semiconductor memory
CN105609123A (en) * 2015-10-27 2016-05-25 东莞酷派软件技术有限公司 Audio play apparatus and terminal thereof
CN106792354A (en) * 2016-12-27 2017-05-31 广东小天才科技有限公司 The play mode control method and wearable device of a kind of wearable device
CN107613430A (en) * 2017-08-02 2018-01-19 深圳天珑无线科技有限公司 A kind of speaker circuit and mobile terminal
CN207652638U (en) * 2017-10-23 2018-07-24 歌尔股份有限公司 Earphone
CN109240639A (en) * 2018-08-30 2019-01-18 Oppo广东移动通信有限公司 Acquisition methods, device, storage medium and the terminal of audio data
CN109068248A (en) * 2018-09-18 2018-12-21 杭州启维网络科技有限公司 Bone-conduction speaker and intelligent wearable device and resonance processing method

Also Published As

Publication number Publication date
CN116472722A (en) 2023-07-21

Similar Documents

Publication Publication Date Title
WO2018000501A1 (en) Screen sound production control apparatus and method, and terminal
US10070245B2 (en) Method and apparatus for personalized audio virtualization
JP6026751B2 (en) Acoustic-tactile effect conversion system using amplitude values
US20150010176A1 (en) Apparatus and method for providing a frequency response for audio signals
US9288600B2 (en) Sound generator
CN115442709B (en) Audio processing method, virtual bass enhancement system, device, and storage medium
US20230364513A1 (en) Audio processing method and apparatus
WO2015083691A1 (en) Electronic device and vibration information generation device
WO2020097824A1 (en) Audio processing method and apparatus, storage medium, and electronic device
CN112202956A (en) Terminal equipment and audio acquisition method thereof
CN108510997A (en) Electronic equipment and echo cancel method applied to electronic equipment
TWM526238U (en) Electronic device capable of adjusting settings of equalizer according to user's age and audio playing device thereof
WO2022141244A1 (en) Audio file processing method and apparatus, and bone conduction device
WO2019195178A2 (en) Systems and methods of volume limiting
CN103744505B (en) Information processing method and electronic equipment
CN113286182B (en) Method and system for eliminating echo between TV and sound pickup peripheral
WO2021258913A1 (en) Echo cancellation device and method, sound pickup device and method, and terminal
CN111083605A (en) Audio information playing method and device, electronic equipment and storage medium
CN108154887B (en) Information processing method and device and terminal
CN110024028B (en) Information processing device, information processing method, and program
CN110677788B (en) Sound production module and electronic equipment
TWI783344B (en) Sound source tracking system and method
WO2020230539A1 (en) Signal processing device, signal processing method, program, and imaging device
WO2020107360A1 (en) Voice recognition method, device and system
CN115550824A (en) MEMS digital loudspeaker system, sound production method and sound production equipment

Legal Events

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

Ref document number: 20967585

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202080107206.8

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20967585

Country of ref document: EP

Kind code of ref document: A1