CN109801613A - A kind of violoncello playing method, device and terminal based on terminal - Google Patents

A kind of violoncello playing method, device and terminal based on terminal Download PDF

Info

Publication number
CN109801613A
CN109801613A CN201910031926.XA CN201910031926A CN109801613A CN 109801613 A CN109801613 A CN 109801613A CN 201910031926 A CN201910031926 A CN 201910031926A CN 109801613 A CN109801613 A CN 109801613A
Authority
CN
China
Prior art keywords
signal
terminal
detection zone
violoncello
touching signals
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.)
Granted
Application number
CN201910031926.XA
Other languages
Chinese (zh)
Other versions
CN109801613B (en
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.)
Shaanxi University of Technology
Original Assignee
Shaanxi University of Technology
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 Shaanxi University of Technology filed Critical Shaanxi University of Technology
Priority to CN201910031926.XA priority Critical patent/CN109801613B/en
Publication of CN109801613A publication Critical patent/CN109801613A/en
Application granted granted Critical
Publication of CN109801613B publication Critical patent/CN109801613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention proposes a kind of violoncello playing method, device and terminal based on terminal.Method provided by the present invention includes: to play mode into violoncello;Detection the first pressing touching signals;Detect second signal;First pressing touching signals and second signal are calculated according to default rule, and corresponding violoncello voice signal is exported according to calculated result;The string of the violoncello is shown in the terminal.Device provided by the present invention includes: pressing touching signals detection module: for detecting pressing touching signals;Second signal detection module: for detecting second signal;Voice signal output module: for calculating the first pressing touching signals and second signal according to default rule, and corresponding violoncello voice signal is exported according to calculated result;The string of the violoncello is shown in the terminal.It can be played simulated implementation violoncello on electric terminal.

Description

A kind of violoncello playing method, device and terminal based on terminal
Technical field
The present invention relates to computer and music field more particularly to a kind of violoncello playing methods based on terminal, dress It sets and terminal.
Background technique
With the development of computer technology and the communication technology, electric terminal, especially mobile phone, computer etc., these terminals In people's lives in occupation of increasing specific gravity, and various aspects of the terminal with people's clothing, food, lodging and transportion -- basic necessities of life produce Closely connection.
Especially with the development of touch technology, the function of electric terminal is also not limited only to office, communication, additionally it is possible to use In payment, synkinesia, detection direction etc..It, being capable of benefit since electric terminal is able to detect the finger touch signal of user With terminal emulation musical instrument, so that user does not need to buy musical instrument yet can experience the enjoyment of performance at any time.However, current electronics is whole Musical instrument analog module on end is merely capable of the musical instruments easy to operate such as simulation piano, guitar, for both finger being needed to manipulate the strings, Need to bend the violoncello, such as violoncello, violoncello etc. to draw bullet again, due to the spy in terms of its own structure and playing mode Point realizes simulation playing method not yet on electric terminal.
Summary of the invention
In view of this, the present invention proposes a kind of violoncello playing method, device and terminal based on terminal, it can be in electronics Simulated implementation violoncello is played in terminal.
Based on the above-mentioned purpose violoncello playing method provided by the invention based on terminal, comprising:
Detection the first pressing touching signals;
Detect second signal;
First pressing touching signals and second signal are calculated according to default rule, and are exported according to calculated result Corresponding violoncello voice signal;
The string of the violoncello is shown in the terminal;
Before the step of the first pressing of detection touching signals, further includes:
The position of the terminal is detected, if terminal overhead height is higher than the angle of bottom and terminal longitudinal axis and horizontal plane The step of being greater than the set value, be then chosen to be violoncello and play mode, pressing touching signals into the detection first.
Meanwhile the present invention also provides a kind of violoncello music performance apparatus based on terminal, comprising:
Mode selection module: for detecting the position of the terminal, if terminal overhead height is higher than bottom and terminal is longitudinal The angle of axis and horizontal plane is greater than the set value, then is chosen to be violoncello and plays mode, triggers the pressing touching signals detection Module;
Press touching signals detection module: for detecting pressing touching signals;
Second signal detection module: for detecting second signal;
Voice signal output module: based on carrying out the first pressing touching signals and second signal according to default rule It calculates, and corresponding violoncello voice signal is exported according to calculated result;
The string of the violoncello is shown in the terminal.
Further, the present invention also provides a kind of terminals, comprising: memory, processor and is stored on the memory simultaneously The computer program that can be run on the processor, the processor realize such as any one of the present invention when executing described program Step in method described in embodiment.
From the above it can be seen that violoncello playing method and device based on terminal provided by the embodiment of the present invention, energy Enough simulate on electric terminal had both needed finger performance, bow in need to draw the violoncello played, and widened the function of electric terminal, side Just the user for liking this kind musical instrument can experience the enjoyment to play an instrument whenever and wherever possible.
Detailed description of the invention
Fig. 1 is the violoncello playing method flow diagram provided in an embodiment of the present invention based on terminal;
Fig. 2A is the interface schematic diagram that violoncello playing method provided in an embodiment of the present invention is shown in terminal;
Fig. 2 B be another embodiment of the present invention provides the interface schematic diagram that is shown in terminal of violoncello playing method;
Fig. 3 is terminal provided in an embodiment of the present invention and preset plane schematic diagram;
Fig. 4 A is that basic detection zone provided in an embodiment of the present invention and the first detection zone, the second detection zone are illustrated Figure;
Fig. 4 B is schematic diagram after the first detection zone and the adjustment of the second detection zone range in the embodiment of the present invention;
Fig. 5 is the violoncello music performance apparatus schematic diagram provided in an embodiment of the present invention based on terminal.
Specific embodiment
In order to provide effective implementation, the present invention provides following embodiments, below in conjunction with Figure of description to this Inventive embodiments are illustrated.
Based on the above-mentioned purpose violoncello playing method provided in an embodiment of the present invention based on terminal, as shown in Figure 1, packet It includes:
Step 101: detection the first pressing touching signals;
Step 102: detection second signal;
Step 103: the first pressing touching signals and second signal being calculated according to default rule, and according to calculating As a result corresponding violoncello voice signal is exported;
The string of the violoncello is shown in the terminal;
Before the step of the first pressing of detection touching signals, further includes:
Step 100: the position of the terminal is detected, if terminal overhead height is higher than bottom and terminal longitudinal axis and level The step of angle in face is greater than the set value, then is chosen to be violoncello and plays mode, presses touching signals into the detection first.
Method provided by the present invention is applied to the terminal of detection touching signals, such as touch-screen mobile phone, touch screen computer Deng, can utilize the original some stringed musical instruments of touching signals detection function simulated implementation of terminal performance.In terminal touching signals The violoncello string of detection zone display simulation uses four vertically disposed straight lines as string, when user uses as shown in Figure 2 A Finger is touched when sliding or pressing by a small margin on Touch Screen using the pressing touching signals detected at this time as the first pressing Signal is controlled, i.e., finger when analog plays violoncello presses the operation of string;Meanwhile user carries out larger amplitude to Touch Screen The slide of degree, and the glide direction of the operation is in larger angle or substantially vertical, the signal work that will test with string For second signal, i.e. analog bow plays operation, according to the generation rule of violoncello, in conjunction with the first signal and the second signal, just It can be realized the simulation on electric terminal and play violoncello.
Above-mentioned terminal longitudinal axis is the longitudinal axis under terminal use state.For example, when terminal is touch-screen mobile phone, longitudinal axis Line is the longitudinal axis under the terminal use state determined according to gyroscope.
In another embodiment of the invention, violoncello is as shown in Figure 2 B at the interface that terminal is shown when playing.Including qin String 201, bow play signal hint icon 202, and user plays in 202 region of signal hint icon in bow and operates, to generate Second signal.
In a particular embodiment, above-mentioned first pressing touching signals can be some pressing signal, be also possible to relatively slightly Spend slip signals.Above-mentioned second signal can be slip signals by a relatively large margin.In order to avoid obscuring the first pressing touching signals And second signal, there should be apparent differentiation to second signal and the recognition methods of the first pressing touching signals, such as threshold value is not Same, sliding amplitude and range difference etc..More specifically, so-called when the first pressing signal is slip signals by a small margin Refer to the one third no more than terminal touching display screen width by a small margin;When second signal is slip signals by a relatively large margin, It is so-called to refer to the half not less than terminal touching display screen width by a relatively large margin.
In the specific embodiment of the invention, when second signal includes slip signals by a relatively large margin, when in inspection to interface Bow play the pressing touching signals that signal schematic representation is put on, then using the pressing touching signals as in second signal by a relatively large margin Slip signals.
In the specific embodiment of the invention, above-mentioned first pressing touching signals and second signal are to set on electric terminal Touch area within the scope of detect, specifically, if show the string of violoncello as shown in Figure 2 on mobile terminals, The range of so first pressing touching signals and second signal should cover at least one string.
When playing violoncello, neck position is close to player, thus when playing violoncello, from the angle of player Degree, the height at violoncello neck position are consistently higher than panel position, in the embodiment of the present invention, enable the top under terminal use state It is corresponding with neck one end of violoncello, it enables the bottom under terminal use state corresponding with violoncello panel one end, is being drilled with user The use habit for playing true violoncello is consistent.Meanwhile during playing violoncello, neck one end is higher than panel one end And the angle of longitudinal axis and horizontal plane is larger, in embodiments of the present invention, detect that terminal overhead height is higher than terminal bottom When the angle of portion and longitudinal axis and horizontal plane is greater than the set value, mode is played into violoncello, had both met correct performance in this way Mode is also beneficial to correct bad performance habit.Above-mentioned top corresponds to that is, in modeling interface close to violin neck position A part;Above-mentioned bottom corresponds to a part close to violin panel position that is, in modeling interface.
In some embodiment of the invention, the second signal includes terminal point signal and the first sliding touch signal;
The step of detection second signal includes:
The angle that terminal surrounds default axis and preset plane deflection is detected, the terminal point is calculated according to goniometer and is believed Number;
Detect the first sliding touch signal;Between the glide direction and the string of the first sliding touch signal Angle be in first threshold range;The sliding amplitude of first slip signals is second threshold range;
It is described to calculate pressing touching signals and second signal according to default rule, and exported according to calculated result The step of corresponding violoncello voice signal includes:
The corresponding first object string of the pressing touching signals is identified according to the first pressing touching signals;
Signal is played using the first pressing touching signals as the finger on first object string, according to the terminal angle The second target string that signal calculates bow signal is spent, using the first sliding touch signal as on the second target string Bow plays signal;
The finger is played into signal and the bow is played signal and combined, calculate and exports corresponding violoncello sound letter Number.
When preset plane is horizontal plane, terminal any position in three-dimensional space, can be seen as terminal from level The parallel initial position in face surrounds default axis and with respect to the horizontal plane rotates first angle, while around vertical with default axis Another axis with respect to the horizontal plane rotates second angle and obtains.Above-mentioned terminal surrounds the angle of default axis and preset plane rotation Degree, when the preset plane is horizontal plane, as above-mentioned first angle.
In other of the invention embodiments, when judging the glide direction of the first slip signals for from first end to second End, it is determined that it is upper bow signal that the bow, which plays signal, and the pronunciation characteristic of violoncello is calculated and exported pair when in conjunction with upper bow performance The violoncello voice signal answered;When the direction for the sliding for judging the first slip signals is from second end to first end, it is determined that institute Stating total performance signal is lower bow signal, and the pronunciation characteristic of violoncello calculates and exports corresponding violoncello sound when playing in conjunction with lower bow Sound signal.Above-mentioned first end is one end under use state close to player's right hand;Above-mentioned second end is close under use state One end of player's left hand.
As shown in figure 3, above-mentioned default axis is parallel with string shown on the display screen 302 of terminal 301;It is described pre- If plane is horizontal plane 303.When terminal is relative to the rotation that the rotation of preset plane had both included around the default axis, also wrap When including around rotation with the axis of the default axis perpendicular, the plane where only calculating the terminal display screen is surrounded The relative rotation angle of default axis and horizontal plane.
In the specific embodiment of the invention, the glide direction and string of first slip signals are substantially vertical, described First threshold range is a range close to angular interval as [- 90 °, 90 °], indicates the sliding side of the first slip signals To substantially vertical with string or in compared with mitre, with user is practical play violoncello when bend the traffic direction of opposite string substantially Unanimously.Second threshold range is used to limit the sliding amplitude of the first slip signals, first threshold range and second threshold range table Show, glide direction on terminal display screen and string direction is substantially vertical and the biggish slip signals of sliding scale are identified as first Slip signals.
During actually playing violoncello, since the dynamics difference of finger pressing string will lead to the difference of sound, And in current terminal, the technology for being able to detect touch-control pressing dynamics is had existed, therefore, in some embodiments of the invention In, it is described detection first pressing touching signals the step of include:
The position of detection the first pressing touching signals;
The dynamics of detection the first pressing touching signals;
The first pressing touching signals and second signal are calculated according to default rule, and defeated according to calculated result The step of corresponding violoncello voice signal includes: out
According to the dynamics of the position of the first pressing touching signals and the first pressing touching signals, in conjunction with second letter Number, it is calculated according to default rule, and corresponding violoncello voice signal is exported according to calculated result.
Since pressing dynamics of the current terminal to touching signals are only capable of detecting normal pressing and aggravate two kinds of feelings of pressing Condition, therefore, in some embodiment of the invention, it is described above detection first pressing touching signals dynamics the step of specifically wrap It includes:
Detect the rotation angle that terminal surrounds transversal line;The transversal line is the axis parallel with terminal width direction;
The angle of transversal line relative level rotation is surrounded according to terminal, rule converses right therewith by weight of preset The touch-control dynamics for the first pressing touching signals answered.Specifically, being exactly the close account of terminal in certain angular range When the position being more nearly where user's head on one side in portion, it is bigger to be considered as pressing dynamics, therefore converse according to preset rules The first pressing touching signals touch-control dynamics it is also just bigger.By terminal around the certain of transverse axis and horizontal plane relative rotation Angular range is corresponding with certain dynamics range, can be revolved according to the preset rule of correspondence and terminal around transversal line relative level The angle turned converses corresponding touch-control dynamics.
In the specific embodiment of the invention, bow is calculated according to the terminal point signal and plays corresponding second target of signal The concrete operation method of string are as follows:
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is first angle range, a string is second Target string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is second angle range, two strings are second Target string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is third angle range, trichord is two mesh Mark string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is fourth angle range, four strings are second Target string;
The first angle range, second angle range, third angle range, fourth angle range do not coincide.
In embodiments of the present invention, a string, two strings, trichord, four strings are respectively four strings of violoncello from fine to coarse.
In the specific embodiment of the invention, bow is calculated according to the terminal point signal and plays corresponding second target of signal The concrete operation method of string further include:
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is first angle range and second angle model When five angular range between enclosing, a string, two strings are the second target string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is second angle range and third angle model When six angular range between enclosing, two strings, trichord are the second target string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is third angle range and fourth angle model When seven angular range between enclosing, trichord, four strings are the second target string;
The first angle range to the 7th angular range does not coincide.
In order to enrich the violoncello playing method provided by the embodiment of the present invention based on terminal, meet it as far as possible more The performance of user is accustomed to and hobby, when the rotation angle that terminal display screen surrounds default axis and horizontal plane is eighth angle range When, confirm that the second target string, i.e. first object string and the second target string are consistent according to the first pressing touching signals.8th Angular range is [- a ,+a], and a is smaller value, indicates to place end level or when terminal display screen and horizontal plane are basic When concordant, the string of finger pressing is exactly that bow plays the corresponding string of signal.
In the specific embodiment of the invention, when the speed for detecting the sliding of the first sliding touch signal is greater than the set value, Judge that four strings are the second target string, then so as to identify the case where user once draws four strings.
In some embodiment of the invention, the second signal includes reciprocating rotary signal and the second sliding of the terminal Touching signals;
The step of detection second signal includes:
It is defeated when the terminal is above given threshold around the angle of default axis reciprocating rotary and each reciprocating rotary The reciprocating rotary signal out;
After detecting the reciprocating rotary signal, the second sliding touch signal is detected;Second sliding touch Angle between the glide direction of signal and the string is in third threshold range;
It is described to calculate pressing touching signals and second signal according to default rule, and exported according to calculated result The step of corresponding violoncello voice signal includes:
Identify the corresponding first object string of the pressing touching signals;
Signal is played using the pressing touching signals as the finger on first object string, is touched according to second sliding It controls signal and calculates the corresponding second target string of bow performance signal, using the second sliding touch signal as second target Bow on string plays signal;
The finger is played into signal and the bow is played signal and combined, calculate and exports corresponding violoncello sound letter Number.
Third threshold range is for indicating, when direction and the string of the second sliding touch signal are substantially vertical or it is larger to be in Angle.Above-mentioned reciprocating rotary signal refers to that terminal screen surrounds default axis and preset plane relative rotation, and in a certain range It is interior, rotation counterclockwise is rotated clockwise then, and so on certain number.Specifically, for example, terminal screen surrounds default axis B ° of line and preset plane relative rotation, then again relative to-b ° of preset plane reverse rotation.
Specifically, above-mentioned calculate the corresponding second target string of bow performance signal according to the second sliding touch signal Concrete operation method are as follows:
Bent according to the range computation of the second slip signals and plays the corresponding second target string of signal.It will be in the second sliding String in signal cover is as the second target string.
In some embodiment of the invention, the terminal includes first terminal and second terminal;The first terminal and Signal can be transmitted between two terminals, i.e., the two is connected by wirelessly or non-wirelessly mode;
The step of the first pressing of detection touching signals, specifically includes:
The first pressing of detection touching signals in the first detection zone on the first terminal;
The step of detection second signal, specifically includes:
Second signal is detected in the second detection zone in the second terminal;
It is described to calculate the first pressing touching signals and second signal according to default rule, and according to calculated result The step of exporting corresponding violoncello voice signal specifically includes:
The first pressing touching signals are sent to target terminal;The target terminal is first terminal and second terminal In one;
First pressing touching signals and second signal are calculated according to default rule, and according to calculated result, are led to The loudspeaker for crossing the target terminal exports corresponding violoncello voice signal.
Since violoncello usually has certain length, when performance, there is a certain distance between finger and bow, daily Terminal length is limited, such as mobile phone, tablet computer, can not be simulated according to actual size in daily common terminal.Pass through Above-described embodiment, user can play the violoncello of simulation using two terminals, and being able to solve can not simulate in a terminal The problem of with the performance region of true violoncello string equal length.User when in use, can be by first terminal and second Terminal is fixed on a bracket, enables bracket close to the length of true violoncello, so that playing more realistic.
In some embodiment of the invention, before the first pressing of detection touching signals, further includes:
The first detection zone is shown on the first terminal, and the second detection zone is shown in the second terminal Domain;
First detection zone respectively corresponds two parts not being overlapped in basic detection zone with the second detection zone; The basic detection zone includes string and zither bridge.
As shown in Figure 4 A, it is roughly equal can to play region for the size of basic detection zone 400 and true violoncello, or For violoncello to play region scaled, including string 401 and zither bridge 402.The detection of first detection zone the 403, the 4th Region 404 is respectively two parts not coincided of basic detection zone 400, such as the dashed region in Fig. 4 A.Eventually first The first detection zone 403 is shown on the screen at end, and the second detection zone 404 is shown on the screen of second terminal.By The first detection zone, the second detection zone are dragged on the display screen of one terminal or second terminal, can change the first detection zone The coverage area of domain, the second detection zone in basic detection zone 400, as shown in Figure 4 B.
In some embodiment of the invention, described that the first detection zone is shown on the first terminal, and described After the step of showing the second detection zone in second terminal, further includes:
Detect the third sliding touch signal on first terminal;The glide direction of the third sliding touch signal with it is described Angle between string is in third threshold range;
When the first detection zone and the second detection zone are two adjacent areas in basic detection zone, along described Mobile first detection zone of the glide direction of third sliding touch signal and the second detection zone are in the basic detection zone Corresponding position changes the range of first detection zone and the second detection zone;
When the first detection zone and the second detection zone are two non-conterminous regions in basic detection zone, along institute The mobile first detection zone corresponding position in the basic detection zone of glide direction for stating third sliding touch signal, changes Become the range of first detection zone.
Above-mentioned third threshold value indicates, shown in the glide direction and terminal display screen of third sliding touch signal to mention greatly Qin string direction is almost the same, to distinguish with sliding touch signal when playing.
In another embodiment of the invention, when user uses a terminal, terminal display screen is divided into two windows, The first detection zone is shown in a window, and the second detection zone is shown in another window;
First detection zone respectively corresponds two parts not being overlapped in basic detection zone with the second detection zone; The basic detection zone includes string and zither bridge.When detecting in first window or the second window with string direction substantially always Slip signals when, the coverage area of the first detection zone or the second detection zone is moved along glide direction.
Meanwhile the present invention also provides a kind of violoncello music performance apparatus based on terminal, as shown in Figure 5, comprising:
Mode selection module 500: it for detecting the position of the terminal, if terminal overhead height is lower than bottom, selectes Mode is played for violoncello, then triggers pressing touching signals detection module;
Press touching signals detection module 501: for detecting pressing touching signals;
Second signal detection module 502: for detecting second signal;
Voice signal output module 503: for by first pressing touching signals and second signal according to default rule into Row calculates, and exports corresponding violoncello voice signal according to calculated result;
The string of the violoncello is shown in the terminal.
In some embodiment of the invention, the second signal includes terminal point signal and the first sliding touch signal;
The second signal detection module includes:
Terminal point signature computation unit: the angle of default axis and preset plane deflection, root are surrounded for detecting terminal The terminal point signal is calculated according to goniometer;
First slip signals detection unit: for detecting the first sliding touch signal;The first sliding touch letter Number glide direction and the string between angle be in first threshold range;
The voice signal output module includes:
First object string recognition unit: for identifying the pressing touching signals pair according to the terminal point signal The first object string answered;Signal is played using the pressing touching signals as the finger on first object string;
Second target string recognition unit: for calculating the second target qin of bow signal according to the terminal point signal The first sliding touch signal is played signal by string;
Voice signal computing unit: it for the finger to be played signal and bow performance signal combination, calculates simultaneously defeated Corresponding violoncello voice signal out.
In some embodiment of the invention, the second target string recognition unit includes:
First identification subelement: the rotation angle for surrounding default axis and horizontal plane when terminal display screen is first jiao When spending range, a string is the second target string;
Second identification subelement: the rotation angle for surrounding default axis and horizontal plane when terminal display screen is second jiao When spending range, two strings are the second target string;
Third identifies subelement: the rotation angle for surrounding default axis and horizontal plane when terminal display screen is the third angle When spending range, trichord is the second target string;
4th identification subelement: the rotation angle for surrounding default axis and horizontal plane when terminal display screen is fourth angle When spending range, four strings are the second target string;
The first angle range, second angle range, third angle range, fourth angle range do not coincide.
In some embodiment of the invention, according to the terminal point signal, identify that the pressing touching signals are corresponding The step of first object string further include:
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is the first angle range and second jiao When spending five angular range between range, a string, two strings are the second target string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is second angle range and third angle model When six angular range between enclosing, two strings, trichord are the second target string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is third angle range and fourth angle model When seven angular range between enclosing, trichord, four strings are the second target string;
The first angle range to the 7th angular range does not coincide.
In some embodiment of the invention, the second signal includes reciprocating rotary signal and the second sliding of the terminal Touching signals;
The second signal detection module includes:
Reciprocating rotary signal output unit: for surrounding default axis reciprocating rotary and each reciprocating rotary when the terminal Angle when being above given threshold, export the reciprocating rotary signal;
Second sliding touch detecting signal unit: after detecting the reciprocating rotary signal, detection described second Sliding touch signal;Angle between the glide direction and the string of the second sliding touch signal is in second threshold model It encloses;
The voice signal output module includes:
First object string recognition unit: for identifying the pressing touch-control letter according to the first pressing touching signals Number corresponding first object string;Signal is played using the pressing touching signals as the finger on first object string;
Second target string recognition unit: for calculating the second of bow performance signal according to the second sliding touch signal The second sliding touch signal is played signal by target string;
Voice signal computing unit: it for the finger to be played signal and bow performance signal combination, calculates simultaneously defeated Corresponding violoncello voice signal out.
In some embodiment of the invention, the terminal includes first terminal and second terminal;
The first pressing touching signals detection module specifically includes:
First detection zone detection unit: for the first pressing of detection in the first detection zone on the first terminal Touching signals;
The second signal detection module specifically includes:
Second detection zone detection unit: for the second letter of detection in the second detection zone in the second terminal Number;
The voice signal output module specifically includes:
First pressing touching signals transmission unit: for the first pressing touching signals to be sent to target terminal;Institute Stating target terminal is one in first terminal and second terminal;
Calculating and output unit: based on carrying out the first pressing touching signals and second signal according to default rule It calculates, and according to calculated result, corresponding violoncello voice signal is exported by the loudspeaker of the target terminal.
In some embodiment of the invention, described device further include:
First detection zone display module: for showing the first detection zone on the first terminal;
Second detection zone display module: for showing the second detection zone in the second terminal;
First detection zone respectively corresponds two parts not being overlapped in basic detection zone with the second detection zone; The basic detection zone includes string and zither bridge.
In some embodiment of the invention, described device further include:
Third sliding touch signal detection module: for detecting the third sliding touch signal on first terminal;Described Angle between the glide direction and the string of three sliding touch signals is in third threshold range;
First range adjustment module: for being two in basic detection zone when the first detection zone and the second detection zone When a adjacent area, the first detection zone and the second detection zone are moved along the glide direction of the third sliding touch signal The corresponding position in the basic detection zone changes the range of first detection zone and the second detection zone;
Second range adjustment module: for being two in basic detection zone when the first detection zone and the second detection zone When a non-conterminous region, the first detection zone is moved in the basic inspection along the glide direction of the third sliding touch signal Corresponding position on region is surveyed, the range of first detection zone is changed.
From the above it can be seen that the violoncello playing method and device provided by the invention based on terminal, Neng Gou It realizes that violoncello is played on the common mobile terminal such as touch-screen mobile phone, tablet computer, while playing procedure can be made close to violoncello The real processes of performance enable violoncello fan to experience the enjoyment for playing violoncello at any time, have also widened electric terminal Envelop of function, improve the user experience of electric terminal.
Further, the present invention also provides a kind of terminals, comprising: memory, processor and is stored on the memory simultaneously The computer program that can be run on the processor, the processor realize such as any one of the present invention when executing described program Step in method described in embodiment.
It should be appreciated that multiple embodiments described in this specification are merely to illustrate and explain the present invention, it is not used to limit The fixed present invention.And in the absence of conflict, the features in the embodiments and the embodiments of the present application can be combined with each other.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of violoncello playing method based on terminal characterized by comprising
Detection the first pressing touching signals;
Detect second signal;
First pressing touching signals and second signal are calculated according to default rule, and is exported and is corresponded to according to calculated result Violoncello voice signal;
The string of the violoncello is shown in the terminal;
Before the step of the first pressing of detection touching signals, further includes:
The position of the terminal is detected, if terminal overhead height is higher than bottom and the angle of terminal longitudinal axis and horizontal plane is greater than The step of setting value is then chosen to be violoncello and plays mode, presses touching signals into the detection first.
2. the method according to claim 1, wherein the second signal includes that terminal point signal and first are sliding Dynamic touching signals;
The step of detection second signal includes:
The angle that terminal display screen surrounds default axis and preset plane deflection is detected, the terminal is calculated according to the goniometer Angle signal;
Detect the first sliding touch signal;Angle between the glide direction and the string of the first sliding touch signal Degree is in first threshold range;
It is described to calculate pressing touching signals and second signal according to default rule, and exported and corresponded to according to calculated result Violoncello voice signal the step of include:
According to the first pressing touching signals, the corresponding first object string of the pressing touching signals is identified;
Signal is played using the pressing touching signals as the finger on first object string, according to the terminal point signal meter It calculates bow and plays the corresponding second target string of signal, using the first sliding touch signal as on the second target string Bow plays signal;
The finger is played into signal and the bow is played signal and combined, calculates and exports corresponding violoncello voice signal.
3. according to the method described in claim 2, it is characterized in that, described calculate bow performance letter according to the terminal point signal The step of number corresponding second target string includes:
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is first angle range, a string is the second target String;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is second angle range, two strings are the second target String;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is third angle range, trichord is the second target String;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is fourth angle range, four strings are the second target String;
The first angle range, second angle range, third angle range, fourth angle range do not coincide.
4. according to the method described in claim 3, it is characterized in that, described calculate bow performance letter according to the terminal point signal The step of number corresponding second target string further include:
When the rotation angle that terminal display screen surrounds default axis and horizontal plane is the first angle range and second angle model When five angular range between enclosing, a string, two strings are the second target string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane be second angle range and third angle range it Between six angular ranges when, two strings, trichord be the second target string;
When the rotation angle that terminal display screen surrounds default axis and horizontal plane be third angle range and fourth angle range it Between seven angular ranges when, trichord, four strings be the second target string;
The first angle range to the 7th angular range does not coincide.
5. the method according to claim 1, wherein the second signal includes the reciprocating rotary transfering the letter of the terminal Number and the second sliding touch signal;
The step of detection second signal includes:
When the terminal is above given threshold around the angle of default axis reciprocating rotary and each reciprocating rotary, institute is exported State reciprocating rotary signal;
After detecting the reciprocating rotary signal, the second sliding touch signal is detected;The second sliding touch signal Glide direction and the string between angle be in second threshold range;
It is described to calculate pressing touching signals and second signal according to default rule, and exported and corresponded to according to calculated result Violoncello voice signal the step of include:
According to the first pressing touching signals, corresponding first object string is identified;
Signal is played using the pressing touching signals as the finger on first object string, is believed according to second sliding touch Number calculating bow plays the corresponding second target string of signal, using the second sliding touch signal as the second target string On bow play signal;
The finger is played into signal and the bow is played signal and combined, calculates and exports corresponding violoncello voice signal.
6. the method according to claim 1, wherein the terminal includes first terminal and second terminal;
The step of the first pressing of detection touching signals, specifically includes:
The first pressing of detection touching signals in the first detection zone on the first terminal;
The step of detection second signal, specifically includes:
Second signal is detected in the second detection zone in the second terminal;
It is described to calculate the first pressing touching signals and second signal according to default rule, and exported according to calculated result The step of corresponding violoncello voice signal, specifically includes:
The first pressing touching signals are sent to target terminal;The target terminal is in first terminal and second terminal One;
First pressing touching signals and second signal are calculated according to default rule, and according to calculated result, pass through institute The loudspeaker for stating target terminal exports corresponding violoncello voice signal.
7. according to the method described in claim 6, it is characterized in that, before the detection the first pressing touching signals, further includes:
The first detection zone is shown on the first terminal, and the second detection zone is shown in the second terminal;
First detection zone respectively corresponds two parts not being overlapped in basic detection zone with the second detection zone;It is described Basic detection zone includes string and zither bridge.
8. the method according to the description of claim 7 is characterized in that described show the first detection zone on the first terminal Domain, and after the step of showing the second detection zone in the second terminal, further includes:
Detect the third sliding touch signal on first terminal;The glide direction of the third sliding touch signal and the string Between angle be in third threshold range;
When the first detection zone and the second detection zone are two adjacent areas in basic detection zone, along the third Mobile first detection zone of the glide direction of sliding touch signal is corresponding in the basic detection zone with the second detection zone Position, change first detection zone and the second detection zone respectively range corresponding with basic detection zone;
When the first detection zone and the second detection zone are two non-conterminous regions in basic detection zone, along described the The mobile first detection zone corresponding position in the basic detection zone of the glide direction of three sliding touch signals, changes institute The first detection zone is stated in the corresponding range of basic detection zone.
9. a kind of violoncello music performance apparatus based on terminal characterized by comprising
Mode selection module: for detecting the position of the terminal, if terminal overhead height is lower than bottom, it is chosen to be violoncello Performance mode then triggers pressing touching signals detection module;
Press touching signals detection module: for detecting pressing touching signals;
Second signal detection module: for detecting second signal;
Voice signal output module: for the first pressing touching signals and second signal to be calculated according to default rule, And corresponding violoncello voice signal is exported according to calculated result;
The string of the violoncello is shown in the terminal.
10. a kind of terminal characterized by comprising memory, processor and be stored on the memory and can be at the place The computer program run on reason device, the processor are realized as described in any one of claim 1~8 when executing described program Method in step.
CN201910031926.XA 2019-01-14 2019-01-14 Terminal-based cello playing method and device and terminal Active CN109801613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910031926.XA CN109801613B (en) 2019-01-14 2019-01-14 Terminal-based cello playing method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910031926.XA CN109801613B (en) 2019-01-14 2019-01-14 Terminal-based cello playing method and device and terminal

Publications (2)

Publication Number Publication Date
CN109801613A true CN109801613A (en) 2019-05-24
CN109801613B CN109801613B (en) 2022-02-22

Family

ID=66558883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910031926.XA Active CN109801613B (en) 2019-01-14 2019-01-14 Terminal-based cello playing method and device and terminal

Country Status (1)

Country Link
CN (1) CN109801613B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792353A (en) * 2009-12-21 2012-11-21 米索媒体公司 Educational string instrument touchscreen simulation
CN103472956A (en) * 2013-09-30 2013-12-25 福建捷联电子有限公司 Display with musical instrument playing function
TW201407600A (en) * 2012-08-10 2014-02-16 Inventec Corp Playing method for musical instrument simulation and electronic device using the same
CN104091589A (en) * 2014-07-01 2014-10-08 冯山 Bowed string instrument playing instruction device and control method thereof
CN107424593A (en) * 2017-08-25 2017-12-01 广州彩磁信息技术有限公司 A kind of digital musical instrument of region stroke touch curved surface object loudspeaker array

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792353A (en) * 2009-12-21 2012-11-21 米索媒体公司 Educational string instrument touchscreen simulation
TW201407600A (en) * 2012-08-10 2014-02-16 Inventec Corp Playing method for musical instrument simulation and electronic device using the same
CN103472956A (en) * 2013-09-30 2013-12-25 福建捷联电子有限公司 Display with musical instrument playing function
CN104091589A (en) * 2014-07-01 2014-10-08 冯山 Bowed string instrument playing instruction device and control method thereof
CN107424593A (en) * 2017-08-25 2017-12-01 广州彩磁信息技术有限公司 A kind of digital musical instrument of region stroke touch curved surface object loudspeaker array

Also Published As

Publication number Publication date
CN109801613B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
US8961309B2 (en) System and method for using a touchscreen as an interface for music-based gameplay
US9805705B2 (en) Multi-touch piano keyboard
Essl et al. Interactivity for mobile music-making
US6388183B1 (en) Virtual musical instruments with user selectable and controllable mapping of position input to sound output
US8414395B2 (en) Strum processing for music video game on handheld device
CN105741639B (en) A kind of micro- sense palm musical instrument for simulating bowstring kind musical instrument
US20130257807A1 (en) System and method for enhancing touch input
CN109559720A (en) Electronic musical instrument and control method
Santini Augmented Piano in Augmented Reality.
Johnson et al. Vrmin: using mixed reality to augment the theremin for musical tutoring.
US20180350337A1 (en) Electronic musical instrument with separate pitch and articulation control
Wong et al. Designing wii controller: a powerful musical instrument in an interactive music performance system
CN109739388A (en) A kind of violin method, apparatus and terminal based on terminal
CN109801613A (en) A kind of violoncello playing method, device and terminal based on terminal
Putranda et al. Exploring Audio Processing in Mixed Reality to Boost Motivation in Piano Learning
Willemsen et al. Resurrecting the tromba marina: A bowed virtual reality instrument using haptic feedback and accurate physical modelling
CN205486954U (en) Little sense palm musical instrument of simulation bowstring class musical instrument
CN214504972U (en) Intelligent musical instrument
McPherson et al. Design and applications of a multi-touch musical keyboard
CN101960513B (en) Audio processing device and audio processing method
Dolhansky et al. Designing an expressive virtual percussion instrument
Overholt Advancements in violin-related human-computer interaction
Hemery et al. Towards the design of a natural user interface for performing and learning musical gestures
Sourin Music in the air with leap motion controller
CN106205283B (en) A kind of handset type intelligent musical instrument playing method

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