Music control method and device and storage medium

By selecting the target color information in the music interaction area, automatically determining the target element type of the preset music element and playing music clips, the problem of high difficulty for beginners in music instruments is solved and training efficiency is improved.

CN119832880APending Publication Date: 2025-04-15UNKNOWN PLANET TECH (DONGGUAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411752394.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-03-09
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, musical instrument users, especially beginners, have high difficulty and complexity in playing musical instruments and low efficiency.

Method used

By selecting the target color information in the music interaction area, using the color information in the music interaction area and the element type of the preset music element, the target element type of the preset music element is determined, and the music clip corresponding to the target element type is played.

Benefits of technology

It reduces the difficulty and complexity of the user's playing instruments, improves the user's training efficiency, and allows beginners to master music theory knowledge more quickly and play and sing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119832880A_ABST
    Figure CN119832880A_ABST
Patent Text Reader

Abstract

The invention discloses a music control method and device and a storage medium, and relates to the field of communication computers, the method comprises the steps that target color information selected in a music interaction area is determined, and a mapping relation exists between the color information of the music interaction area and the element type of a preset music element; and according to the target color information, determining a target element type of a preset music element, and playing a music clip corresponding to the target element type. According to the method and the device, the mode of selecting the color information in the music interaction area, then automatically determining the target element type of the preset music element and playing the music clip corresponding to the target element type replaces the mode of activating the operation of the corresponding music clip through a complex fingering method. The difficulty and complexity of playing the musical instrument by the user are reduced, and the training efficiency of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application with application number 202110257427.X. The application date of the parent case is March 9, 2021. The name of the invention of the parent case is: Music control method, device and storage medium. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a music control method, device and storage medium. Background Art

[0003] In the prior art, whether playing electronic instruments or traditional orchestral percussion instruments, the performers need to have certain music theory knowledge and practice repeatedly to play a complete song. For example, if a guitar beginner wants to play a song, he needs to master certain music theory knowledge such as music rhythm, pitch, and string-picking techniques. He also needs to remember the various fingerings of the left hand of the guitar and coordinate with the different string-picking and string-sweeping movements of the right hand. In addition, the beginner also needs to cooperate with singing. That is, at present, beginners of musical instruments need to undergo a long period of training to achieve the goal of playing and singing by themselves. In order to reduce the difficulty of learning and using musical instruments for beginners of musical instruments, many prior arts adopt the method of playing by watching light prompts. However, the method of playing by watching light prompts does not rely on muscle memory to play, and does not reduce the difficulty and complexity of use for instrument users, especially beginners. Summary of the invention

[0004] The main purpose of the present application is to provide a music control method, device and storage medium, aiming to solve the technical problems in the prior art that instrument users, especially beginners, have high difficulty and complexity in playing instruments and low efficiency.

[0005] To achieve the above object, the present application provides a music control method, which is applied to a music control device. The music control method includes:

[0006] Determining target color information selected in the music interaction area, wherein there is a mapping relationship between the color information of the music interaction area and the element type of the preset music element;

[0007] According to the target color information, a target element type of a preset music element is determined, and a music clip corresponding to the target element type is played.

[0008] Optionally, the step of determining target color information selected in the music interaction area includes:

[0009] The printed color in the music interaction area is detected by a sensor to obtain a color detection result;

[0010] According to the color detection result, target color information selected in the music interaction area is determined.

[0011] Optionally, the step of playing the music clip corresponding to the target element type further includes:

[0012] determining whether an activation instruction is detected;

[0013] If an activation instruction is detected, a music clip corresponding to the target element type is played.

[0014] Optionally, the music interaction area includes a plucking area;

[0015] The step of determining whether an activation instruction is detected comprises:

[0016] Determine whether a string-picking operation is detected in the string-picking area, or determine whether a trigger operation of a preset activation button is detected;

[0017] If a plucking operation is detected in the plucking area, or a triggering operation of a preset activation button is detected, it is determined that an activation instruction is detected.

[0018] Optionally, the step of determining a target element type of a preset music element according to the target color information, and playing a music clip corresponding to the target element type includes:

[0019] Determining a target element type of a preset music element according to the target color information;

[0020] Determine the music rhythm type setting;

[0021] Determining a target music segment based on the music rhythm type setting and the target element type;

[0022] Activate the target music clip and play it.

[0023] Optionally, the music control device is a guitar, and the target element type includes chords;

[0024] The step of determining the target music segment based on the music rhythm type setting and the target element type comprises:

[0025] Determine the pronunciation information of each plucked string corresponding to the chord;

[0026] Based on the music rhythm type setting, the pronunciation information of each plucked string corresponding to the chord is combined to determine the target music segment.

[0027] Optionally, the preset music elements include chord elements, drum elements and scale elements.

[0028] Optionally, the step of determining a target element type of a preset music element according to the target color information, and playing a music clip corresponding to the target element type includes:

[0029] Determining a target element type of a preset music element according to the target color information;

[0030] Determine the music playing mode;

[0031] Through the music playing mode, the music clip corresponding to the target element type is played.

[0032] Optionally, the music control device is a guitar;

[0033] The step of determining target different element types according to the target color information and playing the music clip corresponding to the target element type includes:

[0034] If the preset music element is a chord element, determining a target chord type according to the target color information;

[0035] Play the music clip corresponding to the target chord type.

[0036] Optionally, the color information includes red, orange, yellow, green, cyan, blue and purple, and the mapping relationship is that red, orange, yellow, green, cyan, blue and purple correspond to seven chords C, Dm, Em, F, G, Am, B respectively.

[0037] Optionally, the music control device is a drum set;

[0038] The step of determining target different element types according to the target color information and playing a music clip corresponding to the target chord type comprises:

[0039] If the preset music element is a drum set element, determining the target drum set type according to the target color information;

[0040] Activate a music clip corresponding to the target drum kit type.

[0041] Optionally, the step of determining target different element types according to the target color information and playing a music clip corresponding to the target chord type includes:

[0042] If the preset music element is a scale element, determining a target scale according to the target color information;

[0043] Activate the music segment corresponding to the scale.

[0044] The present application also provides a music control device, which is applied to a music control device, and the music control device comprises:

[0045] A first determination module is used to determine target color information selected in the music interaction area, wherein there is a mapping relationship between the color information of the music interaction area and the element type of the preset music element;

[0046] The second determination module is used to determine the target element type of the preset music element according to the target color information, and play the music clip corresponding to the target chord type.

[0047] Optionally, the first determining module includes:

[0048] A first acquisition unit is used to detect the printed color in the music interaction area through a sensor to obtain a color detection result;

[0049] The first determination unit is used to determine target color information selected in the music interaction area according to the color detection result.

[0050] Optionally, the second determining module further includes:

[0051] a second determining unit, configured to determine whether an activation instruction is detected;

[0052] The first playing unit is used to play the music clip corresponding to the target element type if an activation instruction is detected.

[0053] Optionally, the music interaction area includes a plucking area;

[0054] The second determining unit includes:

[0055] A first determination subunit is used to determine whether a plucking operation is detected in the plucking area, or to determine whether a triggering operation of a preset activation button is detected;

[0056] The second determining subunit is used to determine that an activation instruction is detected if a plucking operation is detected in the plucking area, or a triggering operation of a preset activation button is detected.

[0057] Optionally, the second determining module includes:

[0058] Determining a target element type of a preset music element according to the target color information;

[0059] A third determining unit, used to determine a music rhythm type setting;

[0060] a fourth determining unit, configured to determine a target music segment based on the music rhythm type setting and the target element type;

[0061] The first activation unit is used to activate and play the target music clip.

[0062] Optionally, the music control device is a guitar, and the target element type includes chords;

[0063] The fourth determining unit includes:

[0064] A third determining subunit is used to determine the pronunciation information of each plucked string corresponding to the chord;

[0065] The fourth determination subunit is used to combine the pronunciation information of each plucked string corresponding to the chord based on the music rhythm type setting to determine the target music segment.

[0066] Optionally, the preset music elements include chord elements, drum elements and scale elements.

[0067] Optionally, the second determining module further includes:

[0068] A fifth determining unit, configured to determine a target element type of a preset music element according to the target color information;

[0069] A sixth determining unit, configured to determine a music playing mode;

[0070] The second playing unit is used to play the music clip corresponding to the target element type through the music playing mode.

[0071] Optionally, the music control device is a guitar;

[0072] The second determining module further includes:

[0073] a seventh determination unit, configured to determine a target chord type according to the target color information if the preset music element is a chord element;

[0074] The third playing unit is used to play the music clip corresponding to the target chord type.

[0075] Optionally, the color information includes red, orange, yellow, green, cyan, blue and purple, and the mapping relationship is that red, orange, yellow, green, cyan, blue and purple correspond to seven chords C, Dm, Em, F, G, Am, B respectively.

[0076] Optionally, the music control device is a drum set;

[0077] The second determining module further includes:

[0078] an eighth determination unit, configured to determine a target drum set type according to the target color information if the preset music element is a drum set element;

[0079] The second activation unit is used to activate the music clip corresponding to the target drum set type.

[0080] Optionally, the second determining module further includes:

[0081] a ninth determining unit, configured to determine a target scale according to the target color information if the preset music element is a scale element;

[0082] The third activation unit is used to activate the music segment corresponding to the scale.

[0083] The present application also provides a music control device, which is a physical device. The music control device includes: a memory, a processor, and a program of the music control method stored in the memory and executable on the processor. When the program of the music control method is executed by the processor, the steps of the music control method as described above can be implemented.

[0084] The present application also provides a readable storage medium, on which is stored a program for implementing the music control method. When the program of the music control method is executed by a processor, the steps of the music control method as described above are implemented.

[0085] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned music control method when executed by a processor.

[0086] Compared with the prior art, in which the difficulty and complexity of playing musical instruments are high, resulting in low training efficiency of musical instrument playing, the present application provides a music control method, device and storage medium. The present application determines the target color information selected in the music interaction area, wherein the color information of the music interaction area and the element type of the preset music element have a mapping relationship; according to the target color information, the target element type of the preset music element is determined, and the music clip corresponding to the target element type is played. In the present application, since the color information of the music interaction area and the element type of the preset music element have a mapping relationship, as long as the user selects the target color in the music interaction area, the target element type of the preset music element can be determined, and then the music clip corresponding to the target element type can be played. That is, in the present application, by selecting the color information in the music interaction area, the target element type of the preset music element is automatically determined, and the music clip corresponding to the target element type is played, which replaces the operation of activating the corresponding music clip through complex fingering. In the present application, the difficulty and complexity of the user playing the instrument are reduced, and the training efficiency of the user is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0088] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0089] Figure 1 This is a flowchart of the first embodiment of the music control method of the present application;

[0090] Figure 2 This is a schematic diagram of the detailed step flow of step S20 in the first embodiment of the music control method of this application;

[0091] Figure 3 A schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application;

[0092] Figure 4 This is a schematic diagram of the first scenario involved in the embodiment of the present application;

[0093] Figure 5 This is a schematic diagram of a second scenario involved in the embodiment of the present application;

[0094] Figure 6 This is a schematic diagram of the third scenario involved in the embodiment of the present application.

[0095] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0096] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0097] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0098] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.

[0099] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0100] The present application embodiment provides a music control method. In the first embodiment of the music control method of the present application, refer to Figure 1 , applied to the local server side, the music control method includes:

[0101] Step S10, determining target color information selected in the music interaction area, wherein there is a mapping relationship between the color information of the music interaction area and the element type of the preset music element;

[0102] Step S20: determining a target element type of a preset music element according to the target color information, and playing a music clip corresponding to the target element type.

[0103] The specific steps are as follows:

[0104] Step S10, determining target color information selected in the music interaction area, wherein there is a mapping relationship between the color information of the music interaction area and the element type of the preset music element;

[0105] In this embodiment, it should be noted that the music control method is applied to a music control device, which is subordinate to a music control equipment, wherein the music control device may include components such as a color detector, a controller, and a player.

[0106] In this embodiment, the music control device may specifically be a guitar, a drum set, or other music equipment, which is not specifically limited herein.

[0107] In this embodiment, a specific description is given by taking a guitar as an example of the music control device.

[0108] Specifically, in the present embodiment, the music control device is a guitar, and the music interaction area may be the "fret" area on the guitar, or the plucking area on the guitar, etc. It should be noted that the music interaction area may also be a non-guitar area. For example, when the guitar interacts with the user through a color detector, the music interaction area may be any area that can provide color detection. For example, when the color detector detects a red area (color detection area) on a non-guitar area, subsequent interaction actions with the guitar may also be triggered. It should be noted that in order to avoid disordered interactions, a preset judgment condition may be set to determine whether the interaction is valid. If the interaction is valid, the target color information selected in the music interaction area is determined.

[0109] There is a mapping relationship between the color information of the music interaction area and the element type of the preset music element. Specifically, there is a mapping relationship between the color information of the music interaction area and the element type of the preset music element, which includes at least the following types:

[0110] Method 1: There is a mapping relationship between the color information of the music interaction area and the preset music elements;

[0111] Specifically, the preset music elements include chord elements, drum elements and scale elements. Therefore, the mapping relationship between the color information of the music interaction area and the preset music elements at least includes: the mapping relationship between the color information of the music interaction area and the chord elements, or the mapping relationship between the color information of the music interaction area and the drum elements, or the mapping relationship between the color information of the music interaction area and the scale elements.

[0112] Method 2: There is a mapping relationship between the color information of the music interaction area and the element type of the determined preset music element.

[0113] Specifically, the preset music elements include chord elements, drum elements and scale elements, and the element types of the chord elements can be various chords such as triads (which can be further subdivided), tetrachords, etc., the types of the drum elements can be snare drums, bass drums, rhythm cymbals, etc., and the scale elements can be specific seven-tone scales, etc. Therefore, the color information of the music interaction area and the element types of the determined preset music elements have a mapping relationship, which can be specifically:

[0114] There is a mapping relationship between the color information of the music interaction area and the chord element type of the chord element; there is a mapping relationship between the color information of the music interaction area and the element type of the drum element; there is a mapping relationship between the color information of the music interaction area and the scale element type.

[0115] The method of determining the target color information selected in the music interaction area includes:

[0116] Method 1: Determine the target color information selected in the music interaction area by touch selection;

[0117] Wherein, by the touch selection method, the target color information selected in the music interaction area may be specifically determined as follows:

[0118] If a touch operation is detected in the touch area on the guitar, the printed color of the area where the touch operation is located is determined, wherein the printed color is the target color information of the touch selection.

[0119] Determining the target color information selected in the music interaction area by means of a sensor may specifically include determining the reflection color of the object received by the sensor, and determining the target color information selected in the music interaction area based on the reflection color.

[0120] Specifically, refer to Figure 2 , the step of determining the target color information selected in the music interaction area comprises:

[0121] Step S11, detecting the printed color in the music interaction area by a sensor to obtain a color detection result;

[0122] Step S12, determining target color information selected in the music interaction area according to the color detection result.

[0123] In this embodiment, the printed color in the music interaction area is detected by a sensor. Specifically, when performing color detection, detection light is sent to the detected object, and reflected light of the detected object is received. The reflected light is the color detection result. After obtaining the reflected light, the target color information selected in the music interaction area is determined.

[0124] Specifically, for example, when the color detector is placed on a book with a red shell, the target color information is red, and when the color detector is placed on a school bag with a yellow shell, the target color information is yellow.

[0125] Step S20: determining a target element type of a preset music element according to the target color information, and playing a music clip corresponding to the target element type.

[0126] According to the target color information, the target element type of the preset music element is determined, and a music clip corresponding to the target element type is played. Specifically, the music clip is preset in the guitar, and the music clip can be just a chord clip, or a clip of a song, or a rhythm clip.

[0127] The music control device is a guitar;

[0128] The step of determining target different element types according to the target color information and playing the music clip corresponding to the target element type includes:

[0129] Step S21, if the preset music element is a chord element, determining a target chord type according to the target color information;

[0130] Step S22: playing a music clip corresponding to the target chord type.

[0131] Specifically, in this embodiment, the preset music element may be a chord element. If the preset music element is a chord element, the target chord type is determined according to the target color information, and then the music clip corresponding to the target chord type is played;

[0132] In this embodiment, the preset music element may be a drum set element. If the preset music element is a drum set, the type of the drum set element is determined according to the target color information, and then the music clip corresponding to the drum set element type is activated;

[0133] In this embodiment, the preset music element may be a scale element. If the preset music element is a scale element, the scale type is determined according to the target color information, and then the music clip corresponding to the scale is activated.

[0134] The step of playing the music clip corresponding to the target element type further includes:

[0135] Step S21, determining whether an activation instruction is detected;

[0136] In this embodiment, in order to facilitate user training and learning, it is also determined whether an activation instruction is detected, wherein the activation instruction can be detected by an activation button or a detection member in the activation area.

[0137] Specifically, the music interaction area includes a plucking area;

[0138] The step of determining whether an activation instruction is detected comprises:

[0139] Step S211, determining whether a plucking operation is detected in the plucking area, or determining whether a triggering operation of a preset activation button is detected;

[0140] In this embodiment, by determining whether a string-picking operation (specifically, Figure 6 5 arrow), or by determining whether a trigger operation of a preset activation button is detected to determine that an activation instruction has been detected, wherein the technical effect of determining whether a plucking operation is detected in the plucking area may be: facilitating the user to become familiar with the partitioned playing of each area of ​​the guitar, and the technical effect of determining whether a trigger operation of a preset activation button is detected may be: facilitating the user to select different playing methods of the guitar.

[0141] Step S212: If a plucking operation is detected in the plucking area, or a triggering operation of a preset activation button is detected, it is determined that an activation instruction is detected.

[0142] In this embodiment, if a plucking operation is detected in the plucking area, or a trigger operation of a preset activation button is detected, it is determined that an activation instruction is detected. If no plucking operation is detected in the plucking area, and no trigger operation of a preset activation button is detected, it is determined that no activation instruction is detected.

[0143] Step S22: if an activation instruction is detected, play the music clip corresponding to the target element type.

[0144] If an activation instruction is detected, the music clip corresponding to the target element type is played. If no activation instruction is detected, the music clip corresponding to the target element type is not played. The target element type may specifically be a chord type.

[0145] Specifically, the actual application scenario may be: determining the target color information selected by the user in the color printing area on the guitar, and then detecting whether the user has triggered an activation button, or detecting whether the user has detected a plucking operation in the right-hand plucking area; if the activation button is triggered, or the user has detected a plucking operation in the right-hand plucking area, play the music clip corresponding to the target chord type.

[0146] In this embodiment, it should be noted that when the activation instruction is triggered by a plucking operation detected in the plucking area, the specific plucking action of the plucking operation is also determined, and the corresponding music clip is determined according to the specific plucking action and the target chord type. That is, in this embodiment, the specific plucking action and the target chord type jointly determine or constitute the music clip.

[0147] The step of determining the target element type of the preset music element according to the target color information and playing the music clip corresponding to the target element type comprises:

[0148] Step S24, determining a target element type of a preset music element according to the target color information;

[0149] Step S25, determining the music playing mode;

[0150] In this embodiment, after determining the target element type of the preset music element according to the target color information, the music playing mode is also determined. Specifically, a mode setting area is provided on the guitar, and the mode setting area is used to determine the music playing mode, such as Figure 4 as well as Figure 6 (Specifically Figure 6 As shown in the figure with arrows 3 and 4, the "mode setting area" is specifically used to store the set timbre, volume, play speed, transposition, etc., among which the timbre setting can be changed to the timbre of different musical instruments: for example, changing the timbre of different instruments such as guitar, piano, bass, etc.; the volume setting can set the volume, the play speed setting can set the beat speed (tempo) of the music, and the transposition can shift the global pitch to achieve performance in different keys.

[0151] Step S26: Play the music clip corresponding to the target element type through the music playing mode.

[0152] The music clip corresponding to the target element type is played through the music playing mode, specifically, the music clip corresponding to the target element type is played through the timbre, volume, playing speed, and transposition in the music playing mode. The music clip can be a prelude, a song, or a chord.

[0153] Compared with the prior art, in which the difficulty and complexity of playing musical instruments are high, resulting in low training efficiency of musical instrument playing, the present application provides a music control method, device and storage medium. The present application determines the target color information selected in the music interaction area, wherein the color information of the music interaction area and the element type of the preset music element have a mapping relationship; according to the target color information, the target element type of the preset music element is determined, and the music clip corresponding to the target element type is played. In the present application, since the color information of the music interaction area and the element type of the preset music element have a mapping relationship, as long as the user selects the target color in the music interaction area, the target element type of the preset music element can be determined, and then the music clip corresponding to the target element type can be played. That is, in the present application, by selecting the color information in the music interaction area, the target element type of the preset music element is automatically determined, and the music clip corresponding to the target element type is played, which replaces the operation of activating the corresponding music clip through complex fingering. In the present application, the difficulty and complexity of the user playing the instrument are reduced, and the training efficiency of the user is improved.

[0154] Further, based on the first embodiment of the present application, in another embodiment of the present application, the step of determining the target element type of the preset music element according to the target color information and playing the music clip corresponding to the target element type includes:

[0155] Step A1, determining a target element type of a preset music element according to the target color information;

[0156] Step A2, determining the music rhythm type setting;

[0157] Step A3, determining a target music segment based on the music rhythm type setting and the target element type;

[0158] Step A4: activating and playing the target music clip.

[0159] In this embodiment, after determining the target element type of the preset music element, the music rhythm type setting is also determined. The music rhythm type setting includes different plucking orders, that is, the same chord, with different plucking orders, that is, different rhythm types, the corresponding music clips are completely different. For example, the chord type is a certain a1 chord, the plucking order used is 53211321, or the plucking order used is 13215321, then the target music clips are completely different.

[0160] That is, in this embodiment, a rhythm type setting button is provided to support the user to select at least 2 rhythm type settings and insert them. Since in this embodiment, the user is supported to select at least 2 rhythm type settings and insert them, the verse and chorus of the song played can be supported to express different performance effects with different rhythm types.

[0161] The music control device is a guitar, and the target element type includes chords;

[0162] The step of determining the target music segment based on the music rhythm type setting and the target element type comprises:

[0163] Step B1, determining the pronunciation information of each plucked string corresponding to the chord;

[0164] Step B2: Based on the music rhythm type setting, the pronunciation information of each plucked string corresponding to the chord is combined to determine the target music segment.

[0165] In this embodiment, the pronunciation information of each plucked string (right hand plucked string) corresponding to the chord (left hand fret area) is determined. Specifically, the specific chord in the chord type is the filling content, and the music rhythm type setting is the music structure or a different order of plucking strings. In this embodiment, the pronunciation of the six plucked strings corresponding to each chord (the pronunciation information of each plucked string corresponding to the chord) is stored in the memory. Therefore, based on the music rhythm type setting, the pronunciation information of each plucked string corresponding to the chord is combined to determine the target music clip, that is, these music clips are extracted and synthesized according to different arrangement and combination orders based on different rhythm types.

[0166] In this embodiment, the target element type of the preset music element is determined according to the target color information; the music rhythm type setting is determined; based on the music rhythm type setting and the target element type, the target music clip is determined; the target music clip is activated and played. In this embodiment, different performance effects are expressed through different rhythm types.

[0167] Further, based on the first embodiment of the present application, in another embodiment of the present application,

[0168] The color information includes red, orange, yellow, green, cyan, blue and purple, and the mapping relationship is that red, orange, yellow, green, cyan, blue and purple correspond to seven chords C, Dm, Em, F, G, Am, B respectively.

[0169] Specifically, in this embodiment, the music interaction area is the left-hand fret area of ​​the guitar, such as Figure 5As shown, in the music interaction area, there are 7 colors: red, orange, yellow, green, cyan, blue, and purple, which represent the 7 chords in the key of C major, C, Dm, Em, F, G, Am, and B-. By pressing or touching a key corresponding to one of the colors, the corresponding chord is selected. After selecting the chord, the right hand presses one or more simple keys (including but not limited to a variety of implementation methods, such as keys, touch, pressure sensitivity or other mechanical switching devices) to play the chord fragment.

[0170] In this embodiment, after selecting the chord, different rhythm patterns can also be selected to form different playing music clips, as shown in Table 1.

[0171] Chord Types Red C Orange Dm YellowEm Green F Cyan G Blue Am Purple B- Rhythm Type 1 Clip 1 Clip 2 Clip 3 Clip 4 Clip 5 Clip 6 Clip 7 Rhythm 2 Clip 21 Clip 22 Clip 23 Clip 24 Clip 25 Clip 26 Clip 27 ... ... ... ... ... ... ... ... Rhythm Type Fragment n1 Fragment n2 Fragment n3 Fragment n4 Fragment n5 Fragment n6 Fragment n7

[0172] Table 1

[0173] In this embodiment, the color information includes red, orange, yellow, green, cyan, blue and purple. The mapping relationship is that red, orange, yellow, green, cyan, blue and purple correspond to seven chords, C, Dm, Em, F, G, Am, B, respectively. In this embodiment, the selection of chords is achieved by printing colors in the left-hand fret area, thereby achieving the playback of different chord fragments.

[0174] Further, based on the first embodiment of the present application, in another embodiment of the present application, when receiving the remote sensing information analysis request submitted by the remote sensing area server, the step of obtaining the remote sensing information to be analyzed further includes:

[0175] The music control device is a drum set;

[0176] The step of determining target different element types according to the target color information and playing the music clip corresponding to the target element type includes:

[0177] Step C1, if the preset music element is a drum kit element, determining a target drum kit type according to the target color information;

[0178] Step C2, activating the music clip corresponding to the target drum set type.

[0179] In this embodiment, if the preset music element is a drum set element, the target drum set type is determined according to the target color information, such as whether the drum set is a bass drum, snare drum, hi-hat, low tom tom, mid tom tom, high tom tom or treble cymbal, etc. After determining the target drum set type, the music clip corresponding to the target drum set type is activated and played.

[0180] In this embodiment, if the preset music element is a drum set element, the target drum set type is determined according to the target color information; and the music clip corresponding to the target drum set type is activated. In this embodiment, the music control method is also suitable for drum sets rather than just guitars, thereby improving applicability.

[0181] Further, based on the first embodiment of the present application, in another embodiment of the present application, the music control method is applied to the remote sensing area server, and includes:

[0182] The step of determining target different element types according to the target color information and playing the music clip corresponding to the target element type includes:

[0183] Step D1, if the preset music element is a scale element, determining a target scale according to the target color information;

[0184] Step D2, activating the music clip corresponding to the scale.

[0185] In this embodiment, the preset music element can also be a scale element. If the preset music element is a scale element, the target scale is determined according to the target color information. Specifically, in the music interaction area, there are seven colors: red, orange, yellow, green, cyan, blue, and purple, which represent the seven scales of do, re, mi, fa, sol, la, and si respectively. By pressing or touching the button corresponding to one of the colors, it means that the corresponding scale is selected.

[0186] In the present application, if the preset music element is a scale element, the target scale is determined according to the target color information; and the music clip corresponding to the scale is activated. In the present embodiment, the music control method is also suitable for scales, which improves applicability.

[0187] Reference Figure 3 , Figure 3 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.

[0188] like Figure 3 As shown, the music control device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0189] Optionally, the music control device may also include a rectangular user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, etc. The rectangular user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the optional rectangular user interface may also include a standard wired interface and a wireless interface. The network interface may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0190] Those skilled in the art will understand that Figure 3 The music control device structure shown in the figure does not constitute a limitation of the music control device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0191] like Figure 3 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module and a music control method program. The operating system is a program that manages and controls the hardware and software resources of the music control device, and supports the operation of the music control method program and other software and / or programs. The network communication module is used to realize the communication between the components inside the memory 1005, and the communication with other hardware and software in the music control method system.

[0192] exist Figure 3 In the music control device shown, the processor 1001 is used to execute the music control method program stored in the memory 1005 to implement the steps of any of the above-mentioned music control methods.

[0193] The specific implementation of the music control device of the present application is basically the same as the embodiments of the above-mentioned music control method, and will not be repeated here.

[0194] The present application also provides a music control device, which is applied to a music control device. The music control device includes:

[0195] A first determination module is used to determine target color information selected in the music interaction area, wherein there is a mapping relationship between the color information of the music interaction area and the element type of the preset music element;

[0196] The second determination module is used to determine the target element type of the preset music element according to the target color information, and play the music clip corresponding to the target chord type.

[0197] Optionally, the first determining module includes:

[0198] A first acquisition unit is used to detect the printed color in the music interaction area through a sensor to obtain a color detection result;

[0199] The first determination unit is used to determine target color information selected in the music interaction area according to the color detection result.

[0200] Optionally, the second determining module further includes:

[0201] a second determining unit, configured to determine whether an activation instruction is detected;

[0202] The first playing unit is used to play the music clip corresponding to the target element type if an activation instruction is detected.

[0203] Optionally, the music interaction area includes a plucking area;

[0204] The second determining unit includes:

[0205] A first determination subunit is used to determine whether a plucking operation is detected in the plucking area, or to determine whether a triggering operation of a preset activation button is detected;

[0206] The second determining subunit is used to determine that an activation instruction is detected if a plucking operation is detected in the plucking area, or a triggering operation of a preset activation button is detected.

[0207] Optionally, the second determining module includes:

[0208] Determining a target element type of a preset music element according to the target color information;

[0209] A third determining unit, used to determine a music rhythm type setting;

[0210] a fourth determining unit, configured to determine a target music segment based on the music rhythm type setting and the target element type;

[0211] The first activation unit is used to activate and play the target music clip.

[0212] Optionally, the music control device is a guitar, and the target element type includes chords;

[0213] The fourth determining unit includes:

[0214] A third determining subunit is used to determine the pronunciation information of each plucked string corresponding to the chord;

[0215] The fourth determination subunit is used to combine the pronunciation information of each plucked string corresponding to the chord based on the music rhythm type setting to determine the target music segment.

[0216] Optionally, the preset music elements include chord elements, drum elements and scale elements.

[0217] Optionally, the second determining module further includes:

[0218] A fifth determining unit, configured to determine a target element type of a preset music element according to the target color information;

[0219] A sixth determining unit, configured to determine a music playing mode;

[0220] The second playing unit is used to play the music clip corresponding to the target element type through the music playing mode.

[0221] Optionally, the music control device is a guitar;

[0222] The second determining module further includes:

[0223] a seventh determination unit, configured to determine a target chord type according to the target color information if the preset music element is a chord element;

[0224] The third playing unit is used to play the music clip corresponding to the target chord type.

[0225] Optionally, the color information includes red, orange, yellow, green, cyan, blue and purple, and the mapping relationship is that red, orange, yellow, green, cyan, blue and purple correspond to seven chords C, Dm, Em, F, G, Am, B respectively.

[0226] Optionally, the music control device is a drum set;

[0227] The second determining module further includes:

[0228] an eighth determination unit, configured to determine a target drum set type according to the target color information if the preset music element is a drum set element;

[0229] The second activation unit is used to activate the music clip corresponding to the target drum set type.

[0230] Optionally, the second determining module further includes:

[0231] a ninth determining unit, configured to determine a target scale according to the target color information if the preset music element is a scale element;

[0232] The third activation unit is used to activate the music segment corresponding to the scale.

[0233] The specific implementation of the music control device of the present application is basically the same as the various embodiments of the above-mentioned music control method, and will not be repeated here.

[0234] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned music control method when executed by a processor.

[0235] The specific implementation of the computer program product of the present application is basically the same as the various embodiments of the above-mentioned music control method, and will not be repeated here.

[0236] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A music control method, characterized in that: Applied to a music control device, the music control method comprises: Determine a target color area selected by the user through touch in the music interaction area, wherein a mapping relationship exists between the color area of ​​the music interaction area and the element type of the preset music element; Determine whether an activation instruction is detected. If an activation instruction is detected, determine the target element type of the preset music element according to the target color area, and play the music clip corresponding to the target element type.

2. The music control method according to claim 1, characterized in that: There is a mapping relationship between the color area of ​​the music interaction area and the element type of the preset music element, including: There is a mapping relationship between the color information of the music interaction area and the preset music elements; or, There is a mapping relationship between the color information of the music interaction area and the element type of the determined preset music element.

3. The music control method according to claim 1, characterized in that: The determining whether an activation instruction is detected comprises: determining whether a string-plucking operation is detected in a string-plucking area, wherein the music interaction area includes the string-plucking area; or, Determines whether a triggering action of a preset activation button is detected.

4. The music control method according to claim 1, characterized in that: The step of determining a target element type of a preset music element according to the target color area and playing a music clip corresponding to the target element type includes: Determining a target element type of a preset music element according to the target color area; Determine the music rhythm type setting; Determining a target music segment based on the music rhythm type setting and the target element type; Activate the target music clip and play it.

5. The music control method according to claim 4, characterized in that: The music control device includes a guitar, and the target element type includes chords; The step of determining the target music segment based on the music rhythm type setting and the target element type comprises: Determine the pronunciation information of each plucked string corresponding to the chord; Based on the music rhythm type setting, the pronunciation information of each plucked string corresponding to the chord is combined to determine the target music segment.

6. The music control method according to claim 1, characterized in that: The step of determining a target element type of a preset music element according to the target color area and playing a music clip corresponding to the target element type includes: Determining a target element type of a preset music element according to the target color area; Determine the music playing mode; Through the music playing mode, the music clip corresponding to the target element type is played.

7. The music control method according to claim 6, characterized in that: The music control device comprises a setting area for setting a music playing mode.

8. A music control device, characterized in that: The music control device comprises: a memory, a processor and a program stored in the memory for implementing the music control method. The memory is used to store a program for implementing the music control method; The processor is used to execute a program for implementing the music control method to implement the steps of the music control method as described in any one of claims 1 to 7.

9. A readable storage medium, characterized in that: The readable storage medium stores a program for implementing the music control method, and the program for implementing the music control method is executed by a processor to implement the steps of the music control method as described in any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.