CN105355230A - Processing method of high-quality music digital product - Google Patents

Processing method of high-quality music digital product Download PDF

Info

Publication number
CN105355230A
CN105355230A CN201510659788.1A CN201510659788A CN105355230A CN 105355230 A CN105355230 A CN 105355230A CN 201510659788 A CN201510659788 A CN 201510659788A CN 105355230 A CN105355230 A CN 105355230A
Authority
CN
China
Prior art keywords
digital
signal
dac
analog
sound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510659788.1A
Other languages
Chinese (zh)
Inventor
丁明杰
林建彬
宁丽芳
郭志良
张其辉
刘加伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Sagereal Communication Co Ltd
Original Assignee
Ningbo Sagereal Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Sagereal Communication Co Ltd filed Critical Ningbo Sagereal Communication Co Ltd
Priority to CN201510659788.1A priority Critical patent/CN105355230A/en
Publication of CN105355230A publication Critical patent/CN105355230A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/16Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters 

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a processing method of a high-quality music digital product. The processing method has a basic procedure that a DAC (Digital Analog Converter) is subjected to power-on reset after startup, an I2C (Inter-Integrated Circuit) communication interface is configured, and a sleeping mode is started when no sound source playing events are in the presence. When a sound source playing event is in the presence, a corresponding channel is opened according to a sound source type, an I2S (Inter-IC Sound) channel is opened if the sound source type is a digital signal, digital-to-analog conversion is carried out, and sound effect processing is carried out; and if the sound source type is an analog signal, a bypass access is opened, and the analog signal is not processed. The processing scheme is quick and efficient and can save cost to benefit common consumers while music tension can be perfectly presented on an aspect of sound quality expressive force. The processing method adopts the digital signal and the analog signal to independently operate in two paths, the digital signal needs to be subjected to digital-to-analog conversion processing through the DAC, no additional devices are added on hardware on an aspect of the analog signal, and cost is saved on the basis of greatly improving the sound quality expressive force. The processing method can be applied to digital products, including mobile phones, tablet computers, game consoles and the like, which take high-quality music as selling points.

Description

The disposal route of high-quality music digital product
Technical field
The present invention relates to a kind of audio-frequency processing method, particularly the disposal route of high-quality music digital product, can be applicable to embedded dependency number code product such as mobile phone, panel computer, CD etc. to have the product scope of rigors to sound quality digital audio process.
Background technology
On market, the digital product of high-quality music function gets more and more, mainly apply intelligent operating system platform, usually be positioned on the digital product of middle and high end, bring a high price and can only meet the demand that a part is rich in user's logarithmic code and handheld device tonequality aspect, and complicated operation, and also have in the digital product user group of expanding day and greatly commonly have deep love for the colony of music as America, African user, and the elderly cannot bear the intelligent digital product of the high complicated operation of this price.
Summary of the invention
The object of the invention is in order to solve above-mentioned the deficiencies in the prior art provide a kind of towards domestic consumer, low cost and possess the disposal route of the high-quality music digital product of professional music quality.
To achieve these goals, the disposal route of the high-quality music digital product designed by the present invention, comprises the following steps:
Step S1, electrification reset, after start, electrification reset is carried out to DAC digital to analog converter, and be DAC chip configuration I2C communication interface, master clock frequency need be provided by base band during described electrification reset, described I2C communication interface plays the communication role between CPU and DAC chip, and after this CPU is exactly the operation by this interface, DAC digital to analog converter being carried out to read-write register.
Step S2, initialization, carries out initialization to the register of DAC chip, comprises the default digital analog gain of setting reference clock and earphone or loudspeaker, thus ensures that it is in stable duty;
Step S3, audio frequency process, when there being broadcast event to occur, first judges that source of sound type is digital signal or simulating signal,
If simulating signal, then set-up register, then opens bypass channel, and described bypass channel does not do any process to signal, only export time set its numeral and analog-gain value to control its output volume size;
If digital signal, then first sampling rate is arranged to DAC digital to analog converter, then open I2S bus run, allow to be processed in DAC digital to analog converter by I2S bus transfer through decoded digital signal, finally convert simulating signal to; Above-mentioned sampling rate refers to the sampling rate of audio files, namely DAC digital to analog converter according to the sampling rate of different source of sound convert thereof into people's ear can sense organ simulating signal and do not cause signal aliasing or distortion;
Step S4, signal exports, after audio frequency process, carry out analog signal output by earphone or loudspeaker, if export with earphone, then write command is opened earphone path and set the digital simulation yield value of earphone; If export with loudspeaker, then at loudspeaker output terminals external audio frequency power amplifier, sound signal amplified, its power is increased and exports, equally also the digital simulation yield value of corresponding setting loudspeaker controls its output volume size.
In addition, in order to reduce the extra power consumption that DAC chip is brought, extending cell phone stand-by time, also sleep pattern S5 is provided with between step S2 and step S3, when not having broadcast event to occur, described DAC chip will enter sleep pattern, now only master clock frequency need be closed, by I2C communication interface, by it, sleep is entered to register write command again, and close each functional unit of chip internal, reach reduce the object of power consumption by the enable each module of instruction again in time having source of sound broadcast event, this process is without the need to reinitializing whole circuit again, only need carry out switch to the several functional unit in inside, more fast succinct.
Can also by carrying out equalizer processes to the setting of corresponding registers to audio during conversion in step 3 for digital signal, thus obtain corresponding digital audio, as POP, CLASSIC, JAZZ, ROCK etc., even user can according to the self-defined audio of personal like.
The disposal route of the high-quality music digital product that the present invention obtains, basic procedure is to DAC digital to analog converter electrification reset after start, and configuration I2C communication interface, does not have to enter sleep pattern during source of sound broadcast event.Opening respective channel when there being source of sound broadcast event according to source of sound type, if digital signal opens I2S passage, carrying out digital-to-analog conversion and doing audio effect processing, it is not processed if simulating signal then opens bypass path.This processing scheme more fast, efficiently, having saved cost while tonequality expressive force perfect can present music tension force, has benefited ordinary consumer.
Adopt I2S communication for audio and video playing data stream, decoded digital signal is transferred in DAC digital to analog converter by I2S and exports after the associative operations such as digital-to-analog conversion, tonequality process by base band simultaneously.Wherein I2S bus is responsible for the data transmission between audio frequency apparatus specially, is widely used in various multimedia system.It has employed the design along independently wire transmission clock and data-signal, by data being separated with clock signal, avoids the distortion brought out because of the time difference.
The disposal route of the high-quality music digital product that the present invention obtains, it adopts numeral, simulating signal divides two-way independent operation, digital signal need carry out digital-to-analog conversion process through DAC digital to analog converter, simulating signal does not additionally increase device on hardware, to cost-saving on the basis that tonequality expressive force is greatly improved.This disposal route application can comprise all kinds of digital products that mobile phone, panel computer, CD player, game machine etc. take high-quality music as attraction.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the disposal route of the high-quality music digital product of embodiment 1;
Fig. 2 is the process flow diagram of the disposal route of the high-quality music digital product of embodiment 2.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further described.
Embodiment 1:
As shown in Figure 1, the disposal route of the high-quality music digital product that the present embodiment provides, comprises the following steps:
Step S1, electrification reset, after start, electrification reset is carried out to DAC digital to analog converter, and be DAC chip configuration I2C communication interface, master clock frequency need be provided by base band during described electrification reset, described I2C communication interface plays the communication role between CPU and DAC chip, and after this CPU is exactly the operation by this interface, DAC digital to analog converter being carried out to read-write register.
Step S2, initialization, carries out initialization to the register of DAC chip, comprises the default digital analog gain of setting reference clock and earphone or loudspeaker, thus ensures that it is in stable duty;
Step S3, audio frequency process, when there being broadcast event to occur, first judges that source of sound type is digital signal or simulating signal,
If simulating signal, then set-up register, then opens bypass channel, and described bypass channel does not do any process to signal, only export time set its numeral and analog-gain value to control its output volume size;
If digital signal, then first sampling rate is arranged to DAC digital to analog converter, then open I2S bus run, allow to be processed in DAC digital to analog converter by I2S bus transfer through decoded digital signal, finally convert simulating signal to; Above-mentioned sampling rate refers to the sampling rate of audio files, namely DAC digital to analog converter according to the sampling rate of different source of sound convert thereof into people's ear can sense organ simulating signal and do not cause signal aliasing or distortion;
Step S4, signal exports, after audio frequency process, carry out analog signal output by earphone or loudspeaker, if export with earphone, then write command is opened earphone path and set the digital simulation yield value of earphone; If export with loudspeaker, then at loudspeaker output terminals external audio frequency power amplifier, sound signal amplified, its power is increased and exports, equally also the digital simulation yield value of corresponding setting loudspeaker controls its output volume size.
Embodiment 2:
As shown in Figure 2, the disposal route of the high-quality music digital product that the present embodiment provides, flow process is identical with embodiment 1 substantially for it, but in concrete use procedure, in order to reduce the extra power consumption that DAC chip is brought, extending cell phone stand-by time, also sleep pattern S5 is provided with between step S2 and step S3, when not having broadcast event to occur, described DAC chip will enter sleep pattern, now only master clock frequency need be closed, by I2C communication interface, by it, sleep is entered to register write command again, and close each functional unit of chip internal, reach reduce the object of power consumption by the enable each module of instruction again in time having source of sound broadcast event, this process is without the need to reinitializing whole circuit again, only need carry out switch to the several functional unit in inside, more fast succinct.
Embodiment 3:
The disposal route of the high-quality music digital product that the present embodiment provides, flow process is identical with embodiment 1 substantially for it, but in concrete use procedure, can also by carrying out equalizer processes to the setting of corresponding registers to audio during conversion in step 3 for digital signal, thus obtain corresponding digital audio, as POP, CLASSIC, JAZZ, ROCK etc., even user can according to the self-defined audio of personal like.

Claims (3)

1. a disposal route for high-quality music digital product, is characterized in that, comprises the following steps:
Step S1, electrification reset, carries out electrification reset to DAC digital to analog converter after start, and is DAC chip configuration I2C communication interface, need provide master clock frequency during described electrification reset by base band;
Step S2, initialization, carries out initialization to the register of DAC chip, comprises the default digital analog gain of setting reference clock and earphone or loudspeaker;
Step S3, audio frequency process, when there being broadcast event to occur, first judges that source of sound type is digital signal or simulating signal,
If simulating signal, then set-up register, then opens bypass channel, and described bypass channel does not do any process to signal, only export time set its numeral and analog-gain value to control its output volume size;
If digital signal, then first sampling rate is arranged to DAC digital to analog converter, then open I2S bus run, allow to be processed in DAC digital to analog converter by I2S bus transfer through decoded digital signal, finally convert simulating signal to;
Step S4, signal exports, after audio frequency process, carry out analog signal output by earphone or loudspeaker.
2. the disposal route of high-quality music digital product according to claim 1, it is characterized in that: between step S2 and step S3, be also provided with sleep pattern S5, when not having broadcast event to occur, described DAC chip will enter sleep pattern, now only need close master clock frequency, then by I2C communication interface register write command be entered by it and sleep.
3. the disposal route of high-quality music digital product according to claim 1 and 2, is characterized in that: can also by carrying out equalizer processes to the setting of corresponding registers to audio during conversion in step 3 for digital signal.
CN201510659788.1A 2015-10-14 2015-10-14 Processing method of high-quality music digital product Pending CN105355230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510659788.1A CN105355230A (en) 2015-10-14 2015-10-14 Processing method of high-quality music digital product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510659788.1A CN105355230A (en) 2015-10-14 2015-10-14 Processing method of high-quality music digital product

Publications (1)

Publication Number Publication Date
CN105355230A true CN105355230A (en) 2016-02-24

Family

ID=55331187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510659788.1A Pending CN105355230A (en) 2015-10-14 2015-10-14 Processing method of high-quality music digital product

Country Status (1)

Country Link
CN (1) CN105355230A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998047252A2 (en) * 1997-04-11 1998-10-22 Geoffrey Stern Personal audio message processor and method
CN100579207C (en) * 2007-06-04 2010-01-06 上海慧浦神望电子科技有限公司 A digital multimedia system
CN104661158A (en) * 2013-11-25 2015-05-27 华为技术有限公司 Stereophone, terminal and audio signal processing method of stereophone and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998047252A2 (en) * 1997-04-11 1998-10-22 Geoffrey Stern Personal audio message processor and method
CN100579207C (en) * 2007-06-04 2010-01-06 上海慧浦神望电子科技有限公司 A digital multimedia system
CN104661158A (en) * 2013-11-25 2015-05-27 华为技术有限公司 Stereophone, terminal and audio signal processing method of stereophone and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林志贵等: "《数字信号控制器原理与实践》", 31 January 2014 *

Similar Documents

Publication Publication Date Title
CN107147792A (en) A kind of method for automatically configuring audio, device, mobile terminal and storage device
CN104811864A (en) Method and system for self-adaptive adjustment of audio effect
US10652681B2 (en) Processing method and system of audio multichannel output speaker, and mobile phone
WO2015127832A1 (en) Mobile terminal for realizing high-fidelity music playback
JP2019015951A (en) Wake up method for electronic device, apparatus, device and computer readable storage medium
CN108319441A (en) Control method, device, system, processor and the storage medium that audio plays
US9628915B2 (en) Handheld portable high fidelity music playback with streaming and WiFi routing ability
CN203243508U (en) Wireless howling suppression device
CN102594982A (en) Portable equipment, system and method for realizing karaoke
CN101790123A (en) Virtual surround sound system and implementation method thereof
CN105355230A (en) Processing method of high-quality music digital product
CN203181164U (en) A handset
CN110444233A (en) A kind of the audio reception playback method and system of number sound shadow amusement equipment
CN203761375U (en) Audio processing device and audio playing equipment
TWI475557B (en) Audio processing device
CN205123936U (en) Multi -functional family cloud amusement all -in -one
CN206759670U (en) A kind of microphone
CN101505333A (en) Mobile terminal having direct recording function and direct recording method thereof
CN202503630U (en) USB speaker playing device
CN205647931U (en) Active sound system of multi -media digit
CN203813947U (en) Intelligent multi-channel surround sound equipment
CN101163288A (en) Mobile phone with digital music repeating function
TWI839670B (en) Electronic device, electronic system and transmission method
CN206894877U (en) A kind of sound equipment
CN106488044A (en) A kind of mobile phone of mobile sound card, system and implementation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160224