CN104064212A - Sound recording method and device - Google Patents

Sound recording method and device Download PDF

Info

Publication number
CN104064212A
CN104064212A CN201410295166.0A CN201410295166A CN104064212A CN 104064212 A CN104064212 A CN 104064212A CN 201410295166 A CN201410295166 A CN 201410295166A CN 104064212 A CN104064212 A CN 104064212A
Authority
CN
China
Prior art keywords
described audio
digital signals
sample value
conditioned
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410295166.0A
Other languages
Chinese (zh)
Inventor
汪飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN201410295166.0A priority Critical patent/CN104064212A/en
Publication of CN104064212A publication Critical patent/CN104064212A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a sound recording method which comprises the following steps: acquiring a sound frequency analog signal of preset time length; sampling the acquired sound frequency analog signal to obtain a plurality of sound frequency sampling values; converting the sound frequency analog signal into a sound frequency digital signal according to the sound frequency sampling valves, and storing the sound frequency digital signal into a first storage position; judging whether the sound frequency digital signal meets a preset condition according to the plurality of sound frequency sampling valves; and when the sound frequency digital signal meets the preset condition, storing the sound frequency digital signal to a sound record file in a second storage position. The invention further discloses a sound recording device. The sound recording device is convenient for a user to use, and individual sound recording demands of users are met.

Description

The way of recording and device
Technical field
The present invention relates to signal processing technology field, relate in particular to the way of recording and device.
Background technology
User is when using sound pick-up outfit to record for a long time, because sound pick-up outfit cannot be distinguished the validity of sound, therefore, in the recording file generating, may comprise a large amount of sound clips useless to user, and effectively sound clip is less on the contrary, make user be not easy to find from recording file to its valuable part, the inconvenience that causes user to use.
Summary of the invention
Fundamental purpose of the present invention is to solve and in recording file, comprises a large amount of useless sound clips, thus the inconvenient technical matters that causes user to use.
For achieving the above object, a kind of way of recording provided by the invention, the described way of recording comprises the following steps:
Obtain the audio analog signals of default duration, the described audio analog signals obtaining is sampled, obtain a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location;
According to a plurality of described audio sample value, judge whether described audio digital signals meets pre-conditioned;
At described audio digital signals, meet when pre-conditioned, store described audio digital signals to the recording file that is arranged in the second memory location.
Preferably, described according to a plurality of described audio sample value, judge whether described audio digital signals meets pre-conditioned step and comprise:
According to a plurality of described audio sample value obtaining, obtain energy parameter value corresponding to audio sample value described in each; It is one of following that described energy parameter value at least comprises: the sound intensity, acoustic pressure, sound pressure level, acoustical power;
Determine the quantity that is greater than the described energy parameter value of the first pre-set threshold value in a plurality of described energy parameter value obtaining;
When being greater than the quantity of the described energy parameter value of described the first pre-set threshold value and being greater than the second pre-set threshold value, judge that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
Preferably, described according to a plurality of described audio sample value, judge whether described audio digital signals meets pre-conditioned step and comprise:
According to a plurality of described audio sample value obtaining, obtain audio frequency parameter corresponding to a plurality of described audio sample value; It is one of following that described audio frequency parameter value at least comprises: frequency, pitch, tone;
When described audio frequency parameter value is in preset range, judge that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
Preferably, described according to a plurality of described audio sample value, after judging whether described audio digital signals meets pre-conditioned step, the described way of recording comprises:
At described audio digital signals, do not meet when pre-conditioned, abandon described audio digital signals.
Preferably, described the first memory location is internal storage, and described the second memory location is external storage.
In addition, for achieving the above object, the present invention also provides a kind of recording device, and described recording device comprises:
Acquisition module, for obtaining the audio analog signals of default duration, samples to the described audio analog signals obtaining, and obtains a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location;
Judge module, for according to a plurality of described audio sample value, judges whether described audio digital signals meets pre-conditioned;
Memory module, when pre-conditioned for meeting at the described audio digital signals of judgement, stores described audio digital signals to the recording file that is arranged in the second memory location.
Preferably, described judge module comprises:
The first acquiring unit, for according to a plurality of described audio sample value that obtains, obtains energy parameter value corresponding to audio sample value described in each; It is one of following that described energy parameter value at least comprises: the sound intensity, acoustic pressure, sound pressure level, acoustical power;
Counting unit, for determining that a plurality of described energy parameter value obtaining is greater than the quantity of the described energy parameter value of the first pre-set threshold value;
The first judging unit, for when being greater than the quantity of the described energy parameter value of described the first pre-set threshold value and being greater than the second pre-set threshold value, judges that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
Preferably, described judge module comprises:
Second acquisition unit, for according to a plurality of described audio sample value obtaining, obtains audio frequency parameter corresponding to a plurality of described audio sample value; It is one of following that described audio frequency parameter value at least comprises: frequency, pitch, tone;
The second judging unit, for when described audio frequency parameter value is in preset range, judges that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
Preferably, described recording device comprises:
Discard module, when pre-conditioned for not meeting at described audio digital signals, abandons described audio digital signals.
Preferably, described the first memory location is internal storage, and described the second memory location is external storage.
The present invention obtains the audio analog signals of default duration, and the described audio analog signals obtaining is sampled, and obtains a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location; According to a plurality of described audio sample value, judge whether described audio digital signals meets pre-conditioned; At described audio digital signals, meet when pre-conditioned, store described audio digital signals to the recording file that is arranged in the second memory location.Compared to prior art, the present invention is stored to recording file by meeting pre-conditioned audio digital signals, therefore, in recording file, only comprise the valuable sound clip to user, convenient for users to use, in addition, user can set pre-conditioned according to demand, thereby can meet the recording demand of user individual.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the way of recording the first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the way of recording the second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the way of recording of the present invention the 3rd embodiment;
Fig. 4 is the schematic flow sheet of the way of recording of the present invention the 4th embodiment;
Fig. 5 is the high-level schematic functional block diagram of recording device the first embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of recording device the second embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of recording device of the present invention the 3rd embodiment;
Fig. 8 is the high-level schematic functional block diagram of recording device of the present invention the 4th embodiment.
The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
It will be appreciated by those skilled in the art that, the subject of implementation of the embodiment of the way of recording of the present invention can be the terminal that mobile phone, panel computer, computing machine, recording pen etc. have sound-recording function, also can be other any devices of realizing the way of recording of the present invention, in the following embodiments, the subject of implementation of the way of recording of the present invention is preferably mobile phone, but the subject of implementation of the way of recording of the present invention is not limited.
The invention provides a kind of way of recording.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of the way of recording the first embodiment of the present invention.
In the way of recording the first embodiment of the present invention, the method comprises:
Step S10, obtains the audio analog signals of presetting duration, and the described audio analog signals obtaining is sampled, and obtains a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location;
After handset starting recording, in recording, obtain the audio analog signals of one section of default duration, default duration can be that mobile phone arranges according to historical data at every turn, or user arranges as required by mobile phone.The mode of obtaining the audio analog signals of one section of default duration can be to set a plurality of start time points, when each start time, point arrived, start to obtain the audio analog signals of this section of default duration that this start time point is corresponding, and the audio analog signals of the default duration of the preceding paragraph is stored in order to follow-up processing, for first start time point, when starting to obtain the audio analog signals of this section of default duration, owing to not obtaining before this audio analog signals, therefore, do not need the audio analog signals of the default duration of the preceding paragraph to store; Or, at the duration obtaining, be greater than the audio analog signals that intercepts default duration in the audio analog signals of presetting duration; Or, by other any attainable modes, obtain the audio analog signals of one section of default duration.
Mobile phone is sampled to the audio analog signals of the default duration obtaining, and obtains a plurality of audio sample value, according to audio sample value, the audio analog signals of this section of default duration is converted to audio digital signals.Mobile phone is stored to the first memory location by the audio digital signals being converted to, wherein, the first memory location can be set in advance by mobile phone by mobile phone or user, for example, the first memory location can be internal storage or external storage, and external storage comprises: hard disk, portable hard drive, USB flash disk, floppy disk, CD etc.
Step S20, according to a plurality of described audio sample value, judges whether described audio digital signals meets pre-conditioned;
Step S30, meets when pre-conditioned at described audio digital signals, stores described audio digital signals to the recording file that is arranged in the second memory location.
Pre-conditioned can being set in advance by mobile phone by mobile phone or user, for example, the mean value of audio sample value is greater than a certain preset value; Or the quantity that is greater than a certain preset value in audio sample value is greater than certain predetermined number; Or, utilize energy parameter value that audio sample value calculates or audio frequency parameter value in default scope.Certainly, being pre-conditionedly not limited to this, can also be that any applicable condition is to meet user's individual demand.
When a plurality of audio sample value that obtain meet when pre-conditioned, mobile phone is stored audio digital signals corresponding to this audio sample value to the recording file that is arranged in the second memory location.Wherein, the second memory location can be set in advance by mobile phone by mobile phone or user equally, and in addition, the second memory location and the first memory location can be identical, also can be different.
When a plurality of audio sample value that obtain do not meet when pre-conditioned, mobile phone can abandon audio digital signals corresponding to this audio sample value; Or audio digital signals corresponding to this audio sample value compressed and be stored to the 3rd memory location, at default time point, unifying to delete.
The present embodiment obtains the audio analog signals of default duration, and the described audio analog signals obtaining is sampled, and obtains a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location; According to a plurality of described audio sample value, judge whether described audio digital signals meets pre-conditioned; At described audio digital signals, meet when pre-conditioned, store described audio digital signals to the recording file that is arranged in the second memory location.Compared to prior art, the present embodiment is in recording, by meeting pre-conditioned audio digital signals, be stored to recording file, therefore, in recording file, only comprise the valuable sound clip to user, convenient for users to use, in addition, user can set pre-conditioned according to demand, thereby can meet the recording demand of user individual.
In one embodiment of the present invention, described in obtain the audio analog signals of default duration, the described audio analog signals obtaining is sampled, obtain a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and before described audio digital signals being stored to the step of the first memory location, the described way of recording also comprises:
When described sound signal meets recording condition, start recording;
When described sound signal does not meet recording condition, stop recording.
Wherein, sound signal can be audio analog signals, can be also audio digital signals.
With reference to Fig. 2, Fig. 2 is the schematic flow sheet of the way of recording the second embodiment of the present invention.
In the way of recording the second embodiment of the present invention, the difference of the present embodiment and the first embodiment is, the present embodiment is on the basis of the first embodiment, described according to a plurality of described audio sample value, judges whether described audio digital signals meets pre-conditioned step and comprise:
Step S21, according to a plurality of described audio sample value obtaining, obtains energy parameter value corresponding to audio sample value described in each;
It is one of following that described energy parameter value at least comprises: the sound intensity, acoustic pressure, sound pressure level, acoustical power.
Step S22, determines the quantity that is greater than the described energy parameter value of the first pre-set threshold value in a plurality of described energy parameter value obtaining;
Mobile phone or user can set in advance the first pre-set threshold value by mobile phone.
Mobile phone is determined the quantity that is greater than the energy parameter value of the first pre-set threshold value in a plurality of described energy parameter value obtaining.
Step S23, when being greater than the quantity of the described energy parameter value of described the first pre-set threshold value and being greater than the second pre-set threshold value, judges that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
For example, according to a plurality of audio sample value that obtain, obtain sound pressure level corresponding to each audio sample value, determine the quantity A that is greater than the sound pressure level of the first pre-set threshold value in a plurality of sound pressure levels that obtain, when A is greater than the second pre-set threshold value B, the audio digital signals of this section of default duration meets the demands.
In certain embodiments, described according to a plurality of described audio sample value, judge whether described audio digital signals meets pre-conditioned step and comprise:
According to a plurality of described audio sample value obtaining, determine the quantity that is greater than the described audio sample value of the second pre-set threshold value in a plurality of audio sample value that obtain;
When being greater than the quantity of the described audio sample value of described the second pre-set threshold value and being greater than the second pre-set threshold value, judge that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
With reference to Fig. 3, Fig. 3 is the schematic flow sheet of the way of recording of the present invention the 3rd embodiment.
In the way of recording of the present invention the 3rd embodiment, the difference of the present embodiment and the first embodiment and the second embodiment is, the present embodiment is on the basis of the first embodiment, described according to a plurality of described audio sample value, judges whether described audio digital signals meets pre-conditioned step and comprise:
Step S24, according to a plurality of described audio sample value obtaining, obtains audio frequency parameter corresponding to a plurality of described audio sample value;
It is one of following that described audio frequency parameter value at least comprises: frequency, pitch, tone;
Step S25, when described audio frequency parameter value is in preset range, judges that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
Mobile phone, according to a plurality of audio sample value, can obtain audio frequency parameter corresponding to these audio sample value.
Mobile phone or user can set preset range by mobile phone, to meet the demand of user individual.For example, the frequency range of animal and human's sound is different, if user only need to be stored to voice in recording file, can set the frequency range that preset range is voice; Old man, child, man, woman's pitch is had nothing in common with each other, if user only need to, by child's sound store to recording file, can set the pitch range that preset range is child.
When audio frequency parameter value is in preset range, judge that the audio digital signals that this audio frequency is corresponding meets pre-conditioned.
With reference to Fig. 4, Fig. 4 is the schematic flow sheet of the way of recording of the present invention the 4th embodiment.
In the way of recording of the present invention the 4th embodiment, the difference of the present embodiment and the first embodiment, the second embodiment, the 3rd embodiment is, the present embodiment is on the basis of the first embodiment, the second embodiment, the 3rd embodiment, described according to a plurality of described audio sample value, after judging whether described audio digital signals meets pre-conditioned step, the described way of recording comprises:
Step S40, does not meet describedly when pre-conditioned at described audio digital signals, abandon described audio digital signals.
The present embodiment, judging that audio digital signals does not meet when pre-conditioned, abandons audio digital signals, is conducive to reduce the waste to storage space.
In the way of recording of the present invention the 5th embodiment, the difference of the present embodiment and the first embodiment, the second embodiment, the 3rd embodiment, the 4th embodiment is, the present embodiment is on the basis of the first embodiment, the second embodiment, the 3rd embodiment, the 4th embodiment, described the first memory location is internal storage, and described the second memory location is external storage.
When the first memory location is internal storage, when the second memory location is external storage, because therefore the digital processing ability of internal storage is higher than external storage,, the first memory location is the processing speed that internal storage is conducive to improve audio digital signals, and improves the efficiency of recording.
In certain embodiments, the first memory location is external storage, and the second memory location is also external storage, and now, the first memory location and the second memory location can be identical.Because the digital processing ability of internal storage is higher than external storage, therefore, when the first memory location is external storage, the processing speed of audio digital signals is lower, but because external storage has advantages of that storage space is large, the audio digital signals of therefore can single treatment longer default duration, and the second memory location can be identical with the first memory location, without the audio digital signals of handling is moved.
The present invention further provides a kind of recording device.
With reference to Fig. 5, Fig. 5 is the high-level schematic functional block diagram of recording device the first embodiment of the present invention.
In recording device the first embodiment of the present invention, this device comprises:
Acquisition module 10, for obtaining the audio analog signals of default duration, samples to the described audio analog signals obtaining, and obtains a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location;
Judge module 20, for according to a plurality of described audio sample value, judges whether described audio digital signals meets pre-conditioned;
Memory module 30, when pre-conditioned for meeting at described audio digital signals, stores described audio digital signals to the recording file that is arranged in the second memory location.
Recording device starts after recording, in recording, acquisition module 10 obtains the audio analog signals of one section of default duration at every turn, can be acquisition module 10 arrange according to historical data default duration, or user arranges as required by acquisition module 10.The mode of obtaining the audio analog signals of one section of default duration can be to set a plurality of start time points, when each start time, point arrived, start to obtain the audio analog signals of this section of default duration that this start time point is corresponding, and the audio analog signals of the default duration of the preceding paragraph is stored in order to follow-up processing, for first start time point, when starting to obtain the audio analog signals of this section of default duration, owing to not obtaining before this audio analog signals, therefore, do not need the audio analog signals of the default duration of the preceding paragraph to store; Or, at the duration obtaining, be greater than the audio analog signals that intercepts default duration in the audio analog signals of presetting duration; Or, by other any attainable modes, obtain the audio analog signals of one section of default duration.
The audio analog signals of 10 pairs of default durations that obtain of acquisition module is sampled, and obtains a plurality of audio sample value, according to audio sample value, the audio analog signals of this section of default duration is converted to audio digital signals.Acquisition module 10 is stored to the first memory location by the audio digital signals being converted to, wherein, the first memory location can be set in advance by acquisition module 10 by acquisition module 10 or user, for example, the first memory location can be internal storage or external storage, and external storage comprises: hard disk, portable hard drive, USB flash disk, floppy disk, CD etc.
Pre-conditioned can being set in advance by judge module 20 by judge module 20 or user, for example, the mean value of audio sample value is greater than a certain preset value; Or the quantity that is greater than a certain preset value in audio sample value is greater than certain predetermined number; Or, utilize energy parameter value that audio sample value calculates or audio frequency parameter value in default scope.Certainly, being pre-conditionedly not limited to this, can also be that any applicable condition is to meet user's individual demand.
When a plurality of audio sample value that obtain meet when pre-conditioned, audio digital signals corresponding to memory module 30 these audio sample value of storage is to the recording file that is arranged in the second memory location.Wherein, the second memory location can be set in advance by mobile phone by memory module 30 or user equally, and in addition, the second memory location and the first memory location can be identical, also can be different.
When a plurality of audio sample value that obtain do not meet when pre-conditioned, recording device can abandon audio digital signals corresponding to this audio sample value; Or recording device compresses audio digital signals corresponding to this audio sample value and is stored to the 3rd memory location, at default time point, unifies to delete.
The present embodiment acquisition module 10 obtains the audio analog signals of default duration, and the described audio analog signals obtaining is sampled, and obtains a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location; According to a plurality of described audio sample value, judge whether described audio digital signals meets pre-conditioned; At described audio digital signals, meet when pre-conditioned, store described audio digital signals to the recording file that is arranged in the second memory location.Compared to prior art, the present embodiment is in recording, by meeting pre-conditioned audio digital signals, be stored to recording file, therefore, in recording file, only comprise the valuable sound clip to user, convenient for users to use, in addition, user can set pre-conditioned according to demand, thereby can meet the recording demand of user individual.
In one embodiment of the present invention, described recording device also comprises:
The first recording module, for when described sound signal meets recording condition, starts recording;
The second recording module, for when described sound signal does not meet recording condition, stops recording.
Wherein, sound signal can be audio analog signals, can be also audio digital signals.
With reference to Fig. 6, Fig. 6 is the high-level schematic functional block diagram of recording device the second embodiment of the present invention.
In recording device the second embodiment of the present invention, the difference of the present embodiment and the first embodiment is, the present embodiment is on the basis of the first embodiment, and described judge module 20 comprises:
The first acquiring unit 21, for according to a plurality of described audio sample value that obtains, obtains energy parameter value corresponding to audio sample value described in each; Counting unit 22, for determining that a plurality of described energy parameter value obtaining is greater than the quantity of the described energy parameter value of the first pre-set threshold value;
The first judging unit 23, for when being greater than the quantity of the described energy parameter value of described the first pre-set threshold value and being greater than the second pre-set threshold value, judges that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
It is one of following that energy parameter value at least comprises: the sound intensity, acoustic pressure, sound pressure level, acoustical power;
Counting unit 22 or user can set in advance the first pre-set threshold value by counting unit 22.
Counting unit 22 is determined the quantity that is greater than the energy parameter value of the first pre-set threshold value in a plurality of described energy parameter value obtaining.
For example, the first acquiring unit 21 is according to a plurality of audio sample value that obtain, obtain sound pressure level corresponding to each audio sample value, counting unit 22 is determined the quantity A that is greater than the sound pressure level of the first pre-set threshold value in a plurality of sound pressure levels that obtain, the first judging unit 23 is when A is greater than the second pre-set threshold value B, and the audio digital signals of this section of default duration meets the demands.
In certain embodiments, described judge module 20 also for:
According to a plurality of described audio sample value obtaining, determine the quantity that is greater than the described audio sample value of the second pre-set threshold value in a plurality of audio sample value that obtain;
When being greater than the quantity of the described audio sample value of described the second pre-set threshold value and being greater than the second pre-set threshold value, judge that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
With reference to Fig. 7, Fig. 7 is the high-level schematic functional block diagram of recording device of the present invention the 3rd embodiment.
In recording device of the present invention the 3rd embodiment, the difference of the present embodiment and the first embodiment and the second embodiment is, the present embodiment is on the basis of the first embodiment, and described judge module 20 comprises:
Second acquisition unit 24, for according to a plurality of described audio sample value obtaining, obtains audio frequency parameter corresponding to a plurality of described audio sample value;
The second judging unit 25, for when described audio frequency parameter value is in preset range, judges that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
Second acquisition unit 24, according to a plurality of audio sample value, can obtain audio frequency parameter corresponding to these audio sample value.It is one of following that audio frequency parameter value at least comprises: frequency, pitch, tone.
The second judging unit 25 or user can set preset range by the second judging unit 25, to meet the demand of user individual.For example, the frequency range of animal and human's sound is different, if user only need to be stored to voice in recording file, can set the frequency range that preset range is voice; Old man, child, man, woman's pitch is had nothing in common with each other, if user only need to, by child's sound store to recording file, can set the pitch range that preset range is child.
When audio frequency parameter value is in preset range, judge that the audio digital signals that this audio frequency is corresponding meets pre-conditioned.
With reference to Fig. 8, Fig. 8 is the high-level schematic functional block diagram of recording device of the present invention the 4th embodiment.
In recording device of the present invention the 4th embodiment, the difference of the present embodiment and the first embodiment, the second embodiment, the 3rd embodiment is, the present embodiment is on the basis of the first embodiment, the second embodiment, the 3rd embodiment, and described recording device comprises:
Discard module 40, described when pre-conditioned for not meeting at described audio digital signals, abandon described audio digital signals.
The present embodiment does not meet when pre-conditioned at audio digital signals, and discard module 40 abandons audio digital signals, is conducive to reduce the waste to storage space.
In recording device of the present invention the 5th embodiment, the difference of the present embodiment and the first embodiment, the second embodiment, the 3rd embodiment, the 4th embodiment is, the present embodiment is on the basis of the first embodiment, the second embodiment, the 3rd embodiment, the 4th embodiment, described the first memory location is internal storage, and described the second memory location is external storage.
When the first memory location is internal storage, when the second memory location is external storage, because therefore the digital processing ability of internal storage is higher than external storage,, the first memory location is the processing speed that internal storage is conducive to improve audio digital signals, and improves the efficiency of recording.
In certain embodiments, the first memory location is external storage, and the second memory location is also external storage, and now, the first memory location and the second memory location can be identical.Because the digital processing ability of internal storage is higher than external storage, therefore, when the first memory location is external storage, the processing speed of audio digital signals is lower, but because external storage has advantages of that storage space is large, the audio digital signals of therefore can single treatment longer default duration, and the second memory location can be identical with the first memory location, without the audio digital signals of handling is moved.
These are only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a way of recording, is characterized in that, the described way of recording comprises the following steps:
Obtain the audio analog signals of default duration, the described audio analog signals obtaining is sampled, obtain a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location;
According to a plurality of described audio sample value, judge whether described audio digital signals meets pre-conditioned;
At described audio digital signals, meet when pre-conditioned, store described audio digital signals to the recording file that is arranged in the second memory location.
2. the way of recording as claimed in claim 1, is characterized in that, described according to a plurality of described audio sample value, judges whether described audio digital signals meets pre-conditioned step and comprise:
According to a plurality of described audio sample value obtaining, obtain energy parameter value corresponding to audio sample value described in each; It is one of following that described energy parameter value at least comprises: the sound intensity, acoustic pressure, sound pressure level, acoustical power;
Determine the quantity that is greater than the described energy parameter value of the first pre-set threshold value in a plurality of described energy parameter value obtaining;
When being greater than the quantity of the described energy parameter value of described the first pre-set threshold value and being greater than the second pre-set threshold value, judge that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
3. the way of recording as claimed in claim 1, is characterized in that, described according to a plurality of described audio sample value, judges whether described audio digital signals meets pre-conditioned step and comprise:
According to a plurality of described audio sample value obtaining, obtain audio frequency parameter corresponding to a plurality of described audio sample value; It is one of following that described audio frequency parameter value at least comprises: frequency, pitch, tone;
When described audio frequency parameter value is in preset range, judge that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
4. the way of recording as claimed any one in claims 1 to 3, is characterized in that, described according to a plurality of described audio sample value, after judging whether described audio digital signals meets pre-conditioned step, the described way of recording comprises:
At described audio digital signals, do not meet when pre-conditioned, abandon described audio digital signals.
5. the way of recording as claimed in claim 4, is characterized in that, described the first memory location is internal storage, and described the second memory location is external storage.
6. a recording device, is characterized in that, described recording device comprises:
Acquisition module, for obtaining the audio analog signals of default duration, samples to the described audio analog signals obtaining, and obtains a plurality of audio sample value; According to described audio sample value, described audio analog signals is converted to audio digital signals, and described audio digital signals is stored to the first memory location;
Judge module, for according to a plurality of described audio sample value, judges whether described audio digital signals meets pre-conditioned;
Memory module, when pre-conditioned for meeting at described audio digital signals, stores described audio digital signals to the recording file that is arranged in the second memory location.
7. recording device as claimed in claim 6, is characterized in that, described judge module comprises:
The first acquiring unit, for according to a plurality of described audio sample value that obtains, obtains energy parameter value corresponding to audio sample value described in each; It is one of following that described energy parameter value at least comprises: the sound intensity, acoustic pressure, sound pressure level, acoustical power;
Counting unit, for determining that a plurality of described energy parameter value obtaining is greater than the quantity of the described energy parameter value of the first pre-set threshold value;
The first judging unit, for when being greater than the quantity of the described energy parameter value of described the first pre-set threshold value and being greater than the second pre-set threshold value, judges that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
8. recording device as claimed in claim 6, is characterized in that, described judge module comprises:
Second acquisition unit, for according to a plurality of described audio sample value obtaining, obtains audio frequency parameter corresponding to a plurality of described audio sample value; It is one of following that described audio frequency parameter value at least comprises: frequency, pitch, tone;
The second judging unit, for when described audio frequency parameter value is in preset range, judges that described audio digital signals corresponding to described audio sample value meets pre-conditioned.
9. the recording device as described in any one in claim 6 to 8, is characterized in that, described recording device comprises:
Discard module, when pre-conditioned for not meeting at described audio digital signals, abandons described audio digital signals.
10. recording device as claimed in claim 9, is characterized in that, described the first memory location is internal storage, and described the second memory location is external storage.
CN201410295166.0A 2014-06-25 2014-06-25 Sound recording method and device Pending CN104064212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410295166.0A CN104064212A (en) 2014-06-25 2014-06-25 Sound recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410295166.0A CN104064212A (en) 2014-06-25 2014-06-25 Sound recording method and device

Publications (1)

Publication Number Publication Date
CN104064212A true CN104064212A (en) 2014-09-24

Family

ID=51551886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410295166.0A Pending CN104064212A (en) 2014-06-25 2014-06-25 Sound recording method and device

Country Status (1)

Country Link
CN (1) CN104064212A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104409086A (en) * 2014-12-01 2015-03-11 联想(北京)有限公司 Method for audio processing and electronic equipment
CN105679357A (en) * 2015-12-29 2016-06-15 惠州Tcl移动通信有限公司 Mobile terminal and voiceprint identification-based recording method thereof
CN105741830A (en) * 2014-12-12 2016-07-06 深圳市腾讯计算机系统有限公司 Method and device for audio synthesis
CN108538311A (en) * 2018-04-13 2018-09-14 腾讯音乐娱乐科技(深圳)有限公司 Audio frequency classification method, device and computer readable storage medium
CN111124349A (en) * 2019-12-03 2020-05-08 维沃移动通信有限公司 Audio processing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102403007A (en) * 2011-11-22 2012-04-04 深圳市万兴软件有限公司 Method and system for automatically recording songs
US20130329064A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Temporal aliasing reduction and coding of upsampled video
CN103778950A (en) * 2012-10-22 2014-05-07 爱国者电子科技有限公司 Recording method in the state of closed recording circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102403007A (en) * 2011-11-22 2012-04-04 深圳市万兴软件有限公司 Method and system for automatically recording songs
US20130329064A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Temporal aliasing reduction and coding of upsampled video
CN103778950A (en) * 2012-10-22 2014-05-07 爱国者电子科技有限公司 Recording method in the state of closed recording circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104409086A (en) * 2014-12-01 2015-03-11 联想(北京)有限公司 Method for audio processing and electronic equipment
CN105741830A (en) * 2014-12-12 2016-07-06 深圳市腾讯计算机系统有限公司 Method and device for audio synthesis
CN105741830B (en) * 2014-12-12 2020-12-04 广州酷狗计算机科技有限公司 Audio synthesis method and device
CN105679357A (en) * 2015-12-29 2016-06-15 惠州Tcl移动通信有限公司 Mobile terminal and voiceprint identification-based recording method thereof
CN108538311A (en) * 2018-04-13 2018-09-14 腾讯音乐娱乐科技(深圳)有限公司 Audio frequency classification method, device and computer readable storage medium
CN111124349A (en) * 2019-12-03 2020-05-08 维沃移动通信有限公司 Audio processing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN104064212A (en) Sound recording method and device
CN107919130B (en) Cloud-based voice processing method and device
CN108551686B (en) Extraction and analysis of audio feature data
US10522164B2 (en) Method and device for improving audio processing performance
CN103310812A (en) Music playing device and control method thereof
KR20150121038A (en) Voice-controlled communication connections
CN108702568B (en) Method and equipment for testing time delay of audio loop
CN105847592B (en) Method for starting vibration mode and mobile terminal
CN103294447A (en) Method and device for generating random numbers
CN103152474A (en) Mobile terminal recording method and mobile terminal
CN104363510A (en) Terminal
CN202373295U (en) Recording detection device
CN105628182A (en) Equipment noise acquisition device and equipment noise detection system
CN103902728A (en) Method and device for storing voice signals of intelligent watch
CN102103861A (en) Electronic equipment and health protection method
CN104883645B (en) Method and device for collecting ambient noise by noise reduction earphone
CN109065017B (en) Voice data generation method and related device
CN103176005A (en) System and method for processing signals
CN111158598B (en) Garbage recycling method, device, equipment and medium for full-flash disk array
CN102306502A (en) Method and system for burning common interface PLUS (CI PLUS) certificate
CN106210290A (en) A kind of voice communication method and mobile terminal
CN105681589A (en) Incoming call prompt method and terminal
CN105516493B (en) A kind of mobile terminal and its alarm clock control method
CN104202482A (en) Equipment and method for processing communication records and mobile terminal
CN110085208A (en) A kind of noise-reduction method, computer storage medium, auxiliary bedroom equipment and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor six, Han's innovation

Applicant after: Nubian Technologies Ltd.

Address before: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor six, Han's innovation

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140924