CN104049724B - The sound generation method and device of touch event - Google Patents
The sound generation method and device of touch event Download PDFInfo
- Publication number
- CN104049724B CN104049724B CN201310080409.4A CN201310080409A CN104049724B CN 104049724 B CN104049724 B CN 104049724B CN 201310080409 A CN201310080409 A CN 201310080409A CN 104049724 B CN104049724 B CN 104049724B
- Authority
- CN
- China
- Prior art keywords
- touch event
- sound
- operational order
- corresponding sound
- mapping relations
- 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
Landscapes
- User Interface Of Digital Computer (AREA)
- Toys (AREA)
Abstract
The invention discloses the sound generation method and device of a kind of touch event, by responding operational order of the user according to the corresponding sound of touch event setting, and according to the operational order, sets mapping relations and the preservation of the touch event and corresponding sound;When monitoring to receive the triggering command of touch event, according to mapping relations, the method for playing the corresponding sound of the touch event, with the beneficial effect for improving human-machine operation interactivity, further, allow users to arbitrarily set the corresponding sound of touch event according to the hobby of oneself, make the function of terminal more abundant, it is more interesting.
Description
Technical field
The present invention relates to the sound generation method and device in sound processing techniques field, more particularly to a kind of touch event.
Background technology
Internal sound corresponding to terminal applies at present, is to be tied up specific sound and specific touch event
It is fixed, and cannot arbitrarily be set according to the hobby of oneself by user;For example the keypad sounds for mobile phone, user can only
Keypad sounds are closed in several keypad sounds that selection is set when being dispatched from the factory using mobile phone, or selection, and cannot be according to oneself
Hobby corresponding keypad tone is set, cause the interactivity deficiency of human-machine operation.
The content of the invention
The main purpose of the embodiment of the present invention is to provide the sound generation method and device of a kind of touch event, it is intended to effectively
Improve the interactivity of human-machine operation.
The embodiment of the invention discloses a kind of sound generation method of touch event, comprise the following steps:
Respond the operational order that user sets corresponding sound according to touch event;
According to the operational order, mapping relations and the preservation of the touch event and corresponding sound are set;
Monitor whether to receive the triggering command of the touch event in real time;
When receiving the triggering command of the touch event, according to the mapping relations, the touch event pair is played
The sound answered.
The embodiment of the invention also discloses a kind of sound generating apparatus of touch event, including:
Setup module, for responding operational order of the user according to the corresponding sound of touch event setting;According to the operation
Instruction, sets mapping relations and the preservation of the touch event and corresponding sound;
Monitoring modular, for monitoring whether to receive the triggering command of the touch event in real time;
Playing module, for when receiving the triggering command of the touch event, according to the mapping relations, playing institute
State the corresponding sound of touch event.
The present invention is referred to by responding operational order of the user according to the corresponding sound of touch event setting according to the operation
Order, sets mapping relations and preservation of the touch event with corresponding sound;When monitoring to receive the triggering command of touch event,
According to mapping relations, the method for playing the corresponding sound of the touch event, has the beneficial effect for improving human-machine operation interactivity,
Further so that user can arbitrarily set the corresponding sound of touch event according to the hobby of oneself, make the function of terminal more
Add it is abundant, it is more interesting.
Brief description of the drawings
Fig. 1 is the one embodiment flow diagram of sound generation method of touch event of the present invention;
Fig. 2 be touch event of the present invention sound generation method in self-defined one embodiment operation interface frame of the sound page
Figure;
Fig. 3 is the one embodiment high-level schematic functional block diagram of sound generating apparatus of touch event of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this
Locate described specific embodiment only to explain the present invention, be not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the one embodiment flow diagram of sound generation method of touch event of the present invention;Such as Fig. 1 institutes
Show, the sound generation method of touch event of the present invention comprises the following steps:
Step S01, the operational order that user sets corresponding sound according to touch event is responded;
Step S02, according to the operational order, mapping relations and the preservation of the touch event and corresponding sound are set;
When user needs the sound corresponding to the touch event of self-defined terminal, trigger User Defined in the terminal and set
The operational order put;When terminal receives user and sets the operational order of corresponding sound according to touch event, the operation is responded
Instruction, and according to the operational order, sets the sound corresponding to the touch event that user triggers, and establish the touch event with it is right
The mapping relations of sound are answered, the touch event of setting is preserved with the mapping relations of corresponding sound.
The sound generation method of touch event of the present invention can be applied on any intelligent terminal;Such as according to user's
Operational order, defines PC(Personal Computer, personal computer)Sound, definition intelligence when middle mouse left click and right click
Can corresponding sound or corresponding sound during long-press physical button when virtual key is pressed in mobile phone, define and touched on tablet computer
Touch corresponding sound during slip, define intelligent TV set remote controler keypad sounds, define MP3 starting up when sound
Deng.
In a preferred embodiment, after terminal response user sets the operational order of corresponding sound according to touch event,
An operation interface for user according to the self-defined sound of touch event is provided, as shown in Fig. 2, Fig. 2 is touch event of the present invention
Sound generation method in self-defined one embodiment operation interface block diagram of the sound page;In the operation interface shown in Fig. 2, user
Can be set according to touch event corresponding sound, that is, user can with the self-defined corresponding sound of different touch events, than
Such as, " pressing key pressing " corresponding sound of this touch event, the corresponding sound of " long-press button " this touch event shown in Fig. 2
Sound, and the corresponding sound of other touch events, such as " touch and slide " corresponding sound of this touch event etc.;Defining
During the corresponding sound of different touch events, user can select to record, and can select to import corresponding audio file or audio
Chained address of file etc..User can set different touch events each to correspond to different sound, can also set difference
Touch event correspond to identical sound;According to the different operating of user, terminal response user sets according to touch event and corresponds to
The operational order of sound, and instructed according to aforesaid operations, mapping relations and preservation of the touch event with corresponding sound are set.
In a preferred embodiment, when terminal possesses sound-recording function, user can also select to record the sound of oneself
Or the sound of the people liked, and the sound of recording is arranged to the corresponding sound of certain touch event;At this time, terminal is according to user
Operational order, call corresponding sound-recording function, record one section of preset duration(Such as 3 seconds)Sound, by the sound of recording
It is arranged to the corresponding sound of certain touch event.Such as in the intelligent terminal of children's series, the intelligent toy that is used for children
Remote controler, " red by key pressing " this touch event can be arranged to reflect with corresponding sound " ballad that baby mother records "
Relation is penetrated, and is preserved;Can also by " starting up " of the MP3 that children use this touch event and corresponding sound " baby, you
It is very well-behaved " mapping relations are arranged to, and preserve.
Step S03, monitor whether to receive the triggering command of the touch event in real time;If so, then perform step S04;
Step S04, according to the mapping relations, the corresponding sound of the touch event is played.
The corresponding function module of terminal monitors whether to receive in real time touching for the touch event that is included in above-mentioned mapping relations
Send instructions;When receiving the triggering command of above-mentioned touch event, terminal is searched and touched with this according to the mapping relations pre-saved
Sound that control event matches and broadcasting.For example in the intelligent terminal of children's series, broadcast for the intelligent toy that children use
Device is put, when baby presses red button, which monitors that the triggering of " red button is pressed " this touch event refers to
Order, then according to the mapping relations pre-saved, search the corresponding sound of the touch event, the touch event is corresponding finding
Sound is the " ballad that baby mother records《Two tigers》" when, player plays what mother sang by automatic《Two tigers》;
Compared with the traditional children toy player of this several first ballad set when can only select and play and dispatch from the factory, using touch-control of the present invention
The toy for children player of the sound generation method of event drastically increases the interactivity of human-machine operation, which plays
Device is also more interesting.
When being not received by the triggering command of above-mentioned touch event, terminal can continue to current state, Huo Zheji
It is continuous to perform step S03, monitor whether to receive the triggering command of the touch event in real time.
The present embodiment is referred to by responding operational order of the user according to the corresponding sound of touch event setting according to the operation
Order, sets mapping relations and preservation of the touch event with corresponding sound;When monitoring to receive the triggering command of touch event,
According to mapping relations, the method for playing the corresponding sound of the touch event, has the beneficial effect for improving human-machine operation interactivity,
Further so that user can arbitrarily set the corresponding sound of touch event according to the hobby of oneself, make the function of terminal more
Add it is abundant, it is more interesting.
With reference to Fig. 3, Fig. 3 is the one embodiment high-level schematic functional block diagram of sound generating apparatus of touch event of the present invention.Such as Fig. 3
Shown, the sound generating apparatus of touch event of the present invention includes:Setup module 01, monitoring modular 02 and playing module 03.
Setup module 01, for responding operational order of the user according to the corresponding sound of touch event setting;According to the behaviour
Instruct, mapping relations and the preservation of the touch event and corresponding sound are set;
When user needs the sound corresponding to the touch event of self-defined terminal, trigger User Defined in the terminal and set
The operational order put;When terminal receives user and sets the operational order of corresponding sound according to touch event, setup module 01
The operational order is responded, and according to the operational order, the sound corresponding to the touch event of user's triggering is set, and establishes this and touch
Control event and the mapping relations of corresponding sound, the touch event of setting is preserved with the mapping relations of corresponding sound.
The sound generating apparatus of touch event of the present invention can be arranged on any intelligent terminal;Such as setup module 01
According to the operational order of user, sound when defining mouse left click and right click in PC, define virtual key in smart mobile phone and press
When corresponding sound or corresponding sound during long-press physical button, define touched on tablet computer corresponding sound when sliding,
Sound etc. when defining the keypad sounds of the remote controler of intelligent TV set, defining MP3 starting up.
In a preferred embodiment, setup module 01 responds user and is referred to according to the operation of the corresponding sound of touch event setting
After order, there is provided an operation interface for user according to the self-defined sound of touch event, and the operation interface is based on, touch-control is set
The mapping relations of event and corresponding sound, and the above-mentioned mapping relations of setting are preserved.Setup module 01 is based on User Defined
The operation interface of sound sets touch event and the process of the mapping relations of corresponding sound, refer to the tool of embodiment described in Fig. 2
Body describes, and details are not described herein.
In a preferred embodiment, when terminal possesses sound-recording function, user can also select to record the sound of oneself
Or the sound of the people liked, and the sound of recording is arranged to the corresponding sound of certain touch event;At this time, setup module 01
According to the operational order of user, corresponding sound-recording function is called, records one section of preset duration(Such as 3 seconds)Sound, will record
Sound be arranged to the corresponding sound of certain touch event.Such as in the intelligent terminal of children's series, the intelligence that is used for children
Energy remote control for toys, setup module 01 can be by " red presses key pressing " this touch events and " the baby mother's record of corresponding sound
The ballad of system " is arranged to mapping relations, and preserves;Setup module 01 can also by " starting up " of the MP3 that children use this
One touch event is arranged to mapping relations with corresponding sound " baby, you are very well-behaved ", and preserves.
Monitoring modular 02, for monitoring whether to receive the triggering command of the touch event in real time;
Playing module 03, for when receiving the triggering command of the touch event, according to the mapping relations, playing
The corresponding sound of the touch event.
Monitoring modular 02 monitors whether to receive the triggering command of the touch event included in above-mentioned mapping relations in real time;
When monitoring modular 02 detects the triggering command for receiving above-mentioned touch event, playing module 03 is closed according to the mapping pre-saved
System, searches the sound to match with the touch event and broadcasting.For example in the intelligent terminal of children's series, make for children
Intelligent toy player, when baby presses red button, monitoring modular 02 monitor " red button is pressed " this
The triggering command of touch event, then playing module 03 search the corresponding sound of the touch event according to the mapping relations pre-saved
Sound, is finding the corresponding sound of the touch event as the " ballad that baby mother records《Two tigers》" when, playing module 03
Play what mother sang by automatic《Two tigers》;Traditional youngster of several first ballads set when this is with that can only select and play and dispatch from the factory
Virgin toy player is compared, and the toy for children player for being provided with the sound generating apparatus of touch event of the present invention is greatly enhanced
The interactivity of human-machine operation, the toy for children player are also more interesting.
When monitoring modular 02 detects the triggering command for being not received by above-mentioned touch event, terminal can continue to work as
Preceding state, or monitoring modular 02 continue to monitor whether the triggering command for receiving the touch event.
The present embodiment is referred to by responding operational order of the user according to the corresponding sound of touch event setting according to the operation
Order, sets mapping relations and preservation of the touch event with corresponding sound;When monitoring to receive the triggering command of touch event,
According to mapping relations, the corresponding sound of the touch event is played, there is the beneficial effect for improving human-machine operation interactivity, further
Ground so that user can arbitrarily set the corresponding sound of touch event according to the hobby of oneself, make the function of terminal more abundant,
It is more interesting.
The foregoing is merely the preferred embodiment of the present invention, not thereby limits its scope of the claims, every to utilize the present invention
The equivalent structure or equivalent flow shift that specification and accompanying drawing content are made, is directly or indirectly used in other relevant technology necks
Domain, is included within the scope of the present invention.
Claims (8)
1. a kind of sound generation method of touch event, it is characterised in that comprise the following steps:
Respond the operational order that user sets corresponding sound according to touch event;The touch event includes:To physical button and
The corresponding operating of virtual key;
According to the operational order, mapping relations and the preservation of the touch event and corresponding sound are set;
Monitor whether to receive the triggering command of the touch event in real time;
When receiving the triggering command of the touch event, according to the mapping relations, it is corresponding to play the touch event
Sound.
2. the method as described in claim 1, it is characterised in that it is described according to the operational order, the touch event is set
With further including step before the step of mapping relations and the preservation of corresponding sound:
Respond the operational order that user sets corresponding sound according to touch event, there is provided the operation interface of corresponding sound is set, is supplied
User setting;
Based on the operation interface, step is performed:
According to the operational order, mapping relations of the touch event with corresponding sound are set.
3. method as claimed in claim 1 or 2, it is characterised in that it is described according to the operational order, the touch-control thing is set
Part includes with the mapping relations of corresponding sound and preservation:
According to the operational order, sound-recording function is called, records the sound of preset duration;
Establish the sound of the preset duration recorded and the mapping relations of the touch event and preservation.
4. the method as described in claim 1, it is characterised in that described to monitor whether to receive touching for the touch event in real time
Step is further included after the step of sending instructions:
When being not received by the triggering command of the touch event, step is continued to execute:
Monitor whether to receive the triggering command of the touch event in real time.
A kind of 5. sound generating apparatus of touch event, it is characterised in that including:
Setup module, for responding operational order of the user according to the corresponding sound of touch event setting;According to the operational order,
The mapping relations of the touch event and corresponding sound and preservation are set;The touch event includes:To physical button and virtually
The corresponding operating of button;
Monitoring modular, for monitoring whether to receive the triggering command of the touch event in real time;
Playing module, for when receiving the triggering command of the touch event, according to the mapping relations, playing described touch
The corresponding sound of control event.
6. device as claimed in claim 5, it is characterised in that the setup module is additionally operable to:
Respond the operational order that user sets corresponding sound according to touch event, there is provided the operation interface of corresponding sound is set, is supplied
User setting;Based on the operation interface, according to the operational order, the touch event is set to be closed with the mapping of corresponding sound
System.
7. the device as described in claim 5 or 6, it is characterised in that the setup module is additionally operable to:
According to the operational order, sound-recording function is called, records the sound of preset duration;
Establish the sound of the preset duration recorded and the mapping relations of the touch event and preservation.
8. device as claimed in claim 5, it is characterised in that the monitoring modular is additionally operable to:
When being not received by the triggering command of the touch event, continue to execute:
Monitor whether to receive the triggering command of the touch event in real time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310080409.4A CN104049724B (en) | 2013-03-13 | 2013-03-13 | The sound generation method and device of touch event |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310080409.4A CN104049724B (en) | 2013-03-13 | 2013-03-13 | The sound generation method and device of touch event |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104049724A CN104049724A (en) | 2014-09-17 |
CN104049724B true CN104049724B (en) | 2018-04-27 |
Family
ID=51502710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310080409.4A Active CN104049724B (en) | 2013-03-13 | 2013-03-13 | The sound generation method and device of touch event |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104049724B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049946A (en) * | 2015-08-17 | 2015-11-11 | 浪潮软件集团有限公司 | Method for realizing focus moving sound effect in digital television set top box page |
CN106125911B (en) * | 2016-06-16 | 2020-02-11 | 北京地平线机器人技术研发有限公司 | Human-computer interaction learning method for machine and machine |
CN108304155A (en) * | 2018-01-26 | 2018-07-20 | 广州源创网络科技有限公司 | A kind of man-machine interaction control method |
CN109064788A (en) * | 2018-08-14 | 2018-12-21 | 董必胜 | It is a kind of can subliminal learning learning device |
CN110601962B (en) * | 2019-09-11 | 2022-02-22 | 腾讯科技(深圳)有限公司 | Message prompting method, device, terminal and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022468A (en) * | 2007-03-05 | 2007-08-22 | 华为技术有限公司 | Mobile terminal cue sound playing method and device |
CN101102374A (en) * | 2006-07-06 | 2008-01-09 | 环达电脑(上海)有限公司 | Voice prompt recording system and its method |
CN101370052A (en) * | 2008-09-17 | 2009-02-18 | 中兴通讯股份有限公司 | Multi-reminding tone implementing method based on NFC and mobile terminal |
CN101782830A (en) * | 2009-01-19 | 2010-07-21 | 英华达股份有限公司 | Electronic device and touch control input method |
CN101847079A (en) * | 2010-04-30 | 2010-09-29 | 中兴通讯股份有限公司 | Method and device for regulating control button layout |
CN102118492A (en) * | 2010-01-04 | 2011-07-06 | 中国移动通信集团公司 | Key sound prompting method and device |
CN102238262A (en) * | 2010-04-20 | 2011-11-09 | 上海博路信息技术有限公司 | Individual auto-answer audio system of mobile phone |
CN102932547A (en) * | 2012-11-01 | 2013-02-13 | 广东欧珀移动通信有限公司 | Method and device for setting message alert tones of applications |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902351A (en) * | 2011-07-25 | 2013-01-30 | 富泰华工业(深圳)有限公司 | Touch electronic device |
-
2013
- 2013-03-13 CN CN201310080409.4A patent/CN104049724B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102374A (en) * | 2006-07-06 | 2008-01-09 | 环达电脑(上海)有限公司 | Voice prompt recording system and its method |
CN101022468A (en) * | 2007-03-05 | 2007-08-22 | 华为技术有限公司 | Mobile terminal cue sound playing method and device |
CN101370052A (en) * | 2008-09-17 | 2009-02-18 | 中兴通讯股份有限公司 | Multi-reminding tone implementing method based on NFC and mobile terminal |
CN101782830A (en) * | 2009-01-19 | 2010-07-21 | 英华达股份有限公司 | Electronic device and touch control input method |
CN102118492A (en) * | 2010-01-04 | 2011-07-06 | 中国移动通信集团公司 | Key sound prompting method and device |
CN102238262A (en) * | 2010-04-20 | 2011-11-09 | 上海博路信息技术有限公司 | Individual auto-answer audio system of mobile phone |
CN101847079A (en) * | 2010-04-30 | 2010-09-29 | 中兴通讯股份有限公司 | Method and device for regulating control button layout |
CN102932547A (en) * | 2012-11-01 | 2013-02-13 | 广东欧珀移动通信有限公司 | Method and device for setting message alert tones of applications |
Also Published As
Publication number | Publication date |
---|---|
CN104049724A (en) | 2014-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104049724B (en) | The sound generation method and device of touch event | |
US8364855B2 (en) | Dynamic interpretation of user input in a portable electronic device | |
CN104598112B (en) | Button interaction method and apparatus | |
WO2017118329A1 (en) | Method and apparatus for controlling tab bar | |
CN104777986B (en) | A kind of navigation processing method and mobile terminal | |
CN101770399A (en) | Electronic equipment, method and device for switching operating system desktop | |
CN106341546B (en) | A kind of playback method of audio, device and mobile terminal | |
CN105867604A (en) | Automated haptic effect accompaniment | |
CN103513888B (en) | Electronic equipment and control method | |
CN106971752A (en) | Control method for playing multimedia and multimedia playing apparatus | |
WO2013189406A2 (en) | Method and system for demonstrating and generating demonstration script | |
CN103577060B (en) | A kind of data processing method and electronic equipment | |
CN207153090U (en) | A kind of intelligent music rocking horse | |
US20160350069A1 (en) | Method, apparatus and medium for continuous playback of sound file | |
CN110691016A (en) | Interactive method realized based on audio equipment and audio equipment | |
TWI426414B (en) | Integrated remote control device and wireless control method thereof | |
CN202018824U (en) | Intelligent dialogue sounding | |
CN104138665A (en) | Doll control method and doll | |
CN104778002B (en) | A kind of textual presentation method, mobile terminal and system | |
CN104423871B (en) | A kind of information processing method and electronic equipment | |
CN105828172B (en) | Control method for playing back and device in audio-video frequency playing system | |
CA2859905C (en) | Multifunction button | |
CN201491111U (en) | Portable karaoke OK multimedia player | |
AU2012202791B8 (en) | Dynamic interpretation of user input in a portable electronic device | |
AU2013273792B2 (en) | Dynamic interpretation of user input in a portable electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |