Electronic musical instrument, tone adjustment method, and computer readable storage medium
By introducing input components and encoders into electronic musical instruments, combined with knob components and controllers, pitch adjustment across groups and the entire range is achieved, solving the problems of complex and limited pitch adjustment in existing technologies and meeting users' needs for rich pitches.
Patent Information
- Application Number
- CN202511034391.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-12-02
AI Technical Summary
The existing electronic musical instruments have complex pitch adjustment operations, making it difficult to achieve cross-group adjustment and limiting the adjustment range, which cannot meet the needs of music composition and performance for rich pitches.
The tone adjustment component includes an input component and an encoder. The rotation of the knob component generates a signal, and the controller determines the tone group number and key name based on the signal, realizing tone adjustment within a wide range. It supports cross-group adjustment and tone adjustment of all twelve major keys.
It simplifies pitch adjustment, enables full-range pitch shifting, meets users' needs for different pitches, and provides a wider range of pitch selection and adjustment precision.
Smart Images

Figure CN121053939A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic musical instruments, and particularly to an electronic musical instrument, a pitch adjustment method, and a computer-readable storage medium. Background Technology
[0002] In the field of music, to enable musical instruments to play music in different pitches and adapt to the complex needs of music composition, performance, and teaching, such as range matching and allowing singers to easily reach the highest notes, users can make corresponding adjustments to the instruments, such as using a guitar capo. Therefore, for electronic musical instruments such as smart guitars, how to achieve pitch adjustment is a pressing issue that needs to be addressed. Summary of the Invention
[0003] This application provides an electronic musical instrument, a pitch adjustment method, and a computer-readable storage medium.
[0004] This application provides an electronic musical instrument, which includes a controller and a pitch adjustment component, the pitch adjustment component including an input component and an encoder;
[0005] The input component is configured to generate an input action in response to a tone adjustment input operation;
[0006] The encoder is configured to generate a first target signal based on the input action;
[0007] The controller is configured to determine, based on the first target signal, a first target pitch group number and a first target pitch name of the musical sound to be played, so as to play the musical sound according to the first target pitch group number and the first target pitch name, wherein the adjustment range of the first target pitch group number is from the second octave to the fifth octave.
[0008] Thus, an input action is generated, and based on the encoder, a first target signal is generated according to the input action produced by the input component. Then, the controller in the electronic musical instrument can determine the first target pitch group number and the first target pitch name of the musical note to be played based on the first target pitch group number and the first target pitch name. This allows the musical note to be played according to the first target pitch group number and the first target pitch name, thereby achieving pitch adjustment of the electronic musical instrument to a certain extent, thus meeting the user's pitch adjustment needs. Furthermore, it allows the electronic musical instrument to adjust the first target pitch group number of the musical note to be played within the range from the second octave to the fifth octave. Therefore, the user can adjust the pitch group number to the entire pitch range from the second octave to the fifth octave according to the required range, achieving full-range pitch shifting.
[0009] In some implementations, the input component includes a knob assembly.
[0010] Thus, the input components include knob components. This allows users to flexibly adjust the tone of the electric guitar via the knob components, avoiding limitations on rotation angles and providing a basic operating method for achieving a wide range of tone adjustments.
[0011] In some embodiments, the knob assembly includes a knob cap housing and a transmission structure, the knob cap housing covering the transmission structure, and the transmission structure being drive-connected to the encoder.
[0012] Thus, the knob assembly includes a knob cap housing and a transmission structure. The knob cap housing covers the transmission structure, which is connected to the encoder. This design, based on the knob cap housing and transmission structure, allows users to flexibly adjust the tone of the electric guitar, avoiding limitations on the rotation angle and providing a basic operating method for achieving a wide range of tone adjustments.
[0013] In some embodiments, the knob assembly is configured to produce a rotational action in response to a first tone adjustment input operation;
[0014] The encoder is configured to generate a first target signal based on the rotational action;
[0015] The controller is configured to determine the rotation level of the knob assembly based on the first target signal, and to determine the tone group number corresponding to the rotation level as the first target tone group number, and to determine the tone name corresponding to the rotation level as the first target tone name, wherein the rotation level includes multiple levels, and each rotation level corresponds to a tone group number and a tone name.
[0016] Thus, the knob assembly is configured to generate a rotational action in response to a first pitch adjustment input operation; the encoder is configured to generate a first target signal based on the rotational action; the controller is configured to determine the rotation level of the knob assembly based on the first target signal, and to determine the pitch group number corresponding to the rotation level as the first target pitch group number, and the pitch name corresponding to the rotation level as the first target pitch name, wherein there are multiple rotation levels, and each rotation level corresponds to a pitch group number and a pitch name. In this way, based on the first pitch adjustment input operation triggered by the user's rotation, the knob assembly can generate a rotational action including the user's rotation level and direction, and the encoder can generate a corresponding first target signal based on the rotational action, so that the controller can determine the user's rotation level and direction based on the first target signal, and thus determine the pitch group number corresponding to the rotation level as the first target pitch group number and the pitch name corresponding to the rotation level as the first target pitch name across the entire pitch range, achieving full-range pitch shifting and meeting the user's pitch adjustment needs for electronic musical instruments.
[0017] In some implementations, the encoder is configured to generate a first target signal based on the rotation direction of the rotational action.
[0018] Thus, the encoder is configured to generate a first target signal based on the rotation direction of the rotational motion. In this way, the encoder can generate a first target signal containing directional information based on the rotation direction, enabling the controller to obtain the rotation direction based on the first target information, determine the rotation level by combining the counts of each directional signal, accurately determine the current tone group and name, and achieve precise adjustment across groups and all twelve major keys, meeting the user's needs for different tones.
[0019] In some implementations, the first target signal includes a first pulse signal and a second pulse signal;
[0020] The encoder is configured to generate the first pulse signal when the knob assembly rotates in a first direction, and to generate the second pulse signal when the knob assembly rotates in a second direction, wherein the first direction and the second direction are opposite.
[0021] The controller is configured to determine the number of rotational stages based on the first pulse signal and the second pulse signal.
[0022] Thus, the first target signal includes a first pulse signal and a second pulse signal; the encoder is configured to generate the first pulse signal when the knob assembly rotates in a first direction, and to generate the second pulse signal when the knob assembly rotates in a second direction, wherein the first and second directions are opposite; the controller is configured to determine the rotation level based on the first and second pulse signals. In this way, based on the first pulse signal generated in the first direction and the second pulse signal generated in the second direction, the controller can determine the direction of rotation to determine the tone adjustment direction, and the controller can also determine the rotation level to determine the corresponding tone name and tone number, thereby realizing cross-group adjustment and adjustment of the twelve natural major keys, ensuring the accuracy and stability of tone adjustment, and meeting the user's needs for different tones.
[0023] In some embodiments, the electronic musical instrument includes a storage module;
[0024] The storage module is configured to store the first pulse signal and the second pulse signal;
[0025] The controller is configured to determine the number of rotation stages based on all pulse signals in the storage module.
[0026] Thus, the electronic musical instrument includes a storage module; the storage module is configured to store a first pulse signal and a second pulse signal; the controller is configured to determine the rotation level based on all the pulse signals in the storage module. In this way, the storage module can store the first and second pulse signals, preventing the loss of the user's previous pitch adjustment information after a power outage, ensuring that the pitch can be directly restored to the last set state upon next use, thereby guaranteeing a better user experience.
[0027] In some embodiments, the electronic musical instrument includes a communication module;
[0028] The communication module is configured to receive pitch adjustment commands sent by the application program that is compatible with the electronic musical instrument.
[0029] The controller is configured to determine a second target tone group number and a second target tone name according to the tone adjustment instruction, so as to play the musical tone to be played according to the second target tone group number and the second target tone name, wherein the adjustment range of the second target tone group number is from the second octave to the fifth octave.
[0030] Thus, the electronic musical instrument includes a communication module; the communication module is configured to receive pitch adjustment commands sent by the application program accompanying the electronic musical instrument; the controller is configured to determine the second target pitch group number and the second target pitch name according to the pitch adjustment commands, so as to play the musical tone to be played according to the second target pitch group number and the second target pitch name, wherein the adjustment range of the second target pitch group number is from the second major octave to the fifth minor octave. In this way, the controller can adjust the pitch according to the pitch adjustment commands received by the communication module, allowing users to operate it both through the knob component and remotely set it through the application program, meeting the user's pitch adjustment needs for the electronic musical instrument and achieving pitch adjustment across the entire range and all twelve keys.
[0031] In some embodiments, the controller is configured to control the knob assembly to rotate to a target rotation level based on the second target tone group number and the second target tone name, wherein the target rotation level corresponds to the second target tone group number and the second target tone name.
[0032] Thus, the controller is configured to rotate the knob assembly to a target rotation level based on the second target pitch group number and the second target pitch name, wherein the target rotation level corresponds to the second target pitch group number and the second target pitch name. By ensuring that the hardware display of the knob is consistent with the second target pitch group number and the second target pitch name set in the application, the visualization and consistency of user operation can be guaranteed, thereby reducing the difficulty for users to use electronic musical instruments, achieving accurate pitch adjustment of electronic musical instruments, and ultimately meeting users' pitch adjustment needs for electronic musical instruments.
[0033] In some embodiments, the electronic musical instrument includes a driving component;
[0034] The controller is configured to control the drive assembly to drive the knob assembly to rotate to the target rotation level.
[0035] Thus, the electronic musical instrument includes a drive assembly; the controller is configured to control the drive assembly, driving the knob assembly to rotate to a target rotation level. In this way, the drive assembly can drive the knob assembly to rotate to the target rotation level, ensuring that the state of the knob assembly matches the target rotation level corresponding to the pitch adjusted by the software application, thereby providing a display basis for the accuracy and stability of pitch adjustment using the application.
[0036] In some embodiments, the drive assembly includes a drive motor and a drive element;
[0037] The controller is configured to control the drive unit to drive the drive motor to connect with the knob assembly, and, when the drive motor is connected with the knob assembly, control the drive motor to drive the knob assembly to rotate to the target rotation level.
[0038] Thus, the drive assembly includes a drive motor and a drive element; the controller is configured to control the drive element, connect the drive motor and the knob assembly, and, when the drive motor is connected to the knob assembly, control the drive motor to rotate the knob assembly to a target rotation level. In this way, the controller can control the drive element, connect the drive motor and the knob assembly, thereby driving the knob assembly to rotate to the target rotation level, ensuring that the state of the knob assembly matches the target rotation level corresponding to the tone adjusted by the software application, thus providing a display basis for the accuracy and stability of tone adjustment using the application.
[0039] In some embodiments, the controller is configured to control the drive unit to disconnect the drive motor from the knob assembly when the knob assembly is rotated to the target rotation level.
[0040] Thus, the controller is configured to control the drive unit, disconnecting the drive motor from the knob assembly when the knob assembly is rotated to the target rotation level. This disconnects the mechanical linkage between the drive motor and the knob assembly, preventing the motor from interfering with the user's subsequent manual knob rotation, or causing damage to the motor due to the knob assembly driving in the opposite direction. This ensures that the user can freely and smoothly adjust the tone using the knob.
[0041] In some embodiments, the knob assembly is configured to generate a pressing action in response to a second tone adjustment input operation;
[0042] The encoder is configured to generate a second target signal based on the pressing action;
[0043] The controller is configured to determine the preset tone group number as the first target tone group number and the preset tone name as the first target tone name based on the second target signal.
[0044] Thus, the knob assembly is configured to generate a pressing action in response to a second pitch adjustment input operation; the encoder is configured to generate a second target signal based on the pressing action; and the controller is configured to determine the preset pitch group number as the first target pitch group number and the preset pitch name as the first target pitch name based on the second target signal. In this way, in response to the user-triggered second pitch adjustment input operation, and based on the encoder generating the second target signal from the pressing action of the knob assembly, the controller in the electronic musical instrument can determine the preset pitch group number as the first target pitch group number and the preset pitch name as the first target pitch name based on the second target signal. This provides the user with a quick way to reset the pitch without the need for manual adjustment step by step, reducing the operational difficulty of the electronic musical instrument.
[0045] In some embodiments, the controller is configured to control the knob assembly to rotate to a preset rotation level according to the preset tone group number and the preset tone name, wherein the preset rotation level corresponds to the preset tone group number and the preset tone name.
[0046] Thus, the controller is configured to rotate the knob assembly to a preset rotation level based on the preset pitch group number and preset pitch name, where the preset rotation level corresponds to the preset pitch group number and preset pitch name. By ensuring that the hardware display of the knob matches the second target pitch group number and second target pitch name set in the application, the visualization and consistency of user operation are guaranteed, thereby reducing the difficulty for users to use electronic musical instruments, achieving accurate pitch adjustment of electronic musical instruments, and ultimately meeting users' pitch adjustment needs for electronic musical instruments.
[0047] In some embodiments, the electronic musical instrument includes a driving component;
[0048] The controller is configured to control the drive component to drive the knob component to rotate to the preset rotation level.
[0049] Thus, the controller is configured to rotate the knob assembly to a preset rotation level based on the preset pitch group number and preset pitch name, where the preset rotation level corresponds to the preset pitch group number and preset pitch name. By ensuring that the hardware display of the knob is consistent with the preset pitch group number and preset pitch name, the visualization and consistency of user operation are guaranteed, thereby reducing the difficulty of using electronic musical instruments, enabling accurate pitch adjustment, and ultimately meeting users' pitch adjustment needs for electronic musical instruments.
[0050] In some embodiments, the drive assembly includes a drive motor and a drive element;
[0051] The controller is configured to control the drive unit to drive the drive motor to connect with the knob assembly, and when the drive motor is connected with the knob assembly, control the drive motor to drive the knob assembly to rotate to the preset rotation level.
[0052] Thus, the electronic musical instrument includes a drive assembly; the controller is configured to control the drive assembly, driving the knob assembly to rotate to a preset rotation level. In this way, the drive assembly can drive the knob assembly to rotate to the preset rotation level, thereby ensuring that the rotation level of the knob assembly matches the preset pitch group number and preset pitch name, thus providing a display basis for the accuracy and stability of the reset operation.
[0053] In some embodiments, the controller is configured to control the drive unit to disconnect the drive motor from the knob assembly when the knob assembly is rotated to the preset rotation level.
[0054] Thus, the controller is configured to, when the knob assembly rotates to a preset rotation level, control the drive component, disconnecting the drive motor from the knob assembly. By disengaging the mechanical linkage between the drive motor and the knob assembly, interference from the motor to the user's subsequent manual knob rotation is prevented, or damage to the motor caused by the knob assembly driving in the opposite direction. This ensures that the user can freely and smoothly reset the tone using the knob.
[0055] This application provides a pitch adjustment method, the method comprising:
[0056] In response to a pitch adjustment input operation, the target pitch group number and target pitch name of the musical note to be played are determined, so as to play the musical note to be played according to the target pitch group number and the target pitch name, wherein the adjustment range of the target pitch group number is from the second octave to the fifth octave.
[0057] In this way, the pitch adjustment component in the electronic musical instrument can respond to the pitch adjustment input operation triggered by the user based on the input component to generate an input action, and can generate a first target signal based on the input action generated by the input component based on the encoder. Then, the controller in the electronic musical instrument can determine the first target pitch group number and the first target pitch name of the musical note to be played based on the first target pitch group number and the first target pitch name, so that the musical note to be played can be played according to the first target pitch group number and the first target pitch name, thereby realizing the pitch adjustment of the electronic musical instrument to a certain extent, and thus satisfying the user's pitch adjustment needs. In addition, the electronic musical instrument can adjust the first target pitch group number of the musical note to be played within the range of the second octave to the fifth octave, so that the user can adjust the pitch group number to the entire pitch range from the second octave to the fifth octave according to the pitch range needs, realizing full-range pitch shifting.
[0058] This application provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the steps of the above-described method.
[0059] The electronic musical instrument, pitch adjustment method, and computer-readable storage medium provided in this application, in response to a pitch adjustment input operation, determine the target pitch group number and target pitch name of the musical note to be played, and play the musical note according to the target pitch group number and target pitch name. The adjustment range of the target pitch group number is from the second octave to the fifth octave. This allows the pitch adjustment component in the electronic musical instrument to generate an input action based on the input component in response to a user-triggered pitch adjustment input operation, and to generate a first target signal based on the input action generated by the input component using an encoder. Furthermore, the controller in the electronic musical instrument can determine the first target pitch group number and first target pitch name of the musical note to be played according to the first target signal, thereby playing the musical note according to the first target pitch group number and first target pitch name. This achieves pitch adjustment of the electronic musical instrument to a certain extent, thus satisfying the user's pitch adjustment needs. Furthermore, this allows electronic musical instruments to adjust the first target pitch group number of the musical note to be played within the range of the second octave (greater octave) to the fifth octave (lower octave), thereby enabling users to adjust the pitch group number to the entire pitch range from the second octave (greater octave) to the fifth octave (lower octave) according to their vocal range needs, achieving full-range pitch modulation. Additional aspects and advantages of the embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the embodiments of this application. Attached Figure Description
[0060] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein:
[0061] Figure 1 This is one of the schematic diagrams of an electronic musical instrument structure according to certain embodiments of this application;
[0062] Figure 2 These are schematic diagrams of electronic musical instruments according to certain embodiments of this application;
[0063] Figure 3 This is a pitch diagram illustrating certain embodiments of this application;
[0064] Figure 4 This is a second schematic diagram of the structure of an electronic musical instrument according to certain embodiments of this application;
[0065] Figure 5 This is a schematic diagram of the relay principle in some embodiments of this application;
[0066] Figure 6 This is the third schematic diagram of the electronic musical instrument structure according to certain embodiments of this application. Detailed Implementation
[0067] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.
[0068] In the field of music, the tuning of musical instruments is a core element in meeting diverse creative, performance, and teaching needs. For example, singers have individual differences in their vocal range, and the original key of a song may exceed the highest or lowest note that a singer can easily control. In this case, it is necessary to adjust the pitch of the instrument to match the singer's vocal range.
[0069] However, in related technologies, a common problem with pitch adjustment in electronic musical instruments is that the pitch adjustment input operation is complicated, making it difficult for users who lack music theory knowledge to quickly find a suitable pitch using traditional pitch rotary buttons, often requiring repeated adjustments and playing attempts.
[0070] Furthermore, the pitch adjustment of electronic musical instruments cannot meet the needs of cross-group adjustment. Their adjustment range is limited. Some devices can only be adjusted within the current group of the score, such as C major to B major in the first octave. They cannot achieve adjustment in higher or lower ranges across groups. Moreover, they only support 7 natural major keys such as C, D, E, F, G, A, and B, which cannot cover all the modes corresponding to the 12 semitones on the piano keyboard. This makes it difficult to meet the needs of music composition and performance for rich tones.
[0071] Based on the above issues, please refer to Figure 1This application provides an electronic musical instrument 1000, which includes a controller 1100 and a tone adjustment component 1200. The tone adjustment component 1200 includes an input component 1210 and an encoder 1220.
[0072] Input component 1210 is configured to generate an input action in response to a tone adjustment input operation;
[0073] Encoder 1220 is configured to generate a first target signal based on the input action;
[0074] The controller 1100 is configured to determine the first target pitch group number and the first target pitch name of the musical sound to be played based on the first target signal, so as to play the musical sound to be played according to the first target pitch group number and the first target pitch name, wherein the adjustment range of the first target pitch group number is from the second octave to the fifth octave.
[0075] Specifically, the electronic musical instrument 1000 can simulate the playing of musical instruments by recognizing playing actions and converting them into digital signals. For example, it can simulate the sound produced by touching a chord pad or plucking a pick, replacing the vibration of guitar strings in a stringless guitar. The electronic musical instrument 1000 in this embodiment can be, for example... Figure 2 The stringless guitar shown.
[0076] The pitch adjustment input operation refers to the user performing operations such as rotating or pressing the pitch adjustment component 1200 in the electronic musical instrument 1000, so that the electronic musical instrument 1000 can play musical notes of the corresponding pitch according to the pitch adjustment input operation, thereby realizing pitch adjustment.
[0077] Understandably, pitch is the high-pitched attribute of the musical notes played by the electronic musical instrument 1000; its adjustment range can be found in [reference needed]. Figure 3 The range of piano tones shown.
[0078] The "Greater Octave 2" to "Lesser Octave 5" refer to the tone group numbers, used to distinguish the octave range of pitch. The letters A, B, C, etc., refer to the key names. Each group of 7 letters corresponds to the 12 semitones formed by the 7 white keys and 5 black keys on a piano keyboard, such as C major, D major, E major, F major, G major, A major, B major, etc. in the Lesser Octave 1 group. Major key Major key Major key Major key Major keys refer to the 12 natural major keys in music theory.
[0079] The pitch adjustment component 1200 includes an input component 1210 and an encoder 1220, which are used to continuously acquire pitch adjustment input operations to generate corresponding digital signals according to the user's pitch adjustment input operations, thereby enabling the electronic musical instrument 1000 to play corresponding musical tones according to the digital signals.
[0080] The input component 1210 is used to trigger the corresponding input action based on the tone adjustment input operation.
[0081] The encoder 1220 generates a corresponding level signal, i.e., a first target signal, based on the input action, converting the physical action into a level signal and transmitting the first target signal to the controller 1100 to provide a basis for judgment. For example, during the process of a user adjusting the pitch of an electronic musical instrument, the input component 1210 is rotated, i.e., a pitch adjustment input operation. The input component 1210 can generate an input action containing the rotation direction and rotation level, so that the encoder 1220 can generate a first target signal containing the corresponding rotation direction and rotation level information. This allows the controller 1100 to determine the pitch group number and pitch name required by the user based on the rotation direction and rotation level information.
[0082] The controller 1100 receives and processes the first target signal acquired by the tone adjustment component 1200. It can determine the first target tone group number and first target tone name of the musical sound to be played from all tone group numbers and all tone names, so as to determine the tone corresponding to the user's tone adjustment input operation.
[0083] The controller 1100 can also play the corresponding musical tone according to the first target tone group number and the first target tone name. The user can determine whether the tone adjustment input operation has been adjusted to a suitable or desired tone based on the played musical tone.
[0084] Understandably, the music to be played can be set according to the user's needs. It can be a sound corresponding to a certain pitch, or it can be the twelve major keys played in sequence, or it can be the first two notes of music automatically generated according to the pitch of the user's score, so as to more accurately help the user judge whether the pitch adjustment meets expectations.
[0085] The electronic musical instrument 1000 of this application embodiment can control the playback of musical notes of corresponding pitches according to pitch adjustment input operations, so that users can flexibly select appropriate pitches according to their pitch range requirements or the characteristics of the score, thereby satisfying users' pitch adjustment needs for the electronic musical instrument 1000. Compared with the limitation of adjustment only within the current group of the score, the pitch adjustment component 1200 of this application embodiment can continuously acquire pitch adjustment input operations to determine a first target signal, so that the controller 1100 can determine the first target pitch group number of the musical note to be played within the range of the second octave to the fifth octave according to the first target signal. This allows users to adjust the pitch group number to the entire pitch range from the second octave to the fifth octave according to their pitch range requirements, achieving full-range pitch shifting.
[0086] In summary, in this embodiment, the pitch adjustment component 1200 in the electronic musical instrument 1000 can generate an input action based on the input component 1210 in response to a pitch adjustment input operation triggered by the user, and can generate a first target signal based on the encoder 1220 according to the input action generated by the input component 1210. Then, the controller 1100 in the electronic musical instrument 1000 can determine the first target pitch group number and the first target pitch name of the musical note to be played based on the first target pitch group number and the first target pitch name, thereby playing the musical note to be played according to the first target pitch group number and the first target pitch name. This achieves pitch adjustment of the electronic musical instrument 1000 to a certain extent, thus satisfying the user's pitch adjustment needs for the electronic musical instrument 1000. Furthermore, the electronic musical instrument 1000 can adjust the first target pitch group number of the musical note to be played within the range from the second octave to the fifth octave, allowing the user to adjust the pitch group number to the entire pitch range from the second octave to the fifth octave according to their vocal range needs, achieving full-range pitch shifting.
[0087] In some implementations, input component 1210 includes knob component 1211.
[0088] Specifically, the input component 1210 includes a knob component 1211, which refers to a relative knob that can be rotated infinitely in one direction.
[0089] Based on the tone adjustment input operation, the knob assembly 1211 can generate a corresponding input action, such as rotating a certain number of times in a certain direction, so that the encoder 1220 can generate a corresponding first target signal according to the input action. Then, the controller 1100 can determine the group and tone name of the current tone according to the first target signal, realizing cross-group adjustment from the second group of large octaves to the fifth group of small octaves and tone adjustment of all twelve natural major keys, providing users with a wider range of tone selection.
[0090] Thus, the input component 1210 includes a knob component 1211. This allows the user to flexibly adjust the tone of the electric guitar via the knob component 1211, providing a basic operating method for achieving a wide range of tone adjustments.
[0091] Please see Figure 4 In some embodiments, the knob assembly 1211 includes a knob cap housing 1212 and a transmission structure 1213, with the knob cap housing 1212 covering the transmission structure 1213, and the transmission structure 1213 being connected to the encoder 1220 in a transmission manner.
[0092] Specifically, the knob assembly 1211 includes a knob cap housing 1212 and a transmission structure 1213.
[0093] Among them, the knob cap shell 1212 covers the transmission structure component 1213, such as Figure 4 The knobs shown are from a stringless guitar. Users can turn the knob caps on the metal casing to adjust the tone of the electronic instrument 1000.
[0094] The transmission structure 1213 can generate input actions to the encoder 1220 based on the user's rotation operation, i.e., the tone adjustment input operation, such as an action that is consistent with the rotation level and rotation direction of the tone adjustment input operation.
[0095] By connecting with encoder 1220, transmission structure 1213 can drive encoder 1220 to rotate, so that encoder 1220 generates a corresponding first target signal according to the input action, so that controller 1100 can determine the group and tone name of the current tone according to the first target signal, realize cross-group adjustment and tone adjustment of all twelve natural major keys, and provide users with a wider range of tone selection.
[0096] Thus, the knob assembly 1211 includes a knob cap housing 1212 and a transmission structure 1213. The knob cap housing 1212 covers the transmission structure 1213, and the transmission structure 1213 is connected to the encoder 1220 for transmission. In this way, based on the knob cap housing 1212 and the transmission structure 1213, the user can flexibly adjust the tone of the electric guitar, providing a basic operating method for achieving a wide range of tone adjustments.
[0097] In some embodiments, the knob assembly 1211 is configured to produce a rotational action in response to a first tone adjustment input operation;
[0098] Encoder 1220 is configured to generate a first target signal based on the rotational motion;
[0099] The controller 1100 is configured to determine the rotation level of the knob assembly 1211 according to the first target signal, and to determine the tone group number corresponding to the rotation level as the first target tone group number, and to determine the tone name corresponding to the rotation level as the first target tone name, wherein the rotation level includes multiple levels, and each rotation level corresponds to a tone group number and a tone name.
[0100] Specifically, the first tone adjustment input operation refers to the user's rotation operation.
[0101] The rotation level refers to the rotation distance relative to the initial position. Users can generate multiple rotation levels by adjusting the first tone input. Each rotation level corresponds to a tone group number and a tone name.
[0102] In response to the first tone adjustment input operation, the knob assembly 1211 can generate a rotational action so that the encoder 1220 can generate a corresponding level signal, i.e., the first target signal, based on the rotational action.
[0103] The controller 1100 can determine the level and direction of the user's rotation based on the level signal, i.e. the first target signal, and then determine the tone group number corresponding to the rotation level as the first target tone group number and the tone name corresponding to the rotation level as the first target tone name, thereby realizing the tone adjustment of the electronic musical instrument 1000.
[0104] In one example, see Figure 5 The circuit diagram of encoder 1220 shown is as follows:
[0105] First, such as Figure 5 As shown, when the encoder 1220 rotates due to a user-triggered input action, the encoder 1220 can generate a corresponding level signal, i.e., a first target signal, depending on the direction of rotation. For example, when the knob assembly 1211 is rotated counterclockwise, Figure 5 The output signal "out A" is shown at pin A; when the knob assembly 1211 is turned clockwise, Figure 5 The output signal at pin B is shown as outB;
[0106] Then, based on the first target signal generated by the encoder 1220, the controller 1100 can determine the number of first target signal data in the left rotation direction and the number of first target signals in the right rotation direction, and thus calculate the user's rotation position. For example, if the left rotation outA is +1 and the right rotation outB is -1, and the number of outA is 3 and the number of outB is 4, the knob level can be determined to be -1 by (+1)*3+(-1)*4=-1.
[0107] Finally, the controller 1100 determines the corresponding first target tone group number and first target tone name based on the mapping relationship between the knob level and the tone group number and tone name, and then plays the musical tone of the corresponding tone according to the first target tone group number and first target tone name. For example, the knob level is (0,N], which corresponds to C major in the first octave; the knob level is (N,2N], which corresponds to D major in the first octave, etc., where N is a positive integer.
[0108] It should be clarified that the mapping relationship between the knob levels and the first target tone group number and the first target tone name can be set according to the actual situation.
[0109] Thus, the knob assembly 1211 is configured to generate a rotational action in response to a first tone adjustment input operation; the encoder 1220 is configured to generate a first target signal based on the rotational action; and the controller 1100 is configured to determine the rotation level of the knob assembly 1211 based on the first target signal, and to determine the tone group number corresponding to the rotation level as the first target tone group number, and to determine the tone name corresponding to the rotation level as the first target tone name, wherein the rotation level includes multiple levels, and each rotation level corresponds to a tone group number and a tone name. In this way, based on the user's rotation-triggered first tone adjustment input operation, the knob assembly 1211 can generate a rotation action that includes the user's rotation level and direction, and the encoder 1220 can generate a corresponding first target signal based on the rotation action, so that the controller 1100 can determine the user's rotation level and direction based on the first target signal, and then determine the tone group number corresponding to the rotation level as the first target tone group number and the tone name corresponding to the rotation level as the first target tone name in the full range, thereby realizing full range pitch shifting and meeting the user's tone adjustment needs for the electronic musical instrument 1000.
[0110] In some implementations, encoder 1220 is configured to generate a first target signal based on the rotation direction of the rotational motion.
[0111] Specifically, the direction of rotation includes two opposite directions, such as left-handed and right-handed rotation.
[0112] Based on the rotation direction of the rotation action, the encoder 1220 can generate a first target signal with directional information, so that the controller 1100 can obtain the user's rotation direction based on the first target signal, and then determine the rotation level by combining the signal counts of each direction, thereby accurately determining the group and name of the current tone, realizing precise adjustment across groups and all twelve natural major keys, and meeting the user's needs for different tones.
[0113] Thus, encoder 1220 is configured to generate a first target signal based on the rotation direction of the rotational action. In this way, encoder 1220 can generate a first target signal containing directional information based on the rotation direction, enabling controller 1100 to obtain the rotation direction based on the first target information, determine the rotation level by combining the counts of each directional signal, accurately determine the current tone group and name, and achieve precise adjustment across groups and all twelve natural major keys, meeting the user's needs for different tones.
[0114] In some implementations, the first target signal includes a first pulse signal and a second pulse signal;
[0115] The encoder 1220 is configured to generate a first pulse signal when the knob assembly 1211 is rotated in a first direction, and to generate a second pulse signal when the knob assembly 1211 is rotated in a second direction, wherein the first direction and the second direction are opposite.
[0116] The controller 1100 is configured to determine the number of rotation stages based on the first pulse signal and the second pulse signal.
[0117] Specifically, the rotation direction includes a first direction and a second direction that are opposite in direction, for example, left-handed and right-handed.
[0118] The first target signal includes a first pulse signal and a second pulse signal.
[0119] The first pulse signal is a low-level signal generated by the encoder 1220 when the knob assembly 1211 rotates in the first direction; the second pulse signal is a high-level signal generated by the encoder 1220 when the knob assembly 1211 rotates in the second direction.
[0120] Based on the first and second pulse signals generated in opposite directions by the encoder 1220, the controller 1100 can determine the direction in which the user rotates the tone knob, providing a basis for judging the direction of subsequent tone adjustment.
[0121] Furthermore, the controller 1100 can also combine the counting of the first pulse signal and the second pulse signal to determine the rotation level, and then determine the tone group number corresponding to the rotation level as the first target tone group number, and determine the corresponding tone name and tone number, so as to realize cross-group adjustment and adjustment of the twelve natural major keys, ensuring the accuracy and stability of tone adjustment and meeting the user's needs for different tones.
[0122] Thus, the first target signal includes a first pulse signal and a second pulse signal; the encoder 1220 is configured to generate the first pulse signal when the knob assembly 1211 rotates in a first direction, and to generate the second pulse signal when the knob assembly 1211 rotates in a second direction, wherein the first direction and the second direction are opposite; the controller 1100 is configured to determine the rotation level based on the first pulse signal and the second pulse signal. In this way, based on the first pulse signal generated in the first direction and the second pulse signal generated in the second direction, the controller 1100 can determine the direction of rotation to determine the tone adjustment direction, and the controller 1100 can also determine the rotation level to determine the corresponding tone name and tone number, thereby realizing cross-group adjustment and adjustment of the twelve natural major keys, ensuring the accuracy and stability of tone adjustment, and meeting the user's needs for different tones.
[0123] In some embodiments, the electronic musical instrument 1000 includes a storage module 1300;
[0124] The storage module 1300 is configured to store the first pulse signal and the second pulse signal;
[0125] The controller 1100 is configured to determine the number of rotation stages based on all pulse signals in the storage module 1300.
[0126] Specifically, the storage module 1300 is used to store the first pulse signal and the second pulse signal to avoid losing the user's previous tone adjustment information after power failure, and to ensure that the tone can be directly restored to the last set tone state when used next time.
[0127] In one example, the memory can store the pulse data emitted by the encoder 1220, namely the first pulse signal and the second pulse signal, to avoid losing the user's previous pitch adjustment information after a power outage. When the electronic musical instrument 1000 is powered off and then back on, the controller 1100 can continue to determine the pitch group number of the pitch adjusted by the user based on the data in the memory, and then determine the pitch name and pitch group number. Finally, based on the pitch name and pitch group number, the controller controls the electronic musical instrument 1000 to play the corresponding musical note.
[0128] Thus, the electronic musical instrument 1000 includes a storage module 1300; the storage module 1300 is configured to store a first pulse signal and a second pulse signal; the controller 1100 is configured to determine the rotation level based on all the pulse signals in the storage module 1300. In this way, the storage module 1300 can store the first and second pulse signals, preventing the loss of the user's previous pitch adjustment information after a power outage, ensuring that the pitch can be directly restored to the previously set pitch state upon next use, thereby guaranteeing a better user experience.
[0129] In some embodiments, the electronic musical instrument 1000 includes a communication module 1400;
[0130] The communication module 1400 is configured to receive a pitch adjustment instruction sent by an application program that is compatible with the electronic musical instrument 1000;
[0131] The controller 1100 is configured to determine a second target pitch group number and a second target pitch name according to the pitch adjustment instruction, so as to play the to-be-played musical sound according to the second target pitch group number and the second target pitch name. Among them, the adjustment range of the second target pitch group number is from the second grand staff to the fifth small staff.
[0132] Specifically, the communication module 1400 is used to receive the pitch adjustment instruction sent by the application program that is compatible with the electronic musical instrument 1000, and transmit it to the controller 1100, realizing the wireless communication connection between the electronic musical instrument 1000 and the application program.
[0133] The controller 1100 can determine a second target pitch group number and a second target pitch name according to the pitch adjustment instruction, so as to play the to-be-played musical sound according to the second target pitch group number and the second target pitch name, enabling the user to adjust the pitch group number to the entire pitch range from the second grand staff to the fifth small staff according to the pitch range requirement through the application program, and realizing transposition in the full pitch range.
[0134] In one example, after receiving the pitch adjustment instruction transmitted by the communication module 1400, the controller 1100 will determine the second target pitch group number for adjusting the pitch within the range from the second grand staff to the fifth small staff and the second target pitch name covering twelve natural major keys, and then control the electronic musical instrument 1000 to play the musical sound corresponding to the pitch, completing the pitch adjustment based on the instruction of the application program.
[0135] In this way, the electronic musical instrument 1000 includes a communication module 1400; the communication module 1400 is configured to receive a pitch adjustment instruction sent by an application program that is compatible with the electronic musical instrument 1000; the controller 1100 is configured to determine a second target pitch group number and a second target pitch name according to the pitch adjustment instruction, so as to play the to-be-played musical sound according to the second target pitch group number and the second target pitch name. Among them, the adjustment range of the second target pitch group number is from the second grand staff to the fifth small staff. In this way, the controller 1100 can adjust the pitch according to the pitch adjustment instruction received by the communication module 1400, enabling the user to operate through the knob assembly 1211 and also remotely set through the application program, meeting the user's pitch adjustment requirements for the electronic musical instrument 1000, and realizing pitch adjustment in the full pitch range and all twelve keys.
[0136] In some embodiments, the controller 1100 is configured to control the knob assembly 1211 to rotate to a target rotation level according to the second target tone group number and the second target tone name, wherein the target rotation level corresponds to the second target tone group number and the second target tone name.
[0137] Specifically, the target rotation level refers to the rotation level corresponding to the second target tone group number and the second target tone name.
[0138] The controller 1100 can control the knob assembly 1211 to rotate to the target rotation level corresponding to the second target tone group number and the second target tone name according to the second target tone group number and the second target tone name, so that the hardware display of the knob is consistent with the second target tone group number and the second target tone name set in the application, ensuring the visualization and consistency of user operation.
[0139] Understandably, during pitch adjustment via the application, the key name and group number specified by the application may not match the pitch knob. For example, the pitch knob might indicate C1 lower octave, while the application specifies D1 lower octave, potentially confusing the user and preventing them from adjusting the pitch correctly. Therefore, to avoid the impact of this mismatch, the pitch knob is controlled to rotate to the target rotation level corresponding to the second target pitch group number and the second target pitch name.
[0140] In addition, the controller 1100 can read the pulse data of the encoder 1220 and compare it with the tone settings of the application to ensure that the two data are consistent, thus ensuring the visualization and consistency of user operation.
[0141] Thus, the controller 1100 is configured to control the knob assembly 1211 to rotate to a target rotation level based on the second target tone group number and the second target tone name, wherein the target rotation level corresponds to the second target tone group number and the second target tone name. By ensuring that the hardware display of the knob is consistent with the second target tone group number and the second target tone name set in the application program, the visualization and consistency of user operation can be guaranteed, thereby reducing the difficulty for users to use the electronic musical instrument 1000, achieving accurate tone adjustment of the electronic musical instrument 1000, and thus meeting the user's tone adjustment needs for the electronic musical instrument 1000.
[0142] In some embodiments, the electronic musical instrument 1000 includes a drive assembly 1500;
[0143] The controller 1100 is configured to control the drive assembly 1500 to drive the knob assembly 1211 to rotate to a target rotation level.
[0144] Specifically, the drive component 1500 is used to drive the knob component 1211 to rotate to the target rotation level according to the instructions of the controller 1100, so as to respond to the tone adjustment instructions of the application and realize that the state of the knob component 1211 is consistent with the target rotation level corresponding to the tone adjusted by the software application.
[0145] Understandably, when a user adjusts the pitch using an application that accompanies the electronic musical instrument 1000, the controller 1100 receives the pitch adjustment command sent by the application and simultaneously controls the drive component 1500 to drive the knob component 1211 to rotate to the target rotation level corresponding to the adjusted pitch. This ensures that the state of the knob component 1211 is consistent with the target rotation level corresponding to the pitch adjusted by the software application. Thus, the user can determine whether the application adjustment is accurate by checking the knob component 1211, providing a display basis for the accuracy and stability of pitch adjustment using the application.
[0146] Furthermore, the drive component 1500 can also respond to the user-triggered first tone adjustment input operation, ensuring that the state of the knob component 1211 matches the target rotation level corresponding to the tone manually adjusted by the user. The drive process is similar to the process described above and will not be repeated here.
[0147] Thus, the electronic musical instrument 1000 includes a drive assembly 1500; the controller 1100 is configured to control the drive assembly 1500 to rotate the knob assembly 1211 to a target rotation level. In this way, the drive assembly 1500 can drive the knob assembly 1211 to rotate to the target rotation level, ensuring that the state of the knob assembly 1211 matches the target rotation level corresponding to the pitch adjusted by the software application, thereby providing a display basis for the accuracy and stability of pitch adjustment using the application.
[0148] In some embodiments, the drive assembly 1500 includes a drive motor 1510 and a drive element 1520;
[0149] The controller 1100 is configured to control the drive unit 1520 to drive the drive motor 1510 to connect with the knob assembly 1211, and when the drive motor 1510 is connected with the knob assembly 1211, control the drive motor 1510 to drive the knob assembly 1211 to rotate to a target rotation level.
[0150] Specifically, the drive assembly 1500 includes a drive motor 1510 and a drive element 1520.
[0151] The drive motor 1510 is used to provide power to drive the knob assembly 1211 to rotate.
[0152] The drive component 1520 is a transmission structure component that connects the drive motor 1510 and the knob assembly 1211, such as a magnetic assembly or a lead screw.
[0153] The controller 1100 controls the operation of the drive component 1520, enabling the drive motor 1510 to establish a connection with the knob assembly 1211. Furthermore, once the drive motor 1510 and knob assembly 1211 are successfully connected, the controller 1100 can also control the drive motor 1510 to operate, driving the knob assembly 1211 to rotate to the target rotation level via the transmission action of the drive component 1520. See the description of the drive component 1500 above; it will not be repeated here.
[0154] Thus, the drive assembly 1500 includes a drive motor 1510 and a drive element 1520; the controller 1100 is configured to control the drive element 1520, drive the drive motor 1510 connected to the knob assembly 1211, and, when the drive motor 1510 is connected to the knob assembly 1211, control the drive motor 1510 to drive the knob assembly 1211 to rotate to the target rotation level. In this way, the controller 1100 can control the drive element 1520, drive the drive motor 1510 to connect to the knob assembly 1211, thereby driving the knob assembly 1211 to rotate to the target rotation level, ensuring that the state of the knob assembly 1211 is consistent with the target rotation level corresponding to the tone adjusted by the software application, thus providing a display basis for the accuracy and stability of tone adjustment using the application.
[0155] In some embodiments, the controller 1100 is configured to control the drive 1520 to disconnect the drive motor 1510 from the knob assembly 1211 when the knob assembly 1211 is rotated to a target rotation level.
[0156] Specifically, when the knob assembly 1211 is rotated to the target rotation level, it can be considered that the knob assembly 1211 has been rotated to the position corresponding to the tone that needs to be adjusted.
[0157] The controller 1100 controls the drive component 1520 to disconnect the drive motor 1510 from the knob assembly 1211. This removes the mechanical linkage between the drive motor 1510 and the knob assembly 1211, preventing the motor from interfering with the user's subsequent manual rotation of the knob, or preventing the knob assembly 1211 from driving the motor in the opposite direction and causing damage. This ensures that the user can freely and smoothly adjust the tone using the knob.
[0158] Thus, the controller 1100 is configured to control the drive unit 1520 to disconnect the drive motor 1510 from the knob assembly 1211 when the knob assembly 1211 is rotated to the target rotation level. By disengaging the mechanical linkage between the drive motor 1510 and the knob assembly 1211, interference from the motor to the user's subsequent manual rotation of the knob can be avoided, as can damage to the motor caused by the knob assembly 1211 driving in the opposite direction. This ensures that the user can freely and smoothly adjust the tone using the knob.
[0159] In some embodiments, the knob assembly 1211 is configured to generate a pressing action in response to a second tone adjustment input operation;
[0160] Encoder 1220 is configured to generate a second target signal based on the pressing action;
[0161] The controller 1100 is configured to determine a preset tone group number as a first target tone group number and a preset tone name as a first target tone name based on a second target signal.
[0162] Specifically, the second tone adjustment input operation refers to the reset operation. For example, the user's axial pressing operation on the knob assembly 1211 is used to trigger the reset mechanism, helping the user to quickly restore the tone to the preset state, namely the preset tone name and the preset tone group number.
[0163] Please refer to it again. Figure 5 The circuit diagram of encoder 1220 shown is as follows:
[0164] First, the knob assembly 1211 can produce a pressing action in response to the second tone adjustment input operation.
[0165] Then, encoder 1220 can, based on the pressing action, Figure 5 When the switch between pins D and E is closed, a corresponding RESET signal, i.e., the second target signal, is generated, which converts the user's physical action into an electrical signal and transmits it to the controller 1100.
[0166] Finally, based on the received second target signal, the controller 1100 determines the preset tone group number as the first target tone group number and the preset tone name as the first target tone name, thereby restoring the tone to the preset state.
[0167] It should be noted that the preset pitch group number and preset pitch name can be set in advance when no sheet music is used. For example, the preset pitch group number can be the first octave, and the preset pitch name can be the default middle C.
[0168] Thus, the knob assembly 1211 is configured to generate a pressing action in response to a second tone adjustment input operation; the encoder 1220 is configured to generate a second target signal based on the pressing action; and the controller 1100 is configured to determine the preset tone group number as the first target tone group number and the preset tone name as the first target tone name based on the second target signal. In this way, in response to the user-triggered second tone adjustment input operation, and based on the encoder 1220 generating the second target signal from the knob assembly 1211, the controller 1100 in the electronic musical instrument 1000 can determine the preset tone group number as the first target tone group number and the preset tone name as the first target tone name based on the second target signal, providing the user with a quick way to reset the tone without manual adjustment step by step, thus reducing the operational difficulty of the electronic musical instrument 1000.
[0169] In some embodiments, the controller 1100 is configured to control the knob assembly 1211 to rotate to a preset rotation level according to a preset tone group number and a preset tone name, wherein the preset rotation level corresponds to the preset tone group number and the preset tone name.
[0170] Specifically, when a user triggers a second target signal by pressing the knob assembly 1211, enabling the electronic musical instrument to play a musical note with a preset pitch group number and a preset pitch name, in order to ensure that the rotation level of the knob assembly 1211 matches the group number (i.e., the first target pitch group number) and the pitch name (the first target pitch name) of the musical note currently playable by the electronic musical instrument, in this embodiment, the controller 1000 can control the knob assembly 1211 to rotate to a "preset rotation level corresponding to the preset pitch group number and the preset pitch name" according to the preset pitch group number and the preset pitch name, thereby matching the musical note currently playable by the electronic musical instrument with the current rotation level of the knob assembly 1211.
[0171] Therefore, if a user needs to adjust the currently playable pitch of an electronic instrument based on the preset pitch group number and preset pitch name, the current rotation level of the knob assembly 1211 matches the preset pitch group number and preset pitch name. Thus, when the user adjusts the pitch of the electronic instrument by rotating the knob assembly 1211, the pitch of the electronic instrument can be adjusted based on the preset pitch group number and preset pitch name, thereby ensuring the accuracy and reliability of the electronic instrument's pitch.
[0172] Thus, the controller 1100 is configured to control the knob assembly 1211 to rotate to a preset rotation level according to the preset pitch group number and preset pitch name, wherein the preset rotation level corresponds to the preset pitch group number and preset pitch name. By ensuring that the hardware display of the knob is consistent with the preset pitch group number and preset pitch name, the visualization and consistency of user operation can be guaranteed, thereby reducing the difficulty for users to use the electronic musical instrument 1000, achieving accurate pitch adjustment of the electronic musical instrument 1000, and thus meeting the user's pitch adjustment needs for the electronic musical instrument 1000.
[0173] In some embodiments, the electronic musical instrument 1000 includes a drive assembly 1500;
[0174] The controller 1100 is configured to control the drive assembly 1500 to drive the knob assembly 1211 to rotate to a preset rotation level.
[0175] Specifically, based on the preset tone group number and preset tone name, the controller 1100 can control the knob assembly 1211 to rotate to a preset rotation level corresponding to the preset tone group number and preset tone name, in response to the second tone adjustment input operation triggered by the user, so as to realize that the state of the knob assembly 1211 is consistent with the target rotation level corresponding to the tone manually reset by the user. The driving process is similar to the driving process of the driving assembly 1500 described above, and will not be repeated here.
[0176] Thus, the electronic musical instrument 1000 includes a drive assembly 1500; the controller 1100 is configured to control the drive assembly 1500 to drive the knob assembly 1211 to rotate to a preset rotation level. In this way, the drive assembly 1500 can drive the knob assembly 1211 to rotate to the preset rotation level, thereby ensuring that the rotation level of the knob assembly 1211 matches the preset pitch group number and preset pitch name, thus providing a display basis for the accuracy and stability of the reset operation.
[0177] In some embodiments, the drive assembly 1500 includes a drive motor 1510 and a drive element 1520;
[0178] The controller 1100 is configured to control the drive unit 1520, drive the drive motor 1510 and the knob assembly 1211 to be connected, and when the drive motor 1510 and the knob assembly 1211 are connected, control the drive motor 1510 to drive the knob assembly 1211 to rotate to a preset rotation level.
[0179] Specifically, the process by which the controller 1100 controls the drive component 1500 in the embodiments of this application can be referred to the preceding content, and will not be repeated here to avoid repetition.
[0180] Thus, the drive assembly 1500 includes a drive motor 1510 and a drive element 1520; the controller 1100 is configured to control the drive element 1520, drive the drive motor 1510 to connect with the knob assembly 1211, and, when the drive motor 1510 is connected to the knob assembly 1211, control the drive motor 1510 to drive the knob assembly 1211 to rotate to a preset rotation level. In this way, by controlling the drive element 1520, the controller 1100 can connect the drive motor 1510 to the knob assembly 1211, driving the knob assembly 1211 to rotate to a preset rotation level, ensuring that the state of the knob assembly 1211 matches the preset rotation level corresponding to the reset tone, thereby providing a display basis for the accuracy and stability of the reset operation.
[0181] In some embodiments, the controller 1100 is configured to control the drive 1520 to disconnect the drive motor 1510 from the knob assembly 1211 when the knob assembly 1211 is rotated to a preset rotation level.
[0182] Specifically, the process of the controller 1100 controlling the drive unit 1520 to drive and the drive motor 1510 to disconnect from the knob assembly 1211 in the embodiments of this application has been described above and will not be repeated here to avoid repetition.
[0183] Thus, the controller 1100 is configured to control the drive unit 1520 to disconnect the drive motor 1510 from the knob assembly 1211 when the knob assembly 1211 is rotated to a preset rotation level. By disengaging the mechanical linkage between the drive motor 1510 and the knob assembly 1211, interference from the motor to the user's subsequent manual rotation of the knob can be avoided, as can damage to the motor caused by the knob assembly 1211 driving in the opposite direction. This ensures that the user can freely and smoothly reset the tone using the knob.
[0184] The following is Figure 6 Let's take the electronic musical instrument 1000 as an example to explain:
[0185] The electronic musical instrument 1000 also includes a sound-producing module, and the controller 1100 is configured to control the sound-producing module to play a musical note according to a first target tone group number and a first target tone name, or to control the sound-producing module to play a musical note according to a second target tone group number and a second target tone name.
[0186] The electronic musical instrument 1000 also includes multiple light-emitting units 1700, each of which corresponds to a tone group number and a tone name;
[0187] The controller 1100 is configured to control the light-emitting unit 1700 corresponding to the first target tone group number and the first target tone name to emit light, or to control the light-emitting unit 1700 corresponding to the second target tone group number and the second target tone name to emit light.
[0188] The electronic musical instrument 1000 includes an input component 1210, an encoder 1220, a drive motor 1510, a drive unit 1520, a controller 1100, a communication module 1400, a storage module 1300, a sound card module, and a light-emitting unit 1700.
[0189] The input component 1210 is an interactive component for users to manually adjust the pitch. The pitch can be adjusted by rotation or by pressing axially to perform operations such as resetting.
[0190] The encoder 1220 is connected to the input component 1210 and can detect the rotation angle, level and pressing action of the knob of the input component 1210. It converts the physical operation into electrical signals, such as the coded signal when rotating and the level change signal when pressing, and transmits them to the controller 1100 to identify the user's adjustment intention.
[0191] The drive motor 1510 and drive component 1520 are drive components 1500, controlled by the controller 1100. They drive the input component 1210 to rotate through transmission and other means, so as to achieve automatic adjustment to the target level. For example, when the application sets the tone, the motor drives the knob to rotate to the corresponding position, thus synchronizing the hardware status with the software instructions.
[0192] The controller 1100 is the core of the system. It receives signals from the encoder 1220, data from the communication module 1400, etc. After parsing, it controls the input component 1210 of the motor module, the data of the scheduling and storage module 1300, the audio processing of the sound card module, and the feedback status of the light-emitting unit 1700. It coordinates the various modules to complete functions such as tone adjustment and reset.
[0193] The communication module 1400 is responsible for communicating with the application, receiving data such as key settings and reset commands sent by the application, and transmitting them to the controller 1100 to realize remote or intelligent adjustment of the pitch of the electronic musical instrument 1000 by the mobile phone.
[0194] The storage module 1300 can store preset tone group numbers, key names, user-defined tone parameters, and tone information associated with musical scores, which can be called by the controller 1100 to ensure the tone data source for functions such as reset and key setting.
[0195] The sound card module is used to process guitar audio signals, and outputs the corresponding pitch by combining the adjusted pitch parameters. It may also be involved in audio acquisition, encoding, decoding, etc., to ensure that the pitch adjustment is reflected in the actual sound production.
[0196] The light-emitting unit 1700 includes multiple indicator light arrays, which can arbitrarily provide feedback on the system status through light changes according to the instructions of the controller 1100. For example, a specific color will light up when the tone adjustment is successful, and a flashing prompt will appear when the reset is completed, so that the user can intuitively know the operation result.
[0197] During the user action trigger phase:
[0198] Users can manually adjust or reset the tone by rotating or pressing the tone knob of the input component 1210, so that the physical operation is recognized by the encoder 1220 and converted into an electrical signal input to the controller 1100 to trigger the adjustment process.
[0199] Users can also make intelligent adjustments through the application. They can send the tuning setting or reset command of the application through the communication module 1400. The command is transmitted to the controller 1100 through the communication module 1400 to start the automatic adjustment process.
[0200] In the signal transmission and processing stage:
[0201] The controller 1100, as the core, can receive knob operation signals from the encoder 1220 and recognize the user's intention to manually adjust. It can also receive application commands from the communication module 1400 and recognize intelligent adjustment needs.
[0202] Furthermore, it can read preset tones and system parameters from the storage module 1300 to provide data support for adjustment.
[0203] During the function execution feedback phase:
[0204] The controller 1100 sends a drive command to the motor module. The motor rotates precisely to the target level through the transmission structure linked to the input component 1210, so that the card module can synchronously receive the tone from the controller 1100, adjust the tone, and output the corresponding tone sound, thus achieving the adjustment result.
[0205] At the same time, the controller 1100 sends a signal to the light-emitting unit 1700 and provides feedback on the adjustment result through changes in light.
[0206] This application provides a tone adjustment method, the method including:
[0207] In response to the pitch adjustment input operation, the target pitch group number and target pitch name of the musical note to be played are determined, so that the musical note to be played can be played according to the target pitch group number and target pitch name. The adjustment range of the target pitch group number is from the second octave to the fifth octave.
[0208] Specifically, the steps of the pitch adjustment method in the embodiments of this application can be found in the above-described electronic musical instrument 1000, and will not be repeated here.
[0209] Thus, in response to a pitch adjustment input operation, the target pitch group number and target pitch name of the musical note to be played are determined, and the musical note to be played is played according to the target pitch group number and target pitch name. The adjustment range of the target pitch group number is from the second octave to the fifth octave. In this way, the pitch adjustment component 1200 in the electronic musical instrument 1000 can generate an input action based on the pitch adjustment input operation triggered by the user, based on the input component 1210, and can generate a first target signal based on the input action generated by the encoder 1220. Then, the controller 1100 in the electronic musical instrument 1000 can determine the first target pitch group number and the first target pitch name of the musical note to be played according to the first target pitch group number and the first target pitch name, so as to play the musical note to be played according to the first target pitch group number and the first target pitch name. This realizes the pitch adjustment of the electronic musical instrument 1000 to a certain extent, thereby satisfying the user's pitch adjustment needs of the electronic musical instrument 1000. Furthermore, it enables the electronic musical instrument 1000 to adjust the first target pitch group number of the musical note to be played within the range of the second octave to the fifth octave. In this way, the user can adjust the pitch group number to the entire pitch range from the second octave down to the fifth octave up according to the pitch range requirements, thereby achieving full-range pitch shifting.
[0210] This application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the steps of the tone adjustment method described above.
[0211] It is understood that a computer program includes computer program code. Computer program code can be in the form of source code, object code, executable files, or some intermediate form. Computer-readable storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, external hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution media, etc.
[0212] In this specification, the terms "specifically," "furthermore," "particularly," "understandably," etc., refer to specific features, structures, materials, or characteristics described in connection with embodiments or examples that are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0213] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of executable request code comprising one or more steps for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order according to the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0214] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. An electronic musical instrument, characterized in that, The electronic musical instrument includes a controller and a pitch adjustment component, the pitch adjustment component including an input component and an encoder; The input component is configured to generate an input action in response to a tone adjustment input operation; The encoder is configured to generate a first target signal based on the input action; The controller is configured to determine, based on the first target signal, a first target pitch group number and a first target pitch name of the musical sound to be played, so as to play the musical sound according to the first target pitch group number and the first target pitch name, wherein the adjustment range of the first target pitch group number is from the second octave to the fifth octave.
2. The electronic musical instrument according to claim 1, characterized in that, The input component includes a knob assembly.
3. The electronic musical instrument according to claim 2, characterized in that, The knob assembly includes a knob cap housing and a transmission structure. The knob cap housing covers the transmission structure, and the transmission structure is connected to the encoder in a driving connection.
4. The electronic musical instrument according to claim 2, characterized in that, The knob assembly is configured to generate a rotational action in response to a first tone adjustment input operation; The encoder is configured to generate a first target signal based on the rotational action; The controller is configured to determine the rotation level of the knob assembly based on the first target signal, and to determine the tone group number corresponding to the rotation level as the first target tone group number, and to determine the tone name corresponding to the rotation level as the first target tone name, wherein the rotation level includes multiple levels, and each rotation level corresponds to a tone group number and a tone name.
5. The electronic musical instrument according to claim 4, characterized in that, The encoder is configured to generate a first target signal based on the rotation direction of the rotational action.
6. The electronic musical instrument according to claim 4, characterized in that, The first target signal includes a first pulse signal and a second pulse signal; The encoder is configured to generate the first pulse signal when the knob assembly rotates in a first direction, and to generate the second pulse signal when the knob assembly rotates in a second direction, wherein the first direction and the second direction are opposite. The controller is configured to determine the number of rotational stages based on the first pulse signal and the second pulse signal.
7. The electronic musical instrument according to claim 6, characterized in that, The electronic musical instrument includes a storage module; The storage module is configured to store the first pulse signal and the second pulse signal; The controller is configured to determine the number of rotation stages based on all pulse signals in the storage module.
8. The electronic musical instrument according to claim 4, characterized in that, The electronic musical instrument includes a communication module; The communication module is configured to receive pitch adjustment commands sent by the application program that is compatible with the electronic musical instrument. The controller is configured to determine a second target tone group number and a second target tone name according to the tone adjustment instruction, so as to play the musical tone to be played according to the second target tone group number and the second target tone name, wherein the adjustment range of the second target tone group number is from the second octave to the fifth octave.
9. The electronic musical instrument according to claim 8, characterized in that, The controller is configured to control the knob assembly to rotate to a target rotation level according to the second target tone group number and the second target tone name, wherein the target rotation level corresponds to the second target tone group number and the second target tone name.
10. The electronic musical instrument according to claim 9, characterized in that, The electronic musical instrument includes a drive assembly; The controller is configured to control the drive assembly to drive the knob assembly to rotate to the target rotation level.
11. The electronic musical instrument according to claim 10, characterized in that, The drive assembly includes a drive motor and a drive component; The controller is configured to control the drive unit to drive the drive motor to connect with the knob assembly, and, when the drive motor is connected with the knob assembly, control the drive motor to drive the knob assembly to rotate to the target rotation level.
12. The electronic musical instrument according to claim 11, characterized in that, The controller is configured to, when the knob assembly is rotated to the target rotation level, control the drive unit to drive the drive motor to disconnect from the knob assembly.
13. The electronic musical instrument according to claim 4, characterized in that, The knob assembly is configured to generate a pressing action in response to a second tone adjustment input operation; The encoder is configured to generate a second target signal based on the pressing action; The controller is configured to determine the preset tone group number as the first target tone group number and the preset tone name as the first target tone name based on the second target signal.
14. The electronic musical instrument according to claim 13, characterized in that, The controller is configured to control the knob assembly to rotate to a preset rotation level according to the preset tone group number and the preset tone name, wherein the preset rotation level corresponds to the preset tone group number and the preset tone name.
15. The electronic musical instrument according to claim 14, characterized in that, The electronic musical instrument includes a drive assembly; The controller is configured to control the drive component to drive the knob component to rotate to the preset rotation level.
16. The electronic musical instrument according to claim 15, characterized in that, The drive assembly includes a drive motor and a drive component; The controller is configured to control the drive unit to drive the drive motor to connect with the knob assembly, and when the drive motor is connected with the knob assembly, control the drive motor to drive the knob assembly to rotate to the preset rotation level.
17. The electronic musical instrument according to claim 16, characterized in that, The controller is configured to, when the knob assembly is rotated to the preset rotation level, control the drive unit to drive the drive motor to disconnect from the knob assembly.
18. A method for adjusting pitch, characterized in that, The method for the electronic musical instrument according to claims 1-17 comprises: In response to a pitch adjustment input operation, the target pitch group number and target pitch name of the musical note to be played are determined, so as to play the musical note to be played according to the target pitch group number and the target pitch name, wherein the adjustment range of the target pitch group number is from the second octave to the fifth octave.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by one or more processors, implements the method of claim 18.