WO2019084887A1 - Sound quality conversion method and device for audio, terminal and computer-readable storage medium - Google Patents

Sound quality conversion method and device for audio, terminal and computer-readable storage medium Download PDF

Info

Publication number
WO2019084887A1
WO2019084887A1 PCT/CN2017/109201 CN2017109201W WO2019084887A1 WO 2019084887 A1 WO2019084887 A1 WO 2019084887A1 CN 2017109201 W CN2017109201 W CN 2017109201W WO 2019084887 A1 WO2019084887 A1 WO 2019084887A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
signal data
analog signal
mobile terminal
data
Prior art date
Application number
PCT/CN2017/109201
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 PCT/CN2017/109201 priority Critical patent/WO2019084887A1/en
Publication of WO2019084887A1 publication Critical patent/WO2019084887A1/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/26Pre-filtering or post-filtering

Definitions

  • the present invention relates to the field of audio conversion technologies, and in particular, to a method, an apparatus, a terminal, and a computer readable storage medium for audio quality conversion.
  • the device terminal using the Lightning headphone interface needs to carry the HiFi playback device due to hardware limitations, so that the audio quality in the device terminal can be converted into HiFi sound quality.
  • the acquisition of HiFi sound quality has higher hardware requirements for HiFi playback devices. Therefore, HiFi playback devices are generally bulky and not easy to carry, which greatly damages the user experience.
  • the main purpose of the present invention is to provide a method, device, terminal and computer readable storage medium for audio quality conversion, which aims to solve the technical problem that the Lightning earphone interface is bulky and inconvenient to carry due to hardware limitations.
  • an embodiment of the present invention provides a voice quality conversion method for audio.
  • the audio quality conversion method of the audio is applied to a mobile terminal.
  • the mobile terminal has a HiFi decoding module, and the audio quality conversion method includes:
  • the mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
  • the mobile terminal converts the digital signal data into analog signal data
  • the mobile terminal performs audio output on the analog signal data.
  • the step of the terminal performing audio output of the analog signal data comprises:
  • the mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data
  • the mobile terminal performs audio output on the filtered analog signal data.
  • the filtering process includes a noise reduction process
  • the step of filtering the analog signal data by the mobile terminal to obtain the filtered processed analog signal data includes:
  • the mobile terminal analyzes the analog signal data to obtain the signal frequency of each signal interval of the analog signal data
  • the mobile terminal performs noise analysis on the signal frequency to obtain an analysis result
  • the mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the analog signal data processed by the noise reduction.
  • the filtering processing manner includes high-pass filtering, low-pass filtering, band-pass filtering, and band-stop filtering.
  • the step of filtering the analog signal data by the mobile terminal to obtain the filtered processed analog signal data further includes:
  • the mobile terminal performs low noise adjustment on the analog signal data.
  • the method further includes:
  • the mobile terminal amplifies the data signal of the analog signal data.
  • the step of the mobile terminal performing audio output of the analog signal data further includes:
  • the mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
  • the mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
  • the present invention also provides a sound quality conversion device, the sound quality conversion device comprising:
  • a decoding module configured to perform HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data
  • a conversion module for converting digital signal data into analog signal data
  • An output module for audio output of analog signal data An output module for audio output of analog signal data.
  • the present invention further provides a voice quality conversion terminal, the sound quality conversion terminal comprising: a memory, a processor, a communication bus, and a sound quality conversion program of audio stored on the memory,
  • the communication bus is used to implement a communication connection between the processor and the memory
  • the processor is configured to execute a sound quality conversion program of the audio to implement the following steps:
  • the mobile terminal has a built-in HiFi decoding module, and the audio quality conversion method of the audio includes:
  • the mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
  • the mobile terminal converts the digital signal data into analog signal data
  • the mobile terminal performs audio output on the analog signal data.
  • the step of the terminal performing audio output of the analog signal data comprises:
  • the mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data
  • the mobile terminal performs audio output on the filtered analog signal data.
  • the filtering process includes a noise reduction process
  • the step of filtering the analog signal data by the mobile terminal to obtain the filtered processed analog signal data includes:
  • the mobile terminal analyzes the analog signal data to obtain the signal frequency of each signal interval of the analog signal data
  • the mobile terminal performs noise analysis on the signal frequency to obtain an analysis result
  • the mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the analog signal data processed by the noise reduction.
  • the filtering processing manner includes high-pass filtering, low-pass filtering, band-pass filtering, and band-stop filtering.
  • the step of filtering the analog signal data by the mobile terminal to obtain the filtered processed analog signal data further includes:
  • the mobile terminal performs low noise adjustment on the analog signal data.
  • the method further includes:
  • the mobile terminal amplifies the data signal of the analog signal data.
  • the step of the mobile terminal performing audio output of the analog signal data further includes:
  • the mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
  • the mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
  • the present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being configurable by one or more processors Execute for:
  • the mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
  • the mobile terminal converts the digital signal data into analog signal data
  • the mobile terminal performs audio output on the analog signal data.
  • the mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data; and converts the digital signal data into analog signal data; finally, the analog signal data is audio output, so that the user even
  • the Lightning interface also does not need to carry a large and heavy HiFi playback device, which is convenient for the user to carry, avoiding the inconvenience of carrying due to defects in the volume and weight of the HiFi playback device, and greatly improving the user experience.
  • FIG. 1 is a schematic flow chart of a preferred embodiment of a method for converting audio quality of audio according to the present invention
  • FIG. 2 is a schematic diagram of still another process in an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of functional modules of a preferred embodiment of a sound quality conversion device of the present invention.
  • FIG. 5 is a schematic structural diagram of a device in a hardware operating environment according to a method according to an embodiment of the present invention.
  • the invention provides a method for converting sound quality of audio.
  • FIG. 1 is a schematic flow chart of a preferred embodiment of a method for converting audio quality of audio according to the present invention.
  • an embodiment of the audio quality conversion method of audio is provided. It should be noted that although the logical order is shown in the flowchart, in some cases, the execution may be performed in a different order from here. The steps shown or described.
  • the audio quality conversion method of the audio includes:
  • Step S10 The mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data.
  • the HiFi is High-Fidelity, which means high fidelity. In this embodiment, it refers to playback audio that is highly similar to the original sound. Generally speaking, it refers to the high-reduction of audio data, so it can be used as a detection standard for audio quality. .
  • the audio data can effectively reflect the high fidelity of the audio data.
  • the digital signal data may be PCM data, that is, pulse code modulated data, and the HiFi decoding module built in the mobile terminal generates binary pulse codes “0” and “1” by performing on-off modulation on the audio data, that is, performing audio data. Analyze, obtain and quantize and encode the data features therein.
  • the quantization step refers to discretizing the information in the initial audio data, and using a set of predetermined levels to use the information to the nearest level. Indicates that the level value is expressed in binary. Coding refers to the use of a set of binary code groups to represent each quantized value having a fixed level.
  • the digital signal data composed of the binary pulse code group has a state of only "0" and "1", so the digital signal data is hardly interfered by other factors, so the audio data is processed by HiFi decoding.
  • the digital signal data formed afterwards can restore the original sound quality of the audio data to the utmost extent, thereby achieving the HiFi high-fidelity sound quality standard.
  • Step S20 the mobile terminal converts the digital signal data into analog signal data
  • the digital signal data needs to be converted into analog signal data to be recognized by the mobile terminal for reading.
  • a digital/analog converter is built in the mobile terminal for converting a digital signal into an analog signal device so that the data can be recognized by other devices.
  • the analog signal is usually a waveform analog signal to the original data source. Since the digital signal data maximizes the high fidelity of the audio data, large data distortion can be avoided by converting it into analog signal data. Thereby ensuring the quality of the audio data.
  • the mobile terminal After obtaining the digital signal data, the mobile terminal determines and analyzes the digital quantity in the digital signal data, and converts the digital quantity into an analog quantity through the weight resistance bit network analysis, wherein the conversion mode is divided into a binary weight resistance network conversion and a T-type resistance.
  • Network conversion according to the conversion principle of the DAC digital-to-analog converter, the analog voltage in the obtained analog signal data is proportional to the input digital quantity.
  • step S30 the mobile terminal performs audio output on the analog signal data.
  • the mobile terminal transmits the acquired analog signal data to the audio output device for audio playback, that is, the analog output data is read by the audio output device, thereby parsing and outputting the analog signal data.
  • the step S30 includes:
  • Step S31 the mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data.
  • the filtering process is mainly to filter illegal data in the analog signal data.
  • the specific frequency of the signal band is obtained, and the signal band that does not meet the preset frequency is filtered, thereby filtering out the analog signal data that meets the preset frequency.
  • the filtering process includes a noise reduction process
  • the step S31 can be refined to:
  • Step S311 the mobile terminal analyzes the analog signal data to obtain a signal frequency of each signal interval of the analog signal data
  • Step S312 the mobile terminal performs noise analysis on the signal frequency to obtain an analysis result.
  • Step S313 the mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the noise reduction processed analog signal data.
  • the filtering process includes noise reduction on the signal data.
  • a large amount of noise may be generated due to the operation error of the digital/analog converter or the inaccuracy of the conversion algorithm.
  • the noise will have a certain negative impact on the final playback of the analog signal data. Therefore, the mobile terminal will analyze according to the signal band of the analog signal data, thereby obtaining the signal frequency of the analog signal data in different signal intervals.
  • the signal interval refers to the band interval of the analog signal data, and the specific characteristics of the analog signal data in the signal interval will be reflected by the signal frequency.
  • the mobile terminal acquires the signal frequency and performs noise analysis on it to obtain a noise analysis result of the signal frequency.
  • the noise analysis is an analysis process for detecting and screening a signal frequency that does not meet a preset frequency. Based on the analysis results, the mobile terminal determines whether there is noise in the signal band and the amount of noise that occurs.
  • the mobile terminal sets a preset threshold as a limitation of the signal frequency.
  • the mobile terminal determines the corresponding signal frequency and performs noise reduction processing thereon, thereby reducing the amount of noise in the signal frequency. Guarantee the quality of analog signal data.
  • the filtering processing method includes high-pass filtering, low-pass filtering, band-pass filtering, and band-stop filtering.
  • the rule of high-pass filtering is that the high-frequency signal can pass normally, and the low-frequency signal below the set threshold is blocked and weakened;
  • the rule of low-pass filtering is that the low-frequency signal can pass normally, and the high-frequency signal exceeding the set threshold is blocked and weakened;
  • the rule of bandpass filtering is to pass frequency components in a certain frequency range, but to attenuate other ranges of frequency components to an extremely low level;
  • the rule of band-stop filtering is to pass most of the frequency components, but to a certain range of frequency components to a very low level.
  • the mobile terminal can filter out invalid data in the analog signal data that does not meet the demand, thereby obtaining high quality analog signal data.
  • Step S32 the mobile terminal performs audio output on the filtered analog signal data.
  • the terminal After the noise reduction processing of each signal frequency in the analog signal data is completed, the terminal acquires the analog signal data after optimization and processing such as filtering and noise reduction, and transmits the analog signal data to an audio output device such as a speaker horn for output playback.
  • an audio output device such as a speaker horn for output playback.
  • the method may further include:
  • the mobile terminal performs low noise adjustment on the analog signal data.
  • the low noise adjustment refers to an audio volume adjustment of analog signal data by using an adjustment device with a low noise figure.
  • the volume is generally used as a high frequency or intermediate frequency pre-regulator for various types of radio receivers, as well as a regulating circuit for high-sensitivity electronic detection equipment.
  • the noise of the regulator itself may be very serious, which may cause data distortion and generate a large amount of noise, thereby reducing the signal-to-noise ratio of the audio output.
  • the adjustment device with low noise system can maximize the sound quality of the original audio data during the adjustment of the analog signal data, and prevent a large amount of noise data from being generated in the analog signal data due to the adjustment fluctuation.
  • the signal-to-noise ratio of the audio output restores the original analog signal data.
  • the difference between the second embodiment of the audio quality conversion method of the audio and the first embodiment of the audio quality conversion method of the audio is that after the step of converting the digital signal data into analog signal data by the 20 mobile terminal, the method further includes:
  • the mobile terminal amplifies the data signal of the analog signal data.
  • the analog signal data After the mobile terminal converts the digital signal data into analog signal data, the analog signal data needs to be output. Part of the output system needs to reach a certain power when outputting analog signal data to ensure that the analog signal data output is not lost. Therefore, the analog signal data can be amplified to boost the load, including the output power, output intensity, and output of the amplified analog signal data.
  • the frequency, etc., by controlling the input signal of the analog signal data, causes the amplifying circuit to adjust the input energy to a larger output energy to push the load.
  • the signal waveform of the analog signal data does not change during the amplification process, ensuring that the signal is not distorted, otherwise it is easy to cause the information to be transmitted to be lost.
  • the device module for amplifying the data signal may include an inverse proportional operation amplifier, a similar operational amplifier, a voltage follower, a subtraction amplifier, and the like.
  • the data signal is amplified by analog voltage data by introducing voltage negative feedback, reducing the output resistance, etc., improving the signal output power, ensuring that the signal output is not distorted, and ensuring the signal output quality.
  • the mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
  • the mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
  • the analog signal data is audio data recognized by the mobile terminal, and the audio data is usually composed of different audio styles. In real-life scenarios, audio data has its own tune style, including rock, country, pop, folk, and more. Different styles of audio data need to be adapted to the HiFi playback style.
  • the mobile terminal has a corresponding intelligent HiFi audio recognition module, and before the audio output, the waveform band of the analog signal data can be analyzed, and the signal frequency, signal strength or waveform of the band in the analog signal data is simulated. The cycle counts to derive which style type the audio data conforms to.
  • the waveform period in the analog signal data is relatively flat, and the signal strength of the band is not high, and the oscillation is kept within a fixed range, and the waveform period is irregular, and the repetition band is not much, then according to the intelligent HiFi audio in the mobile terminal.
  • the analysis and recognition function of the identification module determines the style type of the audio data as a folk song.
  • the mobile terminal can adjust the play style in the audio output device to the folk style output mode, for example, reduce the volume of the audio play, improve the playback resolution of the audio, reduce the noise data of the audio data, and reduce the output tone to match Audio features of the folk style.
  • the present invention further provides a sound quality conversion device.
  • FIG. 3 is a schematic diagram of functional modules of a preferred embodiment of the sound quality conversion device of the present invention.
  • the block diagram shown in FIG. 3 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art can easily perform the module of the voice quality conversion apparatus shown in FIG.
  • the core of the technical solution of the present invention is that each name is defined. The functionality that the module has to achieve.
  • the decoding module 10 is configured to perform HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data.
  • the HiFi is High-Fidelity, which means high fidelity. In this embodiment, it refers to playback audio that is highly similar to the original sound. Generally speaking, it refers to the high-reduction of audio data, so it can be used as a detection standard for audio quality. .
  • the audio data can effectively reflect the high fidelity of the audio data.
  • the digital signal data may be PCM data, that is, pulse code modulated data, and the HiFi decoding module 10 built in the mobile terminal generates binary pulse codes “0” and “1” by performing on-off modulation on the audio data, that is, audio data. Performing an analysis to obtain and quantize and encode the data features therein.
  • the quantization step refers to discretizing the information in the initial audio data, and using the specified level to use the information to the closest level. To indicate that the level value is expressed in binary. Coding refers to the use of a set of binary code groups to represent each quantized value having a fixed level.
  • the digital signal data composed of the binary pulse code group has a state of only "0" and "1", so the digital signal data is hardly interfered by other factors, so the audio data is processed by HiFi decoding.
  • the digital signal data formed afterwards can restore the original sound quality of the audio data to the utmost extent, thereby achieving the HiFi high-fidelity sound quality standard.
  • a conversion module configured to convert digital signal data into analog signal data
  • the digital signal data needs to be converted into analog signal data to be recognized by the mobile terminal for reading.
  • the conversion module 20 is built in the mobile terminal, and may be a digital/analog converter, which is a device for converting a digital signal into an analog signal, so that the data can be recognized by other devices.
  • the analog signal is usually a waveform analog signal to the original data source. Since the digital signal data maximizes the high fidelity of the audio data, large data distortion can be avoided by converting it into analog signal data. Thereby ensuring the quality of the audio data.
  • the output module 30 is configured to perform audio output on the analog signal data.
  • the output module 30 transmits the acquired analog signal data to the audio output device for audio playback, that is, the analog output data is read by the audio output device, thereby parsing and outputting the analog signal data.
  • FIG. 4 is a structural diagram of an architecture in an embodiment of the present invention.
  • the audio data stored in the mobile terminal based on the Lightning interface is first transmitted to the HiFi decoding chip, thereby converting the audio data into the PCM data of the 32-bit audio digital signal, ensuring high fidelity of the audio.
  • the PCM data is then passed to a DAC digital-to-analog converter to convert the PCM digital signal to an analog signal.
  • the analog signal data is transmitted to the low noise amplifier for audio amplification, and then the audio output is performed by a 3.5 mm earphone.
  • noise may occur after the audio is amplified, and the noise reduction processing unit may perform noise reduction filtering.
  • FIG. 5 is a schematic structural diagram of a device in a hardware operating environment involved in a method according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving). Picture Experts Group Audio Layer III, motion picture expert compresses standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 4) terminal devices such as players and portable computers.
  • MP3 Motion Picture Experts Group Audio Layer III, motion picture expert compresses standard audio layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 4
  • terminal devices such as players and portable computers.
  • the sound quality conversion terminal may include a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between the processor 1001 and the memory 1005.
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the voice quality conversion terminal may further include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • the user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface.
  • the network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
  • the structure of the sound quality conversion terminal shown in FIG. 5 does not constitute a limitation of the sound quality conversion terminal, and may include more or less components than those illustrated, or combine some components or different components. Arrangement.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, and an audio quality conversion program.
  • the operating system is a program that manages and controls the hardware and software resources of the sound quality conversion terminal, and supports audio quality conversion programs and other software and/or programs.
  • the network communication module is used to implement communication between components within the memory 1005 and with other hardware and software in the sound quality conversion terminal.
  • the processor 1001 is configured to execute a sound quality conversion program of the audio stored in the memory 1005, and implement the following steps:
  • the mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
  • the mobile terminal converts the digital signal data into analog signal data
  • the mobile terminal performs audio output on the analog signal data.
  • step of the terminal performing audio output of the analog signal data includes:
  • the mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data
  • the mobile terminal performs audio output on the filtered analog signal data.
  • the filtering process includes a noise reduction process
  • the step of the mobile terminal filtering the analog signal data to obtain the filtered processed analog signal data includes:
  • the mobile terminal analyzes the analog signal data to obtain the signal frequency of each signal interval of the analog signal data
  • the mobile terminal performs noise analysis on the signal frequency to obtain an analysis result
  • the mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the analog signal data processed by the noise reduction.
  • the filtering processing manner includes high-pass filtering, low-pass filtering, band-pass filtering, and band-stop filtering.
  • the method further includes:
  • the mobile terminal performs low noise adjustment on the analog signal data.
  • the method further includes:
  • the mobile terminal amplifies the data signal of the analog signal data.
  • step of the mobile terminal performing audio output of the analog signal data further includes:
  • the mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
  • the mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
  • the specific implementation of the sound quality conversion terminal of the present invention is substantially the same as the embodiment of the audio quality conversion method of the above audio, and details are not described herein again.
  • the invention also provides a computer readable storage medium storing one or more programs, the one or more programs being further executable by one or more processors for:
  • the mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
  • the mobile terminal converts the digital signal data into analog signal data
  • the mobile terminal performs audio output on the analog signal data.
  • the embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the audio quality conversion method of the above audio, and details are not described herein again.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

Disclosed are a sound quality conversion method and device for audio, a terminal and a computer-readable storage medium. The method comprises: a mobile terminal performing HiFi decoding on audio data based on a HiFi decoding module (S10) to acquire digital signal data; the mobile terminal converting the digital signal data to analog signal data (S20); and the mobile terminal outputting the analog signal data as audio (S30). The device is convenient for a user to carry and prevents carrying being inconvenient due to the shortcomings of a HiFi playing device in terms of volume and weight.

Description

音频的音质转换方法、装置、终端及计算机可读存储介质  Audio quality conversion method, device, terminal and computer readable storage medium
技术领域Technical field
本发明涉及音频转换技术领域,尤其涉及一种音频的音质转换方法、装置、终端及计算机可读存储介质。The present invention relates to the field of audio conversion technologies, and in particular, to a method, an apparatus, a terminal, and a computer readable storage medium for audio quality conversion.
背景技术Background technique
现如今,人们对音频的品质需求越来越精细,但高品质的音频需求需要通过专门的HiFi播放设备的解析播放来满足。Nowadays, people's demand for audio quality is getting more and more fine, but high-quality audio needs need to be met by the parsing and playback of a dedicated HiFi playback device.
而采用Lightning耳机接口的设备终端由于硬件限制,则需要携带HiFi播放设备,才能将设备终端中的音频音质转化为HiFi音质。但是由于HiFi音质的码率较高,因此HiFi音质的获取对HiFi播放设备的硬件需求较高,因此HiFi播放设备普遍体积较大,不容易携带,极大地伤害了用户的使用体验。The device terminal using the Lightning headphone interface needs to carry the HiFi playback device due to hardware limitations, so that the audio quality in the device terminal can be converted into HiFi sound quality. However, due to the high bit rate of HiFi sound quality, the acquisition of HiFi sound quality has higher hardware requirements for HiFi playback devices. Therefore, HiFi playback devices are generally bulky and not easy to carry, which greatly damages the user experience.
发明内容Summary of the invention
本发明的主要目的在于提供一种音频的音质转换方法、装置、终端及计算机可读存储介质,旨在解决Lightning耳机接口因硬件限制导致HiFi播放设备体积较大,携带不方便的技术问题。The main purpose of the present invention is to provide a method, device, terminal and computer readable storage medium for audio quality conversion, which aims to solve the technical problem that the Lightning earphone interface is bulky and inconvenient to carry due to hardware limitations.
为实现上述目的,本发明实施例提供一种音频的音质转换方法,所述音频的音质转换方法应用于移动终端;所述移动终端内置HiFi解码模块,所述音频的音质转换方法包括:In order to achieve the above object, an embodiment of the present invention provides a voice quality conversion method for audio. The audio quality conversion method of the audio is applied to a mobile terminal. The mobile terminal has a HiFi decoding module, and the audio quality conversion method includes:
移动终端基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;The mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
移动终端将数字信号数据转换为模拟信号数据;The mobile terminal converts the digital signal data into analog signal data;
移动终端将模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data.
优选地,所述终端将模拟信号数据进行音频输出的步骤包括:Preferably, the step of the terminal performing audio output of the analog signal data comprises:
移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据;The mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data;
移动终端对滤波处理过的模拟信号数据进行音频输出。The mobile terminal performs audio output on the filtered analog signal data.
优选地,所述滤波处理包括降噪处理,所述移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据的步骤包括:Preferably, the filtering process includes a noise reduction process, and the step of filtering the analog signal data by the mobile terminal to obtain the filtered processed analog signal data includes:
移动终端分析模拟信号数据,获得模拟信号数据各信号区间的信号频率;The mobile terminal analyzes the analog signal data to obtain the signal frequency of each signal interval of the analog signal data;
移动终端对信号频率进行噪音分析,获得分析结果;The mobile terminal performs noise analysis on the signal frequency to obtain an analysis result;
移动终端根据分析结果,对噪音数量大于预设阈值的信号频率进行降噪处理,获得降噪处理过的模拟信号数据。The mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the analog signal data processed by the noise reduction.
优选地,所述滤波处理方式包括高通滤波、低通滤波、带通滤波和带阻滤波。Preferably, the filtering processing manner includes high-pass filtering, low-pass filtering, band-pass filtering, and band-stop filtering.
优选地,所述移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据的步骤之前还包括:Preferably, the step of filtering the analog signal data by the mobile terminal to obtain the filtered processed analog signal data further includes:
移动终端对模拟信号数据进行低噪声调节。The mobile terminal performs low noise adjustment on the analog signal data.
优选地,所述移动终端将数字信号数据转换为模拟信号数据的步骤之后还包括:Preferably, after the step of converting the digital signal data into analog signal data by the mobile terminal, the method further includes:
移动终端对模拟信号数据进行数据信号放大。The mobile terminal amplifies the data signal of the analog signal data.
优选地,所述移动终端将模拟信号数据进行音频输出的步骤还包括:Preferably, the step of the mobile terminal performing audio output of the analog signal data further includes:
移动终端分析模拟信号数据的信号特征类型,确定音频数据的风格类型;The mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
移动终端根据符合风格类型的输出方式对模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
本发明还提供一种音质转换装置,所述音质转换装置包括:The present invention also provides a sound quality conversion device, the sound quality conversion device comprising:
解码模块,用于基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;a decoding module, configured to perform HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
转换模块,用于将数字信号数据转换为模拟信号数据;a conversion module for converting digital signal data into analog signal data;
输出模块,用于将模拟信号数据进行音频输出。An output module for audio output of analog signal data.
此外,为实现上述目的,本发明还提供一种音质转换终端,所述音质转换终端包括:存储器、处理器,通信总线以及存储在所述存储器上的音频的音质转换程序,In addition, in order to achieve the above object, the present invention further provides a voice quality conversion terminal, the sound quality conversion terminal comprising: a memory, a processor, a communication bus, and a sound quality conversion program of audio stored on the memory,
所述通信总线用于实现处理器与存储器间的通信连接;The communication bus is used to implement a communication connection between the processor and the memory;
所述处理器用于执行所述音频的音质转换程序,以实现以下步骤:The processor is configured to execute a sound quality conversion program of the audio to implement the following steps:
所述移动终端内置HiFi解码模块,所述音频的音质转换方法包括:The mobile terminal has a built-in HiFi decoding module, and the audio quality conversion method of the audio includes:
移动终端基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;The mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
移动终端将数字信号数据转换为模拟信号数据;The mobile terminal converts the digital signal data into analog signal data;
移动终端将模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data.
优选地,所述终端将模拟信号数据进行音频输出的步骤包括:Preferably, the step of the terminal performing audio output of the analog signal data comprises:
移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据;The mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data;
移动终端对滤波处理过的模拟信号数据进行音频输出。The mobile terminal performs audio output on the filtered analog signal data.
优选地,所述滤波处理包括降噪处理,所述移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据的步骤包括:Preferably, the filtering process includes a noise reduction process, and the step of filtering the analog signal data by the mobile terminal to obtain the filtered processed analog signal data includes:
移动终端分析模拟信号数据,获得模拟信号数据各信号区间的信号频率;The mobile terminal analyzes the analog signal data to obtain the signal frequency of each signal interval of the analog signal data;
移动终端对信号频率进行噪音分析,获得分析结果;The mobile terminal performs noise analysis on the signal frequency to obtain an analysis result;
移动终端根据分析结果,对噪音数量大于预设阈值的信号频率进行降噪处理,获得降噪处理过的模拟信号数据。The mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the analog signal data processed by the noise reduction.
优选地,所述滤波处理方式包括高通滤波、低通滤波、带通滤波和带阻滤波。Preferably, the filtering processing manner includes high-pass filtering, low-pass filtering, band-pass filtering, and band-stop filtering.
优选地,所述移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据的步骤之前还包括:Preferably, the step of filtering the analog signal data by the mobile terminal to obtain the filtered processed analog signal data further includes:
移动终端对模拟信号数据进行低噪声调节。The mobile terminal performs low noise adjustment on the analog signal data.
优选地,所述移动终端将数字信号数据转换为模拟信号数据的步骤之后还包括:Preferably, after the step of converting the digital signal data into analog signal data by the mobile terminal, the method further includes:
移动终端对模拟信号数据进行数据信号放大。The mobile terminal amplifies the data signal of the analog signal data.
优选地,所述移动终端将模拟信号数据进行音频输出的步骤还包括:Preferably, the step of the mobile terminal performing audio output of the analog signal data further includes:
移动终端分析模拟信号数据的信号特征类型,确定音频数据的风格类型;The mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
移动终端根据符合风格类型的输出方式对模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行以用于:Moreover, in order to achieve the above object, the present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being configurable by one or more processors Execute for:
移动终端基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;The mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
移动终端将数字信号数据转换为模拟信号数据;The mobile terminal converts the digital signal data into analog signal data;
移动终端将模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data.
本发明的技术方案中,移动终端基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;并将数字信号数据转换为模拟信号数据;最后将模拟信号数据进行音频输出,使得用户即使是在Lightning接口下也无需携带体积大、重量大的HiFi播放设备,方便用户携带,避免了由于HiFi播放设备在体积和重量上的缺陷导致携带不方便的现象发生,极大地提高用户的使用体验。In the technical solution of the present invention, the mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data; and converts the digital signal data into analog signal data; finally, the analog signal data is audio output, so that the user even The Lightning interface also does not need to carry a large and heavy HiFi playback device, which is convenient for the user to carry, avoiding the inconvenience of carrying due to defects in the volume and weight of the HiFi playback device, and greatly improving the user experience.
附图说明DRAWINGS
图1为本发明音频的音质转换方法较佳实施例的流程示意图;1 is a schematic flow chart of a preferred embodiment of a method for converting audio quality of audio according to the present invention;
图2为本发明实施例中又一流程示意图;2 is a schematic diagram of still another process in an embodiment of the present invention;
图3为本发明音质转换装置较佳实施例的功能模块示意图;3 is a schematic diagram of functional modules of a preferred embodiment of a sound quality conversion device of the present invention;
图4为本发明实施例中一架构设计图;4 is an architectural design diagram of an embodiment of the present invention;
图5为本发明实施例方法涉及的硬件运行环境的设备结构示意图。FIG. 5 is a schematic structural diagram of a device in a hardware operating environment according to a method according to an embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种音频的音质转换方法。The invention provides a method for converting sound quality of audio.
参照图1,图1为本发明音频的音质转换方法较佳实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flow chart of a preferred embodiment of a method for converting audio quality of audio according to the present invention.
在本实施例中,提供了音频的音质转换方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In the present embodiment, an embodiment of the audio quality conversion method of audio is provided. It should be noted that although the logical order is shown in the flowchart, in some cases, the execution may be performed in a different order from here. The steps shown or described.
所述音频的音质转换方法包括:The audio quality conversion method of the audio includes:
步骤S10,移动终端基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;Step S10: The mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data.
所述HiFi为High-Fidelity,意为高保真,在本实施例中指的是与原来的声音高度相似的重放音频,一般指代音频数据的高度还原,故可作为音频音质的一种检测标准。音频数据在经过HiFi解码之后,能够有效体现音频数据的高保真。所述数字信号数据可以是PCM数据,即脉冲编码调制数据,移动终端中内置的HiFi解码模块通过对音频数据进行通断调制,产生二进制脉冲编码“0”和“1”,即对音频数据进行分析,获取其中的数据特征并对其量化、编码,所述量化步骤指的是将初始音频数据中的信息进行幅度离散,用一组规定的电平,把信息用最接近的电平值来表示,其中电平值采用二进制表示。而编码指的是用一组二进制码组来表示每一个有固定电平的量化值。The HiFi is High-Fidelity, which means high fidelity. In this embodiment, it refers to playback audio that is highly similar to the original sound. Generally speaking, it refers to the high-reduction of audio data, so it can be used as a detection standard for audio quality. . After the HiFi decoding, the audio data can effectively reflect the high fidelity of the audio data. The digital signal data may be PCM data, that is, pulse code modulated data, and the HiFi decoding module built in the mobile terminal generates binary pulse codes “0” and “1” by performing on-off modulation on the audio data, that is, performing audio data. Analyze, obtain and quantize and encode the data features therein. The quantization step refers to discretizing the information in the initial audio data, and using a set of predetermined levels to use the information to the nearest level. Indicates that the level value is expressed in binary. Coding refers to the use of a set of binary code groups to represent each quantized value having a fixed level.
可以理解的是,二进制脉冲码组组成的数字信号数据,由于其信号状态只有“0”和“1”两种状态,因此数字信号数据很难受到其他因素的干扰,故音频数据经过HiFi解码处理后形成的数字信号数据,能够最大限度高度还原音频数据的原始音质,从而达到HiFi高保真的音质标准。It can be understood that the digital signal data composed of the binary pulse code group has a state of only "0" and "1", so the digital signal data is hardly interfered by other factors, so the audio data is processed by HiFi decoding. The digital signal data formed afterwards can restore the original sound quality of the audio data to the utmost extent, thereby achieving the HiFi high-fidelity sound quality standard.
步骤S20,移动终端将数字信号数据转换为模拟信号数据;Step S20, the mobile terminal converts the digital signal data into analog signal data;
数字信号数据需经过转换为模拟信号数据,才能为移动终端所识别读取。在本实施例中,移动终端中内置有数/模转换器,用于将数字信号转换为模拟信号的设备,使得数据能够被其他设备所识别。模拟信号通常是对原始数据源的进行波形模拟的信号,由于数字信号数据最大限度地保障了音频数据的高保真,因此转化为模拟信号数据中也可以避免较大的数据失真。从而保障音频数据的质量。The digital signal data needs to be converted into analog signal data to be recognized by the mobile terminal for reading. In the present embodiment, a digital/analog converter is built in the mobile terminal for converting a digital signal into an analog signal device so that the data can be recognized by other devices. The analog signal is usually a waveform analog signal to the original data source. Since the digital signal data maximizes the high fidelity of the audio data, large data distortion can be avoided by converting it into analog signal data. Thereby ensuring the quality of the audio data.
移动终端获取数字信号数据后,确定并分析数字信号数据中的数字量,经过权电阻位权网络解析,将数字量转化为模拟量,其中,转换方式分为二进制权电阻网络转换和T型电阻网络转换,按照DAC数/模转换器的转换工作原理,所获得模拟信号数据中的模拟电压与输入的数字量成正比。After obtaining the digital signal data, the mobile terminal determines and analyzes the digital quantity in the digital signal data, and converts the digital quantity into an analog quantity through the weight resistance bit network analysis, wherein the conversion mode is divided into a binary weight resistance network conversion and a T-type resistance. Network conversion, according to the conversion principle of the DAC digital-to-analog converter, the analog voltage in the obtained analog signal data is proportional to the input digital quantity.
步骤S30,移动终端将模拟信号数据进行音频输出。In step S30, the mobile terminal performs audio output on the analog signal data.
本实施例中,移动终端将获取到的模拟信号数据通过传输至音频输出设备进行音频播放,也就是由音频输出设备进行模拟信号数据读取,从而将模拟信号数据解析并输出播放。In this embodiment, the mobile terminal transmits the acquired analog signal data to the audio output device for audio playback, that is, the analog output data is read by the audio output device, thereby parsing and outputting the analog signal data.
参照图2,所述步骤S30包括:Referring to FIG. 2, the step S30 includes:
步骤S31,移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据;Step S31, the mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data.
滤波处理主要是对模拟信号数据中的非法数据进行过滤。通过将分析模拟信号数据的信号波段,获取到信号波段的具体频率,并对不符合预设频率的信号波段进行过滤,从而筛选出符合预设频率的模拟信号数据。The filtering process is mainly to filter illegal data in the analog signal data. By analyzing the signal band of the analog signal data, the specific frequency of the signal band is obtained, and the signal band that does not meet the preset frequency is filtered, thereby filtering out the analog signal data that meets the preset frequency.
具体地,所述滤波处理包括降噪处理,所述步骤S31可细化为:Specifically, the filtering process includes a noise reduction process, and the step S31 can be refined to:
步骤S311,移动终端分析模拟信号数据,获得模拟信号数据各信号区间的信号频率;Step S311, the mobile terminal analyzes the analog signal data to obtain a signal frequency of each signal interval of the analog signal data;
步骤S312,移动终端对信号频率进行噪音分析,获得分析结果;Step S312, the mobile terminal performs noise analysis on the signal frequency to obtain an analysis result.
步骤S313,移动终端根据分析结果,对噪音数量大于预设阈值的信号频率进行降噪处理,获得降噪处理过的模拟信号数据。Step S313, the mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the noise reduction processed analog signal data.
滤波处理中包括对信号数据进行降噪,在将数字信号数据转换为模拟信号数据的过程中,可能由于数/模转换器的运行出错或转换算法不精准导致数据信号转化出现大量噪音。噪音会对模拟信号数据最终的播放效果产生一定的负面影响。因此,移动终端将根据模拟信号数据的信号波段进行分析,从而获得模拟信号数据在不同信号区间的信号频率。所述信号区间指的是模拟信号数据的波段区间,而在该信号区间内模拟信号数据的具体特征将由信号频率体现。The filtering process includes noise reduction on the signal data. In the process of converting the digital signal data into analog signal data, a large amount of noise may be generated due to the operation error of the digital/analog converter or the inaccuracy of the conversion algorithm. The noise will have a certain negative impact on the final playback of the analog signal data. Therefore, the mobile terminal will analyze according to the signal band of the analog signal data, thereby obtaining the signal frequency of the analog signal data in different signal intervals. The signal interval refers to the band interval of the analog signal data, and the specific characteristics of the analog signal data in the signal interval will be reflected by the signal frequency.
移动终端获取到信号频率,并对其进行噪音分析,从而获得信号频率的噪音分析结果。所述噪音分析即为检测筛选不符合预设频率的信号频率的分析过程。根据分析结果,移动终端确定了信号频段中是否存在噪音,以及所出现的噪音数量。The mobile terminal acquires the signal frequency and performs noise analysis on it to obtain a noise analysis result of the signal frequency. The noise analysis is an analysis process for detecting and screening a signal frequency that does not meet a preset frequency. Based on the analysis results, the mobile terminal determines whether there is noise in the signal band and the amount of noise that occurs.
移动终端设置了预设阈值作为信号频率的限制,在噪音数量大于预设阈值的情形下,移动终端将确定对应的信号频率,并对其进行降噪处理,从而降低信号频率中的噪音数量,保障模拟信号数据的质量。The mobile terminal sets a preset threshold as a limitation of the signal frequency. When the amount of noise is greater than a preset threshold, the mobile terminal determines the corresponding signal frequency and performs noise reduction processing thereon, thereby reducing the amount of noise in the signal frequency. Guarantee the quality of analog signal data.
所述滤波处理方式包括高通滤波、低通滤波、带通滤波和带阻滤波。The filtering processing method includes high-pass filtering, low-pass filtering, band-pass filtering, and band-stop filtering.
高通滤波的规则为高频信号能正常通过,而低于设定临界值的低频信号则被阻隔、减弱;The rule of high-pass filtering is that the high-frequency signal can pass normally, and the low-frequency signal below the set threshold is blocked and weakened;
低通滤波的规则为低频信号能正常通过,而超过设定临界值的高频信号则被阻隔、减弱;The rule of low-pass filtering is that the low-frequency signal can pass normally, and the high-frequency signal exceeding the set threshold is blocked and weakened;
带通滤波的规则为通过某一频率范围内的频率分量、但将其他范围的频率分量衰减到极低水平;The rule of bandpass filtering is to pass frequency components in a certain frequency range, but to attenuate other ranges of frequency components to an extremely low level;
带阻滤波的规则为通过大多数频率分量、但将某些范围的频率分量衰减到极低水平。The rule of band-stop filtering is to pass most of the frequency components, but to a certain range of frequency components to a very low level.
通过不同的滤波方式,移动终端能过滤掉不符合需求的模拟信号数据中的无效数据,从而获得高质量的模拟信号数据。Through different filtering methods, the mobile terminal can filter out invalid data in the analog signal data that does not meet the demand, thereby obtaining high quality analog signal data.
步骤S32,移动终端对滤波处理过的模拟信号数据进行音频输出。Step S32, the mobile terminal performs audio output on the filtered analog signal data.
在完成对模拟信号数据中各信号频率的降噪处理之后,终端获取到滤波降噪等优化处理后的模拟信号数据,将其传输到扬声器喇叭等音频输出设备进行输出播放。After the noise reduction processing of each signal frequency in the analog signal data is completed, the terminal acquires the analog signal data after optimization and processing such as filtering and noise reduction, and transmits the analog signal data to an audio output device such as a speaker horn for output playback.
优选地,在步骤S31之前还可以包括:Preferably, before step S31, the method may further include:
移动终端对模拟信号数据进行低噪声调节。The mobile terminal performs low noise adjustment on the analog signal data.
所述低噪声调节指的是利用噪声系数低的调整装置,对模拟信号数据进行音频音量调整。在现实生活,音量一般用作各类无线电接收机的高频或中频前置调节器,以及高灵敏度电子探测设备的调节电路。在调节微弱信号的场合,调节器自身的噪声对信号的干扰可能很严重,容易产生数据失真,产生大量的噪音,从而降低音频输出的信噪比。The low noise adjustment refers to an audio volume adjustment of analog signal data by using an adjustment device with a low noise figure. In real life, the volume is generally used as a high frequency or intermediate frequency pre-regulator for various types of radio receivers, as well as a regulating circuit for high-sensitivity electronic detection equipment. In the case of adjusting weak signals, the noise of the regulator itself may be very serious, which may cause data distortion and generate a large amount of noise, thereby reducing the signal-to-noise ratio of the audio output.
而采用噪声系统低的调整装置,可在对模拟信号数据进行调整的过程中,最大化地保持原有音频数据的音质,防止由于调整的变动导致模拟信号数据中出现大量的噪音数据,从而提高音频输出的信噪比,还原原有的模拟信号数据。The adjustment device with low noise system can maximize the sound quality of the original audio data during the adjustment of the analog signal data, and prevent a large amount of noise data from being generated in the analog signal data due to the adjustment fluctuation. The signal-to-noise ratio of the audio output restores the original analog signal data.
进一步地,提出本发明音频的音质转换方法第二实施例。Further, a second embodiment of the sound quality conversion method of the audio of the present invention is proposed.
所述音频的音质转换方法第二实施例与所述音频的音质转换方法第一实施例的区别在于,所述20移动终端将数字信号数据转换为模拟信号数据的步骤之后还包括:The difference between the second embodiment of the audio quality conversion method of the audio and the first embodiment of the audio quality conversion method of the audio is that after the step of converting the digital signal data into analog signal data by the 20 mobile terminal, the method further includes:
移动终端对模拟信号数据进行数据信号放大。The mobile terminal amplifies the data signal of the analog signal data.
移动终端将数字信号数据转换为模拟信号数据之后,需要将模拟信号数据进行输出。部分输出系统需要在输出模拟信号数据时需要达到一定功率才能保障模拟信号数据输出不丢失,因此可通过调整模拟信号数据进行放大,以推动负载,包括放大模拟信号数据的输出功率,输出强度,输出频率等,通过控制模拟信号数据的输入信号,使放大电路将输入能量调整为较大的输出能量去推动负载。After the mobile terminal converts the digital signal data into analog signal data, the analog signal data needs to be output. Part of the output system needs to reach a certain power when outputting analog signal data to ensure that the analog signal data output is not lost. Therefore, the analog signal data can be amplified to boost the load, including the output power, output intensity, and output of the amplified analog signal data. The frequency, etc., by controlling the input signal of the analog signal data, causes the amplifying circuit to adjust the input energy to a larger output energy to push the load.
放大过程中模拟信号数据的信号波形基本不发生变化,确保信号不失真,否则容易导致丢失要传送的信息。The signal waveform of the analog signal data does not change during the amplification process, ensuring that the signal is not distorted, otherwise it is easy to cause the information to be transmitted to be lost.
在本实施例中,对数据信号放大的装置模块可包括反相比例运算放大器、同相比例运算放大器、电压跟随器、减分放大器等等。通过平衡电阻、分离元件的射极输出,通过引入电压负反馈,减小输出电阻等方式对模拟信号数据进行数据信号放大,提高信号输出功率,确保信号输出不失真,同时保证信号输出质量。In this embodiment, the device module for amplifying the data signal may include an inverse proportional operation amplifier, a similar operational amplifier, a voltage follower, a subtraction amplifier, and the like. Through the balance resistor and the emitter output of the discrete component, the data signal is amplified by analog voltage data by introducing voltage negative feedback, reducing the output resistance, etc., improving the signal output power, ensuring that the signal output is not distorted, and ensuring the signal output quality.
进一步地,提出本发明音频的音质转换方法第三实施例。Further, a third embodiment of the sound quality conversion method of the audio of the present invention is proposed.
所述音频的音质转换方法第二实施例与所述音频的音质转换方法第一实施例的区别在于,所述移动终端将模拟信号数据进行音频输出的步骤还包括:The difference between the second embodiment of the audio quality conversion method of the audio and the first embodiment of the audio quality conversion method of the audio is that the step of the mobile terminal to perform audio output of the analog signal data further includes:
移动终端分析模拟信号数据的信号特征类型,确定音频数据的风格类型;The mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
移动终端根据符合风格类型的输出方式对模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
模拟信号数据是移动终端所识别的音频数据,而音频数据通常由不同的音频风格。现实场景中,音频数据具有各自的曲调风格,包括摇滚、乡村、流行、民谣等等。不同风格类型的音频数据需要与HiFi播放风格相适应。在本实施例中,移动终端内置了相应的智能HiFi音频识别模块,在进行音频输出之前,可对模拟信号数据的波形波段等进行分析,通过模拟信号数据中波段的信号频率、信号强度或者波形周期进行统计,以推导出音频数据符合哪种风格类型。例如,模拟信号数据中的波形周期均比较平缓,并且波段的信号强度并不高,保持在固定范围内震荡,同时波形周期不规则,重复波段并不多,那么根据移动终端中的智能HiFi音频识别模块的分析识别功能,可将该音频数据的风格类型确定为民谣。The analog signal data is audio data recognized by the mobile terminal, and the audio data is usually composed of different audio styles. In real-life scenarios, audio data has its own tune style, including rock, country, pop, folk, and more. Different styles of audio data need to be adapted to the HiFi playback style. In this embodiment, the mobile terminal has a corresponding intelligent HiFi audio recognition module, and before the audio output, the waveform band of the analog signal data can be analyzed, and the signal frequency, signal strength or waveform of the band in the analog signal data is simulated. The cycle counts to derive which style type the audio data conforms to. For example, the waveform period in the analog signal data is relatively flat, and the signal strength of the band is not high, and the oscillation is kept within a fixed range, and the waveform period is irregular, and the repetition band is not much, then according to the intelligent HiFi audio in the mobile terminal. The analysis and recognition function of the identification module determines the style type of the audio data as a folk song.
此时,移动终端可将音频输出设备中的播放风格调整为民谣风格的输出方式,例如降低音频播放的音量,提高对音频的播放解析力,降低音频数据的噪音数据,降低输出声调,以符合民谣风格类型的音频特征。At this time, the mobile terminal can adjust the play style in the audio output device to the folk style output mode, for example, reduce the volume of the audio play, improve the playback resolution of the audio, reduce the noise data of the audio data, and reduce the output tone to match Audio features of the folk style.
本发明进一步提供一种音质转换装置。The present invention further provides a sound quality conversion device.
参照图3,图3为本发明音质转换装置的较佳实施例的功能模块示意图。Referring to FIG. 3, FIG. 3 is a schematic diagram of functional modules of a preferred embodiment of the sound quality conversion device of the present invention.
需要强调的是,对本领域的技术人员来说,图3所示模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图3所示的音质转换装置的模块,可轻易进行新的模块的补充;各模块的名称是自定义名称,仅用于辅助理解该音质转换装置的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的模块所要达成的功能。It should be emphasized that, for those skilled in the art, the block diagram shown in FIG. 3 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art can easily perform the module of the voice quality conversion apparatus shown in FIG. The addition of the new module; the name of each module is a custom name, which is only used to assist in understanding the various program function blocks of the sound quality conversion device, and is not used to define the technical solution of the present invention. The core of the technical solution of the present invention is that each name is defined. The functionality that the module has to achieve.
解码模块10,用于基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;The decoding module 10 is configured to perform HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data.
所述HiFi为High-Fidelity,意为高保真,在本实施例中指的是与原来的声音高度相似的重放音频,一般指代音频数据的高度还原,故可作为音频音质的一种检测标准。音频数据在经过HiFi解码之后,能够有效体现音频数据的高保真。所述数字信号数据可以是PCM数据,即脉冲编码调制数据,移动终端中内置的HiFi解码模块10通过对音频数据进行通断调制,产生二进制脉冲编码“0”和“1”,即对音频数据进行分析,获取其中的数据特征并对其量化、编码,所述量化步骤指的是将初始音频数据中的信息进行幅度离散,用一组规定的电平,把信息用最接近的电平值来表示,其中电平值采用二进制表示。而编码指的是用一组二进制码组来表示每一个有固定电平的量化值。The HiFi is High-Fidelity, which means high fidelity. In this embodiment, it refers to playback audio that is highly similar to the original sound. Generally speaking, it refers to the high-reduction of audio data, so it can be used as a detection standard for audio quality. . After the HiFi decoding, the audio data can effectively reflect the high fidelity of the audio data. The digital signal data may be PCM data, that is, pulse code modulated data, and the HiFi decoding module 10 built in the mobile terminal generates binary pulse codes “0” and “1” by performing on-off modulation on the audio data, that is, audio data. Performing an analysis to obtain and quantize and encode the data features therein. The quantization step refers to discretizing the information in the initial audio data, and using the specified level to use the information to the closest level. To indicate that the level value is expressed in binary. Coding refers to the use of a set of binary code groups to represent each quantized value having a fixed level.
可以理解的是,二进制脉冲码组组成的数字信号数据,由于其信号状态只有“0”和“1”两种状态,因此数字信号数据很难受到其他因素的干扰,故音频数据经过HiFi解码处理后形成的数字信号数据,能够最大限度高度还原音频数据的原始音质,从而达到HiFi高保真的音质标准。It can be understood that the digital signal data composed of the binary pulse code group has a state of only "0" and "1", so the digital signal data is hardly interfered by other factors, so the audio data is processed by HiFi decoding. The digital signal data formed afterwards can restore the original sound quality of the audio data to the utmost extent, thereby achieving the HiFi high-fidelity sound quality standard.
转换模块20,用于将数字信号数据转换为模拟信号数据;a conversion module 20, configured to convert digital signal data into analog signal data;
数字信号数据需经过转换为模拟信号数据,才能为移动终端所识别读取。在本实施例中,移动终端中内置有转换模块20,可以是数/模转换器,用于将数字信号转换为模拟信号的设备,使得数据能够被其他设备所识别。模拟信号通常是对原始数据源的进行波形模拟的信号,由于数字信号数据最大限度地保障了音频数据的高保真,因此转化为模拟信号数据中也可以避免较大的数据失真。从而保障音频数据的质量。The digital signal data needs to be converted into analog signal data to be recognized by the mobile terminal for reading. In this embodiment, the conversion module 20 is built in the mobile terminal, and may be a digital/analog converter, which is a device for converting a digital signal into an analog signal, so that the data can be recognized by other devices. The analog signal is usually a waveform analog signal to the original data source. Since the digital signal data maximizes the high fidelity of the audio data, large data distortion can be avoided by converting it into analog signal data. Thereby ensuring the quality of the audio data.
输出模块30,用于将模拟信号数据进行音频输出。The output module 30 is configured to perform audio output on the analog signal data.
本实施例中,输出模块30将获取到的模拟信号数据通过传输至音频输出设备进行音频播放,也就是由音频输出设备进行模拟信号数据读取,从而将模拟信号数据解析并输出播放。In this embodiment, the output module 30 transmits the acquired analog signal data to the audio output device for audio playback, that is, the analog output data is read by the audio output device, thereby parsing and outputting the analog signal data.
参照图4,图4为本发明实施例中一架构设计图。本发明中,首先将基于Lightning接口的移动终端中存储的音频数据传输至HiFi解码芯片,从而将音频数据转化为32bit音频数字信号的PCM数据,确保音频的高保真。然后将PCM数据传送至DAC数/模转换器,以将PCM数字信号转换为模拟信号。最后将模拟信号数据传输至低噪声放大器进行音频放大,再由3.5mm耳机进行音频输出,可选地,音频放大后可能会出现噪音,可通过降噪处理单元进行降噪过滤。Referring to FIG. 4, FIG. 4 is a structural diagram of an architecture in an embodiment of the present invention. In the present invention, the audio data stored in the mobile terminal based on the Lightning interface is first transmitted to the HiFi decoding chip, thereby converting the audio data into the PCM data of the 32-bit audio digital signal, ensuring high fidelity of the audio. The PCM data is then passed to a DAC digital-to-analog converter to convert the PCM digital signal to an analog signal. Finally, the analog signal data is transmitted to the low noise amplifier for audio amplification, and then the audio output is performed by a 3.5 mm earphone. Alternatively, noise may occur after the audio is amplified, and the noise reduction processing unit may perform noise reduction filtering.
参照图5,图5是本发明实施例方法涉及的硬件运行环境的设备结构示意图。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a device in a hardware operating environment involved in a method according to an embodiment of the present invention.
本发明实施例终端可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、便携计算机等终端设备。The terminal in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving). Picture Experts Group Audio Layer III, motion picture expert compresses standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 4) terminal devices such as players and portable computers.
如图5所示,该音质转换终端可以包括:处理器1001,例如CPU,存储器1005,通信总线1002。其中,通信总线1002用于实现处理器1001和存储器1005之间的连接通信。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 5, the sound quality conversion terminal may include a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to implement connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,该音质转换终端还可以包括用户接口、网络接口、摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Optionally, the voice quality conversion terminal may further include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more. The user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface. The network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
本领域技术人员可以理解,图5中示出的音质转换终端结构并不构成对音质转换终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the structure of the sound quality conversion terminal shown in FIG. 5 does not constitute a limitation of the sound quality conversion terminal, and may include more or less components than those illustrated, or combine some components or different components. Arrangement.
如图5所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块以及音频的音质转换程序。操作系统是管理和控制音质转换终端硬件和软件资源的程序,支持音频的音质转换程序以及其它软件和/或程序的运行。网络通信模块用于实现存储器1005内部各组件之间的通信,以及与音质转换终端中其它硬件和软件之间通信。As shown in FIG. 5, a memory 1005 as a computer storage medium may include an operating system, a network communication module, and an audio quality conversion program. The operating system is a program that manages and controls the hardware and software resources of the sound quality conversion terminal, and supports audio quality conversion programs and other software and/or programs. The network communication module is used to implement communication between components within the memory 1005 and with other hardware and software in the sound quality conversion terminal.
在图5所示的音质转换终端中,处理器1001用于执行存储器1005中存储的音频的音质转换程序,实现以下步骤:In the voice quality conversion terminal shown in FIG. 5, the processor 1001 is configured to execute a sound quality conversion program of the audio stored in the memory 1005, and implement the following steps:
移动终端基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;The mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
移动终端将数字信号数据转换为模拟信号数据;The mobile terminal converts the digital signal data into analog signal data;
移动终端将模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data.
进一步地,所述终端将模拟信号数据进行音频输出的步骤包括:Further, the step of the terminal performing audio output of the analog signal data includes:
移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据;The mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data;
移动终端对滤波处理过的模拟信号数据进行音频输出。The mobile terminal performs audio output on the filtered analog signal data.
进一步地,所述滤波处理包括降噪处理,所述移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据的步骤包括:Further, the filtering process includes a noise reduction process, and the step of the mobile terminal filtering the analog signal data to obtain the filtered processed analog signal data includes:
移动终端分析模拟信号数据,获得模拟信号数据各信号区间的信号频率;The mobile terminal analyzes the analog signal data to obtain the signal frequency of each signal interval of the analog signal data;
移动终端对信号频率进行噪音分析,获得分析结果;The mobile terminal performs noise analysis on the signal frequency to obtain an analysis result;
移动终端根据分析结果,对噪音数量大于预设阈值的信号频率进行降噪处理,获得降噪处理过的模拟信号数据。The mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the analog signal data processed by the noise reduction.
进一步地,所述滤波处理方式包括高通滤波、低通滤波、带通滤波和带阻滤波。Further, the filtering processing manner includes high-pass filtering, low-pass filtering, band-pass filtering, and band-stop filtering.
进一步地,所述移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据的步骤之前还包括:Further, before the step of filtering the analog signal data by the mobile terminal to obtain the filtered analog signal data, the method further includes:
移动终端对模拟信号数据进行低噪声调节。The mobile terminal performs low noise adjustment on the analog signal data.
进一步地,所述移动终端将数字信号数据转换为模拟信号数据的步骤之后还包括:Further, after the step of converting the digital signal data into analog signal data by the mobile terminal, the method further includes:
移动终端对模拟信号数据进行数据信号放大。The mobile terminal amplifies the data signal of the analog signal data.
进一步地,所述移动终端将模拟信号数据进行音频输出的步骤还包括:Further, the step of the mobile terminal performing audio output of the analog signal data further includes:
移动终端分析模拟信号数据的信号特征类型,确定音频数据的风格类型;The mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
移动终端根据符合风格类型的输出方式对模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
本发明音质转换终端的具体实施方式与上述音频的音质转换方法各实施例基本相同,在此不再赘述。The specific implementation of the sound quality conversion terminal of the present invention is substantially the same as the embodiment of the audio quality conversion method of the above audio, and details are not described herein again.
本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于:The invention also provides a computer readable storage medium storing one or more programs, the one or more programs being further executable by one or more processors for:
移动终端基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;The mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
移动终端将数字信号数据转换为模拟信号数据;The mobile terminal converts the digital signal data into analog signal data;
移动终端将模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data.
本发明计算机可读存储介质具体实施方式与上述音频的音质转换方法各实施例基本相同,在此不再赘述。The embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the audio quality conversion method of the above audio, and details are not described herein again.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种音频的音质转换方法,其特征在于,所述音频的音质转换方法应用于移动终端;所述移动终端内置HiFi解码模块,所述音频的音质转换方法包括: A sound quality conversion method for audio, characterized in that the audio quality conversion method of the audio is applied to a mobile terminal; the mobile terminal has a built-in HiFi decoding module, and the audio quality conversion method of the audio includes:
    移动终端基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;The mobile terminal performs HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
    移动终端将数字信号数据转换为模拟信号数据;The mobile terminal converts the digital signal data into analog signal data;
    移动终端将模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data.
  2. 如权利要求1所述的音频的音质转换方法,其特征在于,所述终端将模拟信号数据进行音频输出的步骤包括:The method for converting audio quality of audio according to claim 1, wherein the step of the terminal outputting audio data of the analog signal data comprises:
    移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据;The mobile terminal performs filtering processing on the analog signal data to obtain filtered analog signal data;
    移动终端对滤波处理过的模拟信号数据进行音频输出。The mobile terminal performs audio output on the filtered analog signal data.
  3. 如权利要求2所述的音频的音质转换方法,其特征在于,所述滤波处理包括降噪处理,所述移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据的步骤包括:The audio quality conversion method of the audio according to claim 2, wherein the filtering process comprises a noise reduction process, and the step of the mobile terminal filtering the analog signal data to obtain the filtered processed analog signal data comprises:
    移动终端分析模拟信号数据,获得模拟信号数据各信号区间的信号频率;The mobile terminal analyzes the analog signal data to obtain the signal frequency of each signal interval of the analog signal data;
    移动终端对信号频率进行噪音分析,获得分析结果;The mobile terminal performs noise analysis on the signal frequency to obtain an analysis result;
    移动终端根据分析结果,对噪音数量大于预设阈值的信号频率进行降噪处理,获得降噪处理过的模拟信号数据。The mobile terminal performs noise reduction processing on the signal frequency whose noise amount is greater than the preset threshold according to the analysis result, and obtains the analog signal data processed by the noise reduction.
  4. 如权利要求2所述的音频的音质转换方法,其特征在于,所述滤波处理方式包括高通滤波、低通滤波、带通滤波和带阻滤波。The audio quality conversion method of claim 2, wherein the filtering processing manner comprises high pass filtering, low pass filtering, band pass filtering, and band rejection filtering.
  5. 如权利要求2所述的音频的音质转换方法,其特征在于,所述移动终端对模拟信号数据进行滤波处理,获得滤波处理过的模拟信号数据的步骤之前还包括:The audio quality conversion method of the audio according to claim 2, wherein the step of filtering the analog signal data by the mobile terminal to obtain the filtered analog signal data further comprises:
    移动终端对模拟信号数据进行低噪声调节。The mobile terminal performs low noise adjustment on the analog signal data.
  6. 如权利要求5所述的音频的音质转换方法,其特征在于,所述移动终端将数字信号数据转换为模拟信号数据的步骤之后还包括:The audio quality conversion method of claim 5, wherein the step of converting the digital signal data into analog signal data by the mobile terminal further comprises:
    移动终端对模拟信号数据进行数据信号放大。The mobile terminal amplifies the data signal of the analog signal data.
  7. 如权利要求6所述的音频的音质转换方法,其特征在于,所述移动终端将模拟信号数据进行音频输出的步骤还包括:The audio quality conversion method of the audio according to claim 6, wherein the step of the mobile terminal outputting the analog signal data to the audio further comprises:
    移动终端分析模拟信号数据的信号特征类型,确定音频数据的风格类型;The mobile terminal analyzes the signal feature type of the analog signal data, and determines the style type of the audio data;
    移动终端根据符合风格类型的输出方式对模拟信号数据进行音频输出。The mobile terminal performs audio output on the analog signal data according to the output mode conforming to the style type.
  8. 一种音质转换装置,其特征在于,所述音质转换装置包括:A sound quality conversion device, characterized in that the sound quality conversion device comprises:
    解码模块,用于基于HiFi解码模块对音频数据进行HiFi解码,获得数字信号数据;a decoding module, configured to perform HiFi decoding on the audio data based on the HiFi decoding module to obtain digital signal data;
    转换模块,用于将数字信号数据转换为模拟信号数据;a conversion module for converting digital signal data into analog signal data;
    输出模块,用于将模拟信号数据进行音频输出。An output module for audio output of analog signal data.
  9. 一种音质转换终端,其特征在于,所述音质转换终端包括:存储器、处理器,通信总线以及存储在所述存储器上的音频的音质转换程序,A voice quality conversion terminal, characterized in that the sound quality conversion terminal comprises: a memory, a processor, a communication bus, and a sound quality conversion program of audio stored on the memory,
    所述通信总线用于实现处理器与存储器间的通信连接;The communication bus is used to implement a communication connection between the processor and the memory;
    所述处理器用于执行所述音频的音质转换程序,以实现如权利要求1至7中任一项所述的音频的音质转换方法的步骤。The processor is configured to perform a sound quality conversion process of the audio to implement the steps of the audio quality conversion method of the audio according to any one of claims 1 to 7.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有音频的音质转换程序,所述音频的音质转换程序被处理器执行时实现如权利要求1至7中任一项所述的音频的音质转换方法的步骤。A computer readable storage medium, characterized in that the computer readable storage medium stores a sound quality conversion program of audio, and the audio quality conversion program of the audio is executed by a processor to implement any one of claims 1 to 7 The steps of the audio quality conversion method of the audio described in the item.
PCT/CN2017/109201 2017-11-03 2017-11-03 Sound quality conversion method and device for audio, terminal and computer-readable storage medium WO2019084887A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/109201 WO2019084887A1 (en) 2017-11-03 2017-11-03 Sound quality conversion method and device for audio, terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/109201 WO2019084887A1 (en) 2017-11-03 2017-11-03 Sound quality conversion method and device for audio, terminal and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2019084887A1 true WO2019084887A1 (en) 2019-05-09

Family

ID=66332767

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109201 WO2019084887A1 (en) 2017-11-03 2017-11-03 Sound quality conversion method and device for audio, terminal and computer-readable storage medium

Country Status (1)

Country Link
WO (1) WO2019084887A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6138092A (en) * 1998-07-13 2000-10-24 Lockheed Martin Corporation CELP speech synthesizer with epoch-adaptive harmonic generator for pitch harmonics below voicing cutoff frequency
CN1996763A (en) * 2005-11-26 2007-07-11 沃福森微电子股份有限公司 Audio device
CN202634685U (en) * 2012-05-09 2012-12-26 福兴达科技实业(深圳)有限公司 Mobile terminal for playing hi-fi music
CN103258563A (en) * 2012-02-15 2013-08-21 珠海德百祺科技有限公司 Mobile terminal and music player used for the same
CN204948314U (en) * 2015-09-07 2016-01-06 上海斐讯数据通信技术有限公司 A kind of repeater and bluetooth HIFI earphone being applicable to earphone
US20160196102A1 (en) * 2015-01-06 2016-07-07 Changzhi Yao System for handheld portable high fidelity music playback with streaming and wifi routing ability
CN105869647A (en) * 2016-05-05 2016-08-17 西安睿芯微电子有限公司 Smart phone native DSD audio decoding method and system and smart phone
CN106488044A (en) * 2016-12-21 2017-03-08 惠州Tcl移动通信有限公司 A kind of mobile phone of mobile sound card, system and implementation method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6138092A (en) * 1998-07-13 2000-10-24 Lockheed Martin Corporation CELP speech synthesizer with epoch-adaptive harmonic generator for pitch harmonics below voicing cutoff frequency
CN1996763A (en) * 2005-11-26 2007-07-11 沃福森微电子股份有限公司 Audio device
CN103258563A (en) * 2012-02-15 2013-08-21 珠海德百祺科技有限公司 Mobile terminal and music player used for the same
CN202634685U (en) * 2012-05-09 2012-12-26 福兴达科技实业(深圳)有限公司 Mobile terminal for playing hi-fi music
US20160196102A1 (en) * 2015-01-06 2016-07-07 Changzhi Yao System for handheld portable high fidelity music playback with streaming and wifi routing ability
CN204948314U (en) * 2015-09-07 2016-01-06 上海斐讯数据通信技术有限公司 A kind of repeater and bluetooth HIFI earphone being applicable to earphone
CN105869647A (en) * 2016-05-05 2016-08-17 西安睿芯微电子有限公司 Smart phone native DSD audio decoding method and system and smart phone
CN106488044A (en) * 2016-12-21 2017-03-08 惠州Tcl移动通信有限公司 A kind of mobile phone of mobile sound card, system and implementation method

Similar Documents

Publication Publication Date Title
WO2019045474A1 (en) Method and device for processing audio signal using audio filter having non-linear characteristics
WO2018223607A1 (en) Television terminal, method for converting hdr image into sdr image, and computer readable storage medium
WO2012144878A2 (en) Method of quantizing linear predictive coding coefficients, sound encoding method, method of de-quantizing linear predictive coding coefficients, sound decoding method, and recording medium
WO2012144877A2 (en) Apparatus for quantizing linear predictive coding coefficients, sound encoding apparatus, apparatus for de-quantizing linear predictive coding coefficients, sound decoding apparatus, and electronic device therefor
WO2019051899A1 (en) Terminal control method and device, and storage medium
WO2010107269A2 (en) Apparatus and method for encoding/decoding a multichannel signal
WO2019019374A1 (en) Method, apparatus, and system for controlling household appliance with intelligent voice device
WO2018120457A1 (en) Data processing method, apparatus, device, and computer readable storage medium
AU2012246799A1 (en) Method of quantizing linear predictive coding coefficients, sound encoding method, method of de-quantizing linear predictive coding coefficients, sound decoding method, and recording medium
WO2014148844A1 (en) Terminal device and audio signal output method thereof
WO2015007007A1 (en) Method and device for adc automatic correction
WO2016018058A1 (en) Signal encoding method and apparatus and signal decoding method and apparatus
AU2012246798A1 (en) Apparatus for quantizing linear predictive coding coefficients, sound encoding apparatus, apparatus for de-quantizing linear predictive coding coefficients, sound decoding apparatus, and electronic device therefor
WO2019051905A1 (en) Air conditioner control method, air conditioner, and computer readable storage medium
WO2017045441A1 (en) Smart television-based audio playback method and apparatus
WO2014148845A1 (en) Audio signal size control method and device
WO2019041851A1 (en) Home appliance after-sales consulting method, electronic device and computer-readable storage medium
WO2019024336A1 (en) Data query method and device, and computer readable storage medium
WO2017054488A1 (en) Television play control method, server and television play control system
WO2015196720A1 (en) Voice recognition method and system
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2017020649A1 (en) Audio/video playback control method and device thereof
WO2017032122A1 (en) Method and apparatus for detecting digital television set
WO2019071771A1 (en) Wireless signal fingerprint information calibration method, system, server and medium
WO2017113596A1 (en) Method and system for listen-only control, mobile terminal, and smart television

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: 17930258

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17930258

Country of ref document: EP

Kind code of ref document: A1