CN107729441B - Audio file processing method and system - Google Patents
Audio file processing method and system Download PDFInfo
- Publication number
- CN107729441B CN107729441B CN201710914232.1A CN201710914232A CN107729441B CN 107729441 B CN107729441 B CN 107729441B CN 201710914232 A CN201710914232 A CN 201710914232A CN 107729441 B CN107729441 B CN 107729441B
- Authority
- CN
- China
- Prior art keywords
- audio data
- story
- audio file
- audio
- name
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B5/00—Electrically-operated educational appliances
- G09B5/04—Electrically-operated educational appliances with audible presentation of the material to be studied
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
Abstract
The invention relates to a method and a system for processing an audio file, wherein the method comprises the following steps: converting a preset name provided by a user into first audio data and storing the first audio data in a database; identifying second audio data from an audio file to be played, wherein the second audio data in the audio file is marked in advance; and when the audio file is played, calling the first audio data from the database, and replacing the second audio data for playing. The processing method and the system for the audio file can increase the bringing-in feeling of the story when the story is played by the story machine, enable children to prefer to listen to the story, effectively remember the meaning expressed by the story, and improve the comprehension of the children.
Description
Technical Field
The invention relates to the technical field of story tellers, in particular to a method and a system for processing an audio file.
Background
Storytelling is a traditional education way used for helping children to know the world and transfer value views and information; meanwhile, the story is an important link for developing the social and cognitive abilities of the children and is also a main part of the life of the children. In the growth of children, the story plays an important role, and the story can help the children to improve the language expression ability, the logical thinking ability, the imagination and the creativity. In addition, the story can help develop the creativity, problem solving capability, communication and assistance capability and other core abilities of children for future survival development.
The traditional story telling method is that people tell stories. Along with the rapid development of science and technology, the story machine appears, not only can liberate parents, but also can help children to develop advanced thinking modes better, and becomes indispensable article in the family gradually.
However, after the children hear more stories, the names of the characters of the protists are more, which is not favorable for the memory and understanding of the children. The actual listening to the story is intended to understand and absorb the contents to be expressed by the story, and the character names required by the storyboards are not necessary to be memorized. If the owner of the listened story is the same as the child's own name, the listening interest of the child can be increased, and the comprehension is improved.
Disclosure of Invention
The invention aims to solve the defects of the prior art, and changes the name of a main pulsatilla in a story into the name of a listener or a familiar person in order to increase the bringing-in feeling of the story when a story tells by a story machine, make children prefer to listen to the story and effectively remember the meaning expressed by the story.
In order to achieve the above object, in a first aspect, the present invention provides an audio file processing method, including the following steps:
converting a preset name provided by a user into first audio data and storing the first audio data in a database;
identifying second audio data from an audio file to be played, wherein the second audio data in the audio file is marked in advance; and when the audio file is played, calling the first audio data from the database, and replacing the second audio data for playing.
Preferably, the step of identifying the second audio data from the audio file to be played includes:
and identifying the audio file to be played, and determining the second audio data when the marker of the second audio data is found.
Preferably, when the preset names provided by the user are multiple, the processing method further includes:
converting the Nth preset name provided by the user into first audio data, replacing the Nth-1 preset name, and storing the first audio data in a database; wherein N is more than or equal to 2.
Preferably, the preset name is the name of a listener or a familiar person.
Preferably, the second audio data is a name of a character in the audio file.
In a second aspect, the present invention provides an audio file processing system, comprising:
the receiving module is used for receiving a preset name input by a user;
the conversion module is used for converting the preset name provided by the user into first audio data and storing the first audio data in the database;
the identification module is used for identifying second audio data from the audio files to be played, and the second audio data in the audio files are marked in advance;
and the calling module is used for calling the first audio data from the database and replacing the second audio data for playing when the audio file is played.
Preferably, the identification module is specifically configured to identify an audio file to be played, and determine the second audio data when the identifier of the second audio data is found.
Preferably, when a plurality of preset names provided by the user are provided, the conversion module is configured to convert the nth preset name provided by the user into the first audio data, replace the nth-1 preset name, and store the first audio data in the database; wherein N is more than or equal to 2.
Preferably, the preset name is the name of a listener or a familiar person.
Preferably, the second audio data is a name of a character in the audio file.
The processing method and the system of the audio file provided by the invention can increase the bringing-in feeling of the story when the story is played by the story machine, so that children prefer to listen to the story, the meaning of story expression is effectively remembered, and the comprehension of the children is improved.
Drawings
Fig. 1 is a schematic flowchart of an audio file processing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an audio file processing system according to an embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Fig. 1 is a schematic flowchart of a processing method of an audio file according to an embodiment of the present invention, as shown in fig. 1, the method includes steps S101 to S102:
step S101, converting a preset name provided by a user into first audio data, and storing the first audio data in a database.
Taking a child story machine as an example, in order to increase the listening interest of a child and improve the comprehension of the child, a user inputs a preset name or a small name of the child according to the name of the child, or the name of a person familiar with the child. After receiving the input user preset name, the story machine converts the user preset name into first audio data, and then stores the first audio data in the database, so that subsequent calling and playing are facilitated.
As an example, the story machine is a child playing a story with a small name of "tung tree", the user inputs a preset name of "tung tree" into the story machine, and the story machine converts the "tung tree" provided by the user into first audio data and stores the first audio data in a response database of the story machine.
Step S102, identifying second audio data from an audio file to be played, wherein the second audio data in the audio file is marked in advance; and when the audio file is played, calling the first audio data from the database, and replacing the second audio data for playing.
The second audio data in the audio file needs to be marked in advance so as to be identified when being played, and specifically, the step of identifying the second audio data from the audio file to be played includes: and identifying the audio file to be played, and determining the second audio data when the marker of the second audio data is found.
Corresponding to the name or the small name of the child to be listened to preset in step S101, the second audio data is the name of the character in the audio file to be played, for example: the name of the host. Accordingly, the audio file is a story to be played by the story machine. For example, the story to be played is "dora in love exploration", the name of the protagonist is "dora", and the second audio data is "dora".
First, the name "dora" (i.e., the second audio data) of the protagonist is recognized in the story to be played, and the first audio data (i.e., "tung tree") is called from the database to be played each time the protagonist "dora" is encountered during the playing of the story.
In one example, when the preset name provided by the user is multiple, the processing method further includes:
converting the Nth preset name provided by the user into first audio data, replacing the Nth-1 preset name, and storing the first audio data in a database; wherein N is more than or equal to 2. Also take "duo la loving exploration" as an example:
for example, the preset name first input by the user is "a", and the preset name is converted into a first audio file and stored in the database. And if a subsequent user wants to change a preset name listening story and inputs a preset name 'B', the 'B' is converted into a first audio file, replaces the previous preset name 'A', and stores the first audio file in a database. In the process of playing the story, each time the protagonist 'dora' is encountered, the first audio data (namely 'B') is called from the database, and the protagonist 'dora' in the story is replaced by the 'B', so that the story is played.
In another example, when the preset name provided by the user is plural, the method further includes:
converting the preset name provided by the user into first audio data, and storing the first audio data into a database in sequence. Also take "dora love exploration" as an example:
for example, the user inputs a preset name "a" and a preset name "B" in sequence, the preset name "a" and the preset name "B" are all converted into a first audio file, and the first audio file are all stored in the database according to the sequence of inputting the preset names. In the process of playing the story, when the protagonist 'dora' in the story is encountered, the preset name 'B' input after being called replaces the protagonist 'dora' in the story to play the story.
In yet another example, when the preset name provided by the user is plural, the method further includes:
converting the preset name provided by the user into first audio data, and storing the first audio data into a database in sequence. Also take "dora love exploration" as an example:
for example, the user inputs a preset name "a", a preset name "B", and a preset name "C" in sequence, converts all of the preset name "a", the preset name "B", and the preset name "C" into a first audio file, and stores all of the first audio file into the database according to the sequence of the preset name input. Before the story is played, a user can randomly adjust the sequencing of the preset names in the database, and in the process of playing the story, when the user encounters the master in the story each time, the first preset name in the sequencing in the database is called to replace the name of the master in the story, so that the story is played. Such as: before playing the < Dora of love exploration >, the user adjusts the preset name 'B' to the first position, and in the story playing process, when encountering the host male 'Dora' in the story, the user can call the first-ordered preset name 'B' to replace the host male 'Dora' in the story to play the story.
In another example, the second audio file may be set as names of a plurality of characters in the story, and a corresponding user may input the plurality of preset names, and at this time, all the input preset names may be converted into audio data, and all the audio data may be sequentially stored in the database, and when playing, the names of the plurality of characters in the story may be respectively recognized, and then the preset names in the database may be sequentially called to respectively replace the names of the original characters in the story.
It should be noted that, in the implementation process of this embodiment, the user may arbitrarily adjust the order of the preset names in the database.
The processing method of the audio file provided by the invention can increase the bringing-in feeling of the story when the story is played by the story machine, so that children prefer to listen to the story, the meaning expressed by the story is effectively remembered, and the comprehension of the children is improved.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides a system for processing an audio file, specifically as shown in fig. 2, where the system 200 includes: a receiving module 201, a converting module 202, a recognizing module 203 and a calling module 204.
The receiving module 201 is configured to receive a preset name input by a user.
The conversion module 202 is configured to convert the preset name provided by the user into first audio data, and store the first audio data in the database.
The identifying module 203 is configured to identify second audio data from an audio file to be played, where the second audio data in the audio file is pre-marked.
The calling module 204 is configured to call the first audio data from the database and replace the second audio data for playing when the audio file is played.
The identifying module 203 is specifically configured to identify an audio file to be played, and determine the second audio data when the identifier of the second audio data is found.
The functions executed by each part in the audio file processing system provided by the embodiment of the present invention have been described in detail in the audio file processing method provided by the embodiment, and are not described herein again.
The processing system of the audio file provided by the invention can increase the bringing-in feeling of the story when the story is played by the story machine, so that children prefer to listen to the story, the meaning expressed by the story is effectively remembered, and the comprehension of the children is improved.
It will be further appreciated by those of ordinary skill in the art that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether these functions are performed in hardware or software depends on the particular application of the solution and design constraints. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (2)
1. A method of processing an audio file in a child story machine, comprising the steps of:
converting at least one preset name provided by a user into at least one first audio data, and storing the at least one first audio data into a database according to the input sequence of the preset name; the preset name is the name of the listener or the familiar person of the listener;
identifying the audio file to be played, and determining at least one piece of second audio data when the marker of the second audio data is found; when the audio file is played, calling the first audio data from the database in sequence, and replacing the at least one second audio data for playing; the audio file is an audio file of a story to be played by the event machine; the second audio data is the name of a character in the audio file;
the ordering of the first audio data in the database can be set.
2. A child story machine, comprising:
the receiving module is used for receiving at least one preset name input by a user; the preset name is the name of the listener or the familiar person of the listener;
the conversion module is used for converting at least one preset name provided by a user into at least one first audio data and storing the first audio data into the database according to the input sequence of the preset name;
the identification module is used for identifying the audio file to be played, and determining at least one piece of second audio data when the marker of the second audio data is found; the audio file is an audio file of a story to be played by the event machine; the second audio data is the name of a character in the audio file;
the calling module is used for calling the first audio data sequenced into the first order from the database and replacing the second audio data to play when the audio file is played; the ordering of the first audio data in the database can be set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710914232.1A CN107729441B (en) | 2017-09-30 | 2017-09-30 | Audio file processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710914232.1A CN107729441B (en) | 2017-09-30 | 2017-09-30 | Audio file processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107729441A CN107729441A (en) | 2018-02-23 |
CN107729441B true CN107729441B (en) | 2022-04-08 |
Family
ID=61209467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710914232.1A Active CN107729441B (en) | 2017-09-30 | 2017-09-30 | Audio file processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107729441B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109241331B (en) * | 2018-09-25 | 2022-03-15 | 北京光年无限科技有限公司 | Intelligent robot-oriented story data processing method |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202014A (en) * | 2004-01-14 | 2005-07-28 | Sony Corp | Audio signal processor, audio signal processing method, and audio signal processing program |
JP4890536B2 (en) * | 2005-04-14 | 2012-03-07 | トムソン ライセンシング | Automatic replacement of unwanted audio content from audio signals |
CN102821146B (en) * | 2012-07-27 | 2016-04-20 | 深圳市有伴科技有限公司 | Based on the personalized interaction method and system of mobile terminal application |
US8781613B1 (en) * | 2013-06-26 | 2014-07-15 | Applifier Oy | Audio apparatus for portable devices |
US9330169B2 (en) * | 2013-03-15 | 2016-05-03 | Bose Corporation | Audio systems and related devices and methods |
US9424348B1 (en) * | 2013-05-08 | 2016-08-23 | Rock My World, Inc. | Sensor-driven audio playback modification |
CN106155470B (en) * | 2015-04-21 | 2019-09-17 | 阿里巴巴集团控股有限公司 | A kind of audio file generation method and device |
CN105244026B (en) * | 2015-08-24 | 2019-09-20 | 北京意匠文枢科技有限公司 | A kind of method of speech processing and device |
CN105608934B (en) * | 2015-12-21 | 2018-09-04 | 大连新锐天地传媒有限公司 | AR children stories early education legitimate drama systems |
CN106782517A (en) * | 2016-12-15 | 2017-05-31 | 咪咕数字传媒有限公司 | A kind of speech audio keyword filter method and device |
CN106653070B (en) * | 2016-12-30 | 2019-12-20 | 广州恒一工程技术有限公司 | Audio node insertion method and device and terminal equipment |
-
2017
- 2017-09-30 CN CN201710914232.1A patent/CN107729441B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107729441A (en) | 2018-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109145123B (en) | Knowledge graph model construction method, intelligent interaction method and system and electronic equipment | |
CN105704013B (en) | Topic based on context updates data processing method and device | |
CN109101545A (en) | Natural language processing method, apparatus, equipment and medium based on human-computer interaction | |
CN107391750B (en) | Method and apparatus for processing information | |
CN108564966B (en) | Voice test method and device with storage function | |
CN107357787B (en) | Semantic interaction method and device and electronic equipment | |
CN110390927B (en) | Audio processing method and device, electronic equipment and computer readable storage medium | |
CN101551998B (en) | A group of voice interaction devices and method of voice interaction with human | |
CN109979430A (en) | A kind of method, apparatus that robot tells a story, robot and storage medium | |
CN106020449A (en) | A virtual reality interaction method and device | |
CN109036372A (en) | A kind of voice broadcast method, apparatus and system | |
CN109327614B (en) | Global simultaneous interpretation mobile phone and method | |
CN104123857B (en) | A kind of Apparatus and method for realizing personalized some reading | |
CN107729441B (en) | Audio file processing method and system | |
CN103632674A (en) | Audio signal processing method and device | |
CN109460548A (en) | A kind of narration data processing method and system towards intelligent robot | |
CN109413663B (en) | Information processing method and equipment | |
CN111339881A (en) | Baby growth monitoring method and system based on emotion recognition | |
CN111161734A (en) | Voice interaction method and device based on designated scene | |
CN112185187A (en) | Learning method and intelligent device for social language | |
JP2023542665A (en) | Model data processing methods, devices, electronic devices, computer readable media and computer programs | |
CN111047923B (en) | Story machine control method, story playing system and storage medium | |
CN112201227A (en) | Voice sample generation method and device, storage medium and electronic device | |
CN111986657A (en) | Audio recognition method and device, recording terminal, server and storage medium | |
CN105023596B (en) | A kind of method and device for opening playback equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |