Embodiment
Below will specify character audio data positioning method of the present invention in proper order according to following paragraph:
1. system architecture:
2. the embodiment of audio data positioning method
2.1 first embodiment
2.2 second embodiment
2.3 the 3rd embodiment
2.4 the 4th embodiment
3. embodiment changes
4. conclusion
1. system architecture:
Character audio data positioning method of the present invention can be executed in various electronic installations; For example mobile phone (mobile phone), personal digital assistant (Personal Digital Assistant is called for short PDA), STB (Set Top Box), televisor, game machine or media player.Below explain with the electronic system 100 of carrying out said audio data positioning method.
Consult Fig. 1, electronic system 100 comprises processor 10, storer 20, display 30, input block 40 and timer 50 and 60.Processor 10 can be made up of integrated circuit (Integrated Circuit is called for short IC), is used for processing data and executive routine.Processor 10 can be made up of the IC of single encapsulation, or connects the encapsulation IC of many identical functions or difference in functionality and form.For instance, processor 10 can only comprise central processing unit (Central Processing Unit is called for short CPU), or the combination of the controller chip of CPU, communication controller and input block 40.CPU can be the CPU of single arithmetic core or multioperation core.Described communication controller is used for controlling the communication of each assembly of electronic system 100, or the communication of electronic system 100 and external device (ED), and can support direct memory access (Direct Memory Access).
Storer 20 can comprise random access memory (Random Access Memory is called for short RAM), non-voltile memory (Nonvolatile Memory), high capacity storage device (mass storage device, for example hard drives) or its combination.Non-voltile memory for example electronics can be removed programmble read only memory PROM (Electrically Erasable Programmable ROM is called for short EEPROM) and flash memory (Flash Memory).Storer 20 can be packaged into single chips with processor 10, or is connected with processor 10 in its outside and via bus (bus).Storer 20 stored audio data 70.
Below in the explanation, the length of audio data 70 is assumed to be D, can be the reproduction time with the special time unit representation of audio data 70, and wherein said chronomere for example divides or second.Need be appreciated that audio data 70 can be single audio data (below be called voice data item or song), or a plurality of voice data item.The voice data item can be an audio data file.For instance, audio data 70 is audio datas of a plurality of songs after in a playing list (playlist), arranging according to the particular order of the property value of voice data item.
Display 30 can display text and figure; For example can comprise by Organic Light Emitting Diode (Organic light emitting diode; Abbreviation OLED) display that constitutes, LCD (Liquid Crystal Display is called for short LCD), Field Emission Display (Field Emission Display) or Electronic Paper (E-paper).Display 30 can show various graphical user's interface (Graphical User Interface; Be called for short GUI), and user's interface can comprise the scroll bar (scroll bar) of window (window), playing list, the progress axle and the literal input field of music.Display 30 can comprise unitary display or a plurality of display, for example a large-size display and a reduced size display.Various GUI assemblies under processor 10 can show in the example explanation are in display 30.
Input block 40 can comprise and variously be used for input data or instruct to the interfacing equipment of electronic system 100, for example contact panel, touch control screen, keyboard and voice receiver.Input block 40 also can comprise the controller of said interfacing equipment.Timer 50 and 60 can be to be made up of circuit, computer program or its combination institute, be respectively applied for the timing regular length during.Produce signal when timer 50 or 60 timing finish (expiration), be used to inform institute's timing during finish.Can use wired or wireless communication channel to connect between each assembly of electronic system 100.
Please with reference to Fig. 2 A.Keyboard 40a shown in Fig. 2 A is wherein a kind of embodiment of input block 40.Said keyboard can be the physical keyboard of physical construction or be presented at the dummy keyboard on the display 30.Said keyboard has button 201- 217.Button 213 and 214 is function keys, and its function is different because of the performed software program of electronic system 100.Button 215 is off-hook (off-hook) buttons; Button 216 is on-hook (on-hook) buttons.Button 217 is the directionkeys that are used for controlling the moving direction of cursor shown in the display 30 of electronic system 100.On button 201 ~ 212 pairing numerals, letter and/or symbol display each button in Fig. 2 A, yet be not to be used to limit the present invention.
2. the embodiment of audio data positioning method
The numeral of the numerical key input electric subsystem 100 of input block 40 possibly be used for carrying out different functions.For instance, the pairing channel of said number is chosen and switched to the numeral of numerical key input electric subsystem 100 for electronic system 100 Outgoing Call or see news in brief off according to this, or as the broadcasting channel number for electronic system 100 as telephone code number.The numeral of numerical key input electric subsystem 100 is used as the index of audio data location in following embodiment.Electronic system 100 needs decision to receive the corresponding function of numeral.Yet input block 40 operations beyond the numerical key also can be used for the audio data location.Following audio data positioning method can be done with computer program is real, and is executed in electronic system 100.
2.1 first embodiment
Please with reference to Fig. 3 A, processor 10 is differentiated electronic system 100 whether in audio-frequency play mode (step S31) after the input operation that receives input block 40 (step S30).When electronic system 100 is not at audio-frequency play mode, processor 10 is used for other function (step S32) with the input operation that receives.Input operation among the step S30 can comprise numeral, and when electronic system 100 is not at audio-frequency play mode, processor 10 is the required number of other function, for example telephone number or channel number with the digital conversion that receives.For instance, processor 10 shows on display 30 that in audio-frequency play mode audio data plays relevant user's interface, when electronic system 100 at audio-frequency play mode, processor 10 is used for audio data location (step S33) with the input operation that receives.In step S33, processor 10 is obtained ad-hoc location or the fragment in the audio data.Processor 10 judges that whether electronic system 100 is just at audio plays (step S34).In this way, processor 10 can directly be carried out preset audio operation (step S37) to said ad-hoc location of obtaining or fragment.As not, processor 10 receives audio operation options (step S35), and said audio data is carried out said option corresponding audio operation (step S36).For instance, audio operation comprises voice playing, F.F. (fast forward), rewind down (rewind), bookmark setting or repeat play.Preset audio operation among the step S37 can be the voice playing operation.Input block 40 can comprise the corresponding button of audio operation option, and processor 10 also can be shown in display 30 with the audio operation option.
There is embodiment miscellaneous the audio data location of step S33, below illustrates.Electronic system 100 utilizes timer with one period predetermined operating period of timing.In said predetermined operating period, processor 10 is if receive more numerals, then can more accurate unit obtains ad-hoc location or fragment in the audio data 70 with the execution audio operation.For instance, in said predetermined operating period, processor 10 is if receive more numerals, then can get over the fragment that accurately obtains in the audio data 70 and skip over operation as the base unit that skips over operation of audio data with execution.When processor 10 when just the current position in audio data 70 is being play audio frequency wherein; Skip over broadcast that operation is used for driving audio data 70 switches to audio data 70 from said current position first target location forward; The time of the said current position of access is early than the time of said first target location of access during wherein said processor 10 audio plays data 70; Skip over broadcast that operation is used for driving audio data 70 backward and switch to second target location of audio data 70 from said current position, the time of said first target location of access is early than the time of the time of the said current position of access during wherein said processor 10 audio plays data 70.
Processor 10 is obtained audio data 70 and is carried out following audio data positioning method.Need be appreciated that audio data 70 can be a single song audio data, or the audio data of a plurality of songs.For instance, audio data 70 is audio datas of in a playing list (playlist), accordinging to a plurality of songs after particular order is arranged.Playing list comprises N voice data item, and wherein N is the positive integer greater than 0.The broadcasting speed that said audio data positioning method also can be used to locate on the broadcasting speed Control Shaft of the selected or voice playing of volume on the volume Control Shaft of location, voice playing of video data is selected.The handled data of audio data positioning method can be called " pending object ".When said processor 10 is carried out audio data positioning method; Calculate the total length of pending object earlier; The numeral that obtains according to the operation that receives from input block 40 again; Said digital conversion is become in the said pending object position with respect to its said total length, with the location and obtain the said position in the said pending object.For instance; When audio data 70 is stored in the non-voltile memory with specific coding and compressed format, said processor 10 can deduct start address to calculate the total length of audio data 70 with archives end address in said non-voltile memory of audio data 70.In other embodiments; If audio data 70 is stored in the non-voltile memory with specific coding and compressed format; Said processor 10 can and decompress audio data 70 decodings, to obtain audio data 70 decodings and to separate the audio sample waveform information after contracting.Said processor 10 can be according to said decoding and the sampling frequency of separating audio sample waveform information and audio data 70 after contracting to calculate total reproduction time length of audio data 70.Said processor 10 can and be separated on the audio sample waveform information after contracting and carry out audio data positioning method in decoding.Pending to as if the situation of volume Control Shaft under, said processor 10 can be according to the max volume of electronic system 100 and minimal volume to calculate the total length of pending object.Pending to as if the situation of broadcasting speed Control Shaft under, said processor 10 can be according to the maximum broadcasting speed of electronic system 100 and minimum broadcasting speed to calculate the total length of pending object.Pending to as if the situation of playing list under, said processor 10 can calculate song number in the playing list as the total length of pending object.The execution sequence of following audio data positioning method process flow diagram can be with reference to the arrow in each process flow diagram.
Fig. 3 B shows a kind of embodiment of the audio data positioning method that is executed in electronic system 100.Electronic system 100 is in audio-frequency play mode, and present active user's interface module (active GUI element) is the progress axle, so be used for progress axle corresponding audio data is located when processor 10 receives numeral.
Processor 10 receives first numeral of input from numerical key, for example numeral 0,1,2,3 ... Or 9 (step S300), and beginning timer 50 is with timing length (step S302).
Processor 10 according to the said numeral that has received with generation time information; Corresponding to the progress shaft position on the progress axle of audio data 70; And the ad-hoc location in the audio data 70 (step S304), and the address information (step S306) of the said ad-hoc location of generation audio data 70.For instance, processor 10 receives numeral " 3 " in step S300, in step S304, can convert numeral " 3 " to temporal information 00:00:03, promptly 0 hour 0 minute 3 seconds.Processor 10 can produce the address information of corresponding time 00:00:03 in the audio data 70.
Processor 10 is differentiated said timer 50, and whether timing finishes (incident A), or receives second numeral (incident B) (step S307) from said a plurality of numerical keys.
Among the step S307; As receive another second numeral (incident B) from said a plurality of numerical keys; Processor 10 replacement timers 50 (step S308) then; Utilize all numerals that receive (comprising said first and second numeral) to replace the temporal information of previous generation, corresponding to the new ad-hoc location (step S310) in the said audio data 70 with generation time information.Repeated execution of steps S306 is with the address information of the said new ad-hoc location that produces audio data 70.For instance, processor 10 receives numeral " 5 " in step S307, in step S310, can numeral " 3 " be reached " 5 " and convert temporal information 00:00:35 to, promptly 0 hour 0 minute 35 seconds.In like manner, when repeated execution of steps S307, processor 10 receives numeral " 2 ", in step S310, can numeral " 3 ", " 5 " reached " 2 " and convert temporal information 00:03:52 to, promptly 0 hour 3 minutes 52 seconds.If processor 10 receives numeral " 3 ", " 5 ", " 2 ", " 1 " and reach " 0 ", can digital " 35210 " be converted to temporal information 03:52:10, promptly 3 hours 52 minutes 10 seconds.Need be appreciated that temporal information can represent with various form, for example only show every minute and second and omit hour (hour), or omit separator ": " between the every minute and second, perhaps represent with different separators.Processor 10 also can be used diverse ways generation time information.
Finish (incident A) like timer 50 timing; The timing end of the said timers of 10 of processors response obtains in the said audio data ad-hoc location (step S312) corresponding to the temporal information of said generation, and according to said ad-hoc location the fragment of audio data is carried out audio operation (step S314).Please with reference to the 4th figure; If the temporal information that processor 10 produces is 00:35; Promptly 35 seconds, processor 10 was obtained the position 21 of corresponding reproduction time 00:35 in the audio data 70 in step S306, and on display 30, showed the homologue of audio data 70; Be progress axle 300, and figure 31 is used for the position of corresponding 00:35 on the indicating progress axle 300.
For instance, processor 10 can begin the audio plays data from said ad-hoc location (for example the position 21) among the step S314, or sets bookmark.Among the step S314, processor 10 can respond timer 50 timing and finish automatically to carry out said audio operation, or the operation of other assembly of response input block 40 and carry out said corresponding audio operation.
If from the temporal information of the input block 40 input reproduction time length greater than audio data, processor 10 can show error messages.Perhaps, the time message that processor 10 can the person's of avoiding the use of input error.
For instance, the reproduction time length overall of audio data 70 is 3:45 (3 minutes and 45 seconds).Electronic system 100 has a plurality of variable a1, a2, and a3, and a4, the default value of each all is made as 0.Processor 10 is obtained numeral from input block 40 at every turn and is deposited a1 in regular turn in, a2, a3, and one of them of a4.In step S304 and 310, (10 * a1+a2) result is as minute value in the temporal information that produces, and (10 * a3+a4) result is as value in the second in the temporal information that produces with formula with formula for processor 10.In following explanation, symbol " ← " expression processor 10 deposits the value on said symbol the right or the variate-value on said symbol the right in the variable on the said symbol left side in.When carrying out the displacement operation to the right of said variable, processor 10 carries out a4 ← a3 in proper order, a3 ← a2, and a2 ← a1, and a1 ← 0, and carry out a1 ← a2 in proper order, a2 ← a3, a3 ← a4, and a4 ← 0 when carrying out the displacement operation left of said variable.When processor 10 receives numeral " 3 " in step S300, carry out a1 ← 3, and generation time information 30:00.Processor 10 more said temporal information 30:00 and said time length overall 3:45 judge the time length overall 3:45 of the said temporal information 30:00 of warp conversion generation greater than said audio data 70.Processor 10 produces new temporal information 03:00, promptly 3 minutes and 0 second with said temporal information 30:00 displacement to the right in step S304.Processor 10 can produce the address information of corresponding time 03:00 in the audio data 70 in step S306.Then, when processor 10 receives numeral " 2 " in step S307, carry out a2 ← 2.Processor 10 can reach " 2 " with numeral " 3 " and convert temporal information temporal information 32:00 to, promptly 32 minutes and 00 second in step S310.The said time length overall 3:45 of processor 10 more said temporal information 32:00 and audio data 70 judges the time length overall 3:45 of the said temporal information 32:00 of warp conversion generation greater than said audio data 70.Processor 10 produces new temporal information 03:20, promptly 3 minutes and 2 seconds with said temporal information 32:00 displacement to the right in step S304.
If but processor 10 receives numeral " 5 " in step S307, carry out a2 ← 5.Processor 10 can reach " 5 " with numeral " 3 " and convert temporal information temporal information 35:00 to, promptly 35 minutes and 00 second in step S310.Processor 10 more said temporal information 35:50 and said time length overall 3:45 judge the time length overall 3:45 of the said temporal information of warp conversion generation greater than said audio data 70.Processor 10 produces new temporal information 03:50, promptly 3 minutes and 50 seconds with said temporal information 32:00 displacement to the right in step S304.Processor 10 more said temporal information 03:50 and said time length overall 3:45 judge the time length overall 3:45 of the said temporal information of warp conversion generation greater than said audio data 70.Processor 10 with said temporal information 03:50 once more displacement to the right produce new temporal information 00:35, promptly 0 minute and 35 seconds.
In first embodiment with the temporal information of audio data reference mark as the said audio data of random access.Below the embodiment that audio data is segmented into any five equilibrium will be described.
2.2 second embodiment
Fig. 3 C shows second embodiment of audio data 70 localization methods that are executed in electronic system 100.When present active user's interface module of electronic system 100 is the volume Control Shaft; The volume Control Shaft is the pending object that processor 10 is carried out following audio data positioning method, and processor 10 receives numeral can be used for selecting the target location on the volume Control Shaft.When present active user's interface module of electronic system 100 is the broadcasting speed Control Shaft; The broadcasting speed Control Shaft is the pending object that processor 10 is carried out following audio data positioning method, and processor 10 receives numeral can be used for selecting the target location on the broadcasting speed Control Shaft.When present active user's interface module of electronic system 100 is the scroll bar of playing list; Said scroll bar is the pending object that processor 10 is carried out following audio data positioning method, and processor 10 receives numeral can be used for selecting the target location on the said scroll bar.Below explanation is audio data 70 with present active user's interface module of electronic system 100 only the progress axle is an instance.Electronic system 100 is in audio-frequency play mode; Progress axle and corresponding audio data 70 thereof are all the pending object that processor 10 is carried out following audio data positioning method, so be used for progress axle corresponding audio data is located when processor 10 receives numeral.
Processor 10 receives the first digital m and the second digital n (step S320) of input from input block 40.For instance, m and n are all numeral, and m and n are all greater than 0 and less than 9.
The said first digital m that has received of processor 10 responses is a m fragment with pending object fragments, and the progress axle that also is about to audio data 70 and correspondence thereof is segmented into m fragment (step S322).The length of each fragment of audio data 70 is D/m.Please with reference to Fig. 5, as if m=5, n=2, processor 10 is divided into 5 fragments with audio data 70, that is segments is by the first digital m decision.For instance; In step S322; To be D with the total length of audio data 70 skip over the new unit of operation divided by 5 as audio frequency with processor 10, and the position of obtaining corresponding reproduction time 0, D/5,2D/5,3D/5,4D/5 and 5D/5 on the audio data 70 is to distinguish said 5 fragments.The length of each fragment of audio data 70 is D/5.
The said second digital n that has received of processor 10 response with m fragment n the particular segment wherein that obtains said pending object, that is obtains m fragment n the particular segment (step S324) wherein of audio data 70 and progress axle thereof.Please with reference to Fig. 5, if m=5, n=2, processor 10 obtain the 2nd fragment in the audio data 70, that is fragment 72B, and the end of its homologous segment 72A on progress axle 300 is by figure 31 indications.The fragment order that processor 10 is obtained is by the second digital n decision.
10 pairs of said particular segment executable operations that obtain of processor, that is to n particular segment execution audio operation (step S326).As shown in Figure 5, processor 10 can be from the back-end location 72 beginning audio plays data of said particular segment among the step S326, and the correspondence position of position 72 on progress axle 300 is by figure 31 indications.Yet this is not to be used for limiting the present invention, and processor 10 can begin the audio plays data from front end, rear end, centre or other position of said particular segment among the step S326.
After the step S326,, can repeat by processor 10 the said method of Fig. 3 C when receiving two stroke numerals once more, with processing audio data 70 once more.Please with reference to Fig. 6; If m=4, n=3, processor 10 is divided into 4 progress axle fragments with progress axle 300; Also audio data 70 is divided into 4 audio fragments, chooses the 3rd progress axle fragment of progress axle 300 and obtain the terminal position 73 of the 3rd fragment in the audio data 70.Processor 10 can progress displaying axle 300 the color of the 1st to the 3rd progress axle fragment be different from the color of the 4th progress axle fragment.
Be called selected fragment by the figure 31 indicated pairing audio data fragments of fragment on the progress axle 300 among Fig. 5.Can change the adjacent segment of the position of figure 31 by the directionkeys in the input block 40 or by contactor control device, the adjacent segment that therefore to change said selected fragment be fragment 72B to fragment 72A.Operate by the directionkeys in the input block 40; The operating point 219a that for example activates button 217 is exactly to be equivalent to skip over operation (forward skipping) forward with the operation that moves to right-hand next fragment of turning right of said selected fragment, and the operating point 221a that for example activates button 217 is exactly to be equivalent to skip over operation (backward skipping) backward with the operation that moves to the next fragment of left of turning left of said selected fragment.Therefore utilize this embodiment, processor 10 can adjust the parasang that the forward/backward of audio data 70 when playing skips over operation.
In the example of Fig. 5; The pairing audio data fragment of the second fragment 72A of processor 10 selected progress axles 300; The 2nd fragment 72B of audio data 70 just; Processor 10 can response button 217 operating point 220a activate and with said the 2nd fragment 72B as new audio data, according to the first digital m of previous reception said particular segment is subdivided into the m sub-segment again.The length of each the sub-fragment after the said particular segment of audio data 70 is segmented again is D/m2.For instance, in step S322, to be D/5 with the total length of fragment 72B skip over the new unit of operation divided by 5 as audio frequency with processor 10, and the position of obtaining corresponding following reproduction time on the audio data 70 is to distinguish a said m fragment:
As shown in Figure 7, progress axle 320 representative progress axle fragment 72A are corresponding to audio fragment 72B.Processor 10 is subdivided into 5 sub-segment according to the previous first digital m=5 that receives to fragment 72A and fragment 72B again.5 fragments in the progress axle 320 are represented 5 less sub-fragments among the fragment 72B.Among Fig. 7,32 in figure refers to selected sub-fragment, the position 721 of the position correspondence of figure 32 in fragment 72B.Same, can utilize button 217 mobile graphics 32 and the sub-fragment of reelecting other as selected fragment.
Present active user's interface module (active GUI element) is a progress axle 320 on display 30; So when processor 10 received two stroke numerals once more, the step S that can repeat among Fig. 3 C segmented with the fragment 72B to progress axle 320 correspondences again.Please with reference to Fig. 8, if processor 10 receives digital m=10 and n=5 again, processor 10 is subdivided into 10 fragments again with fragment 72B, and obtains the 5th fragment wherein.
Do not having on the device of numerical key, can be with directionkeys or skip over operating key forward or backward and select the wherein fragment in the audio data.Fig. 2 B shows another embodiment input block 40b of input block 40.Button 42 is used for driving and skips over operation forward, and button 44 is used for driving and skips over operation backward, and button 45 is used to drive audio plays or suspends audio plays.Contactor control device 46 is colyliform shown in Fig. 2 B.Touch trajectory clockwise on the contactor control device 46 also can drive and skip over operation forward.Counterclockwise touch trajectory on the contactor control device 46 also can drive and skip over operation backward.Storer 20 can store with the predetermined number y that decides the audio data number of fragments in advance.Numeral y can be any greater than 1 positive integer.In audio-frequency play mode, when button 42 activated, processor 10 was obtained first fragment in y the fragment of audio data 70.When button 42 activated for the second time, processor 10 was obtained the second right-hand fragment of first fragment.When button 44 activated, processor 10 was obtained first fragment of the second fragment left.When button 41 or 43 activated, processor 10 was subdivided into the y sub-segment again with the fragment that obtains.
2.3 the 3rd embodiment
Fig. 3 D shows the 3rd embodiment of the audio data positioning method that is executed in electronic system 100.Storer 20 can store with the predetermined number z that decides the audio data number of fragments in advance.Numeral z can be any greater than 1 positive integer.
Processor 10 receives the digital c (step S330) of input from the numerical key of input block 40, and begins said timer 50 with timing length (step S332).
The said digital c that has received of processor 10 responses is segmented into a predetermined quantity z fragment (step S334) with audio data 70 and corresponding progress axle thereof, and obtains c fragment (step S336) wherein.The length of each fragment of audio data 70 is D/z.Processor 10 is D skips over operation as audio frequency divided by z a new unit with the total length of audio data 70.For instance, z=10 and c=7, processor 10 as shown in Figure 9 is divided into 10 fragments with progress axle 300, and the length of each fragment is D/10, and obtains the 7th fragment 77A wherein, and with the terminal position of figure 31 indication fragment 77A.Progress axle 300 is electronic system 100 present active user's interface modules, so be the main body that processor 10 is made positioning action corresponding to the audio data of progress axle.Corresponding to progress axle 300, audio data 70 is divided into 10 fragments, and obtains the 7th fragment 77B wherein, corresponding to fragment 77A according to digital c.Position 779 is corresponding to the position of figure 31 indications.
Processor 10 is differentiated timers 50, and whether timing finishes (incident A), whether does not receive another digital d (incident B) (step S338) from the numerical key of input block 40 before said timer 50 timing finish.
50 timing do not finish to receive in the past another digital d (incident B) like timer; Then said another the digital d of processor 10 responses is subdivided into a predetermined quantity z fragment (step S340) again with said particular segment and corresponding progress axle fragment thereof; Obtain d the fragment (step S342) in a plurality of fragments after segmenting again, and the said timer 50 (step S344) of resetting.The length of each the sub-fragment after the said particular segment of audio data 70 is segmented again is D/z2.Processor 10 skips over the new unit of operation as audio frequency with sub-fragment length D/z2.For instance, d=5, processor 10 is further divided into 10 fragments with the 7th fragment of audio data 70, and obtains the 5th fragment wherein.Shown in figure 10, processor 10 is further divided into 10 fragments with the 7th fragment 77B of audio data 70, and obtains the 5th fragment 775B wherein.The progress axle 320 of display 30 is represented fragment 77A among Figure 10, and fragment 77A represents fragment 77B.Processor 10 is divided into 10 fragments to progress axle 320, obtains the 5th fragment 775A in the progress axle 320 according to digital d again, and it represents fragment 775B.In like manner, can segment once more fragment 775B via the said step S that repeats Fig. 3 D.
Finish (incident A) like said timer 50 timing, then 10 pairs of said fragments that obtain of processor are carried out audio operation (step S346).In the example of Figure 10, be that the terminal position 775 to fragment 775B begins to carry out audio operation.
Do not having on the device of numerical key, can or skip over operating key forward or backward with left button, the right button of directionkeys and select the wherein fragment in the audio data, and with upwarding key, down Arrow or another key to drive the operation that certain fragment is segmented again.
2.4 the 4th embodiment
Fig. 3 E shows the 4th embodiment of the audio data positioning method that is executed in electronic system 100.Electronic system 100 has a plurality of variable a1, a2, and a3 ... an, the default value of each all is made as 0.Processor 10 is obtained numerical order from input block 40 at every turn and is deposited a1 in, a2, and a3 ... the one of which of an.
Processor 10 receives the first digital e that imports from the numerical key of input block 40, deposits digital e in a1, that is carries out a1 ← e (step S350), and begins said timer 50 with timing length (step S352).
Processor 10 producing percent value (step S354), and is obtained the position (step S356) of corresponding said percent value in the audio data 70 according to digital e.For instance, percent value m is:
When processor 10 is obtained the first digital e=9, processor 10 according to numeral 9 and formula (1) to produce percent value 90%.Shown in figure 11, from the length of front end to the position 790 of audio data 70 be audio data 70 total length 90%.Processor 10 is obtained the position 790 of corresponding said percent value 90% in the audio data 70.
Processor 10 is differentiated timers 50, and whether timing finishes (incident A), and whether perhaps said timer 50 receives the second digital f (incident B) (step S360) from the numerical key of input block 40 before timing finishes.
As receive the second digital f (incident B), then processor 10, deposit digital f in a2, that is carry out a2 ← f, the said timer 50 (step S362) of resetting, and according to all numerals that received to produce percent value to replace previous percent value (step S364).
For instance, if e=9, the percent value mnew that f=5 is new is:
mnew=1%×(102-1a1+102-2a2+102-3a3+…102-nan)
=1%×(101×9+100×5+0…+0)
=1%×(90+5+0…+0)
=95%
For instance, if e=0, the percent value mnew that f=5 is new is:
mnew=1%×(102-1a1+102-2a2+102-3a3+…102-nan)
=1%×(101×0+100×5+0…+0)
=1%×(0+5+0…+0)
=5%
Then, processor 10 is obtained the position (step S366) of corresponding said percent value in the audio data 70, and repeating step S360.
If timer 50 timing finish (incident A), processor 10 is carried out audio operation (step S368) according to the said position of obtaining.
3. embodiment changes
Processor 10 can utilize said method on the position that said audio data is obtained, to set bookmark.Comprise in the instance of Touch Screen formation at display 30, can on said position, set bookmark, and then the relative position on the audio data is set bookmark via the position on the click progress axle.The operation that processor 10 can respond input block 40 obtains bookmark institute correspondence position in the audio data 70, and the beginning audio operation.Can set a plurality of bookmarks on the audio data.Shown in figure 12, processor 10 utilizes wherein one or more embodiments of said method at progress axle 300 bookmark 332 and 333 to be set, and obtains the position 792 and 793 on the audio data, and on position 792 and 793, bookmark is set.
Can define a section audio data fragment between two bookmarks.Said audio frequency localization method is that the length with the audio data of regular length is the basis, to calculate the ad-hoc location in the said length.Said localization method can be applied in the fragment between two bookmarks setting on the audio data, that is the fragment length between said two bookmarks can be used as the total length of pending object in the said positioning action.The fragment of processor 10 between two bookmarks carried out said localization method to obtain the position on it.
Electronic system 100 can be a group with audio fragment of obtaining through said method or the set of its locating information, uses for the specific function of electronic system 100.In electronic system 100 is in the instance of mobile phone; When electronic system 100 receives incoming call; Processor 10 can select a bookmark to begin the audio plays data in the corresponding position of this bookmark with random fashion; Or select an audio fragment beginning to play this audio fragment, with as the incoming call prompting the tinkle of bells.
Said various audio data positioning method can use different input syntaxs.For instance, in audio data positioning method the 3rd embodiment, input block 40 receiving symbols " # " are to separate said digital m and n.Processor 10 can utilize said audio data positioning method, and the numeral that response receives is to distinguish 3dpa data 70, volume Control Shaft, to reach the broadcasting speed Control Shaft.For instance; When processor 10 receives " 51*41*32 "; Wherein symbol " * " separates three stroke numerals; Processor 10 response numeral " 51 " wherein is to obtain in the audio data 70 the 1st fragment in 5 audio fragments; Wherein numeral " 41 " of response with the 1st fragment terminal position in 4 fragments of volume Control Shaft in the play mode that obtains audio data 70 as the target location, response numeral " 32 " wherein with the 2nd fragment terminal position in 3 fragments of broadcasting speed Control Shaft in the play mode that obtains audio data 70 as the target location.
Processor 10 can show the menu that comprises the option that is used to activate various audio data positioning method embodiments in display 30.Electronic system 100 can receive choosing to carry out a wherein embodiment of audio data positioning method on the said menu.
Said audio data positioning method also can be used to show the window of playing list on display 30 of audio data.For instance, processor 10 according to the comparation and assessment value of certain attribute of voice data item to arrange a plurality of audio datas in the playing list.Each voice data item can have single or a plurality ofly can receive the attribute that the user sets the comparation and assessment value.The production method of the comparation and assessment value of voice data item is explained as follows:
When processor 10 when input block 40 receives move operations, the said move operation of processor 10 responses is to produce the comparation and assessment value of the relevant voice data item of said move operation.Processor 10 can according to said move operation on a window edge projected position to determine the comparation and assessment value of said relevant voice data item.Said move operation can be the Touch Screen of input block 40, the touch trajectory on the Trackpad, or the move operation that mouse or trace ball etc. produced.
Shown in figure 13, processor 10 receives move operation 350 from input block 40.The length of scroll bar 39 is represented the length of playing list 370 among Figure 13, the audio data shown in cursor 38 display windows 310 in playing list 370 the position and in playing list 370 length shared ratio.Said move operation 350 starts from position 340 to window 310 edges on the corresponding GUI assembly 37 of playing list sound intermediate frequency data " SONG000104 ", the position 360 on the scroll bar 39.Processor 10 produces the comparation and assessment value of audio data " SONG000104 " according to position on window 310 edges 360.GUI assembly 37 can be the character area that shows the title of audio data " SONG000104 ".
For instance; The comparation and assessment maximal value of supposing audio data is that to appraise through comparison minimum value be m to M; And the height of window 310 is H1; Position 360 is h1 with the distance of the bottom of window 310, and when then processor 10 was from input block 40 reception move operations 350, the comparation and assessment value of setting audio data " SONG000104 " was:
(M-m)×h1/H1 (2)
Processor 10 can be adjusted the degree of accuracy of the comparation and assessment value that produces according to said formula (2).
In another embodiment, the move operation terminal point of generation comparation and assessment value need be on scroll bar.Shown in figure 14, processor 10 receives move operation 351 from input block 40.Said move operation 351 starts from position 341 to the position 361a on the corresponding GUI assembly 37 of playing list sound intermediate frequency data " SONG000104 ".The position 361b on Shen to window 310 edges is prolonged with the straight line that 361a is determined in position 341.Processor 10 is according to the comparation and assessment value that produces audio data " SONG000104 " at position 361b on window 310 edges.
In another embodiment, processor 10 shows the play mode of audio data 37.Shown in figure 15, processor 10 progress displaying axles 391, button 392-394 and volume Control Shaft 395 are in display 30.Button 393 is used to drive the broadcast or the time-out of audio data.Button 392 and 394 is used to drive reaching forward of audio data and skips over operation backward.Processor 10 receives move operation 352 from input block 40.Said move operation 352 starts from position 342 to the position 362a on the corresponding GUI assembly 371 of playing list sound intermediate frequency data " SONG000104 ".GUI assembly 371 can be the viewing area, is used to show the relevant static state or the dynamic image of audio data " SONG000104 ".The position 362b on Shen to window 311 edges is prolonged with the straight line that 362a is determined in position 342.Processor 10 is according to the comparation and assessment value that produces audio data " SONG000104 " at position 362b on window 311 edges.For instance, the height of supposing window 311 is H2, and the distance of the bottom of position 362b and window 311 is h2, and when then processor 10 was from input block 40 reception move operations 352, the comparation and assessment value of setting audio data 37 was:
(M-m)×h2/H2
Characteristics such as window 310 and 311 height or size can be different.With full- size display window 310 and 311 under the situation of display 30, window 310 and 311 size can be equal to the size of the viewing area of display 30.
Figure 16 shows that the audio data positioning method that is executed in electronic system 100 is applied to playing list.Electronic system 100 is in the pattern of inventory that displays the play, and present active user's interface module is a playing list, so be used for playing list corresponding audio data is located when processor 10 receives numeral.
Processor 10 receives the first digital m and the second digital n (step S1320) of input from input block 40.For instance, m and n are all numeral, and m and n are all greater than 0 and less than 9.
The said first digital m that has received of
processor 10 responses is segmented into m fragment (step S1322) with playing list and corresponding scroll
bar thereof.Processor 10 with the total length of playing list be C divided by the integer among the result of m, as the new unit of playing list scrolling operation, in window, show the number of voice data item as processor 10.For instance,
processor 10 shows
or
individual voice data item at every turn in window.The said second digital n that has received of
processor 10 response is to obtain m fragment n the particular segment (step S1324) wherein of playing list and corresponding scroll bar thereof.If m=8, n=2,
processor 10 is divided into 8 fragments according to the first digital m with playing list.For instance; Playing
list 370 have 32 audio datas, in step S1322,
processor 10 has 32 audio datas divided by 8 with playing list; Obtain 4,
processor 10 responds each playing list scrolling operation requests to show 4 voice data items.
Processor 10 shows the window (step S1326) of the said particular segment that obtains on display 30.Processor 10 can or dwindle to adapt to the size of said window the execution of the voice data item in said particular segment size amplification., can repeat by processor 10 method of Figure 16 when receiving two stroke numerals once more, to handle playing list once more.Please, for instance, have 32 voice data items as if playing list 370 with reference to Figure 13, and m=4, n=3, processor 10 is divided into 4 fragments with playing list, and the 3rd fragment in the inventory that displays the play is in window 310.
Can change the adjacent segment that is shown fragment at present by the directionkeys in the input block 40 or by contactor control device.By the operation of the directionkeys in the input block 40, the operating point 218a that for example activates button 217 is to show a last fragment, and the operating point 220a that for example activates button 217 is to show next fragment.Therefore utilize this embodiment, processor 10 can adjust the parasang of the scrolling operation of playing list.
Processor 10 can response button 217 operating point 219a activate, according to the previous first digital m that receives the fragment of present demonstration is subdivided into the m sub-segment again.Processor 10 can response button 217 operating point 221a activate, replys the playing list demonstration before the said segmentation again.
In the example of Figure 13; Present active user's interface module is a playing list fragment shown in the window 310 on the display 30; So when processor 10 receives two stroke numerals once more, can repeat step among Figure 16 so that playing list fragment shown in the window 310 is segmented again.
4. conclusion
Said audio data positioning method can utilize playing list and the playing progress rate of numeral with the 3dpa data.Said audio data positioning method can be executed in various electronic installations with voice playing function, for example box, mobile phone, game machine and Portable media player on the digital television.