[go: up one dir, main page]

CN1959828A - Audio playback apparatus - Google Patents

Audio playback apparatus Download PDF

Info

Publication number
CN1959828A
CN1959828A CN200610143383.3A CN200610143383A CN1959828A CN 1959828 A CN1959828 A CN 1959828A CN 200610143383 A CN200610143383 A CN 200610143383A CN 1959828 A CN1959828 A CN 1959828A
Authority
CN
China
Prior art keywords
demoder
sample
starting point
playback
coding data
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
CN200610143383.3A
Other languages
Chinese (zh)
Other versions
CN100580797C (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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Publication of CN1959828A publication Critical patent/CN1959828A/en
Application granted granted Critical
Publication of CN100580797C publication Critical patent/CN100580797C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

An audio playback apparatus realizes both of normal playback and loop playback with respect to compressive coded data forming an audio waveform of one phrase, which is constituted by a string of samples and which includes a loop section. In the normal playback, a decoder sequentially reproduces the samples. In the loop playback, the decoder sequentially reproduces the samples until a sample preceding a loop start point, then, the decoder repeatedly reproduces the samples belonging to the loop section, then, the decoder sequentially reproduces the samples started from the loop start point. Alternatively, two decoders are alternately controlled to perform decoding in the loop playback. Thus, it is possible to reliably output all the samples including the samples of the loop section without causing breaks.

Description

Audio playback
Technical field
The present invention relates to a kind of audio playback to decoding and reproduce through the voice data of compressed encoding.
The application requires the right of priority of Japanese patent application No.2005-320535 and Japanese patent application No.2006-45153, and its content here is introduced into as a reference.
Background technology
Recently, developed multiple coding and decoding technology,, and it has been widely used in audio playback such as MP3 (mpeg audio layer-3) and AAC (advanced audio coding).
Compare with broadcast system with CD Player, game station is that reason is playback cycle function (or circulation representational role) with different conceptual designs, and wherein the specified portions of the short sentence of music melody or voice is by playback repeatedly and reproduction.Game station comes the voice data (hereinafter simply be called compress coding data) of playback through compressed encoding by the playback cycle function usually.At known Audiotechnica, in MP3, the audio volume control of a short sentence (being made up of the sample string) is divided into a plurality of, and therefore, compressed encoding is carried out in the unit of piece.Here, the sample string (hereinafter simply being called the sample string) that forms piece is provided with starting point and end point.This is to smoothly and repeatedly and do not have the playback of the ground of pause and caused a difficult problem about the round-robin sample string that is limited between starting point and the end point.Playback cycle can be realized by such method, promptly a short sentence is divided into three parts, that is to say, first before being formed at the round-robin starting point, the second portion of actual experience playback cycle, with the third part that is formed at after the round-robin end point, wherein on first, second and third part, carry out compressed encoding respectively, to produce three compress coding data collection.Yet this method has also produced problem, promptly during execution is different from the normal playback of playback cycle, decodes owing to be converted to next part from a part, may produce the pause of not expecting in playback sample string.Jap.P. No.3601473 has informed the technology that is used for playback cycle that compress coding data is decoded.This technology has realized not having the voice data of the short sentence of ground playback that pauses; But it does not realize the expectation part of playback cycle from a short sentence extraction of audio volume control.
Summary of the invention
The objective of the invention is for a kind of audio devices is provided; this audio devices can be carried out the playback cycle of the compress coding data of the expectation part of extracting about short sentence from audio volume control, also can carry out the normal playback that the nothing about compress coding data that is different from playback cycle is paused.
In a first aspect of the present invention, audio playback comprises and is used for the stores compression-encoded memory of data, this compress coding data generates by the sample string of the audio volume control that forms a short sentence is carried out compressed encoding, the audio volume control of a described short sentence is limited between short sentence starting point and the short sentence end point, and comprises the cyclic part that is limited between circulation starting point and the loop ends point; At least one demoder is used for described compress coding data is decoded, so that sequentially reproduce described sample; And controller; be used for controlling by this way described demoder; promptly when receiving the normal playback instruction; described demoder is sequentially decoded to described compress coding data; and when receiving the playback cycle instruction; described demoder is sequentially decoded to described compress coding data; so that reproduce and the sample of output between described short sentence starting point and described circulation starting point; then; described demoder repeats decoding to the compress coding data that belongs to described cyclic part; so that the sample of repetition between described circulation starting point and described loop ends point; then; the described demoder described compress coding data that restarts to decode, so that sequentially reproduce sample between described loop ends point and described short sentence end point, thus the sample that output begins from described circulation starting point.
In normal playback, demoder is sequentially decoded to compress coding data, so that sequentially reproduce the sample except the sample that belongs to cyclic part; Therefore, can there be the sample that the ground that pauses reproduces a short sentence that forms audio volume control.In playback cycle, after the sample of demoder reproduction between short sentence starting point and circulation starting point, demoder repeatedly reproduces the sample between circulation starting point and loop ends point.Then, demoder restarts to reappear sample, thereby exports the sample that begins from the circulation starting point reliably.This makes demoder can not have the ground of pause reproduction sample reliably in playback cycle.
In a second aspect of the present invention, audio playback comprises and is used for the stores compression-encoded memory of data, this compress coding data generates by the sample string of the audio volume control that forms a short sentence is carried out compressed encoding, the audio volume control of a described short sentence be divided into a plurality of and be limited at the short sentence starting point and the short sentence end point between, and comprising the cyclic part that is limited between circulation starting point and the loop ends point, wherein is that compressed encoding is carried out in the unit with the piece; First demoder; Second demoder; And the controller that is used to control first demoder and second demoder, so that compress coding data is decoded, wherein when receiving the playback cycle instruction, controller is controlled first demoder and is begun compress coding data is decoded, so that reproduce the sample that begins from the short sentence starting point, then, controller is alternately controlled first demoder and second demoder, so that belong to the sample of cyclic part with the pre-determined number repetition, and wherein before first demoder reproduces the sample of loop ends point, second demoder begins by this way the compress coding data of the piece that comprises the circulation starting point is decoded, promptly and then by after the sample of the first demoder reproduction loop end point, second demoder begins to reappear without delay the sample that begins from the circulation starting point.
Description of drawings
Will with reference to following accompanying drawing describe in detail these and other purposes of the present invention, aspect and
Embodiment, wherein:
Fig. 1 illustrates the structured flowchart according to the audio playback of the first embodiment of the present invention;
Fig. 2 A diagram illustrates the compress coding data about the sample string of a short sentence that forms audio volume control;
Fig. 2 B diagram illustrates the compress coding data of the track 1 of experience normal playback;
Fig. 2 C diagram illustrates the compress coding data of the track 2 of experience playback cycle;
Fig. 3 illustrates the sequential chart of whole operations of the audio playback of Fig. 1;
Fig. 4 illustrates the structured flowchart of comparing the audio playback that carries out the part modification with the audio playback of Fig. 1;
Fig. 5 A diagram illustrates the compress coding data about the sample string of a short sentence that forms audio volume control;
Fig. 5 B diagram illustrates the compress coding data of the track 1 of experience normal playback;
Fig. 5 C diagram illustrates the compress coding data of the track 2 of experience playback cycle;
Fig. 5 D diagram illustrates the compress coding data of the track 3 of experience playback cycle;
Fig. 6 illustrates the sequential chart of whole operations of the audio playback of Fig. 4;
Fig. 7 illustrates the structured flowchart of audio playback according to a second embodiment of the present invention;
Fig. 8 A diagram illustrates the piece that a string formation comprises the sample string that is limited between circulation starting point and the loop ends point;
Fig. 8 B diagram illustrates and starts from the one-piece construction that header ends at a plurality of 0 sample string;
Fig. 9 A illustrates the sequential chart of decoding realization from the loop ends point to the return of circulation starting point by a demoder;
Fig. 9 B illustrates the sequential chart of decoding realization from the loop ends point to the return of circulation starting point by another demoder;
Figure 10 illustrates the sequential chart of an example of the playback cycle that the audio playback of Fig. 7 realizes; And
Figure 11 illustrates the sequential chart of another example of the playback cycle that the audio playback of Fig. 7 realizes.
Embodiment
The present invention is explained in further detail by example with reference to the accompanying drawings.
1. first embodiment
Fig. 1 illustrates the structured flowchart according to the audio playback of the first embodiment of the present invention.In Fig. 1, storer 10 has many audio data files that formed by compress coding data, and this compress coding data is that the Coding Compression Algorithm of the appointment of basis such as MP3 generates by the sample string of audio volume control is carried out compressed encoding.Demoder 21 and 22 pairs of compress coding datas that read from storer 10 are carried out decoding respectively, thereby reproduce the sample string of audio volume control.Audio output apparatus 30 is made up of following: digital-analog convertor (D/A converter) is used for the sample string of demoder 21 or demoder 22 outputs is transformed into simulating signal; Be used to amplify the amplifier of the simulating signal of D/A converter output; And be used for based on the sonorific loudspeaker of the output signal of amplifier.
Controller 40 by the ROM that is used for storing many programs, be used to carry out the CPU of the program that is stored in ROM and the RAM of the workspace of using as CPU forms.The program that CPU carries out is a game application, and it makes demoder 21 and 22 pairs of compress coding datas that are included in the audio data file that is stored in the storer 10 decode, thereby reproduces sound.
A technical characterictic of the present invention is to be contained in the content of the compress coding data in the audio data file, with reference to Fig. 2 A, 2B and 2C it is described in detail.An audio data file has the compress coding data of track 1 and track 2, and wherein compress coding data is according to concatenating from the sample of a short sentence forming audio volume control such as the Coding Compression Algorithm of the appointment of MP3.Shown in Fig. 2 A, the specified portions of the sample string of a short sentence of experience playback cycle is chosen as cyclic part.Shown in Fig. 2 B, the compress coding data of track 1 is to generate by the sample string that is defined in a short sentence between short sentence starting point and the short sentence end point is carried out compressed encoding.Shown in Fig. 2 C, the compress coding data of track 2 is to generate by the sample string that is defined in a short sentence between circulation starting point and the loop ends point is carried out compressed encoding.
Another technical characterictic of the present invention is a controller 40, and its CPU is according to game application control demoder 21 and 22.Hereinafter will tell about of the present invention about the operation of controller 40 in detail
Embodiment.
Game application relates to the playback that is contained in the compress coding data in the audio data file, and wherein it comprises normal playback order and playback cycle order.When carrying out normal playback order or playback cycle order, controller 40 is controlled demoder 21 and 22 in a different manner.
At first; when thereby certain audio data file carries out the order of normal playback execution normal playback; controller 40 21 pairs of demoders of control are contained in the compress coding data of the track 1 in the audio data file and decode; therefore reproduce the sample string of a short sentence that forms audio volume control, thereby the sample string that reproduces is offered audio output apparatus 30.As a result, audio output apparatus 30 does not have the sound with expressive force of the short sentence of ground output that pauses.
Then, tell about the operation of controller 40 in detail with reference to Fig. 3, it carries out the playback cycle order about certain audio data file.Controller 40 sends play-back command to demoder 21, so that the compress coding data of the track 1 in the audio data file that is included in the experience playback cycle is decoded.In addition, controller 40 sends play-back command to demoder 22, so that the compress coding data that is included in the track 2 in the audio data file is decoded, and sends the MUTE instruction to demoder 22.When receiving play-back command, demoder 21 begins the compress coding data of track 1 is decoded, and offers the sample of audio output apparatus 30 with reproduction.When receiving play-back command and MUTE instruction, demoder 22 begins the compress coding data of track 2 is decoded.For the decoding delay time of compensated decoder 22, this, variation range was from the time of reception of play-back command and the output time of sample time delay, the sample that demoder 21 specifies number in generation (is the FsTD sample, wherein TD represents time delay, Fs represents sample frequency) stop afterwards decoding, and thereby be in the MUTE state, wherein demoder keeps the sample a period of time that specifies number.
Demoder 21 is decoded to the compress coding data of track 1 continuously, the sample before output circulation starting point.Before that, audio output apparatus 30 comes output sound based on the sample that continues output from demoder 21.When the sample before the demoder 21 output circulation starting points, controller 40 sends the MUTE instruction to demoder 21, to realize the transformation to the MUTE state, it also sends to demoder 22 and repeats play-back command, to carry out the repeat decoding to the compress coding data of track 2.
When receiving the MUTE instruction, demoder 21 is preserved for the memory contents (internal state that hereinafter simply is called demoder 21) of all registers of decoding itself, therefore stops to audio output apparatus 30 output samples.When receiving the repetition play-back command, once placed the demoder 2 of MUTE state to begin the compress coding data of track 2 is decoded.In the MUTE state, demoder 21 keeps the sample that specifies number, with the decoding delay time of compensated decoder 22.Owing to this reason, when receiving play-back command, demoder 21 is exported the sample that keeps without delay, and sequentially carries out decoding to reproduce sample.Demoder 22 repeats decoding to the compress coding data of track 2 by this way, and promptly after the decoding of finishing the track 2 from the top to the afterbody, the top from track 2 begins decoding once more.Therefore, demoder 22 repeats to export the sample string that is defined between circulation starting point and the loop ends point.Controller 40 sends the playback cycle order, and it comprises the information of appointment to the repeat decoding number of times of the compress coding data of track 2.Therefore, the compress coding data of 22 pairs of tracks 2 of controller 40 control demoders carries out repeat decoding with the repeat decoding number of times by above-mentioned information appointment.During carrying out the playback cycle order, audio output apparatus 30 repeats to export that repeat to export and be defined in sample string between circulation starting point and the loop ends point from demoder 22.
After the repeat decoding of finishing the compress coding data of track 2, wherein demoder 22 carries out repeat decoding with predetermined number of times to the compress coding data of track 2, controller 40 sends the MUTE instruction to demoder 22, and also restarts instruction to demoder 21 transmission playback.When receiving the MUTE instruction, demoder 22 places the MUTE state.Receiving playback when restarting to instruct, demoder 21 restarts the compress coding data of track 1 is decoded.Here, demoder restarts decoding with its internal state, and this internal state is retained in the transformation of MUTE state; Therefore, can restart playback without delay, thereby demoder is exported the sample of circulation starting point immediately.Therefore, demoder 21 is sequentially exported the sample that is defined between circulation starting point and the short sentence end point, thus audio output apparatus 30 output sound correspondingly.
As mentioned above, the audio playback of present embodiment is decoded to the compress coding data of the track 1 that extracts from the sample string of a short sentence in normal playback; Therefore can not have the ground that pauses smoothly and reproduce sound with expressive force.In playback cycle, after the sample before reproducing the circulation starting point by the demoder 21 that the compress coding data of track 1 is decoded, 22 pairs of demoders are for the compress coding data of the pre-prepd track 2 of playback cycle carries out repeat decoding, and demoder 21 begins the compress coding data of track 1 is decoded then.This makes audio playback carry out playback cycle in the desired point of the sample string of a short sentence.More specifically, the design present embodiment makes the demoder 22 that the compress coding data of track 2 is decoded in a single day place the MUTE state, after the sample before reproducing the circulation starting point by the demoder 21 that the compress coding data of track 1 is decoded, control demoder 22 restarts the decoding to the compress coding data of track 2 so.Therefore can not have the ground that pauses and reproduce the sample that is included in the circulation.In addition, when the sample before the demoder 21 reproduction circulation starting points that the compress coding data of track 1 is decoded, it keeps its internal state, and places the MUTE state; Then, demoder 22 finish repeat decoding to the compress coding data of track 2 with the end loop playback after, can restart normal playback without delay.That is to say sequentially not have the ground of pause and carry out playback cycle and normal playback.
The audio playback of Fig. 1 can be changed into as shown in Figure 4, and wherein identical with Fig. 1 part is represented with identical label.Compare with the audio playback of Fig. 1, the audio playback of Fig. 4 also has demoder 23 except demoder 21 and 22.Here, three tracks of an audio data file storage, be three compress coding data collection of track 1, track 2 and track 3, wherein compress coding data is by generating such as the Coding Compression Algorithm of MP3, and this algorithm acts on and forms on the sample string of a short sentence of audio volume control of sound that expression has expressive force.Shown in Fig. 5 A, the sample string that forms a short sentence of audio volume control comprises first cyclic part, and described first cyclic part further comprises second cyclic part less than first cyclic part.Fig. 5 B diagram illustrates the compress coding data of track 1, and described compress coding data is by the sample string that is defined between short sentence starting point and the short sentence end point is carried out the compressed encoding generation.Fig. 5 C diagram illustrates the compress coding data of track 2, and described compress coding data is by carrying out the compressed encoding generation to being included in the sample string that is defined in first cyclic part between circulation starting point and the loop ends point.Fig. 5 D diagram illustrates the compress coding data of track 3, and described compress coding data is by carrying out the compressed encoding generation to being included in the sample string that is defined in second cyclic part between circulation starting point and the loop ends point.
Similar with the audio playback of Fig. 1, the audio playback of Fig. 4 is carried out the normal playback about the compress coding data of track 1 under the control of controller 40.In addition, the audio playback of Fig. 4 is carried out playback cycle to the compress coding data that belongs to cyclic part.Here, first cyclic part repeats to experience playback cycle with first number during the playback of a short sentence, and second cyclic part repeats to experience playback cycle with second number during the single playback cycle of first cyclic part.Make an explanation with reference to Fig. 6.
In the playback of a short sentence, demoder 21 compress coding data that begins track 1 that at first is activated is decoded, so demoder 21 sequentially reproduces and exports sample the sample of variation range before from the sample of short sentence starting point to the circulation starting point of first cyclic part; Be placed on the MUTE state then.
Then, demoder 22 compress coding data that begins track 2 that is activated is decoded, so demoder 22 sequentially reproduces and exports sample the sample of variation range before from the sample of the circulation starting point of first cyclic part to the circulation starting point of second cyclic part; Then, it places the MUTE state.Then, place the demoder 23 of the MUTE state compress coding data that begins track 3 that is activated to decode at first, so demoder 23 repeatedly reproduce and export at the circulation starting point of second cyclic part and the sample between the loop ends point with second number.After the repeat decoding of finishing track 3, demoder 23 places the MUTE state; Selectively, demoder 22 compress coding data that restarts track 2 that is activated is decoded, so demoder 22 sequentially reproduces and exports sample between the loop ends point of the circulation starting point of second cyclic part and first cyclic part.Then demoder 22 sequentially reproduces and exports sample between the circulation starting point of the circulation starting point of first cyclic part and second cyclic part; Be placed on the MUTE state then.
Then, demoder 23 is activated again restarting the compress coding data of track 3 is decoded, so demoder 23 repeatedly reproduces with output packet with second number and is contained in sample in second cyclic part.After the playback cycle of finishing second cyclic part, demoder 23 places the MUTE state; Selectively, demoder 22 is activated again the compress coding data that restarts track 2 and decodes.
Repeat above-mentioned a series of decode procedures.That is to say that demoder 22 is activated again to carry out the playback cycle about first cyclic part; And during the playback cycle of first cyclic part, demoder 23 is activated again thereby repeats playback cycle about second cyclic part with second number.Then, after finishing the repetitive cycling playback of first cyclic part by demoder 22, demoder 21 is activated again the compress coding data that restarts track 1 and decodes, so demoder 21 sequentially reproduces and exports at the circulation starting point of first cyclic part and the sample between the short sentence end point.Therefore, the audio playback of Fig. 4 can be realized the audio playback similar effects with Fig. 1.
The audio playback of present embodiment not necessarily is limited to Fig. 1 and example shown in Figure 4; Therefore, can produce hereinafter described other variation and modification.
(1) audio playback of design drawing 1 is used for the single cyclic part that pack processing is contained in a short sentence, wherein can a plurality of cyclic parts be set at the diverse location in the short sentence.That is to say that except by the compress coding data of the sample string of a short sentence being carried out the track 1 that compressed encoding generates, each cyclic part also is provided with the compress coding data of track 2.In normal playback, demoder 21 is activated and carries out decoding with the compress coding data to track 1.In playback cycle, demoder 22 is activated and carries out decoding about the compress coding data of each cyclic part.
(2) in above-mentioned, the compress coding data of experience playback cycle is to extract from the compress coding data of the sample string that forms a short sentence; But they are not must be with strictly a part of compress coding data with the sample string that forms a short sentence is identical.Selectively, can introduce other compress coding datas with the irrelevant experience playback cycle of the sample string of a short sentence.
(3) in above-mentioned, use a plurality of demoders and do not produce the pause of not expecting between normal playback and the playback cycle.But, if in playback cycle, be not strict with high tone quality, then can only use a demoder to come the compress coding data of a plurality of tracks is decoded, wherein demoder is sequentially carried out the decoding about normal playback and playback cycle.
(4) when receiving the playback cycle instruction, the audio playback of Fig. 4 is carried out the playback cycle about first cyclic part and second cyclic part.Replacedly, in response to the type of playback cycle instruction, can carry out playback cycle about first cyclic part or second cyclic part.Particularly, the audio playback of Fig. 4 can be modified to finishes three types of playback cycle instructions, as follows:
A) playback cycle of first and second cyclic parts, with Fig. 6 as mentioned above.
B) has only the playback cycle of first cyclic part.
C) has only the playback cycle of second cyclic part.
2. second embodiment
Fig. 7 illustrates the structured flowchart of audio playback according to a second embodiment of the present invention.In Fig. 7, storer 110 has the audio data file of all describing compress coding data, this compress coding data is to act on the sample string of the audio volume control that forms a short sentence according to the Coding Compression Algorithm such as the appointment of MP3 to generate, and the sample string list example of this audio volume control is as having the sound of expressive force.
Present embodiment uses the Coding Compression Algorithm shown in Fig. 8 A, and the sample string of one of them short sentence is divided into piece, and each piece is made of N sample (N is predetermined integer), wherein is that compressed encoding is carried out in the unit with the piece.When a short sentence is formed by the sample string that comprises a plurality of samples, when wherein sample number was not equal to the integral multiple of N, the sample string was partly revised, and promptly 0 was added to the last sample that is contained in the sample string, comprised the integral multiple sample of N to make a short sentence forcibly; Then amended sample string is carried out compressed encoding.
A short sentence of the sample string of experience compressed encoding comprises the cyclic part that experiences playback cycle.In Fig. 8 A, cyclic part is defined between circulation starting point LS and the loop ends point LE.Usually, circulation starting point LS and loop ends point LE are arranged at the centre of piece.When the numerical statement of the sample between short sentence starting point and circulation starting point LS was shown NLS, the number N BS that distributes to the piece that comprises circulation starting point LS sample was calculated as the round numbers part, and it is as follows by NLS is generated divided by N:
NBS=INT(NLS/N) ...(1)
Similarly, when the numerical statement of the sample between short sentence starting point and loop ends point LE was shown NLS, the number N BE that distributes to the piece that comprises loop ends point LE sample was calculated as the round numbers part, and it is as follows by NLE is generated divided by N:
NBE=INT(NLE/N) ...(2)
In addition, when first sample from the piece that comprises circulation starting point LS sample when the number of samples of the sample counting of circulation starting point LS is expressed as N1, number N 1 is calculated as gets the remainder part, it is as follows by NLS is generated divided by N:
N1=MOD(NLS/N) ...(3)
Similarly, first sample from the piece that comprises circulation starting point LE sample is expressed as N2 to the number of samples of the sample counting of circulation starting point LE, and number N 2 is calculated as gets the remainder part, and it is as follows by NLE is generated divided by N:
N2=MOD(NLE/N) ...(4)
Fig. 8 B illustrates a string compress coding data that generates by compressed encoding.Here, #k (k=0,1 ...) and the piece k that extracts from the sample string of expression (k=0,1 ...) and compress coding data.With the header that comprises each bar control information add to a string each tip position before the piece of compress coding data is described.That is to say that header comprises the data NLS of expression circulation starting point LS and the data NLE of expression loop ends point LE.
In Fig. 7, demoder 121 and 122 is carried out the decoding to compress coding data under the control of controller 140, therefore to specify sample frequency to reproduce the sample string.Audio output apparatus 130 comprises selector switch 131, and it selects one from the output of demoder 121 and 122 under the control of controller 140; Be used for the sample string that selector switch 131 is selected is converted to Analog signals'digital-analog converter (being D/A converter) 132; Be used to amplify the amplifier 133 of the simulating signal of D/A converter 132 outputs; And be used for based on the sonorific loudspeaker 134 of the output signal of amplifier 133.
Controller 140 comprises the ROM that is used for storing many programs, the CPU that is used to carry out the program that is stored in ROM and the RAM that is used as the CPU workspace.The program that CPU carries out is a game application, and it makes demoder 121 and 122 pairs be included in the compress coding data that is stored in the audio data file (being stored in the storer 110) and decode, thereby produces sound by audio output apparatus 130.
Present embodiment has outstanding technical characterictic, i.e. the demoder 121 of the game application of carrying out according to the CPU of controller 140 and 122 decoding and the control of audio output apparatus 130.Game application comprises about the normal playback order of the playback of the compress coding data of describing in the audio data file and playback cycle order.In response to selecting a normal playback order and a playback cycle order of carrying out, controller 140 is controlled demoder 121 and 122 and audio output apparatus 130 by different way.
When carrying out the normal playback order; the compress coding data of the audio data file of 121 pairs of experience of controller 140 control demoders normal playback is decoded; therefore reproduce the sample string of the audio volume control that forms a short sentence, then the sample string that reproduces is offered audio output apparatus 130.
When carrying out the playback cycle order, controller 140 control demoders 121 or demoder 122 begin compress coding data is decoded, to reproduce the sample string that begins from the short sentence starting point, wherein, it alternately uses demoder 121 and 122 to carry out decoding, realizes repeating the sample string of playback between circulation starting point LS and loop ends point LE with predetermined number of times.
In above-mentioned, controller 140 is alternately controlled demoder 121 and demoder 122 by this way, promptly before a demoder reproduces the sample of loop ends point LE, another demoder begins the compress coding data of the piece of the sample that comprises circulation starting point LS is decoded, thereby after reproducing the sample of loop ends point LE by a demoder, another demoder can reproduce the sample string that begins from circulation starting point LS smoothly.Controller 140 is carried out conversion and control to the selector switch 131 of audio output apparatus 130 by this way, promptly select by after a demoder reproduction and ending at the sample string of loop ends point LE at selector switch 131, selector switch 131 is selected by another demoder reproduction and is started from circulating the sample string of starting point LS.Present embodiment is characterised in that reproducing the position turns back to circulation starting point LS from loop ends point LE.
To tell about aforesaid reproduction position turns back to circulation starting point LS from loop ends point LE return with reference to the time-scale shown in figure 9A and Fig. 9 B.Figure 10 illustrates the sequential chart of the playback cycle that the audio playback of Fig. 7 realizes.Incidentally, draw Fig. 9 A and Fig. 9 B so that the details of the playback cycle in the part A 1 among Figure 10 to be shown.Next, hereinafter will tell about the details of playback cycle.
When 140 pairs of a string compress coding datas that read from the expectation audio file of controller were carried out playback cycle, it read the data NLS of expression circulation starting point LS and the data NLE of expression loop ends point LE from the header that is attached on the compress coding data.Then, controller 140 uses data NLS and NLE to carry out calculating according to the formula (1) of front to (4), thereby produces data NBS, NBE, N1 and the N2 of front.Then, controller 140 control demoders 121 and 122 one begin compress coding data is decoded, to reproduce the sample string that begins from the short sentence starting point.In the situation of Figure 10, controller 140 assigns demoder 121 to begin decoding from the short sentence starting point.At this moment, controller 140 control selector switchs 131 are selected the output data of demoder 121.Therefore demoder 121 reproduces the sample string that begins from the short sentence starting point, and selector switch 131 these sample strings of selection, provides it to loudspeaker 134, to produce corresponding sound.
Then, controller 140 monitors the piece and the sample of sequentially being decoded and being reproduced by demoder 122, with the moment of the prediction decoding device 121 reproduction samples that are numbered N2 (sample of loop ends point LE just) that first sample counting begins from piece NBE.Shown in Fig. 9 A and Fig. 9 B, controller 140 is determined the zero hour of decoding, demoder 122 begins the piece NBS that comprises circulation starting point LS and its subsequent block are decoded at this constantly, so that demoder 122 is based on the predetermined instant of the sample that reproduces loop ends point LE, with the sample of TS reproduction circulation time delay starting point LS.
Particularly, controller 140 is provided with time Δ T, its predetermined instant according to the sample of formula (5) by use reproducing loop ends point LE calculates acquisition, begin moment that piece NBS is decoded as demoder 122, so demoder 122 begins the piece of counting from piece NBS is decoded.
ΔT=(N1-2)·TS+τ0 ...(5)
In formula (5), first sample of τ 0 expression piece NBS experiences the time delay of reproducing after the decoding of demoder 122 begin block NBS.
Shown in Fig. 9 A and Fig. 9 B, after the decoding of aforementioned moment begin block NBS and its subsequent block, demoder 121 reproduces the sample of loop ends point LE at demoder 122, and elapsed time Δ T makes demoder reproduce the sample of circulation starting point LS then.In demoder 121 reproduces time durations between moment of moment of loop ends point LE samples and demoder 122 reproduction circulation starting point LS samples, 140 pairs of selector switchs of controller 131 are carried out conversion and control, this selector switch Be Controlled is selected the output of demoder 122, promptly by the sample string after the circulation starting point LS of demoder 122 sequential reproduction.Therefore loudspeaker 134 produces sound according to the sample string from circulation starting point LS counting.Aforementioned operation realizes in part A shown in Figure 10 1.
Carry out aforesaid operation similarly once more, make controller 140 control demoders 121 and 122, thereby alternately the sample string that belongs to cyclic part is carried out and reproduced.Finish with predetermined number of times after the repetition of sample string of cyclic part, the demoder of controller control appointment (being the demoder 121 of current execution decoding, with reference to Figure 10) reproduces the sample string up to the short sentence end point.
As mentioned above, present embodiment can be realized about being included in the playback cycle of an expectation cyclic part in the short sentence, so repetition is based on the sample of compress coding data.
Figure 11 illustrates the sequential chart of another example of the playback cycle that the audio playback of key drawing 7 realizes.This sequential chart results under such condition, and promptly one of them short sentence comprises first cyclic part, and this first cyclic part further comprises second cyclic part less than first cyclic part.Even when a short sentence comprised the cyclic part of hierarchical structure, controller 140 control demoders 121 and 122 were alternately carried out the decoding of cyclic part.At this moment, controller 140 returns from second loop ends o'clock to the second circulation starting point and reproduces the position, and o'clock returns to the first circulation starting point from first loop ends and to reproduce the position.It is similar that this control carried out by controller 140 and earlier in respect of figures 9A and Fig. 9 B tell about.
Second embodiment can revise by different way, will tell about hereinafter.
(1) demoder 121 and 122 can have the function the sample that receives MUTE when instruction output 0 rather than reproduce (producing by decoding), so the selector switch 131 of audio output apparatus 130 is substituted by the OR door.In this case, controller 140 returns from loop ends point LE to circulation starting point LS and reproduces the position, and is as follows:
At first, controller 140 demoders of control (as demoder 121) begin the decoding to the piece that comprises circulation starting point LS; Then, controller 140 sends the MUTE instruction, so that demoder 121 outputs 0 replace the sample of reproduction.When demoder 121 was finished the decoding of circulation starting point LS front sample, controller 140 sent the MUTE instruction to demoder 121, made demoder 121 reproduce the sample string that begins from circulation starting point LS then.Simultaneously, controller 140 sends the MUTE instruction to other demoders (as demoder 122).
(2) demoder 121 and 122 can have the pause function that is used to suspend decoding and be used for again from what pause conditions restarted to decode restarting function.That is to say, when receiving pause instruction, each demoder even can reproduce sample, so the content of its all registers that are preserved for decoding at the intermediate suspension of piece; Then, receiving when restarting to instruct, it uses the content of the register that keeps to restart decoding.
When design demoder 121 and 122 has above-mentioned functions, can reduce the load of controller 140 control demoders 121 and 122.Particularly, controller 140 returns from loop ends point LE to circulation starting point LS by this way and reproduces the position, promptly during the piece that comprises circulation starting point LS is carried out decoding, suspend when control the sample of a demoder (as demoder 121) and having reproduced and decode in circulation starting point LS front.Then, after and then another demoder (as demoder 122) reproduced the sample of loop ends point LE, demoder 121 Be Controlled were restarted decoding, to reproduce the sample string that begins from circulation starting point LS.In this case, demoder 121 Be Controlled begin moment that the piece that comprises circulation starting point LS is decoded not necessarily than the backward constantly aforementioned time Δ T of prediction of the sample that reproduces loop ends point LE, wherein, can be at thereafter time Δ T or more.This makes controller 140 easily carry out control constantly.
At last, the present invention not necessarily is limited to previous embodiment, variation and modification; Therefore, the present invention must be interpreted as falling in the invention scope that is limited by accessory claim.

Claims (6)

1. audio playback comprises:
Be used for the stores compression-encoded memory of data, these data are to generate by the sample string of the audio volume control that forms a short sentence is carried out compressed encoding, the audio volume control of a described short sentence is limited between short sentence starting point and the short sentence end point, and comprises the cyclic part that is limited between circulation starting point and the loop ends point;
At least one demoder is used for described compress coding data is decoded, so that sequentially reproduce described sample; And
Controller; be used for controlling by this way described demoder; promptly when receiving the normal playback instruction; described demoder is sequentially decoded to described compress coding data; and when receiving the playback cycle instruction; described demoder is sequentially decoded to described compress coding data; so that reproduce and the sample of output between described short sentence starting point and described circulation starting point; then; described demoder repeats decoding to the compress coding data that belongs to described cyclic part; so that the sample of repetition between described circulation starting point and described loop ends point; then; the described demoder described compress coding data that restarts to decode, so that sequentially reproduce sample between described loop ends point and described short sentence end point, thus the sample that output begins from described circulation starting point.
2. audio playback comprises:
Be used for the stores compression-encoded memory of data, these data are to generate by the sample string of the audio volume control that forms a short sentence is carried out compressed encoding, the audio volume control of a described short sentence is limited between short sentence starting point and the short sentence end point, and comprises the cyclic part that is limited between circulation starting point and the loop ends point;
First demoder is activated when receiving the normal playback instruction;
Second demoder is activated when receiving the playback cycle instruction; And
Controller; be used for controlling by this way described first demoder and described second demoder; promptly when receiving the instruction of described normal playback; described first demoder is activated described compress coding data is carried out decoding; so that sequentially reproduce and export sample between described short sentence starting point and described circulation starting point; then; described first demoder keeps the sample that reproduces and stops; then; when receiving the instruction of described playback cycle; described second demoder is activated the compress coding data that belongs to described cyclic part is repeated decoding; so that with the sample of predetermined number of times repetition between described circulation starting point and described loop ends point; then; described first demoder is activated again; restart described compress coding data is decoded, so that sequentially reproduce the sample between described loop ends point and described short sentence end point, thus the sample that output begins from described circulation starting point.
3. according to the described audio playback of claim 1, one of them short sentence comprises and is limited to first cyclic part between the first circulation starting point and the first loop ends point and is limited to second cyclic part between the second circulation starting point and the second loop ends point, and wherein said controller is controlled described demoder by this way, promptly when receiving the instruction of described playback cycle, described demoder repeats decoding to the compress coding data that belongs to described first cyclic part, so that the sample of repetition between described first circulation starting point and the described first loop ends point, and wherein said controller is controlled described demoder by this way, promptly behind the sample before reproducing the described second circulation starting point, described demoder repeats decoding to the compress coding data that belongs to described second cyclic part, so that the sample of repetition between described second circulation starting point and the described second loop ends point, then, the described demoder described compress coding data that restarts to decode, so that sequentially reproduce the sample between described second loop ends point and described short sentence end point, thus the sample that output begins from the described second circulation starting point.
4. audio playback comprises:
Be used for the stores compression-encoded memory of data, these data are to generate by the sample string of the audio volume control that forms a short sentence is carried out compressed encoding, this sample string is divided into a plurality of, and be limited between short sentence starting point and the short sentence end point, and comprise at least one cyclic part that is limited between circulation starting point and the loop ends point, wherein said compressed encoding is that the unit is carried out with the piece;
First demoder;
Second demoder; And
Be used to control the controller of described first demoder and described second demoder, so that described compress coding data is decoded, wherein when receiving the playback cycle instruction, described controller is controlled described first demoder and is begun described compress coding data is decoded, so that reproduce the sample that begins from described short sentence starting point, then, described controller is alternately controlled described first demoder and described second demoder, the sample that belongs to described cyclic part with the pre-determined number repetition, and wherein said second demoder is before described first demoder reproduces the sample of described loop ends point, begin by this way the compress coding data of the piece that comprises described circulation starting point is decoded, promptly after reproducing the sample of described loop ends point by described first demoder, described second demoder begins to reproduce the sample that begins from described circulation starting point without delay.
5. according to the described audio playback of claim 4, wherein said controller determines that by this way described second demoder begins the time that the compression coding data of the piece that comprises described circulation starting point are decoded, promptly and then described first demoder reproduces after the sample of described loop ends point, and described second demoder reproduces the sample of described circulation starting point.
6. according to the described audio playback of claim 4, wherein said first demoder and described second demoder all have and are used for temporarily stopping the pause function of decoding and are used to the function of restarting of restarting to decode, and wherein said controller is controlled described first demoder and described second demoder by this way, promptly during the decoding of carrying out the compress coding data of the piece that comprises described circulation starting point, suspend decoding after the sample of described first demoder before reproducing described circulation starting point, then, and then described second demoder reproduces after the sample of described loop ends point, described first demoder restarts decoding, so that reproduce the sample that begins from described circulation starting point.
CN200610143383A 2005-11-04 2006-11-02 Audio playback apparatus Expired - Fee Related CN100580797C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005320535 2005-11-04
JP2005320535A JP4735196B2 (en) 2005-11-04 2005-11-04 Audio playback device
JP2006045153 2006-02-22

Publications (2)

Publication Number Publication Date
CN1959828A true CN1959828A (en) 2007-05-09
CN100580797C CN100580797C (en) 2010-01-13

Family

ID=38071481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610143383A Expired - Fee Related CN100580797C (en) 2005-11-04 2006-11-02 Audio playback apparatus

Country Status (2)

Country Link
JP (1) JP4735196B2 (en)
CN (1) CN100580797C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108806729A (en) * 2017-04-26 2018-11-13 蒂雅克股份有限公司 Information processing unit, audio devices and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5898355B1 (en) * 2015-04-21 2016-04-06 株式会社カプコン Sound playback program and sound playback system

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61177490A (en) * 1985-02-02 1986-08-09 ロ−ランド株式会社 Sound source circuit for electronic musical instrument
CN2081514U (en) * 1990-12-30 1991-07-24 宣捍东 Refrigerator keeping temp. after power cut
JPH06138878A (en) * 1992-10-26 1994-05-20 Roland Corp Musical tone signal generator
JP3603343B2 (en) * 1994-09-30 2004-12-22 カシオ計算機株式会社 Waveform reading device
CN1133426A (en) * 1995-12-20 1996-10-16 北京科海低温设备联合技术公司 Machine for making granular ice
JP3675184B2 (en) * 1997-09-30 2005-07-27 ヤマハ株式会社 Waveform forming apparatus and method
US5945031A (en) * 1998-05-22 1999-08-31 Conserve Resources, Inc. Freeze resistant, Perkins tube type heat exchanger
US6931370B1 (en) * 1999-11-02 2005-08-16 Digital Theater Systems, Inc. System and method for providing interactive audio in a multi-channel audio environment
JP3601473B2 (en) * 2001-05-11 2004-12-15 ヤマハ株式会社 Digital audio compression circuit and decompression circuit
JP3471329B2 (en) * 2001-05-30 2003-12-02 コナミ株式会社 Music arrangement program, medium storing music arrangement program, and music arrangement device
JP2003157621A (en) * 2001-11-19 2003-05-30 Sharp Corp Data recording device
JP3877693B2 (en) * 2003-03-28 2007-02-07 株式会社ディーアンドエムホールディングス Information recording medium playback device
CN2631248Y (en) * 2003-06-03 2004-08-11 清华大学 Regenerative warming clothing with phase transforming material
JP3829134B2 (en) * 2003-11-12 2006-10-04 株式会社コナミデジタルエンタテインメント GENERATION DEVICE, REPRODUCTION DEVICE, GENERATION METHOD, REPRODUCTION METHOD, AND PROGRAM
CN1595022A (en) * 2004-06-24 2005-03-16 伍培云 Refrigerator cold-storage energy-saving device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108806729A (en) * 2017-04-26 2018-11-13 蒂雅克股份有限公司 Information processing unit, audio devices and program
CN108806729B (en) * 2017-04-26 2020-06-26 蒂雅克股份有限公司 Information processing apparatus, audio apparatus, and recording medium
US10732923B2 (en) 2017-04-26 2020-08-04 Teac Corporation Information processor, audio device, and program

Also Published As

Publication number Publication date
CN100580797C (en) 2010-01-13
JP2007127838A (en) 2007-05-24
JP4735196B2 (en) 2011-07-27

Similar Documents

Publication Publication Date Title
US10152124B2 (en) Systems and methods for enhanced haptic effects
CN1259649C (en) Sound replay device and method for karaoke and game machine
JP2009157272A (en) Audio playback device
US7865256B2 (en) Audio playback apparatus
CN1959828A (en) Audio playback apparatus
JP2008097186A (en) Clock supply device, clock supply method and stream processor
US20100180753A1 (en) Electronic audio playing apparatus and method
US8612031B2 (en) Audio player and audio fast-forward playback method capable of high-speed fast-forward playback and allowing recognition of music pieces
CN1815613A (en) Data processing circuit, data processing apparatus, data processing method, data processing control method
CN1832025A (en) Audio playing method and system in game of mobile phone
JP4760440B2 (en) Audio playback device
CN1705017A (en) Digital information reproducing apparatus and method
CN108461086B (en) Real-time audio switching method and device
JP5007398B2 (en) Effect adding device
CN1604180A (en) Music reproducing system
CN1052090C (en) Sonic source device
CN1674089A (en) Apparatus and method for processing bell sound
US6314403B1 (en) Apparatus and method for generating a special effect on a digital signal
CN101064152A (en) Method for playing MP3 files
CN1661673A (en) Speech synthesizer,method and recording medium for speech recording synthetic program
JP4483811B2 (en) Data compression method, data compression circuit, and data expansion circuit
CN1758772A (en) Method for synchronous playing video and audio of medium document and its system
CN1205540C (en) ROM addressing method of adaptive differential pulse-code modulation decoder unit
JP2010054758A (en) Reproducing apparatus and reproducing method
CN100428664C (en) Method for triggering and inserting synchronous message of data stream

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100113

Termination date: 20151102

EXPY Termination of patent right or utility model