CN1298192C - Method of proceeding gain adjustment for downloadable music file - Google Patents
Method of proceeding gain adjustment for downloadable music file Download PDFInfo
- Publication number
- CN1298192C CN1298192C CNB2004100780724A CN200410078072A CN1298192C CN 1298192 C CN1298192 C CN 1298192C CN B2004100780724 A CNB2004100780724 A CN B2004100780724A CN 200410078072 A CN200410078072 A CN 200410078072A CN 1298192 C CN1298192 C CN 1298192C
- Authority
- CN
- China
- Prior art keywords
- gain
- music file
- adjusted
- audio
- grade
- 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.)
- Expired - Fee Related
Links
Classifications
-
- E—FIXED CONSTRUCTIONS
- E02—HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
- E02D—FOUNDATIONS; EXCAVATIONS; EMBANKMENTS; UNDERGROUND OR UNDERWATER STRUCTURES
- E02D29/00—Independent underground or underwater structures; Retaining walls
- E02D29/02—Retaining or protecting walls
- E02D29/025—Retaining or protecting walls made up of similar modular elements stacked without mortar
-
- E—FIXED CONSTRUCTIONS
- E02—HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
- E02D—FOUNDATIONS; EXCAVATIONS; EMBANKMENTS; UNDERGROUND OR UNDERWATER STRUCTURES
- E02D29/00—Independent underground or underwater structures; Retaining walls
- E02D29/02—Retaining or protecting walls
- E02D29/0258—Retaining or protecting walls characterised by constructional features
- E02D29/0266—Retaining or protecting walls characterised by constructional features made up of preformed elements
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B28—WORKING CEMENT, CLAY, OR STONE
- B28B—SHAPING CLAY OR OTHER CERAMIC COMPOSITIONS; SHAPING SLAG; SHAPING MIXTURES CONTAINING CEMENTITIOUS MATERIAL, e.g. PLASTER
- B28B7/00—Moulds; Cores; Mandrels
- B28B7/16—Moulds for making shaped articles with cavities or holes open to the surface, e.g. with blind holes
- B28B7/162—Moulds for making shaped articles with cavities or holes open to the surface, e.g. with blind holes for building blocks or similar block-shaped articles
-
- E—FIXED CONSTRUCTIONS
- E02—HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
- E02D—FOUNDATIONS; EXCAVATIONS; EMBANKMENTS; UNDERGROUND OR UNDERWATER STRUCTURES
- E02D2600/00—Miscellaneous
- E02D2600/20—Miscellaneous comprising details of connection between elements
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Mining & Mineral Resources (AREA)
- Paleontology (AREA)
- Civil Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Structural Engineering (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
- Control Of Amplification And Gain Control (AREA)
Abstract
A method of proceeding gain adjustment for downloadable music file, specifically, is a method of obtaining music files having certain gains by checking each downloaded music file's level and doing gain adjustment. The method includes the following steps: check the audio signal's level and calculate the maximum of the level when playing downloaded music files; subtract DC voltage bias to calculate the peak value; carry out gain adjustment based on the audio gain corresponding to aforementioned peak value's ADC value; replay said music files after said gain adjustment.
Description
Technical field
The present invention relates to the download technology of the music file of mobile communication terminal, is the method for the music file of downloading being carried out gain-adjusted concretely.
Background technology
In the music file that mobile phone is downloaded, the gain of each music file (Gain) all varies.Therefore, if come download music files by mobile phone, because some musical sound is too small, and some musical sound is excessive, even regulate the volume of mobile phone, also is easy to produce the sound of the smudgy or approximate explosion of loud speaker of musical sound.
Summary of the invention
In order to address the above problem, the objective of the invention is to, provide a kind of method of the music file of downloading being carried out gain-adjusted: detect the grade of download music files, make when the user carries out gain-adjusted, can play the music file of certain volume.
For this reason, technical scheme of the present invention is:
The music file of downloading is carried out the method for gain-adjusted, it is characterized in that, described method comprises the steps: when playing the music file of downloading, and detects the grade of audio signal and calculates the maximum of this audio signal grade; In described maximum, deduct the DC bias voltage to calculate peak value; Digital-to-analogue conversion (ADC:Analog-Digital Conversion) according to described peak value is worth pairing audio gain, carries out gain-adjusted; By described adjusting gain, play described music file again.
Calculating the peaked step of described audio signal grade further comprises: detect with the grade of certain cycle to audio signal at special time, and select the highest audio grade.
Before carrying out gain-adjusted, also can increase the step of whether carrying out gain-adjusted to user's query according to described ADC value corresponding audio gain.
Beneficial effect of the present invention is, too small or excessive at the music file sound of downloading, when it can't be regulated musical sound by the adjusting of the volume on mobile phone button, can regulate the gain of audio signal automatically, perhaps carry out the adjusting of yield value, allow the suitable musical sound of user's uppick according to user's requirement.
Description of drawings
Fig. 1 is the skeleton diagram of explanation mobile phone playing music process;
Fig. 2 is the method precedence diagram that explanation is regulated the gain of music file according to the present invention.
The explanation * * of the main identification division of * accompanying drawing
10:MSM 20: audio frequency amplifier
30: loud speaker
Embodiment
Below, with reference to accompanying drawing and specific embodiment, the present invention is described in detail.
In general, towards the mobile phone of north America region outlet, the music file of use is a CMX Midi form.In an embodiment of the present invention, will be with user's download Midi music, and the Midi music is regulated gain describe for example.
In order to make mobile phone play the Midi music, the user at first will directly download the Midi music by wireless Internet, perhaps downloads the Midi music from the internet by the PC PC, and then by USB interface the Midi music is downloaded on the mobile phone again.
Fig. 1 is the skeleton diagram of explanation mobile phone playing music process.
As shown in Figure 1,, generally to the Midi music be handled, again it is output as audio signal by Base Band (base band) MSM10 of mobile phone if on mobile phone, download Midi music (CMX Midi).After the audio signal that MSM10 exported was amplified by audio frequency amplifier 20, the audio signal after this amplification was play with the form of musical sound by loud speaker 30 again, passes at last in user's the ear.
The present invention to the method that music file carries out gain-adjusted is, the grade of the audio signal that MSM10 exported detected, and carry out certain gain-adjusted according to the result who detects, and plays by suitable manner by 30 pairs of musical sounds of loud speaker at last.
Now, with reference to Fig. 2 the gain adjusting method therefore of download music files of the present invention is described.Fig. 2 is the method precedence diagram that explanation is regulated the gain of music file according to the present invention.
As shown in Figure 2, downloaded when playing after the Midi music by mobile phone, as shown in Figure 1, MSM10 handles the Midi music and it is output as audio signal.At this moment, audio signal feeds back to the Audio_ADC port of MSM10, and MSM10 detects the grade of audio signal.The grade of audio signal is selected the highest audio grade and is calculated maximum Vmax after certain hour passed through to detect with certain cycle.In an embodiment of the present invention, as shown in Figure 1, every 10ms carries out one-time detection to the grade of audio signal, and above-mentioned detection action was carried out after 10 seconds, selects the highest grade and interim this value that stores.
Comprised direct current (DC:Direct current) bias voltage in the interim maximum that stores,, also will from this maximum, deduct the DC bias voltage Vp=Vmax-Vdc that is determined so determining DC bias voltage (Vdc) afterwards.Just can calculate peak value Vp by said process, the reference value that audio gain was regulated after this peak value was.
For example, the maximum of setting loud speaker output is 0.5W, and generally speaking, if signal has surpassed 0.5W, sonic boom will appear in loud speaker 30, perhaps exports the sound that gets out of tune.Therefore, if the maximum of loud speaker is output as 0.5W, Shu Chu audio signal just must be controlled at below the 0.5W so.
In an embodiment of the present invention, suppose that the amplification gain of audio frequency amplifier 20 is 1, the maximum of loud speaker output is 0.5W, and speaker resistor is 8 Ω.
Because loud speaker is output as P=V * I=Vrms * Vrms/R,
Loud speaker output is no more than 0.5W if desired, and Vrms can not surpass 2V so, so Vp= * Vrms necessarily can not surpass 2.83.
Table 1 has shown under these conditions, Vrms, Vp when loud speaker output changes from 0 to 0.5W, the situation of change of ADC_level (ADC value).
Table 1
As shown in Table 1, ADC value span is set to from 0 to 255.The ADC value is big more, and audio gain is turned down; The ADC value is more little, and audio gain is then transferred greatly.Substantially, when the ADC value is in the scope of 0-81, audio gain increase+6dB; When it is in the scope of 90-171, audio gain increase+3dB; When it is in the scope of 180-225, is considered as appropriate value and audio gain is not regulated; When it is in the scope of 234-255, audio gain minimizing-3dB.
Calculate peak value by said method, calculate the ADC value by the peak meter that draws again, then, carry out gain-adjusted according to the pairing audio gain of this ADC value.For example, if peak value is 1.50 o'clock, the ADC value of this peak value is 135, and the pairing audio gain of ADC value is+3dB so, and therefore, the yield value+3dB that can superpose on existing audio signal carries out gain-adjusted.After gain-adjusted is finished, promptly can once more the Midi music be implemented to handle by MSM10 by the gain of regulating, allow the normal musical sound of user's uppick.
When calculating the ADC value by peak meter, and its result though also can carry out gain-adjusted automatically, also can increase the process whether an inquiry user needs to carry out gain-adjusted when showing that need carry out audio gain regulates.That is to say, can on mobile phone, show the inquiry message that whether changes audio gain,, will carry out gain-adjusted if the user selects "Yes".
As mentioned above, the present invention can produce following effect, too small or excessive at the music file sound of downloading, when it can't be regulated musical sound by the adjusting of the volume on mobile phone button, can regulate the gain of audio signal automatically, perhaps carry out the adjusting of yield value, allow the suitable musical sound of user's uppick according to user's requirement.
Above embodiment only is used to implementation process of the present invention is described, and non-limiting scope of the present invention.
Claims (3)
1, a kind of music file to download carries out the method for gain-adjusted, it is characterized in that this method comprises the steps:
Step 1 when the music file of play downloading, detects the grade of audio signal and calculates the maximum of this audio signal grade;
Step 2 in described maximum, deducts DC bias current voltage to calculate peak value;
Step 3 according to the pairing audio gain of the dac value of described peak value, is carried out gain-adjusted;
Step 4 by described gain-adjusted, is play described music file again.
2, carry out the method for gain-adjusted according to a kind of music file described in the claim 1, it is characterized in that, calculate the peaked step of audio signal grade and further comprise download:
Detect with the grade of certain cycle at special time, and select the highest audio grade audio signal.
3, carry out the method for gain-adjusted according to a kind of music file described in the claim 1, it is characterized in that this method further comprises download:
Before carrying out gain-adjusted, increase the step of whether carrying out gain-adjusted to user's query according to described dac value corresponding audio gain.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2004-0015627 | 2004-03-08 | ||
KR1020040015627A KR20050090283A (en) | 2004-03-08 | 2004-03-08 | Method for adjusting gain of down-loaded music file |
KR1020040015627 | 2004-03-08 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1668124A CN1668124A (en) | 2005-09-14 |
CN1298192C true CN1298192C (en) | 2007-01-31 |
Family
ID=35038958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100780724A Expired - Fee Related CN1298192C (en) | 2004-03-08 | 2004-09-20 | Method of proceeding gain adjustment for downloadable music file |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR20050090283A (en) |
CN (1) | CN1298192C (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100756007B1 (en) * | 2006-07-21 | 2007-09-06 | 엠텍비젼 주식회사 | Method and apparatus for generally-equal extent sound level |
CN102696070B (en) | 2010-01-06 | 2015-05-20 | Lg电子株式会社 | An apparatus for processing an audio signal and method thereof |
CN102255607B (en) * | 2010-05-17 | 2014-01-22 | 腾讯科技(深圳)有限公司 | Method for adjusting output volume and system thereof |
CN104363510B (en) * | 2014-10-29 | 2019-04-30 | 深圳市金立通信设备有限公司 | A kind of playback terminal |
CN104486668B (en) * | 2014-11-20 | 2018-06-19 | 深圳市金立通信设备有限公司 | A kind of volume adjusting method |
CN104505106B (en) * | 2014-11-20 | 2018-06-19 | 深圳市金立通信设备有限公司 | A kind of terminal |
CN109887522B (en) * | 2019-01-24 | 2021-05-04 | 深圳市微纳感知计算技术有限公司 | Microphone array gain adjusting method and device and terminal equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3879674A (en) * | 1973-12-27 | 1975-04-22 | Burroughs Corp | Automatic gain control circuit |
CN1114520A (en) * | 1993-08-11 | 1996-01-03 | Ntt移动通信网株式会社 | Apparatus for automatically controlling gain, communication apparatus, and method for automatically controlling gain |
CN1343399A (en) * | 1999-03-10 | 2002-04-03 | 高通股份有限公司 | CDMA singal transmission control |
CN1390383A (en) * | 1999-03-30 | 2003-01-08 | 高通股份有限公司 | Method and apparatus for automatically adjusting speaker and microphone gains within a mobile telephone |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3824182B2 (en) * | 1996-09-20 | 2006-09-20 | ソニー株式会社 | Audio amplification device, communication terminal device, and audio amplification method |
KR20000043651A (en) * | 1998-12-29 | 2000-07-15 | 전주범 | Device and method for automatically controlling volume |
KR100378403B1 (en) * | 2000-05-12 | 2003-03-29 | 삼성전자주식회사 | Device for controling audio output in portble terminal and method thereof |
JP2003037650A (en) * | 2001-07-25 | 2003-02-07 | Nec Saitama Ltd | Portable telephone set |
KR100735368B1 (en) * | 2001-08-23 | 2007-07-04 | 삼성전자주식회사 | Device for adjusting audio output gain and method thereof |
KR20040056419A (en) * | 2002-12-23 | 2004-07-01 | 삼성전자주식회사 | Device and method for controling volume of speaker |
-
2004
- 2004-03-08 KR KR1020040015627A patent/KR20050090283A/en not_active Application Discontinuation
- 2004-09-20 CN CNB2004100780724A patent/CN1298192C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3879674A (en) * | 1973-12-27 | 1975-04-22 | Burroughs Corp | Automatic gain control circuit |
CN1114520A (en) * | 1993-08-11 | 1996-01-03 | Ntt移动通信网株式会社 | Apparatus for automatically controlling gain, communication apparatus, and method for automatically controlling gain |
CN1343399A (en) * | 1999-03-10 | 2002-04-03 | 高通股份有限公司 | CDMA singal transmission control |
CN1390383A (en) * | 1999-03-30 | 2003-01-08 | 高通股份有限公司 | Method and apparatus for automatically adjusting speaker and microphone gains within a mobile telephone |
Also Published As
Publication number | Publication date |
---|---|
KR20050090283A (en) | 2005-09-13 |
CN1668124A (en) | 2005-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7756280B2 (en) | Audio processing system and method for automatically adjusting volume | |
US8019094B2 (en) | Audio processing system with function of automatic gain control and method thereof | |
CN1830141B (en) | Audio conditioning apparatus and the method thereof | |
CN100590966C (en) | Acoustic device and automatic variable gaining method | |
JP5707219B2 (en) | Acoustic control device | |
US20070253572A1 (en) | Sound reproduction device and method for hearing protection in an ambient environment | |
CN101667422B (en) | Method and device for adjusting mode of song accompaniment | |
CN107948869B (en) | Audio processing method, audio processing device, audio system, and storage medium | |
US8084681B2 (en) | Distortion pedal | |
CN1298192C (en) | Method of proceeding gain adjustment for downloadable music file | |
CN110634462B (en) | Sound adjusting system and adjusting method | |
US20160240181A1 (en) | Audio system and method for reduction and/or elimination of distortion | |
JP2012244246A (en) | Acoustic apparatus, volume correction device and volume correction method | |
KR20080052435A (en) | Method and system for an all-digital class-d modulator and its saturation protection techniques | |
US20090232319A1 (en) | Audio playing apparatus and method thereof | |
JP2007219241A (en) | Voice processing apparatus and voice processing program | |
CN101075803A (en) | Method for automatically controlling gain value and voice transmitter | |
US20070116296A1 (en) | Audio processing system and method for hearing protection in an ambient environment | |
CN100548016C (en) | The wave volume adjusting device of mobile communication terminal | |
EP3757984B1 (en) | Electronic musical instrument, method and program | |
US10178466B2 (en) | Powered speaker system and method | |
US11533033B2 (en) | Audio signal amplifier gain control | |
US7151215B2 (en) | Waveform adjusting system for music file | |
JPH10126182A (en) | Clip preventing device for amplifier | |
KR20030017839A (en) | Device for adjusting audio output gain and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |