CN110364132B - Method and device for determining audio frequency of keys - Google Patents

Method and device for determining audio frequency of keys Download PDF

Info

Publication number
CN110364132B
CN110364132B CN201910533571.4A CN201910533571A CN110364132B CN 110364132 B CN110364132 B CN 110364132B CN 201910533571 A CN201910533571 A CN 201910533571A CN 110364132 B CN110364132 B CN 110364132B
Authority
CN
China
Prior art keywords
key
keys
antenna
antenna array
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910533571.4A
Other languages
Chinese (zh)
Other versions
CN110364132A (en
Inventor
周鲁平
张景
王太忠
宁银富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shuliantianxia Intelligent Technology Co Ltd
Original Assignee
Shenzhen Shuliantianxia Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shuliantianxia Intelligent Technology Co Ltd filed Critical Shenzhen Shuliantianxia Intelligent Technology Co Ltd
Priority to CN201910533571.4A priority Critical patent/CN110364132B/en
Publication of CN110364132A publication Critical patent/CN110364132A/en
Application granted granted Critical
Publication of CN110364132B publication Critical patent/CN110364132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/32Constructional details
    • G10H1/34Switch arrangements, e.g. keyboards or mechanical switches specially adapted for electrophonic musical instruments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0413MIMO systems

Abstract

The embodiment of the application discloses a method and a device for determining the audio frequency of keys, which are applied to a key detection platform, wherein the key detection platform comprises an antenna array, the antenna array comprises a plurality of antenna units, and each antenna unit sends and receives signals based on an inductive coupling mode. The method comprises the following steps: the method comprises the steps that a first detection signal is sent based on antenna units in an antenna array, the first detection signal is used for identifying keys pressed in a keyboard, and the keys comprise electronic tags which are used for receiving the first detection signal sent by the antenna units of the antenna array and feeding back response signals; and receiving response signals fed back by the electronic tags of the keys in the keys of the keyboard based on the antenna array, and determining the key tones corresponding to the keys according to the response signals fed back by the electronic tags of the keys. By adopting the embodiment of the application, the key tone determining method and the key tone determining device are low in cost, high in realizability and wide in application range.

Description

Method and device for determining audio frequency of keys
Technical Field
The application relates to the technical field of computers, in particular to a method and a device for determining audio of keys.
Background
In a conventional electronic organ or piano, each key is a small switch in a circuit, and when a key is pressed, the corresponding small switch is closed, so that the pressed virtual key can be determined, and the key tone of the corresponding virtual key can be output. However, such an electronic organ or piano is expensive, cannot recognize the music score, and is not highly applicable.
Disclosure of Invention
The embodiment of the application provides a method and a device for determining audio of keys. The cost for determining the key tone can be reduced, the realizability is high, and the application range is wide.
In a first aspect, an embodiment of the present application provides a method for determining an audio frequency of a key, which is applied to a key detection platform, where the key detection platform includes an antenna array, the antenna array includes a plurality of antenna units, and each antenna unit transmits and receives a signal based on an inductive coupling manner; the method comprises the following steps:
transmitting a first detection signal based on antenna units in an antenna array, wherein the first detection signal is used for identifying keys pressed in a keyboard, the keys comprise electronic tags used for receiving the first detection signal transmitted by the antenna units of the antenna array and feeding back response signals, a signal transmission cycle of the antenna array comprises a plurality of time intervals, and one of the plurality of antenna units transmits a radio-frequency signal as the first detection signal;
and receiving response signals fed back by the electronic tags of the keys of the keyboard based on the antenna array, and determining the key tones corresponding to the keys according to the response signals fed back by the electronic tags of the keys.
According to the key tone determining method and device, the key tones corresponding to the keys are determined based on the response signals fed back by the electronic tags in the keys, and due to the fact that the antenna units in the antenna array send and receive signals in an inductive coupling mode, the scheme can be achieved only through a common inductance coil, cost is low, the realizability is high, and the application range is wide; in addition, the antenna unit works in a time-sharing mode, so that the purpose of saving energy can be achieved.
With reference to the first aspect, in one possible implementation, the determining, according to the response signal fed back by the electronic tag of each key, a key sound corresponding to each key includes:
when any response signal is received based on the antenna array, determining any electronic tag feeding back any response signal according to any tag identification carried in any response signal;
determining a key tone corresponding to any key to which any electronic tag belongs according to the tag identification of any electronic tag;
wherein any one of the keys is one of the keys.
According to the electronic tag feeding back the response signal and the key tone corresponding to the key to which the electronic tag belongs, the electronic tag feeding back the response signal is determined according to the tag identification carried in the response signal, the operation mode is simple and convenient, and the applicability is high.
With reference to the first aspect, in a possible implementation manner, before the antenna units in the antenna array transmit the first detection signal, the method further includes:
transmitting a second detection signal based on the antenna units in the antenna array;
and receiving a response signal of the second detection signal based on the antenna array, and determining a target music score according to a tag identification carried in the response signal of the second detection signal, wherein the target music score is used for detecting whether the playing of the user based on the target music score is correct.
The target music score is determined based on the label identification carried in the response signal of the second detection signal, and then each note included in the target music score can be obtained.
With reference to the first aspect, in one possible implementation, the plurality of keys includes a first key corresponding to a first note in the target music score; the method further comprises the following steps:
when a first response signal of the first detection signal is received for the first time based on the antenna array, determining whether a first tag identification carried in the first response signal is a tag identification of a first electronic tag in the first key;
if the first tag identification is the tag identification of the first electronic tag, determining the key tone corresponding to the first key according to the first tag identification;
and if the first tag identification is not the tag identification of the first electronic tag, outputting prompt information, wherein the prompt information is used for reminding a user to play from the first key.
According to the method and the device, whether the playing sequence of the user is correct or not can be determined by determining whether the first tag identification in the first response signal received for the first time is the tag identification of the first electronic tag in the first key, namely, when playing is started each time, playing is started from the first note of the target music score in sequence downwards, and the applicability is high.
With reference to the first aspect, in one possible implementation, the plurality of keys includes a second key, and the first key and the second key are two keys that are successively depressed in the keyboard; the method further comprises the following steps:
receiving a response signal fed back by the electronic tag of the second key based on the antenna array, and determining a key tone corresponding to the second key according to a tag identification carried in the response signal fed back by the electronic tag of the second key;
matching the key tone corresponding to the first key with the first note in the target music score, and judging whether the key tone corresponding to the first key is the same as the first note in the target music score or not;
matching the key tone corresponding to the second key with a second note in the target musical notation, and judging whether the key tone corresponding to the second key is the same as the second note in the target musical notation, wherein the first note and the second note are two continuous notes in the target musical notation;
and if the key tone corresponding to the first key is the same as the first note in the target musical notation and the key tone corresponding to the second key is the same as the second note in the target musical notation, determining that the user plays correctly based on the target musical notation and playing celebratory voice.
According to the method and the device, whether the playing of the target music score is correct or not can be determined by matching each key tone played by the user in sequence with the corresponding sequence of notes in the music score, and the applicability is high.
With reference to the first aspect, in one possible implementation, the determining, according to the response signal fed back by the electronic tag of each key, a key sound corresponding to each key includes:
when a response signal fed back by any electronic tag is received based on the antenna array, determining a target antenna unit for receiving the response signal fed back by any electronic tag;
determining a target key corresponding to the target antenna unit according to the target position of the target antenna unit on the antenna array and the corresponding relationship between the arrangement position of each key in the keyboard and the arrangement positions of the plurality of antenna units in the antenna array, and determining a key tone corresponding to the target key as a key tone corresponding to any key to which any electronic tag belongs, wherein the arrangement position of one key in the keyboard corresponds to the arrangement position of one antenna unit in the antenna array; wherein any one of the keys is one of the keys.
According to the embodiment of the application, the target antenna unit for receiving the response signal is determined, and the key tone corresponding to the target key is determined according to the target key corresponding to the target antenna unit, so that the applicability is high.
With reference to the first aspect, in a possible implementation manner, the determining a target antenna unit that receives a response signal fed back by any one of the electronic tags includes:
determining the working sequence of each antenna unit in the antenna array according to the time interval sequence of each antenna unit in the antenna array for sending radio frequency signals, wherein one antenna unit corresponds to one working sequence number;
determining a starting time node of the signal transmission period and a first duration of a time interval of the signal transmission period;
determining a second time length between a receiving time node of a response signal fed back by any electronic tag and the starting time node, and determining the time interval number between the first time length and the second time length;
and determining the antenna unit with the working sequence number matched with the time interval number from the antenna units as a target antenna unit for receiving the response signal fed back by any one electronic tag.
The target antenna unit for receiving the response signal is determined based on the starting time node of the signal transmission period and the receiving time node of the response signal, so that the method and the device are easy to understand, simple and convenient to operate and high in applicability.
In a second aspect, an embodiment of the present application provides an apparatus for determining an audio frequency of a key, where the apparatus includes an antenna array, where the antenna array includes a plurality of antenna units, and each antenna unit transmits and receives a signal based on an inductive coupling manner, and the apparatus further includes:
a first detection signal sending module, configured to send a first detection signal based on antenna units in an antenna array, where the first detection signal is used to identify a key pressed in a keyboard, the key includes an electronic tag that is used to receive the first detection signal sent by the antenna units of the antenna array and feed back a response signal, a signal transmission cycle of the antenna array includes a plurality of time intervals, and one of the plurality of antenna units sends a radio frequency signal as the first detection signal;
and the key tone determining module is used for receiving response signals fed back by the electronic tags of the keys in the plurality of keys of the keyboard based on the antenna array and determining the key tones corresponding to the keys according to the response signals fed back by the electronic tags of the keys.
With reference to the second aspect, in one possible embodiment, the key tone determination module described above is configured to:
when any response signal is received based on the antenna array, determining any electronic tag feeding back any response signal according to any tag identification carried in any response signal;
determining a key tone corresponding to any key to which any electronic tag belongs according to the tag identification of any electronic tag; wherein any one of the keys is one of the keys.
With reference to the second aspect, in a possible implementation manner, the apparatus further includes a target spectrum determination module, where the target spectrum determination module includes:
a second detection signal transmitting unit, configured to transmit a second detection signal based on antenna units in the antenna array;
and the music score determining unit is used for receiving the response signal of the second detection signal based on the antenna array and determining a target music score according to the label identification carried in the response signal of the second detection signal, wherein the target music score is used for detecting whether the playing of the user based on the target music score is correct.
With reference to the second aspect, in one possible implementation, the plurality of keys includes a first key corresponding to a first note in the target music score; the apparatus further includes a first key determination module, where the first key determination module is specifically configured to:
when a first response signal of the first detection signal is received for the first time based on the antenna array, determining whether a first tag identification carried in the first response signal is a tag identification of a first electronic tag in the first key;
if the first tag identification is the tag identification of the first electronic tag, determining the key tone corresponding to the first key according to the first tag identification;
and if the first tag identification is not the tag identification of the first electronic tag, outputting prompt information, wherein the prompt information is used for reminding a user to play from the first key.
With reference to the second aspect, in one possible implementation, the plurality of keys includes a second key, and the first key and the second key are two keys that are successively depressed in the keyboard; the device also comprises a playing detection module, wherein the playing detection module is specifically used for:
receiving a response signal fed back by the electronic tag of the second key based on the antenna array, and determining a key tone corresponding to the second key according to a tag identification carried in the response signal fed back by the electronic tag of the second key;
matching the key tone corresponding to the first key with the first note in the target music score, and judging whether the key tone corresponding to the first key is the same as the first note in the target music score or not;
matching the key tone corresponding to the second key with a second note in the target musical notation, and judging whether the key tone corresponding to the second key is the same as the second note in the target musical notation, wherein the first note and the second note are two continuous notes in the target musical notation;
and if the key tone corresponding to the first key is the same as the first note in the target musical notation and the key tone corresponding to the second key is the same as the second note in the target musical notation, determining that the user plays correctly based on the target musical notation and playing celebratory voice.
With reference to the second aspect, in one possible implementation, the key tone determination module described above is further configured to:
when a response signal fed back by any electronic tag is received based on the antenna array, determining a target antenna unit for receiving the response signal fed back by any electronic tag;
determining a target key corresponding to the target antenna unit according to the target position of the target antenna unit on the antenna array and the corresponding relationship between the arrangement position of each key in the keyboard and the arrangement positions of the plurality of antenna units in the antenna array, and determining a key tone corresponding to the target key as a key tone corresponding to any key to which any electronic tag belongs, wherein the arrangement position of one key in the keyboard corresponds to the arrangement position of one antenna unit in the antenna array;
wherein any one of the keys is one of the keys.
With reference to the second aspect, in one possible implementation, the key tone determination module described above is further configured to:
determining the working sequence of each antenna unit in the antenna array according to the time interval sequence of each antenna unit in the antenna array for sending radio frequency signals, wherein one antenna unit corresponds to one working sequence number;
determining a starting time node of the signal transmission period and a first duration of a time interval of the signal transmission period;
determining a second time length between a receiving time node of a response signal fed back by any electronic tag and the starting time node, and determining the time interval number between the first time length and the second time length;
and determining the antenna unit with the working sequence number matched with the time interval number from the antenna units as a target antenna unit for receiving the response signal fed back by any one electronic tag.
In a third aspect, an embodiment of the present application provides an apparatus, where the apparatus includes an antenna array, a control assembly, and a player, where the antenna array, the control assembly, and the player are connected to each other, the antenna array includes a plurality of antenna units, each antenna unit sends and receives a signal based on an inductive coupling mode, and the player is used to play voice. The control component is configured to control the operation of the antenna array and to perform the method provided by the first aspect and/or any one of the possible embodiments of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program includes program instructions, and the program instructions, when executed by a control component, cause the control component to execute the method provided by the first aspect and/or any one of the possible implementation manners of the first aspect.
The embodiment of the application determines the key tone corresponding to the key based on the response signal fed back by the electronic tag in the key. By adopting the embodiment of the application, the cost is lower, the realizability is high, the application range is wide, and the energy is saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an audio determination method for a key provided in an embodiment of the present application;
fig. 1a is a schematic view of an application scenario of an antenna array according to an embodiment of the present application;
fig. 1b is a schematic view of an application scenario of determining a target antenna unit according to an embodiment of the present application;
fig. 2 is another schematic flow chart of an audio determination method for keys provided in an embodiment of the present application;
fig. 2a is a schematic diagram of an application scenario of a key detection platform provided in an embodiment of the present application;
fig. 3 is a schematic structural view of an audio determination device for a key provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The method for determining the audio frequency of the keys can be widely applied to a system or a terminal for determining the audio frequency of the keys such as an electronic organ or a piano. The terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), and the like, and is not limited herein. According to the method provided by the embodiment of the application, an antenna array comprising a plurality of antenna units is deployed in a system or a terminal, each antenna unit sends a signal and receives a signal based on an inductive coupling mode, and a first detection signal is sent outwards based on a time-sharing mechanism, wherein the first detection signal is used for identifying keys pressed in a keyboard, and each key comprises an electronic tag which is used for receiving the first detection signal sent by the antenna unit of the antenna array and feeding back a response signal. Based on the received response signals fed back by the electronic tags of the keys, the key tones corresponding to the keys can be determined according to the response signals fed back by the electronic tags of the keys.
The method and the related apparatus provided by the embodiments of the present application will be described in detail with reference to fig. 1 to 4, respectively. The method provided by the embodiment of the application can comprise data processing stages for sending the first detection signal, determining the key tone of the key based on the response signal of the first detection signal and the like. The implementation of each data processing stage can be referred to the following implementation shown in fig. 1 to 2.
Referring to fig. 1, fig. 1 is a schematic flow chart of an audio determination method for a key according to an embodiment of the present application. The method provided by the embodiment of the application can comprise the following steps 101 to 103:
101. the first detection signal is transmitted based on antenna elements in an antenna array.
In some possible embodiments, the directivity of a single antenna is limited, and two or more than two single antennas operating at the same frequency are fed and spatially arranged according to certain requirements to form an antenna array, and in general, the single antennas forming the antenna array are referred to as antenna elements. In short, a plurality of antenna units may form an antenna array by regular or random arrangement. For example, referring to fig. 1a, fig. 1a is a schematic view of an application scenario of an antenna array provided in an embodiment of the present application. The antenna array in fig. 1a is composed of 8 × 8 antenna elements, where each small square represents an antenna element, the small squares numbered 1-1 to 8-8 represent 64 antenna elements in the antenna array, and each antenna element corresponds to a numbered coordinate (x, y), where x is greater than or equal to 1 and less than or equal to 8, and y is greater than or equal to 1 and less than or equal to 8. The antenna units in the antenna array can emit first detection signals for identifying keys pressed in the keyboard, each key comprises an electronic tag for receiving the first detection signals sent by the antenna units of the antenna array and feeding back response signals, and namely each key is embedded with one electronic tag. In the method, any signal transmission period of the antenna array includes a plurality of time intervals, and one antenna unit in the antenna array sends a radio frequency signal as a first detection signal in one time interval, that is, each antenna unit in the antenna array works in a time-sharing manner. In other words, with the transmission time of the radio frequency signal on the whole time axis as a division object, the transmission time on the whole time axis can be divided into N signal transmission periods (N is an integer greater than 1), wherein one signal transmission period includes a plurality of time intervals, and each time interval is occupied by one antenna unit, so that it can be realized that only one radio frequency signal exists in the space in each short time interval, that is, each time interval is transmitted by one antenna unit in the antenna array. It is to be understood that, in any signal transmission period, each antenna unit included in the antenna array may transmit a radio frequency signal at least once, and for convenience of description, in the embodiments of the present application, for example, each antenna unit included in the antenna array transmits a radio frequency signal once in one signal transmission period is described. The switching mode of each antenna unit in the antenna array for sending radio frequency signals in a signal transmission period may be sequentially switched from left to right and from top to bottom, for example, referring to fig. 1a, the antenna units in the antenna array may be switched according to the sequence of numbers 1-1, 1-2, 1-3, 1-4, …, 8-7 and 8-8, or may be switched according to an antenna unit which is spaced from left to right and sequentially switched from top to bottom, for example, referring to fig. 1a, the first row is switched according to the odd-numbered sequence of numbers 1-1, 1-3, 1-5 and 1-7 to the tail of the row, and then continuously switched according to the even-numbered sequence of numbers 1-2, 1-4, 1-6 and 1-8, and then, the antenna enters a second row and is switched to the tail of the row in the sequence of the odd numbers of 2-1, 2-3, 2-5 and 2-7, and then is switched in the sequence of the even numbers of 2-2, 2-4, 2-6 and 2-8, and so on, and the switching of the antenna units from the 1 st row to the 8 th row in the antenna array is completed in one signal transmitting period. Here, the switching mode of each antenna unit in the antenna array is specifically determined according to an actual application scenario, which is not limited herein, and the switching speed of the antenna unit is much greater than that of the key, and the duration of one signal transmission cycle is generally in the millisecond level.
It should be noted that, the antenna unit in the embodiment of the present application transmits and receives signals based on an inductive coupling manner. That is, when a certain antenna unit is turned to work, the inductance coil and the capacitor corresponding to the antenna unit work to generate a magnetic field, and the antenna unit can send a signal to the electronic tag in the magnetic field through the magnetic field; meanwhile, the magnetic field can also enable the electronic tag located in the magnetic field to generate electric energy, and then the electronic tag can send signals to the antenna based on the electric energy generated in the magnetic field, so that signal sending and signal receiving between the antenna unit and the electronic tag are completed.
It should be further noted that, because the electronic tag in the key and the antenna unit in the antenna array communicate in a near field coupling manner, only when the distance between the key and the antenna unit is within a certain preset range, the radio frequency signal sent by the antenna unit can be received by the electronic tag in the key, and accordingly, the antenna unit can receive a response signal fed back by the electronic tag based on the radio frequency signal sent by the antenna unit. That is, only when a key in the keyboard is pressed, the electronic tag in the key can communicate with the antenna unit in the antenna array.
102. And receiving response signals fed back by the electronic tags of the keys in the keys of the keyboard based on the antenna array, and determining the key tones corresponding to the keys according to the tag identifications carried in the response signals fed back by the electronic tags of the keys.
In some possible embodiments, based on the antenna array receiving the response signals fed back by the electronic tags of the keys pressed down in the keyboard, the key tones corresponding to the keys can be determined according to the response signals fed back by the electronic tags of the keys. Specifically, when any response signal is received based on the antenna array, the electronic tag which feeds back the response signal can be determined according to the tag identification carried in the response signal, and then the key tone corresponding to the key to which the electronic tag belongs is determined. It can be understood that each key is embedded with an electronic tag, wherein one electronic tag corresponds to one tag identifier and is used for uniquely marking the key to which the electronic tag belongs and the key tone of the key. In other words, there is a one-to-one correspondence between the tag identifier of the electronic tag and the key tone of the key to which the electronic tag belongs, that is, the key tone of the key to which the tag identifier belongs can be obtained according to the tag identifier.
103. And receiving response signals fed back by the electronic tags of the keys of the keyboard based on the antenna array, and determining key tones corresponding to the keys according to the target antenna units receiving the response signals.
In some possible embodiments, when a response signal fed back by any electronic tag is received based on the antenna array, the key tone of the key to which the electronic tag belongs can be determined according to the target key corresponding to the target position of the target antenna unit by determining the target antenna unit in the antenna array that receives the response signal. Specifically, when a response signal fed back by any electronic tag is received based on the antenna array, the target key corresponding to the target antenna unit is determined by determining the target antenna unit receiving the response signal and the target position of the target antenna unit on the antenna array and combining the corresponding relationship between the arrangement position of each key in the keyboard and the arrangement positions of the plurality of antenna units in the antenna array, and then the key tone corresponding to the target key is determined as the key tone corresponding to the key to which the electronic tag feeding back the response signal belongs. The arrangement position of a key in the lyre tray corresponds to the arrangement position of an antenna unit in the antenna array.
In some possible embodiments, in a case that the antenna units in the antenna array have a unique connection manner (that is, there is a one-to-one relationship between the antenna units and the identification pins connected to the antenna units), each antenna unit is connected to a different identification pin, and there is no connection relationship between the antenna units, the target antenna unit may be determined according to the identification pin receiving the response signal.
Alternatively, in some possible embodiments, the key detection platform may control each antenna unit in the antenna array to operate at different time intervals based on the control unit, and since the antenna unit controlled by the control unit is determined, the corresponding antenna unit, i.e., the target antenna unit, may be determined when the response signal is received.
Optionally, in some possible embodiments, when the antenna array receives a response signal fed back by any electronic tag, the target antenna unit receiving the response signal may be determined according to a receiving time node of the response signal. Specifically, based on the antenna units in the antenna array emitting the first detection signal, i.e., the radio frequency signal, the electronic tag in the depressed key can generate a response signal carrying key information and/or electronic tag information by acquiring the energy required for its operation from the radio frequency signal. Here, the electronic tag includes an active electronic tag, a semi-passive radio frequency tag, a passive electronic tag, and the like, which are not limited herein, and for convenience of description, in the embodiment of the present application, the passive electronic tag is taken as an example for explanation, and the passive electronic tag is hereinafter referred to as an electronic tag for short. The time length between the receiving time node and the starting time node can be determined as a second time length by determining the starting time node of a certain signal transmission period, the time length of any time interval in the signal transmission period (namely a first time length) and the receiving time node of a response signal, and then according to the time interval number between the second time length and the first time length, and in combination with the work sequence of each antenna unit in the antenna array determined by the time interval sequence of each antenna unit sending radio frequency signals, the antenna unit of which the work sequence number is matched with the time interval number is determined from each antenna unit to be used as a target antenna unit, wherein one antenna unit corresponds to one work sequence number.
For example, referring to fig. 1b, fig. 1b is a schematic view of an application scenario for determining a target antenna unit based on a receiving time node according to an embodiment of the present application. It is assumed that the switching sequence of the antenna elements in fig. 1b is switched sequentially from number 1-1 to top and from left to right, so that in a signal transmission period, the time intervals of the radio frequency signals transmitted by the antenna elements in the antenna array are sequentially from 1 to bottom, i.e., the 1 st radio frequency signal is transmitted in the 1 st time interval Δ t1 (i.e., the radio frequency signal is transmitted by the antenna element with number 1-1), the 2 nd radio frequency signal is transmitted in the 2 nd time interval Δ t2 (i.e., the radio frequency signal is transmitted by the antenna element with number 1-2), the 3 rd radio frequency signal is transmitted in the 3 rd time interval Δ t3 (i.e., the radio frequency signal is transmitted by the antenna element with number 1-3), the 4 th radio frequency signal is transmitted in the 4 th time interval t4 (i.e., the radio frequency signal is transmitted by the antenna element with number 1-4), and the 63 rd radio frequency signal is transmitted in the …, the 63 rd radio frequency signal is transmitted in the 63 rd time interval Δ t63 (i.e., the radio frequency signal is transmitted by the antenna element with number 8-7) And transmitting the 64 th radio frequency signal (namely, the antenna unit with the number of 8-8 transmits the radio frequency signal) in the 64 th time interval Δ t64, so that the working sequence of each antenna unit in the antenna array is the number 1-1, the number 1-2, the number 1-3, the number 1-4, …, the number 8-7 and the number 8-8. Assuming that the duration of any time interval Δ t in the signal transmission period (i.e. the first duration) is 2ms, and the time length between the start time node and the receiving time node (i.e. the second duration) is 7ms, the quotient of the second duration and the first duration is rounded up (i.e. the second duration is rounded up)
Figure BDA0002100489300000111
) The number of time intervals between the second duration and the first duration is 4, and then the working sequence of the antenna units in the antenna array is combined, so that the 4 th antenna unit sending the radio-frequency signal in the signal transmission period can be determined to be the target antenna unit, namely the target antenna unit is the antenna unit with the number of 1-4.
In the embodiment of the application, a first detection signal is transmitted based on the antenna units in the antenna array, the first detection signal is used for identifying keys pressed in the keyboard, and the keys comprise electronic tags used for receiving the first detection signal transmitted by the antenna units of the antenna array and feeding back response signals. And receiving response signals fed back by the electronic tags of the keys in the keys of the keyboard based on the antenna array, and determining the key tones corresponding to the keys according to the tag identifications carried in the response signals fed back by the electronic tags of the keys. Or determining the key tones corresponding to the keys according to the target antenna units receiving the response signals. By adopting the embodiment of the application, the cost for determining the key tone can be reduced, the realizability is high, and the application range is wide.
Referring to fig. 2, fig. 2 is another schematic flow chart of the audio determination method for a key provided in the embodiment of the present application. The method for determining the audio frequency of the key provided by the embodiment of the application can be explained through the implementation modes provided by the following steps 201 to 202:
201. and sending a second detection signal based on the antenna unit in the antenna array, and determining a target music score according to the label identification carried in the response signal of the second detection signal.
In some possible embodiments, each music score is embedded with an electronic tag, and the electronic tag corresponds to a tag identification and is used for uniquely marking a music score. Based on that the antenna units in the antenna array transmit radio-frequency signals, the transmitted radio-frequency signals can be used as second detection signals, and the electronic tag in the musical instrument spectrum can feed back a response signal to the antenna units in the antenna array by receiving the second detection signals. In short, the second detection signal may be used to identify the electronic tag in the musical notation, and the second detection signal and the first detection signal are radio frequency signals transmitted by antenna units in the antenna array at different time nodes. And determining a music score corresponding to the label identifier according to the label identifier carried in the response signal, namely determining a target music score. Here, the target music score may be used to detect whether the user plays correctly based on the target music score, which includes at least the individual notes constituting the melody.
202. And sending a first detection signal based on an antenna unit in the antenna array, determining the key tone corresponding to each key according to a response signal of the first detection signal fed back by the electronic tag of each key, and matching the key tone with the corresponding sequence of notes in the target music score to determine the playing result of the user.
In some possible embodiments, the transmitted radio frequency signal may be used as a first detection signal based on the antenna units in the antenna array transmitting the radio frequency signal, where the first detection signal is used to identify keys pressed in the keyboard, and each key includes an electronic tag for receiving the first detection signal transmitted by the antenna units of the antenna array and feeding back a response signal, that is, each key has an electronic tag embedded therein. It is understood that the second detection signal and the first detection signal are radio frequency signals transmitted by antenna elements in the antenna array at different time nodes.
In some possible embodiments, in order to detect whether the user plays correctly based on the target musical instrument spectrum, when the first response signal of the first detection signal is received for the first time based on the antenna array, the first tag identifier may be matched with the tag identifier of the first electronic tag embedded in the first key by determining the first tag identifier carried in the first response signal, and it is determined whether the first tag identifier is the tag identifier of the first electronic tag in the first key according to the matching result. Here, the first key is the key corresponding to the first note in the target musical notation, that is, the key tone of the first key is the same as the first note in the target musical notation. If the first tag identification is not the tag identification of the first electronic tag, prompt information can be output through voice or other output modes, and the prompt information is used for reminding a user to play from the first key. If the first label identification is the label identification of the first electronic label, the key tone corresponding to the first key can be determined according to the first label identification.
Further, response signals fed back by the electronic tags of the second keys are received based on the antenna array, and the key tones corresponding to the second keys are determined according to tag identifications carried in the response signals fed back by the electronic tags of the second keys. It is understood that the first key and the second key are two keys which are successively pressed in the keyboard, that is, the first key is the first key which is pressed when the user starts playing based on the target music score, the second key is the second key which is pressed when the user starts playing based on the target music score, therefore, by matching the key tone corresponding to the first key with the first note in the target music score, whether the key tone corresponding to the first key is the same as the first note in the target music score can be judged, and by matching the key tone corresponding to the second key with the second note in the target music score, whether the key tone corresponding to the second key is the same as the second note in the target music score or not can be judged, wherein the first note and the second note in the target music score are two continuous notes in the target music score, and the melody in the music score is formed by orderly arranging the notes. By analogy, whether the key tone corresponding to the mth key is the same as the mth note in the target musical instrument spectrum or not can be judged by matching the key tone corresponding to the mth key with the mth note in the target musical instrument spectrum. If the key tone corresponding to the first key is the same as the first note in the target musical notation, the key tone corresponding to the second key is the same as the second note in the target musical notation, …, and the key tone corresponding to the mth key is the same as the mth note in the target musical notation, it can be determined that all plays of the user based on the target musical notation are correct, that is, the playing result is successful, and the celebration voice is played. Where m is an integer greater than 1, and the value of m is related to the number of notes in the target spectrum that constitute the melody, and is not limited herein. In short, by matching each key sound played by the user in sequence (i.e. starting from the first note in the target music score and playing by pressing down the corresponding key in the keyboard in turn) with the corresponding sequence of notes in the music score, it can be determined whether the user played correctly based on the target music score. Optionally, if the key tone of any key pressed by the user in sequence is different from the corresponding sequence of notes in the target musical instrument spectrum, it may be determined that the user has a playing error, and at this time, the user may be prompted to make a playing error through voice or light, and it is determined specifically according to the actual application scenario, and no limitation is made herein. Optionally, the recorded playing data of the user is subjected to data analysis, so that the playing condition or playing proficiency of the user can be obtained, wherein the playing data of the user includes, but is not limited to, the number of times that the user plays by mistake, the number of times that the user plays by pairs, the keys pressed by mistake, and the like, and is not limited herein.
For example, referring to fig. 2a, fig. 2a is a schematic view of an application scenario of a key detection platform provided in an embodiment of the present application. The piano score and the piano plate are placed on the key detection platform, an electronic tag is embedded in the piano score, each key in the piano plate is also respectively embedded with an electronic tag, and the embedding position of the electronic tag in the piano score or the key can be determined according to the actual application scene without limitation. The user presses the key in the keyboard, and the electronic tag in the pressed key can be identified by the key detection platform.
In the embodiment of the application, the second detection signal is sent based on the antenna unit in the antenna array, and the target music score can be determined according to the tag identification carried in the response signal of the second detection signal. The first detection signals are sent based on the antenna units in the antenna array, the key tones corresponding to the keys can be determined according to the tag identifications carried in the response signals of the first detection signals fed back by the electronic tags of the keys, and the key tones are matched with the corresponding sequence of notes in the target music score to determine the playing result of the user. By adopting the method and the device, whether the target music score-based playing of the user is correct or not can be detected, the cost is low, the realizability is high, and the application range is wide.
Referring to fig. 3, fig. 3 is a schematic structural view of an audio determination device for a key according to an embodiment of the present application. The device that the audio frequency of key confirmed that this application embodiment provided includes the antenna array, including a plurality of antenna element in the antenna array, every antenna element is based on the mode transmitting signal of inductive coupling and received signal, the device still includes:
a first detection signal transmitting module 31, configured to transmit a first detection signal based on antenna units in an antenna array, where the first detection signal is used to identify a key pressed in a keyboard, the key includes an electronic tag that is used to receive the first detection signal transmitted by the antenna units of the antenna array and feed back a response signal, a signal transmission cycle of the antenna array includes a plurality of time intervals, and one of the plurality of antenna units transmits a radio frequency signal as the first detection signal;
and a key touch tone determining module 32, configured to receive, based on the antenna array, a response signal fed back by the electronic tag of each of the plurality of keys of the keyboard, and determine, according to the response signal fed back by the electronic tag of each of the keys, a touch tone corresponding to each of the keys.
In some possible embodiments, the key tone determination module 32 described above is configured to:
when any response signal is received based on the antenna array, determining any electronic tag feeding back any response signal according to any tag identification carried in any response signal;
determining a key tone corresponding to any key to which any electronic tag belongs according to the tag identification of any electronic tag; wherein any one of the keys is one of the keys.
In some possible embodiments, the apparatus further includes a target spectrum determination module 33, and the target spectrum determination module 33 includes:
a second detection signal transmitting unit 331, configured to transmit a second detection signal based on antenna units in the antenna array;
the music score determining unit 332 is configured to receive the response signal of the second detection signal based on the antenna array, and determine a target music score according to the tag identifier carried in the response signal of the second detection signal, where the target music score is used to detect whether the playing of the user based on the target music score is correct.
In some possible embodiments, the plurality of keys includes a first key corresponding to a first note in the target music score; the apparatus further comprises a first key determination module 34, where the first key determination module 34 is specifically configured to:
when a first response signal of the first detection signal is received for the first time based on the antenna array, determining whether a first tag identification carried in the first response signal is a tag identification of a first electronic tag in the first key;
if the first tag identification is the tag identification of the first electronic tag, determining the key tone corresponding to the first key according to the first tag identification;
and if the first tag identification is not the tag identification of the first electronic tag, outputting prompt information, wherein the prompt information is used for reminding a user to play from the first key.
With reference to the second aspect, in one possible implementation, the plurality of keys includes a second key, and the first key and the second key are two keys that are successively depressed in the keyboard; the apparatus further includes a play detection module 35, where the play detection module 35 is specifically configured to:
receiving a response signal fed back by the electronic tag of the second key based on the antenna array, and determining a key tone corresponding to the second key according to a tag identification carried in the response signal fed back by the electronic tag of the second key;
matching the key tone corresponding to the first key with the first note in the target music score, and judging whether the key tone corresponding to the first key is the same as the first note in the target music score or not;
matching the key tone corresponding to the second key with a second note in the target musical notation, and judging whether the key tone corresponding to the second key is the same as the second note in the target musical notation, wherein the first note and the second note are two continuous notes in the target musical notation;
and if the key tone corresponding to the first key is the same as the first note in the target musical notation and the key tone corresponding to the second key is the same as the second note in the target musical notation, determining that the user plays correctly based on the target musical notation and playing celebratory voice.
With reference to the second aspect, in one possible implementation, the key tone determination module 32 is further configured to:
when a response signal fed back by any electronic tag is received based on the antenna array, determining a target antenna unit for receiving the response signal fed back by any electronic tag;
determining a target key corresponding to the target antenna unit according to the target position of the target antenna unit on the antenna array and the corresponding relationship between the arrangement position of each key in the keyboard and the arrangement positions of the plurality of antenna units in the antenna array, and determining a key tone corresponding to the target key as a key tone corresponding to any key to which any electronic tag belongs, wherein the arrangement position of one key in the keyboard corresponds to the arrangement position of one antenna unit in the antenna array;
wherein any one of the keys is one of the keys.
With reference to the second aspect, in one possible implementation, the key tone determination module 32 is further configured to:
determining the working sequence of each antenna unit in the antenna array according to the time interval sequence of each antenna unit in the antenna array for sending radio frequency signals, wherein one antenna unit corresponds to one working sequence number;
determining a starting time node of the signal transmission period and a first duration of a time interval of the signal transmission period;
determining a second time length between a receiving time node of a response signal fed back by any electronic tag and the starting time node, and determining the time interval number between the first time length and the second time length;
and determining the antenna unit with the working sequence number matched with the time interval number from the antenna units as a target antenna unit for receiving the response signal fed back by any one electronic tag.
In a concrete implementation, the device for determining the audio frequency of the key can execute the implementation modes provided by the steps in the fig. 1 to 2 through the built-in functional modules. For example, the first detection signal sending module 31 may be configured to execute implementation manners such as sending the first detection signal in the above steps, and specifically refer to the implementation manners provided in the above steps, which are not described herein again. The key tone determining module 32 may be configured to perform the implementation manners described in the steps, such as determining the key tones corresponding to the keys according to the response signals, which may specifically refer to the implementation manners provided in the steps, and will not be described herein again. The target music score determining module 33 may be configured to execute the implementation manners of sending the second detection signal and determining the target music score in the above steps, which may specifically refer to the implementation manners provided in the above steps, and will not be described herein again. The first key determining module 34 may be configured to perform the implementation manners of receiving the first response signal and determining the first key in the above steps, which may specifically refer to the implementation manners provided in the above steps, and will not be described herein again. The playing detection module 35 may be configured to execute the implementation manners such as determining whether each key tone is matched with each note in the musical instrument spectrum according to the playing sequence in each step, which may specifically refer to the implementation manners provided in each step, and will not be described herein again.
In the embodiment of the present application, the audio determining apparatus for the key may transmit the second detection signal based on the antenna unit in the antenna array, and may determine the target musical spectrum according to the tag identifier carried in the response signal of the second detection signal. The first detection signals are sent based on the antenna units in the antenna array, the key tones corresponding to the keys can be determined according to the tag identifications carried in the response signals of the first detection signals fed back by the electronic tags of the keys, and the key tones are matched with the corresponding sequence of notes in the target music score to determine the playing result of the user. By adopting the method and the device, whether the target music score-based playing of the user is correct or not can be detected, the cost is low, the realizability is high, and the application range is wide.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal device provided in an embodiment of the present application. As shown in fig. 4, the apparatus in this embodiment may include: one or more control components 401, an antenna array 404, and a player 402. The control unit 401, antenna array 404 and player 402 are connected by a bus 403. The antenna array 404 includes a plurality of antenna elements, each of which transmits and receives signals based on inductive coupling. Specifically, each antenna unit may include an inductance coil, and optionally, each antenna unit may further include a capacitor or the like, so that the antenna unit has an inductively coupled component. The player 402 includes a speaker or a stereo, etc. The control module 401 is configured to control the operation of the antenna array 504, and is configured to perform the following operations:
transmitting a first detection signal based on antenna units in an antenna array, wherein the first detection signal is used for identifying keys pressed in a keyboard, the keys comprise electronic tags used for receiving the first detection signal transmitted by the antenna units of the antenna array and feeding back response signals, a signal transmission cycle of the antenna array comprises a plurality of time intervals, and one of the plurality of antenna units transmits a radio-frequency signal as the first detection signal;
and receiving response signals fed back by the electronic tags of the keys of the keyboard based on the antenna array, and determining the key tones corresponding to the keys according to the response signals fed back by the electronic tags of the keys.
In some possible embodiments, the control assembly 401 is configured to:
when any response signal is received based on the antenna array, determining any electronic tag feeding back any response signal according to any tag identification carried in any response signal;
determining a key tone corresponding to any key to which any electronic tag belongs according to the tag identification of any electronic tag;
wherein any one of the keys is one of the keys.
In some possible embodiments, the control assembly 401 is configured to:
transmitting a second detection signal based on the antenna units in the antenna array;
and receiving a response signal of the second detection signal based on the antenna array, and determining a target music score according to a tag identification carried in the response signal of the second detection signal, wherein the target music score is used for detecting whether the playing of the user based on the target music score is correct.
In some possible embodiments, the control assembly 401 is configured to:
when a first response signal of the first detection signal is received for the first time based on the antenna array, determining whether a first tag identification carried in the first response signal is a tag identification of a first electronic tag in the first key;
if the first tag identification is the tag identification of the first electronic tag, determining the key tone corresponding to the first key according to the first tag identification;
if the first tag identification is not the tag identification of the first electronic tag, a prompt message for reminding the user to play the first key is output based on the player 402.
In some possible embodiments, the control assembly 401 is configured to: receiving a response signal fed back by the electronic tag of the second key based on the antenna array, and determining a key tone corresponding to the second key according to a tag identification carried in the response signal fed back by the electronic tag of the second key;
matching the key tone corresponding to the first key with the first note in the target music score, and judging whether the key tone corresponding to the first key is the same as the first note in the target music score or not;
matching the key tone corresponding to the second key with a second note in the target musical notation, and judging whether the key tone corresponding to the second key is the same as the second note in the target musical notation, wherein the first note and the second note are two continuous notes in the target musical notation;
if the key tone corresponding to the first key is the same as the first note in the target musical notation and the key tone corresponding to the second key is the same as the second note in the target musical notation, it is determined that the user plays correctly based on the target musical notation, and a celebration voice is played based on the player 402.
In some possible embodiments, the control assembly 401 is configured to:
when a response signal fed back by any electronic tag is received based on the antenna array, determining a target antenna unit for receiving the response signal fed back by any electronic tag;
determining a target key corresponding to the target antenna unit according to the target position of the target antenna unit on the antenna array and the corresponding relationship between the arrangement position of each key in the keyboard and the arrangement positions of the plurality of antenna units in the antenna array, and determining a key tone corresponding to the target key as a key tone corresponding to any key to which any electronic tag belongs, wherein the arrangement position of one key in the keyboard corresponds to the arrangement position of one antenna unit in the antenna array;
wherein any one of the keys is one of the keys.
In some possible embodiments, the control assembly 401 is configured to:
determining the working sequence of each antenna unit in the antenna array according to the time interval sequence of each antenna unit in the antenna array for sending radio frequency signals, wherein one antenna unit corresponds to one working sequence number;
determining a starting time node of the signal transmission period and a first duration of a time interval of the signal transmission period;
determining a second time length between a receiving time node of a response signal fed back by any electronic tag and the starting time node, and determining the time interval number between the first time length and the second time length;
and determining the antenna unit with the working sequence number matched with the time interval number from the antenna units as a target antenna unit for receiving the response signal fed back by any one electronic tag.
It should be understood that in some possible embodiments, the control component 401 may include a Central Processing Unit (CPU), and the control component may also include other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The general purpose processor may be a microprocessor or the control component may also include any conventional processor or the like.
It should be understood that the apparatus in the embodiment of the present application may include, in addition to the control module 401 mentioned above, a matrix switch for controlling the operation of each antenna unit in the antenna array, a memory for storing program instructions, and a reader capable of reading and identifying the content such as the tag identifier (e.g., electronic code) and the attribute information in the electronic tag, and further, the apparatus may further include a component such as a reader/writer capable of rewriting the content in the electronic tag.
In a specific implementation, the device may execute the implementation manners provided in the steps in fig. 1 to fig. 2 through the built-in functional modules of the device, which may specifically refer to the implementation manners provided in the steps, and are not described herein again.
In this embodiment, the device may send a second detection signal based on the antenna units in the antenna array, and may determine the target musical spectrum according to the tag identifier carried in the response signal of the second detection signal. The first detection signals are sent based on the antenna units in the antenna array, the key tones corresponding to the keys can be determined according to the tag identifications carried in the response signals of the first detection signals fed back by the electronic tags of the keys, and the key tones are matched with the corresponding sequence of notes in the target music score to determine the playing result of the user. By adopting the method and the device, whether the target music score-based playing of the user is correct or not can be detected, the cost is low, the realizability is high, and the application range is wide.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions, and the program instructions, when executed by the control component, implement the method for determining the audio frequency of the key provided in each step in fig. 1 to 2, which may specifically refer to the implementation manners provided in each step, and are not described herein again.
The computer readable storage medium may be the audio determination apparatus for a key provided in any of the foregoing embodiments or an internal storage unit of the device, such as a hard disk or a memory of an electronic device. The computer readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk equipped on the electronic device. Further, the computer readable storage medium may also include both an internal storage unit and an external storage device of the electronic device. The computer-readable storage medium is used for storing the computer program and other programs and data required by the electronic device. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
The terms "first", "second", "third", "fourth", and the like in the claims and in the description and drawings of the present application are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments. The term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The method and the related apparatus provided by the embodiments of the present application are described with reference to the flowchart and/or the structural diagram of the method provided by the embodiments of the present application, and each flow and/or block of the flowchart and/or the structural diagram of the method, and the combination of the flow and/or block in the flowchart and/or the block diagram can be specifically implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block or blocks of the block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block or blocks.

Claims (10)

1. The key audio determination method is applied to a key detection platform, the key detection platform comprises an antenna array, the antenna array comprises a plurality of antenna units, and each antenna unit transmits and receives signals based on an inductive coupling mode;
the method comprises the following steps:
the method comprises the steps that a first detection signal is sent based on antenna units in an antenna array, the first detection signal is used for identifying keys pressed in a keyboard, the keys comprise electronic tags used for receiving the first detection signal sent by the antenna units of the antenna array and feeding back response signals, the signal transmission cycle of the antenna array comprises a plurality of time intervals, and one antenna unit in the antenna units sends a radio-frequency signal as the first detection signal;
receiving response signals fed back by electronic tags of all keys in the plurality of keys of the keyboard based on the antenna array, and determining key tones corresponding to all the keys according to the response signals fed back by the electronic tags of all the keys;
wherein, the determining the key tone corresponding to each key according to the response signal fed back by the electronic tag of each key includes:
receiving a response signal fed back by an electronic tag of each key in a plurality of keys of the keyboard based on the antenna array, and determining the key tone corresponding to each key according to a tag identification carried in the response signal fed back by the electronic tag of each key, wherein one electronic tag corresponds to one tag identification and is used for uniquely marking the key to which the electronic tag belongs and the key tone of the key; or
And receiving response signals fed back by the electronic tags of the keys of the keyboard based on the antenna array, and determining key tones corresponding to the keys according to the target antenna units receiving the response signals.
2. The method according to claim 1, wherein the determining the key tone corresponding to each key according to the response signal fed back by the electronic tag of each key comprises:
when any response signal is received based on the antenna array, determining any electronic tag feeding back any response signal according to any tag identification carried in any response signal;
determining a key tone corresponding to any key to which any electronic tag belongs according to the tag identification of any electronic tag;
wherein the any key is one of the plurality of keys.
3. The method of claim 2, wherein before the first detection signal is transmitted based on antenna elements in the antenna array, the method further comprises:
transmitting a second detection signal based on antenna elements in the antenna array;
and receiving a response signal of the second detection signal based on the antenna array, and determining a target music score according to a tag identification carried in the response signal of the second detection signal, wherein the target music score is used for detecting whether the playing of the user based on the target music score is correct.
4. The method of claim 3, wherein the plurality of keys includes a first key corresponding to a first note in the target music score; the method further comprises the following steps:
when a first response signal of the first detection signal is received for the first time based on the antenna array, determining whether a first tag identification carried in the first response signal is a tag identification of a first electronic tag in the first key;
if the first label identification is the label identification of the first electronic label, determining the key tone corresponding to the first key according to the first label identification;
and if the first tag identification is not the tag identification of the first electronic tag, outputting prompt information, wherein the prompt information is used for reminding a user to play from the first key.
5. The method of claim 4, wherein the plurality of keys includes a second key, the first key and the second key being two keys of the keyboard that are depressed in succession; the method further comprises the following steps:
receiving a response signal fed back by the electronic tag of the second key based on the antenna array, and determining a key tone corresponding to the second key according to a tag identification carried in the response signal fed back by the electronic tag of the second key;
matching the key tone corresponding to the first key with the first note in the target musical notation, and judging whether the key tone corresponding to the first key is the same as the first note in the target musical notation or not;
matching the key tone corresponding to the second key with a second note in the target musical notation, and judging whether the key tone corresponding to the second key is the same as the second note in the target musical notation, wherein the first note and the second note are two continuous notes in the target musical notation;
and if the key tone corresponding to the first key is the same as the first note in the target musical notation and the key tone corresponding to the second key is the same as the second note in the target musical notation, determining that the user plays correctly based on the target musical notation and playing celebratory voice.
6. The method according to claim 1, wherein the determining the key tone corresponding to each key according to the response signal fed back by the electronic tag of each key comprises:
when a response signal fed back by any electronic tag is received based on the antenna array, determining a target antenna unit for receiving the response signal fed back by any electronic tag;
determining target keys corresponding to the target antenna units according to the target positions of the target antenna units on the antenna array and the corresponding relation between the arrangement positions of the keys in the keyboard and the arrangement positions of the antenna units in the antenna array, and determining key tones corresponding to the target keys as key tones corresponding to any keys to which any electronic tag belongs, wherein the arrangement position of one key in the keyboard corresponds to the arrangement position of one antenna unit in the antenna array;
wherein the any key is one of the plurality of keys.
7. The method of claim 6, wherein the determining a target antenna unit for receiving the response signal fed back by any of the electronic tags comprises:
determining the working sequence of each antenna unit in the antenna array according to the time interval sequence of each antenna unit in the antenna array for sending radio frequency signals, wherein one antenna unit corresponds to one working sequence number;
determining a starting time node of the signal transmission period and a first duration of a time interval of the signal transmission period;
determining a second time length between a receiving time node of a response signal fed back by any electronic tag and the starting time node, and determining the time interval number between the first time length and the second time length;
and determining the antenna unit with the working sequence number matched with the time interval number from the antenna units as a target antenna unit for receiving the response signal fed back by any electronic tag.
8. An apparatus for determining a key tone frequency, the apparatus comprising an antenna array including a plurality of antenna elements, each of the antenna elements transmitting and receiving signals based on an inductive coupling, the apparatus further comprising:
the first detection signal sending module is used for sending a first detection signal based on antenna units in an antenna array, the first detection signal is used for identifying keys pressed in a keyboard, the keys comprise electronic tags used for receiving the first detection signal sent by the antenna units of the antenna array and feeding back response signals, the signal transmission cycle of the antenna array comprises a plurality of time intervals, and one time interval is used for sending a radio frequency signal to one antenna unit of the antenna units to serve as the first detection signal;
the key pressing sound determining module is used for receiving response signals fed back by electronic tags of all keys in the plurality of keys of the keyboard based on the antenna array and determining the pressing sound corresponding to all the keys according to the response signals fed back by the electronic tags of all the keys;
wherein, the key tone determination module is specifically configured to:
receiving a response signal fed back by an electronic tag of each key in a plurality of keys of the keyboard based on the antenna array, and determining the key tone corresponding to each key according to a tag identification carried in the response signal fed back by the electronic tag of each key, wherein one electronic tag corresponds to one tag identification and is used for uniquely marking the key to which the electronic tag belongs and the key tone of the key; or
And receiving response signals fed back by the electronic tags of the keys of the keyboard based on the antenna array, and determining key tones corresponding to the keys according to the target antenna units receiving the response signals.
9. The key detection device is characterized by comprising an antenna array, a control assembly and a player, wherein the antenna array, the control assembly and the player are connected with one another, the antenna array comprises a plurality of antenna units, and each antenna unit transmits and receives signals based on an inductive coupling mode; the player is used for playing voice;
the control component is configured for controlling the operation of the antenna array and for performing the method according to any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a control component, cause the control component to perform the method according to any one of claims 1-7.
CN201910533571.4A 2019-06-19 2019-06-19 Method and device for determining audio frequency of keys Active CN110364132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910533571.4A CN110364132B (en) 2019-06-19 2019-06-19 Method and device for determining audio frequency of keys

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910533571.4A CN110364132B (en) 2019-06-19 2019-06-19 Method and device for determining audio frequency of keys

Publications (2)

Publication Number Publication Date
CN110364132A CN110364132A (en) 2019-10-22
CN110364132B true CN110364132B (en) 2021-11-26

Family

ID=68216374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910533571.4A Active CN110364132B (en) 2019-06-19 2019-06-19 Method and device for determining audio frequency of keys

Country Status (1)

Country Link
CN (1) CN110364132B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110322867B (en) * 2019-06-19 2021-07-16 深圳数联天下智能科技有限公司 Audio output method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440515A (en) * 2013-08-16 2013-12-11 步步高教育电子有限公司 Educational toy using antenna near field induction and identification response method thereof
CN104200716A (en) * 2014-09-25 2014-12-10 吴若鹏 Piano and piano interactive practice device
CN104835485A (en) * 2015-04-08 2015-08-12 华平信息技术股份有限公司 Piano sampling and playing device, and key calibration method thereof, and key signal sampling method
CN205121980U (en) * 2015-10-30 2016-03-30 广州乐弥信息科技有限公司 System that guides is played to keyboard class musical instrument
WO2018027011A1 (en) * 2016-08-03 2018-02-08 Mercurial Modulation, LLC Modulating keyboard with relative transposition mechanism for electronic keyboard musical instruments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440515A (en) * 2013-08-16 2013-12-11 步步高教育电子有限公司 Educational toy using antenna near field induction and identification response method thereof
CN104200716A (en) * 2014-09-25 2014-12-10 吴若鹏 Piano and piano interactive practice device
CN104835485A (en) * 2015-04-08 2015-08-12 华平信息技术股份有限公司 Piano sampling and playing device, and key calibration method thereof, and key signal sampling method
CN205121980U (en) * 2015-10-30 2016-03-30 广州乐弥信息科技有限公司 System that guides is played to keyboard class musical instrument
WO2018027011A1 (en) * 2016-08-03 2018-02-08 Mercurial Modulation, LLC Modulating keyboard with relative transposition mechanism for electronic keyboard musical instruments

Also Published As

Publication number Publication date
CN110364132A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
JP5743144B2 (en) System and method for reading data from multiple chips with RFID tags
US8699948B2 (en) Connection method for near field communication
US9545573B2 (en) Information processing system, game system, information processing apparatus, recording medium and information processing method
ATE510270T1 (en) ONE-TIME AUTHENTICATION SYSTEM
US10283011B2 (en) System and method for developing sense of rhythm
CN110364132B (en) Method and device for determining audio frequency of keys
TW201541361A (en) System for identifying ID and ID card using the same
CN101356542A (en) Microprocessor and/or memory card provided with a display
RU2006108465A (en) METHOD FOR MOBILE MOBILE PHONE AND PERSONAL CARD
US20130056540A1 (en) Payment card comprising an electronic game chip
CN110309893B (en) Method and device for determining push button position
CN107704230A (en) A kind of wheat sequence controlling method and control device
CN110322867B (en) Audio output method and related device
JP5989847B2 (en) System for reading data from a plurality of chips equipped with RFID tags
CN102760051A (en) Method for obtaining voice signal and electronic equipment
CN110333796B (en) Operation instruction determining method and related device
CN110327615B (en) Method for determining object combination mode and related device
WO2008108512A1 (en) User created contents toy and the method for operating the same
CN110321016B (en) Method and device for determining position of touch pen
JP5905623B2 (en) System and method for reading data from multiple chips with RFID tags
CN201956070U (en) MP3 player with non-contact integrated circuit (IC) card reader
CN108962261A (en) Information processing method, information processing unit and bluetooth headset
CN110334785B (en) Method and related device for determining object moving path
CN110263591A (en) Fall chess method for determining position and device
JP2006221481A (en) Personal identification system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200415

Address after: 1706, Fangda building, No. 011, Keji South 12th Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen shuliantianxia Intelligent Technology Co., Ltd

Address before: 518000, building 10, building ten, building D, Shenzhen Institute of Aerospace Science and technology, 6 hi tech Southern District, Nanshan District, Shenzhen, Guangdong 1003, China

Applicant before: SHENZHEN H & T HOME ONLINE NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant