CN106847247B - Chord tone output control method and system - Google Patents
Chord tone output control method and system Download PDFInfo
- Publication number
- CN106847247B CN106847247B CN201611113299.7A CN201611113299A CN106847247B CN 106847247 B CN106847247 B CN 106847247B CN 201611113299 A CN201611113299 A CN 201611113299A CN 106847247 B CN106847247 B CN 106847247B
- Authority
- CN
- China
- Prior art keywords
- chord tone
- chord
- array
- output
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC 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/00—Details of electrophonic musical instruments
- G10H1/36—Accompaniment arrangements
- G10H1/38—Chord
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC 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
- G10H7/00—Instruments in which the tones are synthesised from a data store, e.g. computer organs
- G10H7/08—Instruments in which the tones are synthesised from a data store, e.g. computer organs by calculating functions or polynomial approximations to evaluate amplitudes at successive sample points of a tone waveform
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC 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
- G10H2210/00—Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
- G10H2210/571—Chords; Chord sequences
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Mathematical Analysis (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Algebra (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to a chord tone output control method and a system, wherein the method comprises the following steps: acquiring a function model for controlling a chord tone output circuit and an address of a storage unit for storing a chord tone array; the function model is packaged with control parameters corresponding to array elements of the chord tone array; calling corresponding chord tone arrays from a storage unit according to the addresses, and respectively assigning the array elements to corresponding control parameters in the function model; and generating a control signal according to the control parameter, outputting the control signal to a chord tone output circuit, and controlling the chord tone output circuit to output corresponding chord tones. The chord tone output control method and the chord tone output control system do not need to change the program, and have the advantages of simple control process, low complexity, simple and convenient operation and high control efficiency.
Description
Technical Field
The invention relates to the technical field of software, in particular to a chord tone output control method and system.
Background
In the application of the buzzer, the buzzer can be controlled to emit chord tones so as to achieve different sound playing effects. In the prior art, different control programs can be designed to control the chord tone output circuit according to different requirements of different users on chord tones, so that the chord tone output circuit outputs different chord tones. A chord tone output circuit is shown in figure 1, and comprises resistors R1, R2, an R3 triode Q, an electrolytic capacitor EC and a buzzer, and the chord tone output circuit can be controlled by a control program to enable the buzzer to output different chord tones. The charging control end BUZ1 controls the electrolytic capacitor EC4 to discharge when being grounded through a singlechip, the power supply energy of a buzzer is increased to the maximum at the moment, the EC4 is charged in a step when the BUZ1 is suspended, the power supply amount of the buzzer is reduced at the moment, the PWM (Pulse Width Modulation) control end BUZ2 provides a frequency signal, the tone is changed simultaneously when the frequency is changed, and the pleasant and string sounds are generated when the voltage of the EC4 is changed.
However, when the output chord tone needs to be changed in the prior art, the control program itself needs to be modified accordingly, which causes the following problems: firstly, most users are not professional programmers, errors are easy to occur when the programs are modified, and even the whole programs are crashed when the programs are serious; secondly, the efficiency of changing the output chord tone by modifying the program is low, and the work complexity is high.
In summary, the control process of the conventional chord tone control method is complicated.
Disclosure of Invention
Based on this, it is necessary to provide a chord tone output control method and system for solving the problem of complicated control process of the existing chord tone control method.
A chord tone output control method comprising the steps of:
acquiring a function model for controlling a chord tone output circuit and an address of a storage unit for storing a chord tone array; the function model is packaged with control parameters corresponding to array elements of the chord tone array;
calling corresponding chord tone arrays from a storage unit according to the addresses, and respectively assigning the array elements to corresponding control parameters in the function model;
and generating a control signal according to the control parameter, outputting the control signal to a chord tone output circuit, and controlling the chord tone output circuit to output corresponding chord tones.
A chord tone output control system comprising:
the acquisition module is used for acquiring a function model for controlling the chord tone output circuit and the address of a storage unit for storing the chord tone array; the function model is packaged with control parameters corresponding to array elements of the chord tone array;
the assignment module is used for calling corresponding chord tone arrays from the storage unit according to the addresses and assigning the array elements to corresponding control parameters in the function model respectively;
and the control module is used for generating a control signal according to the control parameter, outputting the control signal to the chord tone output circuit and controlling the chord tone output circuit to output corresponding chord tones.
According to the chord tone output control method and system, the chord tone array is called from the storage unit, the array elements of the chord tone array are assigned to the control parameters of the function model for controlling the chord tone output circuit, the control signals are generated according to the control parameters, the chord tone output circuit is controlled to output corresponding chord tones, when the chord tones need to be modified, only the addresses of the chord tone array need to be changed, other chord tones can be selected from other addresses to be output, or only the values of the array elements in the chord tone array need to be modified in the corresponding storage unit, the program itself does not need to be modified, the control process is simple, the complexity is low, the operation is simple and convenient, and the control efficiency is high.
Drawings
FIG. 1 is a schematic diagram of a chord tone output circuit according to one embodiment;
FIG. 2 is a flow diagram of a chord tone output control method of one embodiment of an embodiment;
FIG. 3(a) is a schematic diagram of a random control scheme according to an embodiment;
FIG. 3(b) is a schematic diagram of a sequence control scheme according to an embodiment;
fig. 4 is a schematic structural diagram of a chord tone output control system according to an embodiment.
Detailed Description
The technical solution of the present invention will be explained below with reference to the accompanying drawings.
As shown in fig. 2, the present invention provides a chord tone output control method, which may include the following steps:
s1, acquiring a function model for controlling the chord tone output circuit and the address of a storage unit for storing the chord tone array; the function model is packaged with control parameters corresponding to array elements of the chord tone array;
the chord tone output circuit in this step and other parts of the present invention may be the chord tone output circuit shown in fig. 1, or may be other types of circuits that perform chord tone output by using similar principles.
The functional model may be used to control the volume, pitch and/or duration of individual notes of a chord tone output by the chord tone output circuit. In one embodiment, the control parameters of the function model may include a value of the current flowing through the chord tone circuit, a frequency of a discharge voltage of the chord tone circuit, and a charge and discharge time of the chord tone circuit. Wherein the current value is used for controlling the volume, the frequency of the discharge voltage is used for controlling the tone, and the charging and discharging time is used for controlling the duration of the note. Thus, in one embodiment, the current value may be set according to the volume of each note in the chord tone; the frequency of the discharge voltage may also be set according to the pitch of each note in the chord tone; the charge and discharge time may also be set according to the duration of each note in the chord tone.
In one embodiment, the form of the chord tone array may be the following form:
{ array length, frequency 1, charge time 1, discharge time 1, frequency 2, charge time 2, discharge time 2, … …, frequency n, charge time n, discharge time n, … … }, where n is a positive integer. The length of the array may be set according to the number of notes of the chord tone, and assuming that m (m is a positive integer) notes are included in the chord tone, the length of the array may be set to m, and for convenience of subsequent modification of the array, for example, a case where notes are added to the array may occur, and the length of the array may also be set to a value greater than m.
Control parameters corresponding to the array elements of the chord tone array may be set in the function model, for example, when the chord tone array includes a frequency, a charge time, and a discharge time, the control parameters correspondingly include the frequency, the charge time, and the discharge time.
S2, calling corresponding chord tone arrays from the storage unit according to the addresses, and respectively assigning the array elements to corresponding control parameters in the function model;
the addresses of the memory locations storing the chord tone arrays may be stored in an address register, which may be pointed to by a pointer tabMusic1 when reading the addresses. This pointer tabMusic1 may point to 0 in the initial case. Another pointer tabMusic2 may be set in the function model, and the value of pointer tabMusic1 may be assigned to pointer tabMusic 2. In this way, the function model and the addresses of the chord tone arrays call the chord tone arrays to the storage units corresponding to the addresses.
And when assigning, assigning array elements in the chord tone array to corresponding control parameters in the function model. For example, a value corresponding to a frequency in the chord tone array may be assigned to a parameter representing the frequency in the control parameters; values corresponding to the charging time in the chord tone array can be assigned to parameters representing the charging time in the control parameters; values corresponding to the discharge time in the chord tone array can be assigned to parameters representing the discharge time in the control parameters; and so on.
In one embodiment, when the address of the storage unit storing the chord tone array is obtained, a plurality of addresses of the chord tone array can be obtained; wherein each address corresponds to a chord tone array. In this case, when the corresponding chord tone array is called from the storage unit according to the address, one address can be randomly selected from the plurality of addresses; calling the chord tone array from the storage unit corresponding to the selected address; or sequentially selecting one address from the plurality of addresses according to the arrangement order of the plurality of addresses; and calling the chord tone array from the storage unit corresponding to the selected address. In the first mode (random control mode), one of the chord tone arrays may be randomly selected to be assigned to the control parameters of the function model, and in the second mode (sequential control mode), one of the chord tone arrays may be sequentially selected to be assigned to the control parameters of the function model. After the value is assigned, step S3 may be performed. If the random control method is selected in this step, in step S3, after the group of chord tones is output, the step of randomly selecting one address from the plurality of addresses may be returned to, and a group of chord tones may be randomly selected again for output. If the sequence control method is selected in this step, in step S3, after one group of chord tones is output, the next chord tone array of the current chord tone array can be selected for output. The current chord tone array is the chord tone array which is played at present, and the next chord tone array is the chord tone array which corresponds to the next address of the address corresponding to the current chord tone array. Schematic diagrams of the random control manner and the sequential control manner are shown in fig. 3(a) and 3(b), respectively. Through the two modes, the multi-head chord tones can be automatically played, user control is not needed, and user operation is simplified.
In one embodiment, if neither chord tone stored in the system meets the requirements of the user, the chord tone can be set by the user. Specifically, an input parameter setting instruction may be received; and setting array elements of the chord tone array according to the parameter setting instruction. When the array elements are respectively assigned to the corresponding control parameters in the function model, the set array elements of the chord tone array can be respectively assigned to the corresponding control parameters in the function model.
In an embodiment, a plurality of empty arrays may also be preset, a certain storage space may be allocated to the empty arrays in advance, and an address may be allocated to each empty array. If the chord tones stored in the system do not meet the requirements of the user, the user can input corresponding values in the empty array and modify the values of the addresses into the addresses of the empty array, and then the system can directly assign array elements written in the empty array by the user to the control parameters of the function model during assignment.
And S3, generating a control signal according to the control parameter, outputting the control signal to a chord tone output circuit, and controlling the chord tone output circuit to output corresponding chord tones.
In one embodiment, when the chord tone output circuit is controlled to output corresponding chord tones, a timing control instruction for the chord tone output circuit is received; wherein, the timing control instruction comprises the output time of the chord tone; and comparing the current time with the output time, and controlling the chord tone output circuit to output the corresponding chord tone if the current time is the same as the output time. The output time can be input by a user, for example, a man-machine interaction interface can be set, and the user can directly input time information in the man-machine interaction interface. In this way, a chord tone timing output effect can be achieved.
The timing control instruction can also comprise the repetition frequency and/or repetition times of the timing output chord tone, and the chord tone output circuit can be controlled to output the corresponding chord tone according to the repetition frequency and/or repetition times. The repetition frequency includes no repetition, once per day, once per month, etc. The number of repetitions may be set to 3, 5, 10, etc. For example, when the reading time is set to 30 minutes and 25 seconds at 17.5.5.2016 and the repetition frequency is set to be not repeated, the chord tone output circuit may be controlled to output the corresponding chord tone when the reading time reaches 30 minutes and 25 seconds at 17.5.17.12.2016 last time, and then the chord tone is not output any more. When the reading time is set to 2016, 12, 5, 17, 30 minutes, and 25 seconds, and the repetition frequency is set to once per month, the chord tone output circuit can be controlled to output the corresponding chord tone at a timing of 30 minutes, 25 seconds per month of 17 No. 5. When the reading time is set to 2016, 12, 5, 17, 30 min and 25 sec, the repetition frequency is set to once a day, and the repetition time is set to 3 times, the reading time can be continuously set for 3 days, and the chord tone output circuit is controlled to output the corresponding chord tone when the reading time is set to 17, 30 min and 25 sec every day.
As shown in fig. 4, the present invention provides a chord tone output control system, which may include:
an obtaining module 10, configured to obtain a function model for controlling a chord tone output circuit and an address of a storage unit for storing a chord tone array; the function model is packaged with control parameters corresponding to array elements of the chord tone array;
the chord tone output circuit described in this module and other parts of the present invention may be the chord tone output circuit shown in fig. 1, or may be other types of circuits that perform chord tone output using similar principles.
The functional model may be used to control the volume, pitch and/or duration of individual notes of a chord tone output by the chord tone output circuit. In one embodiment, the control parameters of the function model may include a value of the current flowing through the chord tone circuit, a frequency of a discharge voltage of the chord tone circuit, and a charge and discharge time of the chord tone circuit. Wherein the current value is used for controlling the volume, the frequency of the discharge voltage is used for controlling the tone, and the charging and discharging time is used for controlling the duration of the note. Thus, in one embodiment, the current value may be set according to the volume of each note in the chord tone; the frequency of the discharge voltage may also be set according to the pitch of each note in the chord tone; the charge and discharge time may also be set according to the duration of each note in the chord tone.
In one embodiment, the form of the chord tone array may be the following form:
{ array length, frequency 1, charge time 1, discharge time 1, frequency 2, charge time 2, discharge time 2, … …, frequency n, charge time n, discharge time n, … … }, where n is a positive integer. The length of the array may be set according to the number of notes of the chord tone, and assuming that m (m is a positive integer) notes are included in the chord tone, the length of the array may be set to m, and for convenience of subsequent modification of the array, for example, a case where notes are added to the array may occur, and the length of the array may also be set to a value greater than m.
Control parameters corresponding to the array elements of the chord tone array may be set in the function model, for example, when the chord tone array includes a frequency, a charge time, and a discharge time, the control parameters correspondingly include the frequency, the charge time, and the discharge time.
The assignment module 20 is configured to call corresponding chord tone arrays from the storage unit according to the addresses, and assign the array elements to corresponding control parameters in the function model respectively;
the addresses of the memory locations storing the chord tone arrays may be stored in an address register, which may be pointed to by a pointer tabMusic1 when reading the addresses. This pointer tabMusic1 may point to 0 in the initial case. Another pointer tabMusic2 may be set in the function model, and the value of pointer tabMusic1 may be assigned to pointer tabMusic 2. In this way, the function model and the addresses of the chord tone arrays call the chord tone arrays to the storage units corresponding to the addresses.
And when assigning, assigning array elements in the chord tone array to corresponding control parameters in the function model. For example, a value corresponding to a frequency in the chord tone array may be assigned to a parameter representing the frequency in the control parameters; values corresponding to the charging time in the chord tone array can be assigned to parameters representing the charging time in the control parameters; values corresponding to the discharge time in the chord tone array can be assigned to parameters representing the discharge time in the control parameters; and so on.
In one embodiment, the retrieving module 10 may include a retrieving unit for retrieving a plurality of addresses of chord tone sets; wherein each address corresponds to a chord tone array. In this case, the assignment module 20 may include: a first selection unit configured to randomly select one address from the plurality of addresses; the first calling unit is used for calling the chord tone array from the storage unit corresponding to the selected address; or a second selecting unit configured to sequentially select one address from the plurality of addresses according to an arrangement order of the plurality of addresses; and the second calling unit is used for calling the chord tone array from the storage unit corresponding to the selected address. In the first mode (random control mode), one of the chord tone arrays may be randomly selected to be assigned to the control parameters of the function model, and in the second mode (sequential control mode), one of the chord tone arrays may be sequentially selected to be assigned to the control parameters of the function model. After assignment, the functions of the control module 30 may be performed. If the random control mode is selected in this module, in the control module 30, after the output of one group of chord tones is completed, the function of randomly selecting one address from the plurality of addresses may be returned to, and one chord tone group may be randomly selected again for output. If the sequential control mode is selected in this module, in the control module 30, after one group of chord tones is output, the next chord tone array of the current chord tone array can be selected for output. The current chord tone array is the chord tone array which is played at present, and the next chord tone array is the chord tone array which corresponds to the next address of the address corresponding to the current chord tone array. Schematic diagrams of the random control manner and the sequential control manner are shown in fig. 3(a) and 3(b), respectively. Through the two modes, the multi-head chord tones can be automatically played, user control is not needed, and user operation is simplified.
In one embodiment, if neither chord tone stored in the system meets the requirements of the user, the chord tone can be set by the user. Specifically, the chord tone output control system may further include a receiving module, configured to receive an input parameter setting instruction; and the setting module is used for setting the array elements of the chord tone array according to the parameter setting instruction. The assignment module 20 may further include an assignment unit, configured to assign the set array elements of the chord tone array to corresponding control parameters in the function model respectively.
In an embodiment, a plurality of empty arrays may also be preset, a certain storage space may be allocated to the empty arrays in advance, and an address may be allocated to each empty array. If the chord tones stored in the system do not meet the requirements of the user, the user can input corresponding values in the empty array and modify the values of the addresses into the addresses of the empty array, and then the system can directly assign array elements written in the empty array by the user to the control parameters of the function model during assignment.
And the control module 30 is configured to generate a control signal according to the control parameter, output the control signal to the chord tone output circuit, and control the chord tone output circuit to output a corresponding chord tone.
In one embodiment, the control module 30 may include a receiving unit for receiving a timing control instruction for the chord tone output circuit; wherein, the timing control instruction comprises the output time of the chord tone; the control unit is used for comparing the current time with the output time, and controlling the chord tone output circuit to output the corresponding chord tone if the current time is the same as the output time. The output time can be input by a user, for example, a man-machine interaction interface can be set, and the user can directly input time information in the man-machine interaction interface. In this way, a chord tone timing output effect can be achieved.
The timing control instruction can also comprise the repetition frequency and/or repetition times of the timing output chord tone, and the chord tone output circuit can be controlled to output the corresponding chord tone according to the repetition frequency and/or repetition times. The repetition frequency includes no repetition, once per day, once per month, etc. The number of repetitions may be set to 3, 5, 10, etc. For example, when the reading time is set to 30 minutes and 25 seconds at 17.5.5.2016 and the repetition frequency is set to be not repeated, the chord tone output circuit may be controlled to output the corresponding chord tone when the reading time reaches 30 minutes and 25 seconds at 17.5.17.12.2016 last time, and then the chord tone is not output any more. When the reading time is set to 2016, 12, 5, 17, 30 minutes, and 25 seconds, and the repetition frequency is set to once per month, the chord tone output circuit can be controlled to output the corresponding chord tone at a timing of 30 minutes, 25 seconds per month of 17 No. 5. When the reading time is set to 2016, 12, 5, 17, 30 min and 25 sec, the repetition frequency is set to once a day, and the repetition time is set to 3 times, the reading time can be continuously set for 3 days, and the chord tone output circuit is controlled to output the corresponding chord tone when the reading time is set to 17, 30 min and 25 sec every day.
By the chord tone output control method, when the output chord tone needs to be changed, the program itself does not need to be modified, and only the corresponding address parameter or array parameter needs to be modified, so that the chord tone output control mode is greatly simplified, the control efficiency is improved, and the operation complexity is reduced.
The chord tone output control system of the present invention and the chord tone output control method of the present invention correspond to each other one to one, and the technical features and the advantageous effects thereof explained in the embodiments of the chord tone output control method are all applicable to the embodiments of the chord tone output control system, which is hereby stated.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (6)
1. A chord tone output control method is characterized by comprising the following steps:
acquiring a function model for controlling a chord tone output circuit and an address of a storage unit for storing a chord tone array; the function model is packaged with control parameters corresponding to array elements of the chord tone array;
calling corresponding chord tone arrays from a storage unit according to the addresses, and respectively assigning the array elements to corresponding control parameters in the function model;
generating a control signal according to the control parameter, outputting the control signal to a chord tone output circuit, and controlling the chord tone output circuit to output corresponding chord tones;
the method further comprises the following steps:
receiving a timing control instruction for the chord tone output circuit; wherein, the timing control instruction comprises the output time of the chord tone; the timing control instruction can also comprise the repetition frequency and/or repetition times of the timed output of the chord tones;
the controlling the chord tone output circuit to output the corresponding chord tone further comprises:
comparing the current time with the output time, and if the current time is the same as the output time, controlling the chord tone output circuit to output corresponding chord tones according to the repetition frequency and/or the repetition times;
before assigning the array elements to the corresponding control parameters in the function model, respectively, the method further includes:
receiving an input parameter setting instruction;
setting array elements of the chord tone array according to the parameter setting instruction;
the step of assigning the array elements to the corresponding control parameters in the function model respectively comprises:
and respectively assigning the array elements of the set chord tone array to corresponding control parameters in the function model.
2. The chord tone output control method according to claim 1, wherein the control parameters include a value of a current flowing through the chord tone circuit, a frequency of a discharge voltage of the chord tone circuit, and a charge and discharge time of the chord tone circuit.
3. The chord tone output control method according to claim 2, further comprising:
setting the current value according to the volume of each note in the chord tone; and/or
Setting the frequency of the discharge voltage according to the tone of each note in the chord tone; and/or
And setting the charging and discharging time according to the duration time of each note in the chord tone.
4. The chord tone output control method according to any one of claims 1 to 3, wherein the step of acquiring the address of the storage unit storing the chord tone array includes:
acquiring a plurality of addresses of chord tone arrays; wherein, each address corresponds to a chord tone array;
the step of calling the corresponding chord tone array from the storage unit according to the address comprises the following steps:
randomly selecting an address from the plurality of addresses;
calling the chord tone array from the storage unit corresponding to the selected address; or
Sequentially selecting one address from the plurality of addresses according to the arrangement order of the plurality of addresses;
and calling the chord tone array from the storage unit corresponding to the selected address.
5. A chord tone output control system, comprising:
the acquisition module is used for acquiring a function model for controlling the chord tone output circuit and the address of a storage unit for storing the chord tone array; the function model is packaged with control parameters corresponding to array elements of the chord tone array;
the assignment module is used for calling corresponding chord tone arrays from the storage unit according to the addresses and assigning the array elements to corresponding control parameters in the function model respectively;
the control module is used for generating a control signal according to the control parameter, outputting the control signal to the chord tone output circuit and controlling the chord tone output circuit to output corresponding chord tones;
the control module is further specifically configured to receive a timing control instruction for the chord tone output circuit; wherein, the timing control instruction comprises the output time of the chord tone; the timing control instruction can also comprise the repetition frequency and/or repetition times of the timed output of the chord tones;
the control module is further specifically configured to compare the current time with the output time, and if the current time is the same as the output time, control the chord tone output circuit to output a corresponding chord tone according to the repetition frequency and/or the repetition times;
the receiving module is used for receiving an input parameter setting instruction;
the setting module is used for setting array elements of the chord tone array according to the parameter setting instruction;
and the assignment module is also used for assigning the array elements of the set chord tone array to the corresponding control parameters in the function model respectively.
6. The chord tone output control system according to claim 5, wherein the obtaining module includes:
the acquisition unit is used for acquiring a plurality of addresses of the chord tone array; wherein, each address corresponds to a chord tone array;
the assignment module comprises:
a first selection unit configured to randomly select one address from the plurality of addresses;
the first calling unit is used for calling the chord tone array from the storage unit corresponding to the selected address; or
A second selection unit configured to sequentially select one address from the plurality of addresses according to an arrangement order of the plurality of addresses;
and the second calling unit is used for calling the chord tone array from the storage unit corresponding to the selected address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611113299.7A CN106847247B (en) | 2016-12-06 | 2016-12-06 | Chord tone output control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611113299.7A CN106847247B (en) | 2016-12-06 | 2016-12-06 | Chord tone output control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106847247A CN106847247A (en) | 2017-06-13 |
CN106847247B true CN106847247B (en) | 2020-08-04 |
Family
ID=59139011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611113299.7A Active CN106847247B (en) | 2016-12-06 | 2016-12-06 | Chord tone output control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106847247B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2789660Y (en) * | 2005-04-08 | 2006-06-21 | 苏州三星电子有限公司 | Music air conditioner |
CN103281652A (en) * | 2013-04-22 | 2013-09-04 | 无锡艾柯威科技有限公司 | Buzzer drive circuit |
CN105761713A (en) * | 2016-01-29 | 2016-07-13 | 北京精奇互动科技有限公司 | Chord changing processing method and device |
CN105989828A (en) * | 2015-12-29 | 2016-10-05 | 合肥龙多电子科技有限公司 | Parallel buzzer and chord tone drive circuit |
-
2016
- 2016-12-06 CN CN201611113299.7A patent/CN106847247B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2789660Y (en) * | 2005-04-08 | 2006-06-21 | 苏州三星电子有限公司 | Music air conditioner |
CN103281652A (en) * | 2013-04-22 | 2013-09-04 | 无锡艾柯威科技有限公司 | Buzzer drive circuit |
CN105989828A (en) * | 2015-12-29 | 2016-10-05 | 合肥龙多电子科技有限公司 | Parallel buzzer and chord tone drive circuit |
CN105761713A (en) * | 2016-01-29 | 2016-07-13 | 北京精奇互动科技有限公司 | Chord changing processing method and device |
Non-Patent Citations (1)
Title |
---|
蜂鸣器和弦音发声控制;不详;《百度文库》;20121027 * |
Also Published As
Publication number | Publication date |
---|---|
CN106847247A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103686004A (en) | Column parallel analog-to-digital converter, pixel photosensitive value output method and CMOS image sensor | |
US20220100654A1 (en) | Methods and devices that utilize hardware to move blocks of operating parameter data from memory to a register set | |
US11379394B2 (en) | Methods and devices that utilize hardware to move blocks of operating parameter data from memory to a register set | |
US6421276B1 (en) | Method and apparatus for controlling erase operations of a non-volatile memory system | |
CN106847247B (en) | Chord tone output control method and system | |
CN109597687A (en) | Data synchronous resource allocation methods, device, storage medium and electronic equipment | |
EP0845768B1 (en) | A waveform generator with a read only memory and a plasma matrix display using the same | |
CN115902357B (en) | Method and device for detecting unknown waveform voltage signal and storage medium | |
CN109152128B (en) | Pulse width modulation pattern generator circuit, corresponding device and method | |
CN103178784A (en) | Oscillation keying modulation method and device and function signal generator | |
CN110176200B (en) | Method and system for generating panel detection signal | |
JP5240135B2 (en) | Semiconductor memory device testing method and semiconductor memory device | |
CN110209546A (en) | A kind of apparatus control method and apparatus control system | |
TWI743638B (en) | Timing generator, timing generating method, and associated control chip | |
EP0017479A1 (en) | Memory refresh control apparatus | |
EP4163018A1 (en) | Method, device and system for controlling linear motor of electronic atomizer, and electronic atomizer | |
RU2004131157A (en) | TONE FREQUENCY GENERATOR AND USING ITS PORTABLE TELEPHONE, METHOD FOR INCLUDING LIGHT-RADIATING ELEMENTS | |
US20140297705A1 (en) | Method and system for the digital synthesis of a waveform | |
KR100651051B1 (en) | Test apparatus for semiconductor device | |
SU1095167A1 (en) | Speech synthesis device | |
US7557629B2 (en) | Pulse stream generator | |
SU1679643A1 (en) | Binary signals split simulator | |
SU877658A2 (en) | Device for registering chemical current source parameters | |
CN115756996A (en) | Chip testing method, device and equipment and readable storage medium | |
CN114660970A (en) | Method for generating chip IO interference signal and method for verifying anti-interference capability |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |