CN110647267A - Multilingual voice scripture playing method and device and computer readable storage medium - Google Patents

Multilingual voice scripture playing method and device and computer readable storage medium Download PDF

Info

Publication number
CN110647267A
CN110647267A CN201910895209.1A CN201910895209A CN110647267A CN 110647267 A CN110647267 A CN 110647267A CN 201910895209 A CN201910895209 A CN 201910895209A CN 110647267 A CN110647267 A CN 110647267A
Authority
CN
China
Prior art keywords
scripture
language
chapter
playing
speech
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910895209.1A
Other languages
Chinese (zh)
Inventor
杨二炯
张金峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Siyuan Innovation Technology Co Ltd
Original Assignee
Shenzhen Siyuan Innovation Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Siyuan Innovation Technology Co Ltd filed Critical Shenzhen Siyuan Innovation Technology Co Ltd
Priority to CN201910895209.1A priority Critical patent/CN110647267A/en
Publication of CN110647267A publication Critical patent/CN110647267A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Abstract

A multi-language voice channel playing method and device are provided, wherein the method comprises the following steps: receiving a Chinese language voice selection instruction; determining a scripture playing language or a speech of a reader corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction; when the scripture playing language or the speech of a reader is used for playing scripture, if a scripture chapter selection instruction is received, skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction; and playing the scripture audio file corresponding to the scripture playing language or the speech of the reader corresponding to the target scripture chapter by the scripture language speech selection instruction. Compared with the scheme in the prior art, the technical scheme provided by the invention omits the complex operation of the conventional scripture player, and brings great convenience to users, especially to the scripture study of a scripture beginner.

Description

Multilingual voice scripture playing method and device and computer readable storage medium
Technical Field
The invention relates to the field of players, in particular to a method and a device for playing a multi-language voice channel text and a computer readable storage medium.
Background
The traditional method is that one religious person reads the classics, and other religious persons read the classics. With the development of speech processing technology, a scripture can be recorded to an electronic storage medium through a computer software method, and played by a player after the electronic storage medium is inserted into the player, and a religious person listens to or reads along with the player. The popularization of the scripture player provides great convenience for the study of a scripture beginner.
The existing scripture player simply disposes a number key on a remote controller. If a user wants to play a certain section of scripture, the user needs to input corresponding number keys, so that the user does not feel inconvenience under the scene of short scripture and few chapters. However, many scriptures are long, chapters-rich and may be recorded and stored to the player after being recited by different readers or languages of various countries. Thus, when playing a certain scripture, the user, especially the scripture beginner needs to calculate the corresponding number or combination of the number keys of the target scripture elaborately to reach the target scripture, and when having a plurality of readers and languages, the user needs to listen to the target scripture of the target reader or language, which requires more complicated operations.
In summary, the conventional scripture player is cumbersome to operate and inconvenient for users, especially beginners of scriptures.
Disclosure of Invention
The invention provides a method and a device for playing a scripture by multilingual voice and a computer readable storage medium, which are used for solving the problems of complex operation and inconvenient use of the conventional scripture player for users, particularly beginners of the scripture.
Therefore, according to a first aspect, an embodiment of the present invention discloses a method for playing a text with multiple languages, including:
receiving a Chinese language voice selection instruction;
determining a scripture playing language or a speech of a reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction;
when the scripture playing language or the speech of the reader is used for playing scripture, if a scripture chapter selection instruction is received, skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction;
and playing the scripture audio file corresponding to the target scripture chapter by using the scripture playing language or the speech of the reader corresponding to the scripture language speech selection instruction.
Optionally, the scripted audio synthesis file includes a plurality of languages and the ID of the scripted audio file recited by the reciver voice, and the receiving scripted language voice selection instructions comprises: receiving a mapping instruction when a user selects a key from the Chinese language voice input by the remote controller;
the determining the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction comprises the following steps:
skipping from the language of the currently playing scripture or the speech of the reciver to one of the languages or the speech of the reciver reciting the scripture audio file according to the ID of the audio file when the user inputs the scripture language speech selection key;
playing the reading prompt tone of the ID corresponding to the scripture audio file of the language after the jump or the speech of the reader;
and confirming the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction at the user according to the prompt tone.
In an alternative embodiment, the textual audio synthesis file contains a textual chapter position table, a textual measure position table, and a textual audio position table.
Optionally, if a channel chapter selection instruction is received, according to the channel chapter selection instruction, jumping from a currently played channel chapter to a target channel chapter corresponding to the channel chapter selection instruction includes:
receiving a mapping instruction input by a user from a remote controller when the user selects a key through the text chapters, and confirming that the user selects the text;
when the user inputs the sequence number of the discourse, inquiring the position table of the discourse and jumping to the position of the discourse corresponding to the sequence number of the discourse in the position table of the discourse;
if receiving a mapping instruction when the user selects a key from the remote controller, confirming that the user selects a section of the scripture;
when the user inputs a sequence number of a lesson, inquiring the position table of the lesson to obtain a sequence number of an audio file corresponding to the sequence number of the lesson;
and inquiring the channel text audio position table according to the audio file sequence number, and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
Optionally, if a channel chapter selection instruction is received, according to the channel chapter selection instruction, jumping from a currently played channel chapter to a target channel chapter corresponding to the channel chapter selection instruction includes:
receiving a channel chapter selection instruction mapped when a user selects a key from a channel chapter input by a remote controller, and confirming that the user selects a channel chapter;
when the user inputs a channel chapter sequence number, inquiring the channel chapter position table and a channel measure section position table, and jumping to an audio file sequence number corresponding to the channel measure section sequence number in the channel measure section position table;
and inquiring the channel text audio position table according to the audio file sequence number, and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
Optionally, prior to receiving the scripture language and the reciver voice selection instruction, the method further comprises:
synthesizing the textual audio synthesis file according to the textual audio file list;
and storing the scripture audio synthesis file to a storage unit of a scripture playing device for language and reading reader voice.
Optionally, the method further comprises:
and if a splicing instruction is received, playing the scripture read by the recitation reader in voice according to the splicing instruction, and then playing a scripture with the same content in the scripture playing language.
According to a second aspect, the embodiment of the invention discloses a scripture playing device for reading in multiple languages and reading reader voices, which comprises:
the receiving module is used for receiving a scripture language or a reciter voice selection instruction;
the language voice determination module is used for determining a scripture playing language or a reciter voice corresponding to the scripture language voice selection instruction according to the scripture audio synthesis file and the scripture language voice selection instruction;
the target scripture switching module is used for skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction if the scripture chapter selection instruction is received when the scripture is played by using the scripture playing language or voice;
and the playing module is used for playing the scripture audio file corresponding to the target scripture chapter by the scripture playing language or the speech of the reciter corresponding to the scripture language speech selection instruction.
Optionally, the scripture audio synthesis file includes a plurality of languages and an ID of the scripture audio file recited by the reader's voice, and the receiving module includes: the first instruction receiving unit is used for receiving an instruction which is input by a user from a remote controller and mapped when a user selects a key through the Chinese language voice;
the target scripture acquisition module comprises:
a first skipping unit for skipping from the language of the currently played scripture or the speech of the reciver to an audio file of the scripture recited by the language or the speech of the reciver according to the ID of the audio file when the user inputs the scripture language speech selection key;
the prompting sound playing unit is used for playing the reading prompting sound of the language after the jump or the reading voice of the reader, wherein the ID of the reading audio file corresponds to the reading audio file of the scripture;
and the first confirmation unit is used for confirming the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction after a user inputs a confirmation instruction from the remote controller according to the prompt tone.
According to a third aspect, an embodiment of the present invention discloses a computing apparatus, including a processor, for executing a computer program stored in a memory to implement the following method:
receiving a Chinese language voice selection instruction;
determining a scripture playing language or a speech of a reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction;
when the scripture playing language or the speech of the reader is used for playing scripture, if a scripture chapter selection instruction is received, skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction;
and playing the scripture audio file corresponding to the target scripture chapter by using the scripture playing language or the speech of the reader corresponding to the scripture language speech selection instruction.
According to a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, the computer program stored in the storage medium being executed to implement the following method:
receiving a Chinese language voice selection instruction;
determining a scripture playing language or a speech of a reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction;
when the scripture playing language or the speech of the reader is used for playing scripture, if a scripture chapter selection instruction is received, skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction;
and playing the scripture audio file corresponding to the target scripture chapter by using the scripture playing language or the speech of the reader corresponding to the scripture language speech selection instruction.
Compared with the prior art that the user needs to carefully calculate the position of the target scripture when the scripture player has long scripture and multiple chapters, the technical scheme provided by the invention can select the language or the speech of the scripture player and jump from the current scripture playing chapter to the target scripture chapter for playing only by inputting a simple scripture language or a speech selection instruction of the scripture reader and a scripture chapter selection instruction by the user of the scripture player, so that the complicated operation of the prior art player is omitted, and great convenience is brought to the user, especially the scripture beginner for learning scripture.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a multilingual speech reading scripture playing method disclosed in an embodiment of the present invention;
FIG. 2 is a partial screenshot of a text audio file name list in excel format after completion of the partial audio file entry for entering multilingual and recited reader voice of the text to be synthesized in the first column of excel according to the embodiment of the present invention;
fig. 3 is a partial screenshot of a text-to-audio file name list in excel format after the serial number of the input audio file name in the text-to-audio file list in excel format is completed according to the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a multi-language voice channel playing device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the invention discloses a multilingual voice text playing method, and refers to fig. 1, which is a flowchart of the multilingual voice text playing method disclosed in the embodiment of the invention, wherein the multilingual voice text playing method comprises steps S101 to S104, which are explained in detail as follows:
step S101, receiving a Chinese language voice selection instruction.
Generally, some classic documents have a local reciver voice, for example, the local reciver voice of the "classic" is Arabic in section 6236, chapter 114. For religious communication and learning convenience, many classic languages are also known as multinational languages, for example, the "gulanjing" has versions of english, german, french, malaysian, urdu, etc. in its pronunciation. In the embodiment of the invention, the received channel language voice selection instruction can be an instruction mapped when a user inputs a channel language voice selection key from a remote controller, specifically, a channel language voice selection key can be arranged on a channel language voice playing device with multi-language voice, for example, a remote controller matched with the channel language voice player with multi-language voice, when the user inputs the key, a key event is mapped to the channel language voice selection instruction, and the channel language voice playing device with multi-language voice receives the channel language voice selection instruction.
Step S102, according to the channel language voice synthesis file and the channel language voice selection instruction, determining the channel language playing language or the speech of the reader corresponding to the channel language voice selection instruction.
In the embodiment of the invention, the ID of the multi-language or voice spoken text audio file is contained in the text audio synthesis file, and the text audio synthesis file is synthesized by the audio synthesis tool before receiving the text language voice selection instruction, namely, the text audio synthesis file is synthesized according to the text audio file list before receiving the text language voice selection instruction, and the text audio synthesis file is stored in the storage unit of the multi-language voice text playing device, for example, copied into the TF card of the multi-language voice text playing device. The synthesis process is described below by using the classic "the gram of the ancient blue" as an example:
s1, creating an empty scripture audio file list and a scripture chapter sequence number list.
The format of both tables may be txt, which may be named audio _ list.
And S2, opening the text audio _ list.txt and inputting an audio file name.
Txt, the names of all audio files (assuming the file format is. MP3) of the playing language or speech to be synthesized are input in the first column of excel, one is input per line, and a screenshot of the name list of the text audio file in excel format after completing the input is shown in fig. 2.
And S3, opening the text table. txt, and inputting the serial number of the audio file name in the text audio file list in the excel format.
Similar to S2, for convenience of viewing the serial number, table. txt is also opened using excel, and the serial number of the recitation prompt tone of the warp text audio file in the list of the warp text audio file in excel format is input in the first row; txt is empty in 2 ~ 20 rows, and is reserved for use in other subsequent demands. Starting from line 21, the serial number of the first chapter of the "gulanjing" in the excel-format menstrual text audio file list is input, each chapter occupies one line (note: the first column inputs a chapter name prompt tone, the second column inputs a public prompt tone, the third column inputs a public prompt tone without a public prompt tone or silent voice, the serial number corresponding to mute. mp3 is input, and the third column inputs a public prompt tone except for the first chapter and the ninth chapter), and one screenshot of the finished excel-format menstrual text audio file name list is input as shown in fig. 3.
And S4, operating an audio synthesis tool, and synthesizing the prepared excel table and the scripture audio file.
Specifically, storing a scripture audio file name list in excel format, mute.mp3 and a current scripture audio file in the same directory, operating an audio synthesis tool, inputting the ID of the current language or the audio file of the scripture read by the speech of the reader, and synthesizing the audio file of the current language or the speech of the reader according to the return; if a plurality of languages or the speech of the reciting person is required to be synthesized, the ID of the next language or the speech of the reciting person to read the scripture audio file is prompted to be input; and automatically closing the audio synthesis tool after the synthesis is finished, and finally obtaining a scripture audio synthesis file of the language and the speech of the reciting reader.
As an embodiment of the present invention, determining the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction can be realized through the following steps S1021 to S1023:
s1021, when the user inputs the scripture language voice selection key, skipping from the language of the currently played scripture or the speech of the reciver to the audio file of the scripture read by the language or the speech of the reciver according to the ID of the audio file.
As previously described, each language or dyslexia voice recited scripture audio file has been previously produced and each language or dyslexia voice recited scripture audio file has a unique identification or ID, so that when a user enters a scripture language or dyslexia voice selection button, it is possible to jump from the language or dyslexia voice of the currently playing scripture to a language or dyslexia voice recited scripture audio file in accordance with the ID of the audio file.
S1022, the reading prompt tone corresponding to the scripture audio file is played by the skipped language or the ID of the scripture audio file read by the speech of the reader.
As previously mentioned, in synthesizing a scripture audio synthesis file, there is an alert tone for each scripture playing language or reciter voice, the alert tone serving to indicate to the user what language or which reciter voice to recite the next scripture to be played.
And S1023, after the user inputs a confirmation instruction from the remote controller according to the prompt tone, confirming the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction.
Step S103, when the scripture is played by using the scripture playing language or the speech of the reader, if a scripture chapter selection instruction is received, jumping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction.
In the embodiment of the invention, the scripture audio synthesis file comprises a scripture chapter position table, a scripture measure position table and a scripture audio position table, and in addition, the scripture audio file itself or the ID of the scripture audio file read by each language or the voice of a reader is also included, wherein the scripture chapter position table records the storage position of each scripture, the scripture position table records how many measures each scripture comprises and the audio file sequence number of each scripture corresponding to the audio file in the scripture audio file name list of excel format, and the scripture audio position table records the information of the start position and the size of the audio file corresponding to each audio file sequence number in the whole file.
As an embodiment of the present invention, if a chapter selection instruction is received, according to the chapter selection instruction, jumping from a currently played chapter to a target chapter corresponding to the chapter selection instruction can be implemented by the following steps S1031 to S1035:
and S1031, receiving the mapping instruction when the user selects the key from the text discourse input by the remote controller, and confirming that the user selects the text discourse.
Mapping the key event into a textual discourse selection instruction when the user selects the key from the textual discourse input by the remote controller, namely when the user selects the key from the textual discourse input by the remote controller as the function key; the user presses the button or the multilingual speech textual playback device receives the command, meaning that the user is selecting a textual chapter.
S1032, when the user inputs the sequence number of the discourse, the position table of the discourse is inquired, and the position of the discourse corresponding to the sequence number of the discourse in the position table of the discourse is jumped to.
As previously mentioned, the scripted chapter location table records the storage location of each chapter scripture. Therefore, when the user inputs the sequence number of the discourse, for example, the sequence number of the discourse is input from the remote controller matched with the discourse playing device of the multi-language voice, for example, the number key "25" is pressed, the discourse playing device of the multi-language voice jumps to the position of the discourse corresponding to the sequence number of the discourse in the discourse position table by inquiring the discourse position table, namely jumps to the 25 th chapter of the discourse.
S1033, if a command mapped when the user selects the key from the remote controller is received, the fact that the user selects the section is confirmed.
When a user selects a key from the section of the menstruation input by the remote controller, namely when the user selects the functional key of the key from the section of the menstruation input by the remote controller, mapping a key event into the section of the menstruation selection instruction; the user presses the button or the multilingual speech channel playing device receives the command, which means that the user is selecting a channel section.
S1034, when the user inputs the sequence number of the small section of the menstrual text, inquiring the position table of the small section of the menstrual text to obtain the sequence number of the audio file corresponding to the sequence number of the small section of the menstrual text.
As mentioned above, the document section position table records how many sections each chapter of document contains and the audio file sequence number of the audio file corresponding to each section of document in the document audio file name list in excel format. Therefore, when a user inputs a sequence number of a section of text, for example, the sequence number of the section of text is input from a remote controller associated with a multilingual speech text playing device, for example, the numeric key "32" is pressed, the multilingual speech text playing device obtains an audio file sequence number corresponding to the sequence number of the section of text 25, that is, an audio file sequence number corresponding to section 32 by querying a position table of the section of text.
S1035, according to the audio file sequence number, the Chinese audio position table is inquired, and the starting position of the audio file corresponding to the audio file sequence number in the whole file is jumped to.
Because the information such as the starting position and the size of the audio file in the whole file corresponding to each audio file serial number is recorded in the channel audio position table, when the audio file serial number corresponding to the channel bar serial number is acquired in step S1034, the channel playing device with multi-language voice can query the channel audio position table according to the audio file serial number and jump to the starting position of the audio file corresponding to the audio file serial number in the whole file.
As another embodiment of the present invention, if a chapter selection instruction is received, according to the chapter selection instruction, jumping from a currently played chapter to a target chapter corresponding to the chapter selection instruction can be implemented by the following steps S '1031 to S' 1033:
and S' 1031, receiving a channel chapter selection command mapped when the user selects a channel chapter selection key input by the remote controller, and confirming that the user selects a channel chapter.
Unlike S1031 of the foregoing embodiment, in the present embodiment, it is confirmed that the user is selecting a chapter of a scripture by receiving a scripture chapter selection instruction mapped when the user selects a key from a remote controller, i.e., one key confirms that chapters and measures of a scripture are simultaneously selected.
S' 1032, when the user inputs the sequence number of the chapter of the subject text, the position table of the chapter of the subject text and the position table of the small section of the subject text are inquired, and the sequence number of the audio file corresponding to the sequence number of the small section of the subject text in the position table of the small section of the subject text is jumped to.
Different from the foregoing embodiment, when it is determined that the user is selecting the scripted section, if the user continuously inputs the scripted section number and the scripted section number, the multilingual speech scripted playing apparatus queries the scripted section location table and the scripted section location table, and jumps to the audio file number corresponding to the scripted section number in the scripted section location table. For example, if the user continuously presses the number key "2532" on the remote controller associated with the multi-language voice channel playing device, the user jumps to the audio file sequence number corresponding to the channel section sequence number in the channel section position table, i.e., the audio file sequence number corresponding to the 32 nd section of chapter 25 of the channel.
And S' 1033, inquiring the channel text audio position table according to the serial number of the audio file, and jumping to the starting position of the audio file corresponding to the serial number of the audio file in the whole file.
The implementation manner of this step in this embodiment is the same as the implementation manner of step S1035 in the foregoing embodiment, and reference may be made to the corresponding description in the foregoing embodiment, which is not repeated herein.
Step S104, the scripture playing language or the speech of the reader corresponding to the scripture language speech selection instruction is used for playing the scripture audio file corresponding to the target scripture chapter.
For example, when the user selects a scripter voice reading scripted text by a scripted language voice selection instruction and inputs a scripted text chapter selection instruction, for example, the numeric keys "25" and "32" are sequentially input from the remote controller provided with a scripted playing device for multilingual voice, or the numeric keys "2532" are continuously input from the remote controller provided with a scripted playing device for multilingual voice, the section 25 and section 32 of the scripted text are played in arabic.
In order to facilitate a scripture learner whose mother language is not the language corresponding to the speech of the reader to more conveniently learn scriptures (for example, the language corresponding to the speech of the reader is arabic and the mother language of the scripture learner is english), in one embodiment of the invention, the method further comprises playing the scripture played by the speech of the reader according to the splicing instruction and then playing a scripture with the same content in the scripture playing language if the splicing instruction is received. Taking the example of the "gulian classic", if the current learner's native language is non-arabic language such as english, french or german, the learner may listen to the audio file corresponding to chapter 1, such as MP3, of the "gulian classic" spoken in arabic, and therefore, the learner may not understand arabic, and therefore, if the learner inputs a splicing instruction from the remote controller associated with the multilingual speech channel playing apparatus, the multilingual speech channel playing apparatus plays the "gulian classic" spoken in arabic, that is, the "gulian classic" spoken in arabic, chapter 1, corresponding MP3, and then plays MP3 corresponding to chapter 1, of the "gulian classic" in english, french or german, according to the splicing instruction. Thus, even if the learner can not understand Arabic, the learner can still understand that the content of section 1 in chapter 1 of the ancient Lanjing is played in English, French or German.
As can be seen from the technical solution of the present invention illustrated in fig. 1, compared with the conventional scripture player which needs a user to carefully calculate the position of a target scripture when the scripture is long in scripture width and many chapters, the technical solution provided by the present invention only needs the user of the scripture player to input a simple scripture language or a speech selecting instruction of a reciter and a scripture chapter selecting instruction, and can select the language or the speech of the scripture player and jump from the current scripture playing chapter to the target scripture chapter for playing, so that the tedious operation of the conventional scripture player is omitted, and great convenience is brought to the user, especially the scripture beginner for learning scriptures.
The embodiment of the present invention further discloses a multilingual speech scripture playing device, please refer to fig. 4, which is a schematic structural diagram of the multilingual speech scripture playing device disclosed in the embodiment of the present invention, and the multilingual speech scripture playing device includes: a receiving module 401, a language voice determining module 402, a target scripture switching module 403 and a playing module 404, wherein:
a receiving module 401, configured to receive a chinese multilingual or dyslexia voice selection instruction;
a language voice determination module 402, configured to determine a scripture playing language or a dyslexia voice corresponding to the scripture language and dyslexia voice selection instruction according to the scripture audio synthesis file and the scripture language and dyslexia voice selection instruction;
a target scripture switching module 403, configured to, when a scripture playing language or a speech of a reader is used to play a scripture, jump from a currently played scripture chapter to a target scripture chapter corresponding to a scripture chapter selection instruction according to the scripture chapter selection instruction if the scripture chapter selection instruction is received;
the playing module 404 is configured to play the scripture audio file corresponding to the target scripture chapter in the scripture language or the reciter voice corresponding to the scripture language or the reciter voice selection instruction.
In an alternative embodiment, the scripted audio synthesis file contains a plurality of languages and the ID of the recited scripted audio file recited by the reciver voice, the receiving module 401 includes a first instruction receiving unit, and the language voice determination module 402 includes a first jumping unit, an alert tone playing unit, and a first confirmation unit, in which:
the first instruction receiving unit is used for receiving an instruction which is input by a user from a remote controller and mapped when a user selects a key through the Chinese language voice;
the first jumping unit is used for jumping from the language of the currently played scripture or the speech of a reciver to a language or the speech of the reciver to read the scripture audio file according to the ID of the audio file when a user inputs a scripture language speech selection key;
the prompting sound playing unit is used for playing the reading prompting sound of the language after the jump or the reading voice of the reader, wherein the ID of the read warp text audio file corresponds to the read warp text audio file;
the first confirming unit is used for confirming the scripture playing language or the speech of the reciver corresponding to the scripture language speech selecting instruction according to the prompt tone.
In an alternative embodiment, the textual audio synthesis file contains a textual chapter position table, a textual measure position table, and a textual audio position table.
In an alternative embodiment, the target scripture switching module 403 includes:
the second instruction receiving unit is used for receiving an instruction which is input by a user from the remote controller and is mapped when the user selects a key through the text, and confirming that the user selects the text;
the second jumping unit is used for inquiring the position table of the discourse text when the user inputs the discourse text serial number and jumping to the position of the discourse text corresponding to the discourse text serial number in the discourse text position table;
the second confirmation unit is used for confirming that the user selects the channel lesson if receiving a mapping instruction when the user selects the key from the remote controller;
the acquisition unit is used for inquiring the position table of the menstrual text measure when the user inputs the sequence number of the menstrual text measure, and acquiring the sequence number of the audio file corresponding to the sequence number of the menstrual text measure;
and the third jumping unit is used for inquiring the channel text audio position table according to the audio file serial number and jumping to the starting position of the audio file corresponding to the audio file serial number in the whole file.
In an alternative embodiment, the target scripture switching module 403 includes:
the third confirmation unit is used for receiving a channel chapter selection instruction mapped when a channel chapter selection key input by a user from a remote controller and confirming that the user selects a channel chapter;
the fourth skipping unit is used for inquiring the position table of the scripture chapters and the position table of the scripture measure sections when the user inputs the sequence numbers of the scripture chapters and skipping to the sequence numbers of the audio files corresponding to the sequence numbers of the scripture measure sections in the position table of the scripture measure sections;
and the fifth jumping unit is used for inquiring the channel text audio position table according to the audio file sequence number and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
In an optional embodiment, the text playing apparatus for multilingual speech may further include:
the synthesis module is used for synthesizing a Chinese audio synthesis file according to the Chinese audio file list before the receiving module receives the Chinese language voice selection instruction;
and the storage module is used for storing the channel audio synthesis file into a storage unit of a channel playing device of the multilingual voice.
In addition, the embodiment of the invention also discloses a computing device, which comprises a processor, wherein the processor is used for executing the computer program stored in the memory to realize the following method: receiving a Chinese language voice selection instruction; determining a scripture playing language or a speech of a reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction; when the scripture playing language or the speech of the reader is used for playing scripture, if a scripture chapter selection instruction is received, skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction; and playing the scripture audio file corresponding to the target scripture chapter by using the scripture playing language or the speech of the reader corresponding to the scripture language speech selection instruction.
In an alternative embodiment, the scripted audio synthesis file includes a plurality of languages and the ID of the recited reader's voice spoken scripted audio file, the receiving scripted language voice selection instructions comprising: receiving a mapping instruction when a user selects a key from the Chinese language voice input by the remote controller;
the determining the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction comprises the following steps:
skipping from the language of the currently playing scripture or the speech of the reciver to one of the languages or the speech of the reciver reciting the scripture audio file according to the ID of the audio file when the user inputs the scripture language speech selection key;
playing the reading prompt tone of the ID corresponding to the scripture audio file of the language after the jump or the speech of the reader;
and confirming the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction at the user according to the prompt tone.
In an alternative embodiment, the textual audio synthesis file contains a textual chapter position table, a textual measure position table, and a textual audio position table.
In an optional embodiment, if a text chapter selection instruction is received, jumping from a currently played text chapter to a target text chapter corresponding to the text chapter selection instruction according to the text chapter selection instruction includes:
receiving a mapping instruction input by a user from a remote controller when the user selects a key through the text chapters, and confirming that the user selects the text;
when the user inputs the sequence number of the discourse, inquiring the position table of the discourse and jumping to the position of the discourse corresponding to the sequence number of the discourse in the position table of the discourse;
if receiving a mapping instruction when the user selects a key from the remote controller, confirming that the user selects a section of the scripture;
when the user inputs a sequence number of a lesson, inquiring the position table of the lesson to obtain a sequence number of an audio file corresponding to the sequence number of the lesson;
and inquiring the channel text audio position table according to the audio file sequence number, and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
In an optional embodiment, if a text chapter selection instruction is received, jumping from a currently played text chapter to a target text chapter corresponding to the text chapter selection instruction according to the text chapter selection instruction includes:
receiving a channel chapter selection instruction mapped when a user selects a key from a channel chapter input by a remote controller, and confirming that the user selects a channel chapter;
when the user inputs a channel chapter sequence number, inquiring the channel chapter position table and a channel measure section position table, and jumping to an audio file sequence number corresponding to the channel measure section sequence number in the channel measure section position table;
and inquiring the channel text audio position table according to the audio file sequence number, and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
In an alternative embodiment, prior to receiving the scripture language and recited reader voice selection instruction, the method further comprises:
synthesizing the textual audio synthesis file according to the textual audio file list;
and storing the scripture audio synthesis file to a storage unit of a scripture playing device for language and reading reader voice.
In an optional embodiment, the method further comprises:
and if a splicing instruction is received, playing the scripture read by the recitation reader in voice according to the splicing instruction, and then playing a scripture with the same content in the scripture playing language.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. The computer processor is used to execute a computer program stored in a storage medium to implement the following method:
receiving a Chinese language voice selection instruction; determining a scripture playing language or a speech of a reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction; when the scripture playing language or the speech of the reader is used for playing scripture, if a scripture chapter selection instruction is received, skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction; and playing the scripture audio file corresponding to the target scripture chapter by using the scripture playing language or the speech of the reader corresponding to the scripture language speech selection instruction.
In an alternative embodiment, the scripted audio synthesis file includes a plurality of languages and the ID of the recited reader's voice spoken scripted audio file, the receiving scripted language voice selection instructions comprising: receiving a mapping instruction when a user selects a key from the Chinese language voice input by the remote controller;
the determining the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction comprises the following steps:
skipping from the language of the currently playing scripture or the speech of the reciver to one of the languages or the speech of the reciver reciting the scripture audio file according to the ID of the audio file when the user inputs the scripture language speech selection key;
playing the reading prompt tone of the ID corresponding to the scripture audio file of the language after the jump or the speech of the reader;
and confirming the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction at the user according to the prompt tone.
In an alternative embodiment, the textual audio synthesis file contains a textual chapter position table, a textual measure position table, and a textual audio position table.
In an optional embodiment, if a text chapter selection instruction is received, jumping from a currently played text chapter to a target text chapter corresponding to the text chapter selection instruction according to the text chapter selection instruction includes:
receiving a mapping instruction input by a user from a remote controller when the user selects a key through the text chapters, and confirming that the user selects the text;
when the user inputs the sequence number of the discourse, inquiring the position table of the discourse and jumping to the position of the discourse corresponding to the sequence number of the discourse in the position table of the discourse;
if receiving a mapping instruction when the user selects a key from the remote controller, confirming that the user selects a section of the scripture;
when the user inputs a sequence number of a lesson, inquiring the position table of the lesson to obtain a sequence number of an audio file corresponding to the sequence number of the lesson;
and inquiring the channel text audio position table according to the audio file sequence number, and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
In an optional embodiment, if a text chapter selection instruction is received, jumping from a currently played text chapter to a target text chapter corresponding to the text chapter selection instruction according to the text chapter selection instruction includes:
receiving a channel chapter selection instruction mapped when a user selects a key from a channel chapter input by a remote controller, and confirming that the user selects a channel chapter;
when the user inputs a channel chapter sequence number, inquiring the channel chapter position table and a channel measure section position table, and jumping to an audio file sequence number corresponding to the channel measure section sequence number in the channel measure section position table;
and inquiring the channel text audio position table according to the audio file sequence number, and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
In an alternative embodiment, prior to receiving the scripture language and recited reader voice selection instruction, the method further comprises:
synthesizing the textual audio synthesis file according to the textual audio file list;
and storing the scripture audio synthesis file to a storage unit of a scripture playing device for language and reading reader voice.
In an optional embodiment, the method further comprises:
and if a splicing instruction is received, playing the scripture read by the recitation reader in voice according to the splicing instruction, and then playing a scripture with the same content in the scripture playing language.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (10)

1. A method for playing a text in multiple languages, the method comprising:
receiving a Chinese language voice selection instruction;
determining a scripture playing language or a speech of a reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction;
when the scripture playing language or the speech of the reader is used for playing scripture, if a scripture chapter selection instruction is received, skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction;
and playing the scripture audio file corresponding to the target scripture chapter by using the scripture playing language or the speech of the reader corresponding to the scripture language speech selection instruction.
2. The method of scripture playback in multilingual speech of claim 1 wherein the scripture audio synthesis file contains a multilingual and recited voice recited scripture audio file ID, and wherein receiving a scripture language speech selection instruction comprises: receiving a mapping instruction when a user selects a key from the Chinese language voice input by the remote controller;
the determining the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction according to the scripture audio synthesis file and the scripture language speech selection instruction comprises the following steps:
skipping from the language of the currently playing scripture or the speech of the reciver to one of the languages or the speech of the reciver reciting the scripture audio file according to the ID of the audio file when the user inputs the scripture language speech selection key;
playing the reading prompt tone of the ID corresponding to the scripture audio file of the language after the jump or the speech of the reader;
and confirming the scripture playing language or the speech of the reciver corresponding to the scripture language speech selection instruction at the user according to the prompt tone.
3. The method of claim 1, wherein the textual audio synthesis file comprises a textual chapter location table, a textual measure location table, and a textual audio location table.
4. The method for playing a sentence according to claim 3, wherein the jumping from the currently played sentence chapter to the target sentence chapter corresponding to the sentence chapter selection command according to the sentence chapter selection command if the sentence chapter selection command is received comprises:
receiving a mapping instruction input by a user from a remote controller when the user selects a key through the text chapters, and confirming that the user selects the text;
when the user inputs the sequence number of the discourse, inquiring the position table of the discourse and jumping to the position of the discourse corresponding to the sequence number of the discourse in the position table of the discourse;
if receiving a mapping instruction when the user selects a key from the remote controller, confirming that the user selects a section of the scripture;
when the user inputs a sequence number of a lesson, inquiring the position table of the lesson to obtain a sequence number of an audio file corresponding to the sequence number of the lesson;
and inquiring the channel text audio position table according to the audio file sequence number, and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
5. The method for playing a sentence according to claim 3, wherein the jumping from the currently played sentence chapter to the target sentence chapter corresponding to the sentence chapter selection command according to the sentence chapter selection command if the sentence chapter selection command is received comprises:
receiving a channel chapter selection instruction mapped when a user selects a key from a channel chapter input by a remote controller, and confirming that the user selects a channel chapter;
when the user inputs a channel chapter sequence number, inquiring the channel chapter position table and a channel measure section position table, and jumping to an audio file sequence number corresponding to the channel measure section sequence number in the channel measure section position table;
and inquiring the channel text audio position table according to the audio file sequence number, and jumping to the starting position of the audio file corresponding to the audio file sequence number in the whole file.
6. The method of multi-lingual voice scripture playback as claimed in any one of claims 1 to 5, wherein prior to receiving a scripture language or reciter voice selection instruction, the method further comprises:
synthesizing the textual audio synthesis file according to the textual audio file list;
and storing the scripture audio synthesis file to a storage unit of a scripture playing device for language and reading reader voice.
7. The method for playing a multi-lingual speech script according to any of the claims 1 to 5, wherein the method further comprises:
and if a splicing instruction is received, playing the scripture read by the recitation reader in voice according to the splicing instruction, and then playing a scripture with the same content in the scripture playing language.
8. A multi-language voice scripture playback apparatus, comprising:
the receiving module is used for receiving a Chinese language voice selection instruction;
the language voice determination module is used for determining a scripture playing language or a reciter voice corresponding to the scripture language voice selection instruction according to the scripture audio synthesis file and the scripture language voice selection instruction;
the target scripture switching module is used for skipping from the currently played scripture chapter to a target scripture chapter corresponding to the scripture chapter selection instruction according to the scripture chapter selection instruction if the scripture chapter selection instruction is received when the scripture is played by using the scripture playing language or voice;
and the playing module is used for playing the scripture audio file corresponding to the target scripture chapter by the scripture playing language or the speech of the reciter corresponding to the scripture language speech selection instruction.
9. A computing device comprising a processor for executing a computer program stored in a memory to implement the method of any one of claims 1 to 8.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program stored in the storage medium is executed to implement the method according to any one of claims 1 to 8.
CN201910895209.1A 2019-09-20 2019-09-20 Multilingual voice scripture playing method and device and computer readable storage medium Pending CN110647267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910895209.1A CN110647267A (en) 2019-09-20 2019-09-20 Multilingual voice scripture playing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910895209.1A CN110647267A (en) 2019-09-20 2019-09-20 Multilingual voice scripture playing method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110647267A true CN110647267A (en) 2020-01-03

Family

ID=69011056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910895209.1A Pending CN110647267A (en) 2019-09-20 2019-09-20 Multilingual voice scripture playing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110647267A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1371572A (en) * 1999-07-16 2002-09-25 联合视频制品公司 Interactive television program guide with selectable languages
CN1407795A (en) * 2001-08-30 2003-04-02 通用仪器公司 Device and method for providing TV speech-sounds with selected language
CN101247583A (en) * 2007-02-12 2008-08-20 贾波 Alkoran lection playing mobile phone and lection playing method and pilgrimage direction deciding method
CN101453589A (en) * 2007-12-04 2009-06-10 深圳Tcl新技术有限公司 Apparatus and method supporting multi-language application environment
CN102402869A (en) * 2010-09-07 2012-04-04 王建跃 Koran and daily prayer repeated reading method realized by aid of multifunctional learning machine
CN104244081A (en) * 2014-09-26 2014-12-24 可牛网络技术(北京)有限公司 Video provision method and device
CN104380284A (en) * 2012-03-06 2015-02-25 苹果公司 Handling speech synthesis of content for multiple languages
CN105791971A (en) * 2014-12-26 2016-07-20 深圳Tcl数字技术有限公司 Method and device for switching stream media audios
CN110073437A (en) * 2016-07-21 2019-07-30 欧斯拉布斯私人有限公司 A kind of system and method for text data to be converted to multiple voice data

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1371572A (en) * 1999-07-16 2002-09-25 联合视频制品公司 Interactive television program guide with selectable languages
CN1407795A (en) * 2001-08-30 2003-04-02 通用仪器公司 Device and method for providing TV speech-sounds with selected language
CN101247583A (en) * 2007-02-12 2008-08-20 贾波 Alkoran lection playing mobile phone and lection playing method and pilgrimage direction deciding method
CN101453589A (en) * 2007-12-04 2009-06-10 深圳Tcl新技术有限公司 Apparatus and method supporting multi-language application environment
CN102402869A (en) * 2010-09-07 2012-04-04 王建跃 Koran and daily prayer repeated reading method realized by aid of multifunctional learning machine
CN104380284A (en) * 2012-03-06 2015-02-25 苹果公司 Handling speech synthesis of content for multiple languages
CN104244081A (en) * 2014-09-26 2014-12-24 可牛网络技术(北京)有限公司 Video provision method and device
CN105791971A (en) * 2014-12-26 2016-07-20 深圳Tcl数字技术有限公司 Method and device for switching stream media audios
CN110073437A (en) * 2016-07-21 2019-07-30 欧斯拉布斯私人有限公司 A kind of system and method for text data to be converted to multiple voice data

Similar Documents

Publication Publication Date Title
US20170206800A1 (en) Electronic Reading Device
US20120094259A1 (en) Pre-Pronounced Spelling Teaching Device
JP5586754B1 (en) Information processing apparatus, control method therefor, and computer program
EP2682931B1 (en) Method and apparatus for recording and playing user voice in mobile terminal
KR101789057B1 (en) Automatic audio book system for blind people and operation method thereof
KR20080083290A (en) A method and apparatus for accessing a digital file from a collection of digital files
KR100593589B1 (en) Multilingual Interpretation / Learning System Using Speech Recognition
JPH11109991A (en) Man machine interface system
JP2016114673A (en) Electronic equipment and program
JP2008040373A (en) Voice guidance system
JP6841309B2 (en) Electronics and programs
CN110647267A (en) Multilingual voice scripture playing method and device and computer readable storage medium
CN115565518A (en) Method for processing player dubbing in interactive game and related device
JP6746886B2 (en) Learning support device and program for the learning support device
KR20190070683A (en) Apparatus and method for constructing and providing lecture contents
JP2012190476A (en) Electronic apparatus having communication function with multiple electronic dictionary terminals, recording medium recorded with electronic apparatus control program
JP2003345486A (en) User assistance device, user assistance method, user assistance program and recording medium storing user assistance program
KR100742543B1 (en) Method for reading mobile communication phone having the multi-language reading program
KR20170058504A (en) System for realizing score and replaying sound source, and method thereof
CN113920786B (en) Singing teaching method and device
KR20200094060A (en) Method of interactive foreign language learning by voice talking each other using voice recognition function and TTS function
KR100707727B1 (en) A portable file player
KR20160097542A (en) Execution method of app book device and app book device
US11967248B2 (en) Conversation-based foreign language learning method using reciprocal speech transmission through speech recognition function and TTS function of terminal
CN115877997B (en) Voice interaction method, system and storage medium for interaction elements

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200103