CN101169954A - Streaming audio recording method and device - Google Patents
Streaming audio recording method and device Download PDFInfo
- Publication number
- CN101169954A CN101169954A CNA2006101598569A CN200610159856A CN101169954A CN 101169954 A CN101169954 A CN 101169954A CN A2006101598569 A CNA2006101598569 A CN A2006101598569A CN 200610159856 A CN200610159856 A CN 200610159856A CN 101169954 A CN101169954 A CN 101169954A
- Authority
- CN
- China
- Prior art keywords
- metadata
- audio stream
- quiet
- track
- during
- 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
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The invention provides a method and a device for recording audio stream. The method comprises receiving and caching an audio stream; detecting a mute period and analyzing meta data of the audio stream to determine whether a recording track corresponding to at least one attribute starts and, if so, providing a start mark in the cached audio stream; then detecting a mute period and analyzing the meta data of the audio stream to determine whether the recording track finishes and, if so, providing a finish mark in the cached audio stream; finally, constructing an audio file based on the section of the cached audio stream represented by the start and the finish marks in the cached audio stream.
Description
Technical field
The invention relates to the method for a kind of streaming audio recording (Streamed Audio), and particularly relevant a kind of method and device that comes streaming audio recording based on attribute.
Background technology
Present many wireless stations also listen to program in the Internet for the user by the mode of audio stream (audio stream) simultaneously except broadcast program.So, wireless station only need additionally utilize less cost just can obtain more audience.Yet, for the user who wants the recording radio content, do not record the simple means of individual song at present.
Though (Personal VideoRecorder, PVR) system is common to the personal video recorder of using for simulation and digital television, does not have this device to exist for radio station broadcast at present on the market.The main reason that this situation exists is to be the difference in the program scheduling: the content element of TV station is the TV show program normally, so produce rather simple listing, and the profit of being convenient to announcement and following is easily arranged.The content of wireless station normally with song as content element, make the radio station be difficult to announce in advance accurately and the timetable that can do to follow like this.
For the giving a performance of some pattern the program of the song that the audience requested tune (for example by), these timetables are impossible announce.In addition, being not quite similar of its form of content that each tame streaming message service is provided, record the part of a streaming audio service, also therefore become more complicated: for the broadcast message of success, need from then on that service center obtains relative information, but most device only just can be obtained it when so far serving in that this recording device is online first.
Even now, still there is certain demand in people for recording wireless station's program this respect, whole programs of user's type of being interested in for example, or some song that can't obtain elsewhere for the user or some singer's song.
Summary of the invention
Therefore, an object of the present invention is to provide method and the device that a kind of one or more attributes based on user ' s preference come streaming audio recording.
The present invention reaches above-mentioned purpose by a kind of recording from the method for the message of an audio stream is provided.The method comprises following step.At first receive and get soon record audio stream.Then, by detecting during one quiet (silence) and, deciding a track (track) whether to begin corresponding at least one attribute by analyzing the metadata (metadata) of this audio stream.In this way, then will at a first brush be marked in this audio stream of getting record soon.Then, by detect one quiet during and by analyzing the metadata of this audio stream, determine whether finishing this track.In this way, then a closing tag is got in the audio stream of record soon at this.At last, based on setting up an audio documents with this represented section of getting the audio stream of record soon that ends up by the beginning that is marked in this audio stream of getting record soon.
The present invention reaches above-mentioned purpose by a kind of recording from the device of an audio stream further is provided.This record device comprises an interface, a storage element and a processor.This interface receives an attribute.This storage element receives and gets soon this audio stream of record.By detect one quiet during with by analyzing the metadata of this audio stream, whether this processor decision begins corresponding to a track of this attribute.In this way, then will at a first brush be marked in this audio stream of getting record soon.Then, by detect one quiet during with by analyzing the metadata of this audio stream, this this track of processor decision whether the end.In this way, then a closing tag is being got in the audio stream of record soon at this.At last, this processor is got a section of the audio stream of record based on this beginning that is marked in this audio stream of getting record soon soon with represented this of ending, sets up an audio documents.
For the present invention's above-mentioned purpose, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and conjunction with figs. is elaborated as follows:
Description of drawings
Fig. 1 shows the calcspar of a Internet radio-tape recorder.
Fig. 2 shows in order to the process flow diagram from the method for an Internet Talk Radio streaming audio recording.
Fig. 3 A shows the process flow diagram of the detection step of track beginning.
Fig. 3 B shows the process flow diagram of the detection step of track ending.
Embodiment
Fig. 1 shows the calcspar of an embodiment of a Internet (world-wide web) radio-tape recorder.The Internet radio-tape recorder 100 comprises a processor 101, an interface 102 and a storage element 103, for example a storer or hard drives.In order to listen to radio, this user selects an Internet Talk Radio or audio stream services by this man-machine interface 102, and sound-track engraving apparatus 100 then will propose the request of listening to program of radio station by this Internet 110 to the Internet Talk Radio server that belongs to this radio station.In another embodiment, this sound-track engraving apparatus 100 can be linked to a unit, and for example a computing machine or a network equipment are in order to communicate with an audio stream service.Then, voice data is that from then on server transmits sound-track engraving apparatus 100 so far in audio frequency crossfire mode, and is decoded on this sound-track engraving apparatus 100, and selectively be played and be output to may be external or in the earphone or the loudspeaker 112 that connect.In present embodiment, be with these processor 101 sequencing recording an audio content (for example) corresponding to giving a performance or song by one of at least one attribute that the user imported or selected, and therefore set up the audio documents of an expectation.Processor 101, for example a microprocessor or microcontroller determine whether the audio content of expectation begins or finish in this audio stream.Processor 101 is according to this decision, and the storage of the audio stream in this storage element 103 or get soon in the content of record mark at a first brush with an ending.Processor 101 further based on by a beginning section represented with ending that is marked in this content of getting record soon, is set up the audio documents of expectation.
Fig. 2 shows in order to the process flow diagram from the method for an Internet Talk Radio streaming audio recording.The method starts from step 201, allows the user select one or more Internet Talk Radios, with from wherein recording the content of desiring to ask.Then, in step 203, the user sets in order to describing one or more attributes of its content of desiring to record, and the mode of setting is the option by importing data or choose in a pick list (List) through interface 102 thus for example.This attribute may be a keyword or a series of keyword, for example song title, performing artist's title, composer or type or the title of giving a performance.Then, in step 205, this sound-track engraving apparatus 100 receives these audio streams, and the streamed content of getting this audio stream of record soon is on this storage element 103, and wherein Ji Lu content can keep its original compressed format.For the streamed content of service recorder further, this sound-track engraving apparatus 100 can attach the information of storage from content header gained, and it is that this audio stream of explanation is an information encoded in which way, as, the bit rate of this content, the number of channel and sampling rate.
When getting this streamed content of record soon in step 205, these sound-track engraving apparatus 100 execution in step 207 are to step 213, in order to record a track that corresponds to by these specified attributes of user.This track can broadly be considered as an audio content, for example song or give a performance.In step 207, whether sound-track engraving apparatus 100 decision detects corresponding to the track of these attributes at a first brush.In step 209, if detect, then will at a first brush be marked in this content of getting record soon, that is, as in step 205 mentioned be cached record the streamed content of audio stream in.Then, in step 211, whether these sound-track engraving apparatus 100 decisions detect an ending of that track.If detect, then as a closing tag is got in the content of record soon at this as shown in step 213.At last, this sound-track engraving apparatus 100 uses in advance stored crossfire to describe and add in this content of getting record soon and sets up new audio documents with the fixed section of mark Jie.The user then can play this and record document on this sound-track engraving apparatus or another playing device (playback device).Below further inquire into respectively in order to the detection step 207 and step 211 of mark corresponding to the beginning and the ending of the song of those attributes.
The beginning of finding out the track the audio stream from Internet Talk Radio is very difficult with ending.A kind of method of the interruption of confirming song, track or giving a performance is to use the metadata (metadata) of the content (such as composer, song title, announcer, host and/or the title of giving a performance) of this audio stream of explanation.Yet when the position of metadata of this information was provided, Chang Yinwei was added all restrictions by audio format and is asynchronous with the beginning of track.The second method of interruption of identification track is to confirm during decoded sound signal quiet; Yet, this track itself can comprise several quiet during.
For head it off, in an embodiment, use the combination of above-mentioned two kinds of methods.Sound-track engraving apparatus 100 by detect quiet during with one quiet during the change of metadata in (for example about 1 or 2 second), decide the beginning and the ending of track.Because play this track up to, just may obtain metadata, so sound-track engraving apparatus 100 must maintenance get soon audio stream that record is downloaded and for the contents interception that will get record soon be possible beginning of fragment label or end point.The audio stream that is downloaded must be cached record, up at the beginning or end point by clearly identification till.Detecting step 207 and 211 is further to be described in more detail in respectively among Fig. 3 A and Fig. 3 B.
Fig. 3 A shows the process flow diagram of an embodiment of the detection step 207 that track starts.In step 301, sound-track engraving apparatus 100 at first detect whether detect one quiet during.In step 303, if be detected, then as shown in step 205 with quiet being marked in this content of getting record soon.Then, shown in step 305, during this is quiet within or afterwards, present metadata is performed an analysis.Then, in step 307, determine based on metadata detected quiet whether be the beginning of a new track, the mode of decision for for example by more present metadata and previous metadata to reach.If this metadata is with previous different, then this track after quiet is to be a new track; As not, then the method proceeds to step 301.In step 309, based on metadata and these attributes to determine whether this track is desired to be recorded.For example, be to compare by these specified attributes of user with present metadata, whether wait to be recorded in order to determine new track.If present metadata is to correspond to these attributes, determine that then with this quiet can be considered be the beginning of this track, as represented in step 311.
Fig. 3 B shows the process flow diagram of an embodiment of the detection step 211 that track ends up.In step 321, sound-track engraving apparatus 100 at first determine whether to detect one quiet during.In step 323, if be detected, then with quiet being marked in this content of getting record soon.Then, shown in step 325, analyze within this is quiet or present metadata afterwards.Then, in step 327, based on this metadata with determine this detected quiet whether be the ending of a new track, for example by more present metadata and previous metadata to make decision.As shown in step 329, if present metadata is with earlier the former is different, then this quiet be the corresponding ending of track so far; Otherwise the method proceeds to step 321.
According to the method for recording of the streaming audio of the foregoing description of the present invention can by during quiet be contained in metadata in this audio stream finding correct content, and arrange to record.For the user, the method makes the certain content of recording from audio stream become quite easy, and is because the user need not know this track beginning and the correct time that ends up, especially all the more so when this track is song.For the content of other pattern, the continuous photograph album of language course or documentary film photograph album for example, this embodiment make records being more prone to that whole photograph album becomes.Moreover, can storage data and the portable apparatus (for example digital music broadcasting machine, personal digital assistant or mobile phone) that communicates with the audio stream service all can be regarded as and be implemented the Internet radio-tape recorder 100 for this reason, as the concrete manifestation of above-mentioned institute.This embodiment in addition can be used in some store with the ability of recording be on the device of suitable low order of characteristic.
In sum, though the present invention with preferred embodiment announcement as above, yet it is not in order to limit the present invention.The persond having ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope of the present invention, when doing various change that is equal to and retouching.Therefore, protection scope of the present invention is when looking accompanying being as the criterion that the application's claim scope defined.
Claims (14)
1. method of recording from the message of an audio stream comprises following steps:
Receive and get soon this audio stream of record;
By detect one quiet during and by analyzing the metadata of this audio stream, decide a track whether to begin corresponding at least one attribute, in this way, then will at a first brush be marked at accordingly in this audio stream of getting record soon;
By detect one quiet during and by analyzing the metadata of this audio stream, determine whether finishing this track, in this way, then an ending is marked in this audio stream of getting record soon accordingly; And
Get a section of the audio stream of record soon based on being marked at represented this of this beginning in this audio stream of getting record soon and this ending, set up an audio documents.
2. the method for claim 1 is characterized in that the step whether this decision track begins comprises:
If detect one quiet during, then with quiet being marked in this audio stream of getting record soon;
Analyze this metadata of this audio stream; And
By the metadata that relatively should analyze and previous metadata and metadata and this attribute by relatively should analysis, whether correspond to a new track at a first brush during deciding this quiet.
3. method as claimed in claim 2 is characterized in that this analytical procedure is to be performed after during this is quiet.
4. method as claimed in claim 2 is characterized in that if it is to correspond to this attribute that the metadata of this analysis is different from the metadata of this previous metadata and this analysis, is this beginning that corresponds to this new track during then determining this quiet.
5. the method for claim 1 is characterized in that the step whether this decision track finishes comprises:
If detect one quiet during, then with quiet being marked in this audio stream of getting record soon;
Analyze this metadata of this audio stream; And
During deciding this quiet, metadata by relatively this analysis and previous metadata whether correspond to this ending of this track.
6. method as claimed in claim 5 is characterized in that this analytical procedure is to be performed after during this is quiet.
7. method as claimed in claim 5 is characterized in that if the metadata of this analysis is different from this previous metadata, is this ending that corresponds to this track during then determining this quiet.
8. device of recording from the message of an audio stream, this device comprises:
One interface, it is in order to receive an attribute;
One storage element, it is in order to receive and to get this audio stream of record soon; And
One processor, its by sequencing in order to:
Determine one whether the metadata of this audio stream takes place and analyze during quiet, whether in this audio stream, begin with the track of decision corresponding to this attribute;
When this track begins, will at a first brush be marked in the audio stream of this record of getting record soon;
Determine one whether the metadata of this audio stream takes place and analyze during quiet, whether after this beginning is marked on this audio stream of getting record soon, finish this track with decision;
When this track finishes, a closing tag is got in the audio stream of record soon at this; And
Get a section of the audio stream of record soon based on being marked at represented this of this beginning in this audio stream of getting record soon and this ending, set up an audio documents.
9. device as claimed in claim 8 is characterized in that in order to determine this beginning of this track, this processor by sequencing in order to:
Detect one quiet during the time, with quiet being marked in this audio stream of getting record soon;
Analyze this metadata of this audio stream; And
Relatively be somebody's turn to do metadata and previous metadata and metadata and this attribute that relatively should analyze analyzed, whether to correspond to a new track during determining this quiet at a first brush.
10. device as claimed in claim 9, it is characterized in that during this is quiet after, this processor is analyzed this metadata.
11. device as claimed in claim 9 is characterized in that being this beginning that corresponds to this track if it is to correspond to this attribute that the metadata of this analysis is different from the metadata of this previous metadata and this analysis during then this processor determines this quiet.
12. device as claimed in claim 8 is characterized in that in order to determine this ending of this track, this processor by sequencing in order to:
If detect one quiet during, then with quiet being marked in this audio stream of getting record soon;
Analyze this metadata of this audio stream; And
Relatively be somebody's turn to do the metadata of analysis and previous metadata, whether to correspond to this ending of this track during determining this quiet.
13. device as claimed in claim 12, it is characterized in that during this is quiet after, this processor is analyzed this metadata.
14. device as claimed in claim 12 is characterized in that if the metadata of this analysis is different from this previous metadata, then to detect this be this ending that corresponds to this track during quiet to this processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006101598569A CN101169954A (en) | 2006-10-27 | 2006-10-27 | Streaming audio recording method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006101598569A CN101169954A (en) | 2006-10-27 | 2006-10-27 | Streaming audio recording method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101169954A true CN101169954A (en) | 2008-04-30 |
Family
ID=39390547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006101598569A Pending CN101169954A (en) | 2006-10-27 | 2006-10-27 | Streaming audio recording method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101169954A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104657074A (en) * | 2015-01-27 | 2015-05-27 | 中兴通讯股份有限公司 | Method, device and mobile terminal for realizing sound recording |
CN113674724A (en) * | 2021-08-18 | 2021-11-19 | 青岛海信移动通信技术股份有限公司 | Method for generating analysis file of album file and terminal equipment |
-
2006
- 2006-10-27 CN CNA2006101598569A patent/CN101169954A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104657074A (en) * | 2015-01-27 | 2015-05-27 | 中兴通讯股份有限公司 | Method, device and mobile terminal for realizing sound recording |
CN113674724A (en) * | 2021-08-18 | 2021-11-19 | 青岛海信移动通信技术股份有限公司 | Method for generating analysis file of album file and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4528763B2 (en) | Real-time recording agent for streaming data from the Internet | |
US10657174B2 (en) | Systems and methods for providing identification information in response to an audio segment | |
US6931451B1 (en) | Systems and methods for modifying broadcast programming | |
US8816179B2 (en) | Methods and systems for disambiguation of an identification of a sample of a media stream | |
CN1998168B (en) | Method and apparatus for identification of broadcast source | |
US20160314794A1 (en) | System and method for continuing an interrupted broadcast stream | |
US7453038B2 (en) | Musical piece extraction program, apparatus, and method | |
JP5145937B2 (en) | Content playback method and apparatus with playback start position control | |
US20040143349A1 (en) | Personal audio recording system | |
CA2837741A1 (en) | Methods and systems for performing comparisons of received data and providing a follow-on service based on the comparisons | |
JP2010523068A (en) | How to determine a point in time in an audio signal | |
EP1197020A2 (en) | Electronic music and programme storage, comprising the recognition of programme segments, such as recorded musical performances and system for the management and playback of these programme segments | |
JP2010509807A (en) | Method and apparatus for recording and sharing broadcast media content in a wireless communication device | |
JP2009266083A (en) | Trial listening content distribution system and terminal device | |
KR101715070B1 (en) | System and method for providong digital sound transmission based music radio service | |
CN101169954A (en) | Streaming audio recording method and device | |
JP2009147775A (en) | Program reproduction method, apparatus, program, and medium | |
JP2006511846A (en) | Audio signal identification method and system | |
US20080051916A1 (en) | Method and apparatus for recording streamed audio | |
JP2006054517A (en) | Information presenting apparatus, method, and program | |
JP2007048351A (en) | Audio reproducing apparatus | |
JP4809146B2 (en) | Information system and information acquisition method | |
JP4798440B2 (en) | RECOMMENDED CONTENT REGISTRATION DEVICE AND ITS PROGRAM | |
JP4257563B2 (en) | Information processing apparatus and method, recording medium, and database construction apparatus | |
JP4039019B2 (en) | Program reservation method and system, program reservation server, program reservation program, and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20080430 |