METHOD AND ELECTRONIC UNIT FOR ADJUSTING PLAYBACK SPEED OF MEDIA FILES
A method for adjusting speed of playback of at least a segment of a media file, comprising generating a text file by speech-to-text conversion of the media file; and determining a speed measure for the media file, including determining a plurality of speech elements in the text file, and associating a time stamp for each speech element of the generated text file. The method may further include determining a degree of comprehensibility of the media file; and adjusting a current speed of playback of the media file based on the determined speed measure and the determined degree of comprehensibility.
1 . A method for adjusting speed of playback of at least a segment of a media file, comprising:
generating a text file by speech-to-text conversion of the media file;
determining a speed measure for the media file, including
determining a plurality of speech elements in the text file;
associating a time stamp for each speech element of the generated text file;
determining a degree of comprehensibility of the media file;
adjusting a current speed of playback of the media file based on the determined speed measure and the determined degree of comprehensibility.
2 . The method of claim 1 , wherein the step of adjusting the current speed of playback is based on a relation between the determined speed measure and a predetermined speed measure.
3 . The method of claim 1 , wherein the step of adjusting the current speed of playback includes changing to the speed of playback towards a playback speed associated with a predetermined speed measure.
4 . The method of claim 1 , wherein the step of determining a degree of comprehensibility includes computing a readability score from the text file based on a predetermined rule.
5 . The method of claim 4 , wherein the readability score is computed based on at least one of number of words per sentence, number of characters per word, number of long words, and word frequency.
6 . The method of claim 4 , wherein the readability score is computed based on a first measure comprising a calculated number of words per segment of words.
7 . The method of claim 4 , wherein the readability score is computed based on a combination of
a first measure comprising a calculated number of words per segment of words; and
a second measure associated with the number of characters per word.
8 . The method of claim 1 , wherein the degree of comprehensibility is determined based on a characteristic parameter of the media file associated with at least one of sound quality, language, dialect, topic and speaker.
9 . The method of claim 4 , wherein the step of adjusting the current speed of playback includes changing the speed of playback towards a playback speed associated with a predetermined speed measure, to a degree dependent on said readability score.
10 . The method of claim 1 , wherein the step of adjusting the current speed of playback includes changing the speed of playback to a pre-set playback speed associated with the determined degree of comprehensibility.
11 . The method of claim 1 , comprising
determining an intended playback user,
wherein the step of adjusting a current speed of playback is carried out in accordance with a user-dependent rule.
12 . The method of claim 1 , wherein the step of determining a degree of comprehensibility includes
determining a characteristic parameter of the media file associated with at least one of sound quality, language, dialect, topic and speaker of the media file;
determining an intended playback user;
determining a predetermined speed measure associated with the intended user;
wherein the speed of playback is adjusted to accommodate to the predetermined speed measure.
13 . The method of claim 1 , comprising
Identifying at least a first section and a second section of the media file;
separately computing the readability score, determining the degree of comprehensibility, and adjusting the current speed of playback for said first segment and said second segment, respectively.
14 . The method according to claim 1 , wherein the elements of speech is any of syllables, words, characters or part of words.
15 . The method of claim 1 , comprising
identifying parts of the generated text file where the degree of comprehensibility differs; and
adjusting a current speed of playback of the identified parts of the media file to a pre-set speed of playback based on the determined degree of comprehensibility.
16 . The method of claim 1 , wherein the adjusting of current speed of playback is performed continuously and/or automatically.
17 . An electronic unit for adjusting speed of playback of a media file, comprising a processing circuitry, and a memory holding computer readable program code, which, when executed by the processing circuitry, causes the electronic device to:
generate a text file by speech-to-text conversion of the media file;
determine a speed measure for the media file, including
determining a plurality of speech elements in the text file;
associating a time stamp for each speech element of the generated text file;
determine a degree of comprehensibility of the media file;
adjust a current speed of playback of the media file based on the determined speed measure and the determined degree of comprehensibility.
18 . The electronic device of claim 17 , wherein the execution of the computer readable program code causes the electronic device to
compute a readability score from the text file based on a predetermined rule.
19 . The electronic device of claim 17 , wherein the execution of the computer readable program code causes the electronic device to
adjust a current speed of playback by changing the speed of playback towards a playback speed associated with a predetermined speed measure, to a degree dependent on said readability score.
20 . The electronic device of claim 17 , wherein the execution of the computer readable program code causes the electronic device to
determine an intended playback user, wherein the step of adjusting a current speed of playback is carried out in accordance with a user-dependent rule.