CN104021808A - Audio frequency playing method and device - Google Patents

Audio frequency playing method and device Download PDF

Info

Publication number
CN104021808A
CN104021808A CN201310064503.0A CN201310064503A CN104021808A CN 104021808 A CN104021808 A CN 104021808A CN 201310064503 A CN201310064503 A CN 201310064503A CN 104021808 A CN104021808 A CN 104021808A
Authority
CN
China
Prior art keywords
frequency
data frame
audio data
audio
hard disk
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
CN201310064503.0A
Other languages
Chinese (zh)
Other versions
CN104021808B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310064503.0A priority Critical patent/CN104021808B/en
Publication of CN104021808A publication Critical patent/CN104021808A/en
Application granted granted Critical
Publication of CN104021808B publication Critical patent/CN104021808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses an audio frequency playing method and device, and belongs to the computer technical field; the method is applied in electronic equipment having a hard disk and an audio frequency output device; the method comprises the following steps: obtaining audio frequency data frames to be played; reducing volume value of audio frequency data corresponding to a pre-stored interference frequency point in the audio frequency data frames, thus obtaining the audio frequency data frames after volume reduction process; playing the audio frequency according to the audio frequency data frames after the volume reduction process. The method and device can improve work stability of the hard disk in the electronic equipment.

Description

The method and apparatus that a kind of audio frequency is play
Technical field
The present invention relates to field of computer technology, the method and apparatus that particularly a kind of audio frequency is play.
Background technology
Along with the development of seagate, hard disk has become a kind of very important data storage device in electronic equipment.In the application process of electronic equipment, the stability of hard disk work is very important performance index.The core work that hard disk carries out is storage and the transmission of carrying out data, so the stability of hard disk work can directly be reacted at it and be carried out in the stability of message transmission rate.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
In the time that carrying out audio frequency output, the audio output device in electronic equipment (as loudspeaker etc.) can shake, can cause hard disk to shake thereupon, especially the portable electric appts such as notebook computer, because volume is little, compact conformation, the position of its hard disk and audio output device is comparatively approaching.Hard disk is in the accurately data in reading disk of whens vibrations magnetic head, and the reduction of undulatory property can occur message transmission rate, thereby can have influence on the job stability of hard disk.
Summary of the invention
In order to solve the problem of prior art, the method and apparatus that the embodiment of the present invention provides a kind of audio frequency to play, to improve the job stability of hard disk in electronic equipment.Described technical scheme is as follows:
On the one hand, a kind of method that provides audio frequency to play, is applied to the electronic equipment that is provided with hard disk and audio output device, and described method comprises:
Obtain audio data frame to be played;
Reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment;
According to described flat amount audio data frame after treatment, carry out audio frequency broadcasting.
Preferably, the volume value of the voice data corresponding with pre-stored interference frequency in the described audio data frame of described reduction, obtains flat amount audio data frame after treatment, comprising:
If the hard disk of described electronic equipment is carrying out data transmission, reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment.
Preferably, described electronic equipment is provided with multiple hard disks, and described pre-stored interference frequency comprises the interference frequency of each hard disk in described multiple hard disk;
If the hard disk of described electronic equipment is carrying out data transmission, reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment, comprising:
If existed at the hard disk that carries out data transmission in each hard disk of electronic equipment, reduce in described audio data frame the volume value of the voice data corresponding with the described interference frequency of hard disk carrying out data transmission, obtain flat amount audio data frame after treatment.
Preferably, the volume value of the voice data corresponding with pre-stored interference frequency in the described audio data frame of described reduction, obtains flat amount audio data frame after treatment, comprising:
The volume value of voice data corresponding with pre-stored interference frequency in described audio data frame is reduced to default numerical value, obtain flat amount audio data frame after treatment.
Preferably, the volume value of the voice data corresponding with pre-stored interference frequency in the described audio data frame of described reduction, obtains flat amount audio data frame after treatment, comprising:
By in the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, the volume value that exceedes default volume threshold is reduced to described default volume threshold, obtains flat amount audio data frame after treatment.
Preferably, store the method for described interference frequency, comprising:
At each audio frequency frequency, use default volume value respectively, carry out the continuous audio frequency of single-frequency point and play, and in the time that audio frequency is play continuously, obtain the message transmission rate of described hard disk;
In the message transmission rate of the each audio frequency frequency of the correspondence of obtaining, the ratio reducing with respect to reference speed rate is exceeded to the audio frequency frequency corresponding to message transmission rate of default proportion threshold value, be stored as described interference frequency.
On the other hand, the device that provides a kind of audio frequency to play, is applied to the electronic equipment that is provided with hard disk and audio output device, and described device comprises:
Acquisition module, for obtaining audio data frame to be played;
Processing module, for reducing the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtains flat amount audio data frame after treatment;
Playing module, for according to described flat amount audio data frame after treatment, carries out audio frequency broadcasting.
Preferably, described processing module, specifically for:
If the hard disk of described electronic equipment is carrying out data transmission, reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment.
Preferably, described electronic equipment is provided with multiple hard disks, and described pre-stored interference frequency comprises the interference frequency of each hard disk in described multiple hard disk;
Described processing module, specifically for:
If existed at the hard disk that carries out data transmission in each hard disk of electronic equipment, reduce in described audio data frame the volume value of the voice data corresponding with the described interference frequency of hard disk carrying out data transmission, obtain flat amount audio data frame after treatment.
Preferably, described processing module, specifically for:
The volume value of voice data corresponding with pre-stored interference frequency in described audio data frame is reduced to default numerical value, obtain flat amount audio data frame after treatment.
Preferably, described processing module, specifically for:
By in the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, the volume value that exceedes default volume threshold is reduced to described default volume threshold, obtains flat amount audio data frame after treatment.
Preferably, described processing module, also for:
At each audio frequency frequency, use default volume value respectively, carry out the continuous audio frequency of single-frequency point and play, and in the time that audio frequency is play continuously, obtain the message transmission rate of described hard disk;
In the message transmission rate of the each audio frequency frequency of the correspondence of obtaining, the ratio reducing with respect to reference speed rate is exceeded to the audio frequency frequency corresponding to message transmission rate of default proportion threshold value, be stored as described interference frequency.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, in the time that the electronic equipment that is provided with hard disk and audio output device carries out audio frequency broadcasting, reduce the volume value of voice data corresponding with pre-stored interference frequency in audio data frame to be played, obtain flat amount audio data frame after treatment, then, according to flat amount audio data frame after treatment, carry out audio frequency broadcasting, like this, can reduce the amplitude of hard disk resonance in audio frequency playing process, thereby, can improve the job stability of hard disk in electronic equipment.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram that the audio frequency that provides of the embodiment of the present invention is play;
Fig. 2 is the method flow diagram that the audio frequency that provides of the embodiment of the present invention is play;
Fig. 3 is the statistics schematic diagram of the ratio that reduces with respect to reference speed rate of the message transmission rate of the hard disk that provides of the embodiment of the present invention;
Fig. 4 is the apparatus structure schematic diagram that the audio frequency that provides of the embodiment of the present invention is play.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
A kind of method that the embodiment of the present invention provides audio frequency to play, is applied to the electronic equipment that is provided with hard disk and audio output device, and as shown in Figure 1, the method can comprise following treatment scheme:
Step 101, obtains audio data frame to be played.
Step 102, reduces the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtains flat amount audio data frame after treatment.
Step 103, according to flat amount audio data frame after treatment, carries out audio frequency broadcasting.
In the embodiment of the present invention, in the time that the electronic equipment that is provided with hard disk and audio output device carries out audio frequency broadcasting, reduce the volume value of voice data corresponding with pre-stored interference frequency in audio data frame to be played, obtain flat amount audio data frame after treatment, then, according to flat amount audio data frame after treatment, carry out audio frequency broadcasting, like this, can reduce the amplitude of hard disk resonance in audio frequency playing process, thereby, can improve the job stability of hard disk in electronic equipment.
Embodiment bis-
A kind of method that the embodiment of the present invention provides audio frequency to play, be applied to the electronic equipment that is provided with hard disk and audio output device, the portable electric appts such as such as notebook computer, hard disk herein specifically can refer to mechanical hard disk (or claiming non-solid state hard disc).The executive agent of the method can be preferably audio processing chip (as the process chip of sound card) or the CPU (Central Processing Unit, central processing unit) of electronic equipment.
Below in conjunction with concrete embodiment, the treatment scheme shown in Fig. 1 is described in detail, particular content can be as follows.
Step 101, obtains audio data frame to be played.
Wherein, audio data frame is the primitive that audio frequency is play, the voice data that each audio data frame is play for recording a time slot.For example, MP3 (a kind of audio format) file is made up of multiple audio data frames, and the audio stream in Streaming Media is also made up of multiple audio frames.Voice data in audio data frame specifically can comprise the voice data of corresponding multiple audio frequency frequencies, multiple audio frequency frequencies can be the space predeterminated frequency value in human auditory system frequency range multiple audio frequency frequencies (for example, human auditory system frequency range is generally 20-20000Hz, can start, at interval of 200Hz, an audio frequency frequency is set from 100Hz, between each audio frequency frequency, the frequency values at interval also can be unequal), the voice data of each audio frequency frequency can comprise volume value.Volume value can be dB (decibel) value, can be also the ratio value with respect to descant value.
Concrete, in the time carrying out audio frequency broadcasting, C P U or audio processing chip can obtain the each audio data frame in corresponding document or Streaming Media in order.
Step 102, reduces the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtains flat amount audio data frame after treatment.
Wherein, disturbing frequency is to carry out at audio output device the broadcasting frequency that exerts an influence larger to the message transmission rate of hard disk when audio frequency is play.Because different hard disks may there are differences at aspects such as shape, material, physical constructions, so interference frequency corresponding to different hard disks may be also different.A parameter disturbing frequency to can be used as hard disk is carried out record.And, disturbing frequency can be a frequency, (under this frequency, hard disk has maximum amplitude to the broadcasting frequency that exerts an influence maximum to the message transmission rate of hard disk, hard disk and audio output device have produced resonance), disturbing frequency can be also multiple frequencies, to the message transmission rate of the hard disk broadcasting frequency acquiring a certain degree that exerts an influence.Disturb the process of obtaining and storing of frequency can be described in detail in the back.
In this step, audio data frame being carried out to the processing of flat amount, can be that all audio data frames to playing in electronic equipment all carry out this processing.Certainly, preferably, the condition of carrying out this processing can be set, in the time satisfying condition, carry out again the processing of flat amount, so, the concrete implementation of this step can be: if the hard disk of electronic equipment is carrying out data transmission, reduce the volume value of voice data corresponding with pre-stored interference frequency in audio data frame, obtain flat amount audio data frame after treatment.
Like this, in the time of hard disk transmission data, the volume value of the corresponding voice data that disturbs frequency in audio data frame is reduced, then carry out follow-up audio frequency broadcasting, when reduction audio frequency is play the impact of hard disc data transmission, can reduce the damage of the audio frequency to playing.
In addition, if the hard disk of electronic equipment is not carrying out data transmission, can not carry out the processing of flat amount to this audio data frame, directly according to audio data frame to be played, carry out audio frequency broadcasting, voice data be carried out to normal play.Certainly, in this case, also can take other processing, to this, the embodiment of the present invention does not limit.
The above-mentioned condition of carrying out the processing of flat amount can further be specially: the hard disk of electronic equipment is carrying out data transmission, and the data file of transmission exceedes default capacity threshold (as 200M B).Be that executive condition is that hard disk is in the data transmission of carrying out big data quantity.
Preferably, if electronic equipment is provided with multiple hard disks, so pre-stored interference frequency can comprise the interference frequency of each hard disk in multiple hard disks, i.e. interference frequency corresponding to each hard disk in store electrons equipment.The interference frequency of each hard disk can be that a frequency can be also multiple frequencies, and pre-stored interference frequency can be the summation of the interference frequency of all hard disks.Like this, the concrete implementation of step 102 can be: if existed at the hard disk that carries out data transmission in each hard disk of electronic equipment, the volume value that reduces in audio data frame the voice data corresponding with the interference frequency of hard disk carrying out data transmission, obtains flat amount audio data frame after treatment.
In force, the method for the embodiment of the present invention can realize by corresponding application software is installed in electronic equipment, can record the interference frequency corresponding to hard disk of various models in this application software.Can also obtain the model of hard disk in current electronic device by this application software, and determine corresponding interference frequency.By this application software, can also obtain and record the duty of hard disk, in the time that hard disk starts to carry out data transmission, record this hard disk in transmission state, in the time of the DTD of hard disk, record this hard disk in non-transmission state.Like this, after getting audio data frame to be played, can carry out above-mentioned corresponding processing according to the duty of the hard disk of current record.
In the embodiment of the present invention, while carrying out the processing of step 102, concrete implementation can adopt the one in following several modes:
Mode one, reduces default numerical value by the volume value of voice data corresponding with pre-stored interference frequency in audio data frame, obtains flat amount audio data frame after treatment.
This processing mode, in audio data frame, all reduces identical default value by the volume value of voice data corresponding all interference frequencies, processes simply, can improve treatment effeciency, ensures the fluency that audio frequency is play.
Mode two, by the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, the volume value that exceedes default volume threshold is reduced to described default volume threshold, obtains flat amount audio data frame after treatment.
Concrete, in audio data frame, for each interference frequency, obtain the volume value that disturbs the voice data that frequency is corresponding, and judge whether this volume value exceedes default volume threshold, if exceed this volume threshold, this volume value is reduced to this volume threshold, otherwise can process.
This processing mode, for the lower voice data of volume, can carry out less change, even can not change, and under ensureing that audio frequency is play the prerequisite of the less impact of hard disc data transmission generation, has reduced to a great extent the damage of the audio frequency to playing.
Step 103, according to flat amount audio data frame after treatment, carries out audio frequency broadcasting.
Concrete, if the executive agent of this flow process is CPU, CPU can send to audio data frame after treatment flat amount audio processing chip (as the process chip of sound card) to carry out audio frequency broadcasting; If the executive agent of this flow process is audio processing chip, audio processing chip can carry out digital-to-analog conversion to flat amount audio data frame after treatment, sends to audio output device to carry out audio frequency broadcasting the simulating signal after conversion.
In the embodiment of the present invention, also provide the method for obtaining and storing of disturbing frequency, as shown in Figure 2, the treatment scheme of the method can comprise following step:
Step 201, at each audio frequency frequency, is used default volume value respectively, carries out the continuous audio frequency of single-frequency point and plays, and in the time that audio frequency is play continuously, obtain the message transmission rate of hard disk.Wherein, the continuous audio frequency of single-frequency point is play, the broadcasting sound of certain single-frequency being continued.
Concrete, in the time that each audio frequency frequency carries out continuous audio frequency broadcasting, can use identical default volume value.The method of obtaining the message transmission rate of hard disk can be, makes hard disk carry out the data transmission (as the copy of the file of larger capacity) of big data quantity, the data traffic of hard disc data port is measured simultaneously, and computational data transfer rate.The message transmission rate of obtaining can be preferably the average data transfer rate in Preset Time section (as 10 seconds), for example, draws average data transfer rate with the total data flow measuring in 10 seconds divided by 10.
Step 202, in the message transmission rate of the each audio frequency frequency of the correspondence of obtaining, exceedes the ratio reducing with respect to reference speed rate the audio frequency frequency corresponding to message transmission rate of default proportion threshold value, is stored as interference frequency.
Wherein, reference speed rate can be the maximum transmission rate (can be theoretic maximum transmission rate, can be also the maximum transmission rate that actual measurement draws) of hard disk, and reference speed rate can be the basic parameter of hard disk.
Concrete, first, for each message transmission rate of measuring and calculate at each audio frequency frequency in above-mentioned steps 201, can calculate each message transmission rate of obtaining ratio with respect to reference speed rate reduction.As shown in Figure 3, for the hard disk to certain model, by said method, the statistics schematic diagram of the ratio that the message transmission rate of obtaining at each audio frequency frequency reduces with respect to reference speed rate.Then,, by the above-mentioned ratio value calculating and default proportion threshold value comparison, for the ratio value that exceedes proportion threshold value, its corresponding audio frequency frequency can be stored as the interference frequency of this hard disk.
In addition, for step 202, also audio frequency the frequency corresponding message transmission rate that in the message transmission rate of each correspondence of obtaining audio frequency frequency, numerical value is minimum can be stored as to interference frequency.
In the embodiment of the present invention, in the time that the electronic equipment that is provided with hard disk and audio output device carries out audio frequency broadcasting, reduce the volume value of voice data corresponding with pre-stored interference frequency in audio data frame to be played, obtain flat amount audio data frame after treatment, then, according to flat amount audio data frame after treatment, carry out audio frequency broadcasting, like this, can reduce the amplitude of hard disk resonance in audio frequency playing process, thereby, can improve the job stability of hard disk in electronic equipment.
Embodiment tri-
The device that the embodiment of the present invention provides a kind of audio frequency to play, is applied to the electronic equipment that is provided with hard disk and audio output device, and as shown in Figure 4, described device comprises:
Acquisition module 410, for obtaining audio data frame to be played;
Processing module 420, for reducing the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtains flat amount audio data frame after treatment;
Playing module 430, for according to described flat amount audio data frame after treatment, carries out audio frequency broadcasting.
Preferably, described processing module 420, specifically for:
If the hard disk of described electronic equipment is carrying out data transmission, reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment.
Preferably, described electronic equipment is provided with multiple hard disks, and described pre-stored interference frequency comprises the interference frequency of each hard disk in described multiple hard disk;
Described processing module 420, specifically for:
If existed at the hard disk that carries out data transmission in each hard disk of electronic equipment, reduce in described audio data frame the volume value of the voice data corresponding with the described interference frequency of hard disk carrying out data transmission, obtain flat amount audio data frame after treatment.
Preferably, described processing module 420, specifically for:
The volume value of voice data corresponding with pre-stored interference frequency in described audio data frame is reduced to default numerical value, obtain flat amount audio data frame after treatment.
Preferably, described processing module 420, specifically for:
By in the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, the volume value that exceedes default volume threshold is reduced to described default volume threshold, obtains flat amount audio data frame after treatment.
Preferably, described processing module 420, also for:
At each audio frequency frequency, use default volume value respectively, carry out the continuous audio frequency of single-frequency point and play, and in the time that audio frequency is play continuously, obtain the message transmission rate of described hard disk;
In the message transmission rate of the each audio frequency frequency of the correspondence of obtaining, the ratio reducing with respect to reference speed rate is exceeded to the audio frequency frequency corresponding to message transmission rate of default proportion threshold value, be stored as described interference frequency.
In the embodiment of the present invention, in the time that the electronic equipment that is provided with hard disk and audio output device carries out audio frequency broadcasting, reduce the volume value of voice data corresponding with pre-stored interference frequency in audio data frame to be played, obtain flat amount audio data frame after treatment, then, according to flat amount audio data frame after treatment, carry out audio frequency broadcasting, like this, can reduce the amplitude of hard disk resonance in audio frequency playing process, thereby, can improve the job stability of hard disk in electronic equipment.
It should be noted that: the device that the audio frequency that above-described embodiment provides is play is in the time carrying out audio frequency broadcasting, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the inner structure of device, to complete all or part of function described above.In addition, the embodiment of the method that the device that the audio frequency that above-described embodiment provides is play and audio frequency are play belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (12)

1. the method that audio frequency is play, is applied to the electronic equipment that is provided with hard disk and audio output device, it is characterized in that, described method comprises:
Obtain audio data frame to be played;
Reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment;
According to described flat amount audio data frame after treatment, carry out audio frequency broadcasting.
2. method according to claim 1, is characterized in that, the volume value of the voice data corresponding with pre-stored interference frequency in the described audio data frame of described reduction, obtains flat amount audio data frame after treatment, comprising:
If the hard disk of described electronic equipment is carrying out data transmission, reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment.
3. method according to claim 2, is characterized in that, described electronic equipment is provided with multiple hard disks, and described pre-stored interference frequency comprises the interference frequency of each hard disk in described multiple hard disk;
If the hard disk of described electronic equipment is carrying out data transmission, reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment, comprising:
If existed at the hard disk that carries out data transmission in each hard disk of electronic equipment, reduce in described audio data frame the volume value of the voice data corresponding with the described interference frequency of hard disk carrying out data transmission, obtain flat amount audio data frame after treatment.
4. method according to claim 1, is characterized in that, the volume value of the voice data corresponding with pre-stored interference frequency in the described audio data frame of described reduction, obtains flat amount audio data frame after treatment, comprising:
The volume value of voice data corresponding with pre-stored interference frequency in described audio data frame is reduced to default numerical value, obtain flat amount audio data frame after treatment.
5. method according to claim 1, is characterized in that, the volume value of the voice data corresponding with pre-stored interference frequency in the described audio data frame of described reduction, obtains flat amount audio data frame after treatment, comprising:
By in the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, the volume value that exceedes default volume threshold is reduced to described default volume threshold, obtains flat amount audio data frame after treatment.
6. method according to claim 1, is characterized in that, stores the method for described interference frequency, comprising:
At each audio frequency frequency, use default volume value respectively, carry out the continuous audio frequency of single-frequency point and play, and in the time that audio frequency is play continuously, obtain the message transmission rate of described hard disk;
In the message transmission rate of the each audio frequency frequency of the correspondence of obtaining, the ratio reducing with respect to reference speed rate is exceeded to the audio frequency frequency corresponding to message transmission rate of default proportion threshold value, be stored as described interference frequency.
7. the device that audio frequency is play, is applied to the electronic equipment that is provided with hard disk and audio output device, it is characterized in that, described device comprises:
Acquisition module, for obtaining audio data frame to be played;
Processing module, for reducing the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtains flat amount audio data frame after treatment;
Playing module, for according to described flat amount audio data frame after treatment, carries out audio frequency broadcasting.
8. device according to claim 7, is characterized in that, described processing module, specifically for:
If the hard disk of described electronic equipment is carrying out data transmission, reduce the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, obtain flat amount audio data frame after treatment.
9. device according to claim 8, is characterized in that, described electronic equipment is provided with multiple hard disks, and described pre-stored interference frequency comprises the interference frequency of each hard disk in described multiple hard disk;
Described processing module, specifically for:
If existed at the hard disk that carries out data transmission in each hard disk of electronic equipment, reduce in described audio data frame the volume value of the voice data corresponding with the described interference frequency of hard disk carrying out data transmission, obtain flat amount audio data frame after treatment.
10. device according to claim 7, is characterized in that, described processing module, specifically for:
The volume value of voice data corresponding with pre-stored interference frequency in described audio data frame is reduced to default numerical value, obtain flat amount audio data frame after treatment.
11. devices according to claim 7, is characterized in that, described processing module, specifically for:
By in the volume value of voice data corresponding with pre-stored interference frequency in described audio data frame, the volume value that exceedes default volume threshold is reduced to described default volume threshold, obtains flat amount audio data frame after treatment.
12. devices according to claim 7, is characterized in that, described processing module, also for:
At each audio frequency frequency, use default volume value respectively, carry out the continuous audio frequency of single-frequency point and play, and in the time that audio frequency is play continuously, obtain the message transmission rate of described hard disk;
In the message transmission rate of the each audio frequency frequency of the correspondence of obtaining, the ratio reducing with respect to reference speed rate is exceeded to the audio frequency frequency corresponding to message transmission rate of default proportion threshold value, be stored as described interference frequency.
CN201310064503.0A 2013-02-28 2013-02-28 The method and apparatus that a kind of audio is played Active CN104021808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310064503.0A CN104021808B (en) 2013-02-28 2013-02-28 The method and apparatus that a kind of audio is played

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310064503.0A CN104021808B (en) 2013-02-28 2013-02-28 The method and apparatus that a kind of audio is played

Publications (2)

Publication Number Publication Date
CN104021808A true CN104021808A (en) 2014-09-03
CN104021808B CN104021808B (en) 2017-06-27

Family

ID=51438527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310064503.0A Active CN104021808B (en) 2013-02-28 2013-02-28 The method and apparatus that a kind of audio is played

Country Status (1)

Country Link
CN (1) CN104021808B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781108A (en) * 2019-09-17 2020-02-11 中国人民解放军国防科技大学 Data receiving and sending method and device based on HDD hard disk

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067362A (en) * 1997-04-24 2000-05-23 Bose Corporation Mechanical resonance reducing
CN1726559A (en) * 2002-12-16 2006-01-25 皇家飞利浦电子股份有限公司 Method and circuit for operating a storage device
US20070133821A1 (en) * 2005-11-30 2007-06-14 Makoto Yamaguchi Information processing apparatus including a speaker, and method of controlling volume of audio output from the speaker

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6067362A (en) * 1997-04-24 2000-05-23 Bose Corporation Mechanical resonance reducing
CN1726559A (en) * 2002-12-16 2006-01-25 皇家飞利浦电子股份有限公司 Method and circuit for operating a storage device
US20070133821A1 (en) * 2005-11-30 2007-06-14 Makoto Yamaguchi Information processing apparatus including a speaker, and method of controlling volume of audio output from the speaker

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781108A (en) * 2019-09-17 2020-02-11 中国人民解放军国防科技大学 Data receiving and sending method and device based on HDD hard disk

Also Published As

Publication number Publication date
CN104021808B (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN106535039B (en) Audio signal compensation based on loudness
CN110049266A (en) Video data issues method, apparatus, electronic equipment and storage medium
WO2017215655A1 (en) Sound effect processing method, and terminal device
CN103531195A (en) Noise reduction method, equipment and system
CN101599285A (en) A kind of audio recording method and system
CN104464771A (en) Method, device and system for playing music
US11915680B2 (en) Method and system for active noise control
CN104991755A (en) Information processing method and electronic device
CN103685677A (en) Audio processing method and device, and terminal equipment
CN109658952A (en) A kind of acoustic signal processing method, equipment and storage medium
CN104469603A (en) Electronic device, frequency dividing method and frequency dividing device
CN104157292A (en) Anti-howling audio signal processing method and device thereof
CN103854688A (en) Electronic device with hard disk vibration suppression function and hard disk vibration suppression method
JP2019176477A (en) Arrangement method of wireless loudspeaker, wireless loudspeaker, and terminal device
CN104658546B (en) Recording treating method and apparatus
JP2002351466A5 (en)
US20090028350A1 (en) Method and apparatus for reducing resonance of loudspeaker
CN108829370B (en) Audio resource playing method and device, computer equipment and storage medium
CN202940816U (en) Audio data transmission system, transmission device and electronic signing tool
CN112685083B (en) Method and system for measuring wake-up rate
CN112748897B (en) Volume debugging method, device and equipment of vehicle-mounted system
CN104021808A (en) Audio frequency playing method and device
CN204143864U (en) Recording type guitar acoustic pickup
CN205336536U (en) Measurement device for short -wave radio set speaker
CN106803426A (en) audio file storage method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant