CN104835500A - Method and device for acquiring audio information - Google Patents

Method and device for acquiring audio information Download PDF

Info

Publication number
CN104835500A
CN104835500A CN201510172408.1A CN201510172408A CN104835500A CN 104835500 A CN104835500 A CN 104835500A CN 201510172408 A CN201510172408 A CN 201510172408A CN 104835500 A CN104835500 A CN 104835500A
Authority
CN
China
Prior art keywords
audio samples
sampling
sampling resolution
sampling rate
point number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510172408.1A
Other languages
Chinese (zh)
Other versions
CN104835500B (en
Inventor
陈延
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510172408.1A priority Critical patent/CN104835500B/en
Publication of CN104835500A publication Critical patent/CN104835500A/en
Application granted granted Critical
Publication of CN104835500B publication Critical patent/CN104835500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

Embodiments of the invention disclose a method and a device for acquiring audio information. The method comprises: when an audio sampling signal is received, acquiring sampling rate of the audio sampling signal; according to the sampling rate of the audio sampling signal, acquiring the maximum number of sampling points; and using the maximum number of sampling points, acquiring sampling digits of the audio sampling signal. Embodiments of the invention also correspondingly disclose a device for acquiring audio information. Using the method and the device, the sampling digits of the audio sampling signal can be accurately acquired, and accuracy of audio information sampling can be improved.

Description

A kind of method that audio-frequency information obtains and device thereof
Technical field
The present invention relates to electronic technology field, particularly relate to method and the device thereof of the acquisition of a kind of audio-frequency information.
Background technology
Sampling resolution is a kind of parameter for weighing sound fluctuation change, can objectively respond the order of accuarcy that digital audio and video signals describes input audio signal, can be understood the quality of sampled voice by sampling resolution and sample frequency.Therefore, at some proprietary audio frequency apparatus as on the audio frequency apparatuses such as Earphone Amplifier, the information such as the sampling rate of DAB or sampling resolution can directly be presented in the display screen of equipment.
At present, for the digital audio and video signals of input, as in some conventional DAB class signals, its header packet information can comprise the information about sampling resolution etc., but there is inconsistent situation with actual sampling resolution information in this header packet information, and in other type signals, on header packet information, then do not define the information of pertinent samples figure place, make user possibly cannot obtain the sampling resolution information of digital audio and video signals, or the sampling resolution information obtained is inaccurate, and then have impact on the accuracy to audio-frequency information sampling.
Summary of the invention
A kind of method that the embodiment of the present invention provides audio-frequency information to obtain and device thereof, can realize the sampling resolution of Obtaining Accurate audio samples, promotes the accuracy to audio-frequency information sampling.
Embodiments provide a kind of method that audio-frequency information obtains, comprising:
When receiving audio samples, obtain the sampling rate of described audio samples;
Maximum sampled point number is obtained according to the sampling rate of described audio samples;
Described maximum sampled point number is adopted to obtain the sampling resolution of described audio samples.
Correspondingly, the embodiment of the present invention additionally provides the device that a kind of audio-frequency information obtains, and comprising:
Sampling rate acquiring unit, for when receiving audio samples, obtains the sampling rate of described audio samples;
Sampled point number acquiring unit, for obtaining maximum sampled point number according to the sampling rate of described audio samples;
Sampling resolution acquiring unit, obtains the sampling resolution of described audio samples for adopting described maximum sampled point number.
Adopt the embodiment of the present invention, by obtaining the sampling rate of described audio samples, to obtain maximum sampled point number, and achieve the acquisition of the sampling resolution to described audio samples, make audio frequency apparatus can according to the sampling rate of audio samples, obtain the sampling resolution of audio samples, achieve the sampling resolution of Obtaining Accurate audio samples, and then improve the accuracy that audio-frequency information is sampled.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of audio-frequency information acquisition that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the method for the another kind of audio-frequency information acquisition that the embodiment of the present invention provides;
Fig. 3 is the structural representation of the device of a kind of audio-frequency information acquisition that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the sampling rate acquiring unit that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the sampling resolution acquiring unit that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the device of the another kind of audio-frequency information acquisition that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, the schematic flow sheet of the method that a kind of audio-frequency information provided for the embodiment of the present invention obtains, the method comprises the following steps S101-step S103.
S101, when receiving audio samples, obtains the sampling rate of described audio samples.
In specific implementation, at the audio frequency apparatus of some specialties as on Earphone Amplifier output device, user usually can understand the performance of these audio frequency apparatuses according to the audio-frequency information such as sampling rate, sampling resolution etc. of input DAB shown on audio frequency apparatus.In the present embodiment, when receiving audio samples, obtain the sampling rate of this audio samples, wherein, audio samples refers to as Sony/Philip Digital audio interface (Sony/Philips Digital Interface Format, spdif) class signal, USB (universal serial bus) (UniversalSerial Bus, USB) audio input signal etc., this signal can obtain pulse code modulation (PCM) (Pulse Code Modulation by audio processing modules, PCM) signal, when receiving this audio samples as PCM signal, obtain the sampling rate of this PCM signal, sampling rate can be generally 44100Hz, 48000Hz, 88200Hz, 96000Hz etc.
S102, obtains maximum sampled point number according to the sampling rate of described audio samples.
In specific implementation, when get audio samples as the sampling rate of above-mentioned PCM signal after, calculate according to this sampling rate, obtain maximum sampled point number, to obtain the sampling resolution of this audio samples according to this maximum sampled point number.Generally, maximum sampled point number is selected to become multiple proportion with the sampling rate of audio samples.
S103, adopts described maximum sampled point number to obtain the sampling resolution of described audio samples.
In specific implementation, this maximum sampled point number is adopted to obtain the employing figure place of this audio samples, in the present embodiment, after getting this maximum sampled point number, this maximum sampled point number and multiple predetermined threshold value are compared, when meeting the comparison relation with a certain predetermined threshold value, as being less than a certain predetermined threshold value, then select corresponding sampling resolution as the sampling resolution of present video sampled signal.
Adopt the embodiment of the present invention, when receiving audio samples, by obtaining the sampling rate of described audio samples, to obtain maximum sampled point number, and achieve the acquisition of the sampling resolution to described audio samples, make audio frequency apparatus according to the sampling rate of audio samples, the sampling resolution of audio samples can be obtained, achieve the sampling resolution of Obtaining Accurate audio samples, and then improve the accuracy that audio-frequency information is sampled.
Please refer to Fig. 2, the schematic flow sheet of the method that the another kind of audio-frequency information provided for the embodiment of the present invention obtains, the method comprises the following steps S201-S206.
S201, monitoring ic built-in audio bus I2S signal, according to the I2S signal acquisition current PRF coded modulation PCM signal of monitoring.
In specific implementation, at the audio frequency apparatus of some specialties as on Earphone Amplifier output device, user usually can understand the performance of these audio frequency apparatuses according to the audio-frequency information such as sampling rate, sampling resolution etc. of input DAB shown on audio frequency apparatus.In the present embodiment, when receiving audio samples, obtain the sampling rate of this audio samples, wherein, audio samples refers to as spdif class signal, USB audio input signal etc.By integrated circuit built-in audio bus (Inter-IC Sound, the I2S) signal in monitoring audio processing modules, and according to the I2S signal acquisition current PRF coded modulation PCM signal monitored.
S202, using current PRF coded modulation PCM signal as audio samples, obtains the sampling rate of described audio samples.
In specific implementation, using current PRF coded modulation PCM signal as audio samples, obtain the sampling rate of this audio samples, sampling rate can be generally 44100Hz, 48000Hz, 88200Hz, 96000Hz etc.
S203, carries out expansion process to the sampling rate of described audio samples according to preset multiple, and obtain maximum sampled point number after expansion process.
In specific implementation, when getting the sampling rate of audio samples, according to preset multiple, expansion process being carried out to the sampling rate of this audio samples, and obtain maximum sampled point number after expansion process.Such as when the sampling rate obtained is 96000Hz, in the present embodiment, this preset multiple is 3 times, then the maximum sampled point number obtained after expanding process is 3 times of 96000, and namely maximum sampled point number is 288000.
S204, obtains at least one the sampled signal point indicated by described maximum sampled point number, and obtains the semaphore that at least one sampled signal point described, each sampled signal point is corresponding.
In specific implementation, obtain at least one the sampled signal point indicated by this maximum sampled point number, and obtain the semaphore that in this at least one sampled signal point, each sampled signal point is corresponding, in the present embodiment, when the maximum sampled point number obtained is 288000, according to this maximum sampled point number, obtain the semaphore that each sampled signal point is corresponding.
S205, is undertaken semaphore corresponding at least one sampled signal point described or compares with default sampling number threshold value after computing, obtaining the sampling resolution of described audio samples;
In specific implementation, semaphore corresponding at least one sampled signal point carried out or compares with default sampling number threshold value after computing, obtaining the sampling resolution of described audio samples.During as supposed that the semaphore that each sampled signal point is corresponding is 16 (i.e. 0x10), then semaphore corresponding at least one sampled signal point to be carried out or result after computing is 0x10, compare with default sampling number threshold value, binding signal amount is carried out or the result of computing, default relation between sampled point threshold value and sampling resolution three, obtains the sampling resolution of this sound signal.Semaphore carries out or the result of computing represents with New_BitDepth with the sampling resolution that Sample represents, preset sampling number threshold value and audio samples, and the corresponding relation between above-mentioned three is as follows:
Sample<=0xFF New_BitDepth=8
Sample<=0xFFFF New_BitDepth=16
Sample<=0xFFFFFF New_BitDepth=24
Sample<=0xFFFFFFFF New_BitDepth=32
Carry out or the result Sample=0x10 of computing, meet Sample<=0xFF, therefore, obtain the sampling resolution New_BitDepth=8 of corresponding audio samples.
S206, when the sampling resolution carried is unequal, adopts the sampling resolution of described audio samples to upgrade the sampling resolution carried in described header packet information in sampling resolution and the header packet information to obtain in advance of described audio samples.
Wherein, the sampling resolution carried in described header packet information refers to sampling resolution entrained in the header packet information that described audio samples obtains when carrying out data transmission after resolving.
In specific implementation, for Spdif class signal, sampling resolution information is carried in its header packet information, when after the sampling resolution obtaining audio samples according to this method, compare with the sampling resolution that carries in the header packet information obtained in advance, as equal, do not upgrade, if unequal, then adopt the sampling resolution of the audio samples of current acquisition to upgrade the sampling resolution carried in this header packet information, notice user interface draws new sampling resolution.
Adopt the embodiment of the present invention, by monitoring ic built-in audio bus I2S signal, obtain current PRF coded modulation PCM signal, and using this pulse code modulation (PCM) PCM signal as audio samples, obtain the sampling rate of this audio samples, then according to preset multiple, expansion process is carried out to the sampling rate of this audio samples, and maximum sampled point number is obtained after expansion process, and obtain semaphore summation according to maximum sampled point number, semaphore summation and default sampling number threshold value are compared, obtain the sampling resolution of this audio samples, achieve the sampling resolution of Obtaining Accurate audio samples, and then improve the sampling efficiency that audio-frequency information is sampled.
Below in conjunction with Fig. 3-Fig. 6, the device of the audio-frequency information acquisition that the embodiment of the present invention provides is described in detail.It should be noted that, the device that audio-frequency information shown in Fig. 3-Fig. 6 obtains, for performing Fig. 1 of the present invention and method embodiment illustrated in fig. 2, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1 and Fig. 2 of the present invention.
Please refer to Fig. 3, the structural representation of the device that a kind of audio-frequency information provided for the embodiment of the present invention obtains, this device comprises as lower unit: sampling rate acquiring unit 11, sampled point number acquiring unit 12 and sampling resolution acquiring unit 13.
Sampling rate acquiring unit 11, for when receiving audio samples, obtains the sampling rate of described audio samples.
In specific implementation, at the audio frequency apparatus of some specialties as on Earphone Amplifier output device, user usually can understand the performance of these audio frequency apparatuses according to the audio-frequency information such as sampling rate, sampling resolution etc. of input DAB shown on audio frequency apparatus.In the present embodiment, when receiving audio samples, sampling rate acquiring unit 11 obtains the sampling rate of this audio samples, wherein, audio samples refers to that this signal can obtain PCM signal by audio processing modules, when receiving this audio samples as PCM signal as spdif class signal, USB audio input signal etc., obtain the sampling rate of this PCM signal, sampling rate can be generally 44100Hz, 48000Hz, 88200Hz, 96000Hz etc.
Concrete, please with reference to Fig. 4, for embodiments providing the structural representation of sampling rate acquiring unit.As shown in Figure 4, described sampling rate acquiring unit 11 can comprise: monitoring subelement 111 and sampling rate obtain subelement 112.
Monitoring subelement 111, for monitoring ic built-in audio bus I2S signal, according to the I2S signal acquisition current PRF coded modulation PCM signal of monitoring.
In specific implementation, at the audio frequency apparatus of some specialties as on Earphone Amplifier output device, user usually can understand the performance of these audio frequency apparatuses according to the audio-frequency information such as sampling rate, sampling resolution etc. of input DAB shown on audio frequency apparatus.In the present embodiment, when receiving audio samples, monitoring subelement 111 obtains the sampling rate of this audio samples, and wherein, audio samples refers to as spdif class signal, USBaudio input signal etc.By the I2S signal in monitoring audio processing modules, and according to the I2S signal acquisition current PRF coded modulation PCM signal monitored.
Sampling rate obtain subelement 112, for using current PRF coded modulation PCM signal as audio samples, obtain the sampling rate of described audio samples.
In specific implementation, sampling rate obtains subelement 112 using current PRF coded modulation PCM signal as audio samples, and obtain the sampling rate of this audio samples, sampling rate can be generally 44100Hz, 48000Hz, 88200Hz, 96000Hz etc.
Sampled point number acquiring unit 12, for obtaining maximum sampled point number according to the sampling rate of described audio samples.
In specific implementation, when get audio samples as the sampling rate of above-mentioned PCM signal after, sampled point number acquiring unit 12 calculates according to this sampling rate, obtains maximum sampled point number, to obtain the sampling resolution of this audio samples according to this maximum sampled point number.Generally, maximum sampled point number is selected to become multiple proportion with the sampling rate of audio samples.
Sampling resolution acquiring unit 13, obtains the sampling resolution of described audio samples for adopting described maximum sampled point number.
In specific implementation, this maximum sampled point number is adopted to obtain the employing figure place of this audio samples, in the present embodiment, after getting this maximum sampled point number, this maximum sampled point number and multiple predetermined threshold value are compared by sampling resolution acquiring unit 13, when meeting the comparison relation with a certain predetermined threshold value, as being less than a certain predetermined threshold value, then select corresponding sampling resolution as the sampling resolution of present video sampled signal.
Concrete, please with reference to Fig. 5, for embodiments providing the structural representation of sampling resolution acquiring unit.As shown in Figure 5, described sampling resolution acquiring unit 13 can comprise: semaphore obtains subelement 131 and adopts figure place to obtain subelement 132.
Semaphore obtains subelement 131, for obtaining at least one the sampled signal point indicated by described maximum sampled point number, and obtains the semaphore that at least one sampled signal point described, each sampled signal point is corresponding.
In specific implementation, semaphore acquisition subelement 131 obtains at least one the sampled signal point indicated by this maximum sampled point number, and obtain the semaphore that in this at least one sampled signal point, each sampled signal point is corresponding, in the present embodiment, when the maximum sampled point number obtained is 288000, according to this maximum sampled point number, obtain the semaphore that each sampled signal point is corresponding, during as supposed that the semaphore that each sampled signal point is corresponding is 1, then the semaphore summation of each sampled signal point is 288000.
Adopt figure place to obtain subelement 132, for being carried out by semaphore corresponding at least one sampled signal point described or comparing with default sampling number threshold value after computing, obtain the sampling resolution of described audio samples;
In specific implementation, adopt figure place to obtain subelement 132 and semaphore corresponding at least one sampled signal point is carried out or compares with default sampling number threshold value after computing, obtain the sampling resolution of described audio samples.When supposing that the semaphore that each sampled signal point is corresponding is 16 (i.e. 0x10), then semaphore corresponding at least one sampled signal point to be carried out or result after computing is 0x10, compare with default sampling number threshold value, binding signal amount is carried out or the result of computing, default relation between sampled point threshold value and sampling resolution three, obtains the sampling resolution of this sound signal.Semaphore carries out or the result of computing represents with New_BitDepth with the sampling resolution that Sample represents, preset sampling number threshold value and audio samples, and the corresponding relation between above-mentioned three is as follows:
Sample<=0xFF New_BitDepth=8
Sample<=0xFFFF New_BitDepth=16
Sample<=0xFFFFFF New_BitDepth=24
Sample<=0xFFFFFFFF New_BitDepth=32
Carry out or the result Sample=0x10 of computing, meet Sample<=0xFF, therefore, obtain the sampling resolution New_BitDepth=8 of corresponding audio samples.
Adopt the embodiment of the present invention, when receiving audio samples, by obtaining the sampling rate of described audio samples, to obtain maximum sampled point number, and achieve the acquisition of the sampling resolution to described audio samples, make audio frequency apparatus according to the sampling rate of audio samples, the sampling resolution of audio samples can be obtained, achieve the sampling resolution of Obtaining Accurate audio samples, and then improve the accuracy that audio-frequency information is sampled.
Refer to Fig. 6, for embodiments providing the structural representation of the device that another kind of audio-frequency information obtains.As shown in Figure 6, this device can comprise: sampling rate acquiring unit 11, sampled point number acquiring unit 12, sampling resolution acquiring unit 13 and updating block 14; Wherein, sampling rate acquiring unit 11, sampled point number acquiring unit 12 and sampling resolution acquiring unit 13 can the specific descriptions of embodiment shown in Figure 3, do not repeat at this.
Updating block 14, for when the sampling resolution carried in sampling resolution and the header packet information to obtain in advance of described audio samples is unequal, adopts the sampling resolution of described audio samples to upgrade the sampling resolution carried in described header packet information;
Wherein, the sampling resolution carried in described header packet information refers to sampling resolution entrained in the header packet information that described audio samples obtains when carrying out data transmission after resolving.
In specific implementation, for Spdif class signal, sampling resolution information is carried in its header packet information, when after the sampling resolution obtaining audio samples according to this method, updating block 14 compares with the sampling resolution that carries in the header packet information obtained in advance, as equal, does not upgrade, if unequal, then adopt the sampling resolution of the audio samples of current acquisition to upgrade the sampling resolution carried in this header packet information, notice user interface draws new sampling resolution.
Adopt the embodiment of the present invention, by monitoring ic built-in audio bus I2S signal, obtain current PRF coded modulation PCM signal, and using this pulse code modulation (PCM) PCM signal as audio samples, obtain the sampling rate of this audio samples, then according to preset multiple, expansion process is carried out to the sampling rate of this audio samples, and maximum sampled point number is obtained after expansion process, and obtain semaphore summation according to maximum sampled point number, semaphore summation and default sampling number threshold value are compared, obtain the sampling resolution of this audio samples, achieve the sampling resolution of Obtaining Accurate audio samples, and then improve the sampling efficiency that audio-frequency information is sampled.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a method for audio-frequency information acquisition, is characterized in that, comprising:
When receiving audio samples, obtain the sampling rate of described audio samples;
Maximum sampled point number is obtained according to the sampling rate of described audio samples;
Described maximum sampled point number is adopted to obtain the sampling resolution of described audio samples.
2. method according to claim 1, is characterized in that, described when receiving audio samples, obtains the sampling rate of described audio samples, comprising:
Monitoring ic built-in audio bus I2S signal, according to the I2S signal acquisition current PRF coded modulation PCM signal of monitoring;
Using current PRF coded modulation PCM signal as audio samples, obtain the sampling rate of described audio samples.
3. method according to claim 1, is characterized in that, the described sampling rate according to described audio samples obtains maximum sampled point number, comprising:
According to preset multiple, expansion process is carried out to the sampling rate of described audio samples, and obtain maximum sampled point number after expansion process.
4. method according to claim 3, is characterized in that, the described sampling resolution being obtained described audio samples by described maximum sampled point number, being comprised:
Obtain at least one the sampled signal point indicated by described maximum sampled point number, and obtain the semaphore that at least one sampled signal point described, each sampled signal point is corresponding;
Semaphore corresponding at least one sampled signal point described carried out or compares with default sampling number threshold value after computing, obtaining the sampling resolution of described audio samples.
5. the method according to any one of claim 1-4, is characterized in that, described obtain the sampling resolution step of described audio samples by described maximum sampled point number after, also comprise:
When the sampling resolution carried in sampling resolution and the header packet information to obtain in advance of described audio samples is unequal, the sampling resolution of described audio samples is adopted to upgrade the sampling resolution carried in described header packet information;
Wherein, the sampling resolution carried in described header packet information refers to sampling resolution entrained in the header packet information that described audio samples obtains when carrying out data transmission after resolving.
6. a device for audio-frequency information acquisition, is characterized in that, comprising:
Sampling rate acquiring unit, for when receiving audio samples, obtains the sampling rate of described audio samples;
Sampled point number acquiring unit, for obtaining maximum sampled point number according to the sampling rate of described audio samples;
Sampling resolution acquiring unit, obtains the sampling resolution of described audio samples for adopting described maximum sampled point number.
7. device according to claim 6, is characterized in that, described sampling rate acquiring unit comprises:
Monitoring subelement, for monitoring ic built-in audio bus I2S signal, according to the I2S signal acquisition current PRF coded modulation PCM signal of monitoring;
Sampling rate obtain subelement, for using current PRF coded modulation PCM signal as audio samples, obtain the sampling rate of described audio samples.
8. device according to claim 6, is characterized in that, described sampled point number acquiring unit specifically for carrying out expansion process to the sampling rate of described audio samples according to preset multiple, and obtains maximum sampled point number after expansion process.
9. device according to claim 8, is characterized in that, described sampling resolution acquiring unit comprises:
Semaphore obtains subelement, for obtaining at least one the sampled signal point indicated by described maximum sampled point number, and obtains the semaphore that at least one sampled signal point described, each sampled signal point is corresponding;
Adopt figure place to obtain subelement, for being carried out by semaphore corresponding at least one sampled signal point described or comparing with default sampling number threshold value after computing, obtain the sampling resolution of described audio samples.
10. the device according to any one of claim 6-9, is characterized in that, also comprises:
Updating block, for when the sampling resolution carried in sampling resolution and the header packet information to obtain in advance of described audio samples is unequal, adopts the sampling resolution of described audio samples to upgrade the sampling resolution carried in described header packet information;
Wherein, the sampling resolution carried in described header packet information refers to sampling resolution entrained in the header packet information that described audio samples obtains when carrying out data transmission after resolving.
CN201510172408.1A 2015-04-10 2015-04-10 The method and its device that a kind of audio-frequency information obtains Active CN104835500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510172408.1A CN104835500B (en) 2015-04-10 2015-04-10 The method and its device that a kind of audio-frequency information obtains

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510172408.1A CN104835500B (en) 2015-04-10 2015-04-10 The method and its device that a kind of audio-frequency information obtains

Publications (2)

Publication Number Publication Date
CN104835500A true CN104835500A (en) 2015-08-12
CN104835500B CN104835500B (en) 2018-07-06

Family

ID=53813340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510172408.1A Active CN104835500B (en) 2015-04-10 2015-04-10 The method and its device that a kind of audio-frequency information obtains

Country Status (1)

Country Link
CN (1) CN104835500B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578783A (en) * 2017-08-14 2018-01-12 上海定菱网络科技有限公司 Audio defeat method and system, memory and electronic equipment during audio frequency and video are live
CN110636329A (en) * 2018-06-22 2019-12-31 视联动力信息技术股份有限公司 Audio data processing method and device
CN115550495A (en) * 2022-09-02 2022-12-30 广州通则康威智能科技有限公司 Method and device for filtering dual-tone multi-frequency signals

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050219081A1 (en) * 2004-03-29 2005-10-06 Lee Eun-Jik Systems, methods and devices for sampling rate conversion by resampling sample blocks of a signal
CN1963744A (en) * 2006-12-13 2007-05-16 北京中星微电子有限公司 Self adapting method of sampling frequency of audio frequency interface
CN101986388A (en) * 2010-09-06 2011-03-16 建荣集成电路科技(珠海)有限公司 MP3 intelligent error detection method
CN103137183A (en) * 2011-11-30 2013-06-05 三星电子株式会社 Device and method for determining bit-rate for audio contents

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050219081A1 (en) * 2004-03-29 2005-10-06 Lee Eun-Jik Systems, methods and devices for sampling rate conversion by resampling sample blocks of a signal
CN1963744A (en) * 2006-12-13 2007-05-16 北京中星微电子有限公司 Self adapting method of sampling frequency of audio frequency interface
CN101986388A (en) * 2010-09-06 2011-03-16 建荣集成电路科技(珠海)有限公司 MP3 intelligent error detection method
CN103137183A (en) * 2011-11-30 2013-06-05 三星电子株式会社 Device and method for determining bit-rate for audio contents

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578783A (en) * 2017-08-14 2018-01-12 上海定菱网络科技有限公司 Audio defeat method and system, memory and electronic equipment during audio frequency and video are live
CN110636329A (en) * 2018-06-22 2019-12-31 视联动力信息技术股份有限公司 Audio data processing method and device
CN115550495A (en) * 2022-09-02 2022-12-30 广州通则康威智能科技有限公司 Method and device for filtering dual-tone multi-frequency signals
CN115550495B (en) * 2022-09-02 2023-08-08 广州通则康威智能科技有限公司 Filtering method and device for dual-tone multi-frequency signals

Also Published As

Publication number Publication date
CN104835500B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108564966B (en) Voice test method and device with storage function
CN109285556B (en) Audio processing method, device, equipment and storage medium
CN107591167B (en) Method and system for realizing automatic detection of vehicle-mounted multimedia audio compatibility
CN109547910B (en) Electronic equipment acoustic assembly performance testing method, device, equipment and storage medium
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
CN113053365B (en) Voice separation method, device, equipment and storage medium
CN104835500A (en) Method and device for acquiring audio information
CN104978973A (en) Audio processing method and device
US8559656B2 (en) System and method for automatic microphone volume setting
CN109065017B (en) Voice data generation method and related device
CN105047202A (en) Audio processing method, device and terminal
CN107153608B (en) Code detection method and code detection device
CN103177732A (en) Sound comparison processing detection system and detection method based on digital signal processor (DSP)
CN104575542A (en) Method and device for realizing audio regional play
US11308199B2 (en) User authentication method using ultrasonic waves
CN104200826A (en) Audio signal playing method for mobile terminal and mobile terminal
CN103677566A (en) Picture editing method and picture editing device
CN111148005B (en) Method and device for detecting mic sequence
CN112750458B (en) Touch screen sound detection method and device
CN114827865A (en) Frequency response curve detection method, device, equipment and storage medium of audio equipment
US11543435B2 (en) Measurement system and method for recording context information of a measurement
CN117255299A (en) Audio stream format testing method and system for audio equipment
CN111025010B (en) Method and device for measuring active response time of equipment and terminal equipment
CN111028848B (en) Compressed voice processing method and device and electronic equipment
CN114093376A (en) Method and device for identifying audio data packaging format, storage medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.