CN117631752A - Waveform sequence creation method, display method and waveform sequence generator - Google Patents

Waveform sequence creation method, display method and waveform sequence generator Download PDF

Info

Publication number
CN117631752A
CN117631752A CN202410104617.1A CN202410104617A CN117631752A CN 117631752 A CN117631752 A CN 117631752A CN 202410104617 A CN202410104617 A CN 202410104617A CN 117631752 A CN117631752 A CN 117631752A
Authority
CN
China
Prior art keywords
waveform
stage
subsequence
sequence
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410104617.1A
Other languages
Chinese (zh)
Other versions
CN117631752B (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 Siglent Technologies Co Ltd
Original Assignee
Shenzhen Siglent Technologies 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 Siglent Technologies Co Ltd filed Critical Shenzhen Siglent Technologies Co Ltd
Priority to CN202410104617.1A priority Critical patent/CN117631752B/en
Publication of CN117631752A publication Critical patent/CN117631752A/en
Application granted granted Critical
Publication of CN117631752B publication Critical patent/CN117631752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

The application relates to a method for creating a waveform sequence, a method for displaying the waveform sequence and a waveform sequence generator, wherein the method for creating the waveform sequence comprises the following steps: setting a multilevel configuration parameter layer for creating a waveform sequence based on the acquired configuration instruction; based on the multi-level configuration parameter layer, a waveform sequence is created. Wherein, the configuration parameter layer of each stage includes: at least one waveform subsequence, an attribute of each waveform subsequence; for the configuration parameter layer of the non-lowest stage, each waveform subsequence in the configuration parameter layer of the stage corresponds to the configuration parameter layer of the next stage, and each waveform subsequence is defined by the configuration parameter layer of the corresponding next stage; for the configuration parameter layer of the lowest stage, each waveform subsequence of the configuration parameter layer of that stage corresponds to a smallest waveform segment in the waveform lookup table. The method and the device solve the technical problem that when the waveform sequence of the existing waveform sequence generator is edited or modified, minimum waveform data is required to be obtained from the waveform lookup table to carry out editing or modification.

Description

Waveform sequence creation method, display method and waveform sequence generator
Technical Field
The present application relates to the technical field of waveform sequencers, and in particular, to a method for creating a waveform sequence, a method for displaying the waveform sequence, and a waveform sequencer.
Background
Existing waveform sequencers typically include a waveform look-up table, a digital-to-analog converter, a low-pass filter, and a waveform sequence module. When the existing waveform sequence generator generates a waveform sequence, firstly waveform data of each waveform segment of the waveform sequence are sequentially stored in a waveform lookup table, a waveform sequence module generates waveform address information under the synchronization of clock signals according to defined sequence parameters, the waveform lookup table is subjected to addressing operation, corresponding waveform data are read out, then the corresponding waveform data are output to a digital-to-analog converter for digital-to-analog conversion, and analog signals output by conversion are sent to a low-pass filter for low-pass filtering, so that the required waveform sequence is obtained.
At present, the waveform sequence function part of the waveform sequence generator sequentially stores waveform data of each minimum waveform segment into a waveform lookup table, and then obtains a needed waveform sequence by addressing the waveform lookup table, so that the waveform sequence is created.
In general, when new processing needs to be performed on a plurality of existing waveform sequences, operations such as splicing, editing or modifying an original minimum waveform data or a part of waveform data according to a processing rule are often needed to be performed again from a waveform lookup table, so that the operation of the waveform sequence created by the waveform sequence generator is repeated and complicated, the time consumption is long, the operation efficiency is low, and the user experience is poor.
Disclosure of Invention
The method mainly solves the technical problems that when the waveform sequence of the existing waveform sequence generator is edited or modified, minimum waveform data are required to be repeatedly obtained from the waveform lookup table to edit or modify, so that the operation is complex, the creation efficiency is low, and the user experience is poor.
According to a first aspect, in one embodiment, there is provided a method for creating a waveform sequence, including:
setting a multilevel configuration parameter layer for creating a waveform sequence based on the acquired configuration instruction; wherein, the configuration parameter layer of each stage includes: at least one waveform subsequence of the present stage, and an attribute of each waveform subsequence of the present stage, the attribute including at least position control information of the waveform subsequence; for the configuration parameter layer of the non-lowest stage, each waveform subsequence in the configuration parameter layer of the stage corresponds to the configuration parameter layer of the next stage, and each waveform subsequence is defined by the configuration parameter layer of the corresponding next stage; for the configuration parameter layer of the lowest stage, each waveform subsequence of the configuration parameter layer of the stage corresponds to a minimum waveform segment in the waveform lookup table;
based on the set multi-level configuration parameter layer, a waveform sequence is created.
In some embodiments, the setting creates a multi-level configuration parameter layer of the waveform sequence, comprising:
setting the number of waveform subsequences of each stage of configuration parameter layer;
and setting the attribute of each waveform sub-sequence corresponding to any stage by setting the position control information of each waveform sub-sequence of the stage.
In some embodiments, the setting the attribute of each waveform subsequence corresponding to the level includes:
setting waveform subsequences of a next-stage parameter configuration layer corresponding to each waveform subsequence of a current stage when setting each waveform subsequence of a current-stage parameter configuration layer for a configuration parameter layer which is not the lowest stage;
and setting the minimum waveform segment in the waveform lookup table corresponding to each waveform subsequence of the current stage when setting each waveform subsequence of the current stage parameter configuration layer for the configuration parameter layer of the lowest stage.
In some embodiments, the position control information of the waveform sub-sequence includes a number of cycles, and/or a jump address, and/or a wait event, and/or a jump event of the waveform sub-sequence;
wherein the number of cycles is used to represent the number of cycles the waveform subsequence has performed; the jump address is used for indicating that one waveform subsequence jumps to another waveform subsequence after finishing; the wait event is used to represent an event that causes the waveform subsequence to trigger wait, and the jump event is used to represent an event that causes the waveform subsequence to trigger jump.
In some embodiments, the setting the position control information of each waveform subsequence of any stage includes:
setting the number of cycles of each waveform subsequence of the stage;
and/or setting a jump address for each waveform subsequence of the stage;
and/or setting a wait event for each waveform sub-sequence of the stage;
and/or setting a jump event for each waveform sub-sequence of the stage.
In some embodiments, the waveform sequence includes three levels of parameter configuration layers, the three levels of parameter configuration layers being a first level parameter configuration layer, a second level parameter configuration layer, and a third level parameter configuration layer, respectively;
the first-level parameter configuration layer comprises at least one first-level waveform subsequence and attributes of each first-level waveform subsequence;
each first-stage waveform subsequence corresponds to a second-stage parameter configuration layer respectively, and the second-stage parameter configuration layers comprise at least one second-stage waveform subsequence and attributes of each second-stage waveform subsequence;
each second-level waveform subsequence corresponds to a third-level parameter configuration layer, and the third-level parameter configuration layer comprises at least one minimum waveform segment and an attribute of each minimum waveform segment.
In some embodiments, the method for creating a waveform sequence further includes:
generating and displaying a first operation interface; the first operation interface comprises an editing control, and the editing control is used for editing the configuration parameter layer based on the operation of a user;
the configuration parameter layer of each stage corresponds to a first operation interface respectively.
In some embodiments, the editing control comprises:
the adding control is used for adding the waveform subsequence of the configuration parameter layer of the corresponding stage based on the obtained adding configuration instruction;
the deleting control is used for deleting the waveform subsequence of the configuration parameter layer of the corresponding stage based on the acquired deleting configuration instruction;
and the modification control is used for modifying the attribute of the waveform subsequence of the configuration parameter layer of the corresponding stage based on the acquired modification configuration instruction.
According to a second aspect, in some embodiments, there is provided a method for displaying a waveform sequence, including:
acquiring a waveform sequence to be displayed, wherein the waveform sequence is created by the creation method of the waveform sequence;
and displaying the waveform sequence to be displayed.
According to a third aspect, some embodiments provide a waveform sequence generator, including a memory and a processor, where the memory stores at least one section of program, and the at least one section of program is loaded and executed by the processor to implement the method for creating a waveform sequence described above.
According to the method for creating the waveform sequence, the display method and the waveform sequence generator, since the multi-level configuration parameter layer is set for one waveform sequence, each level of configuration parameter layer can be respectively set when the waveform sequence is created, so that the setting of the waveform sequence can be completed by respectively setting each level of configuration parameter layer; when each level of configuration parameter layer is set, the configuration parameter layer of each level comprises at least one waveform subsequence of the level and the attribute of each waveform subsequence of the level, so that the setting of the configuration parameter layer can be completed by setting the waveform subsequence of each level of configuration parameter layer and the attribute thereof, and one or more waveform subsequences in any level or multiple levels of configuration parameter layer can be operated to reach the operation target of the waveform sequence when the subsequent operations such as editing, cutting, splicing, copying or cutting are performed on the waveform sequence, and therefore the minimum waveform segment is not required to be acquired from the waveform lookup table, so that the waveform sequence created by the application is convenient to operate when the operations such as editing, cutting, splicing, copying or cutting are performed, the operation time is saved, the operation efficiency is improved, and the user experience is improved.
Drawings
Fig. 1 is a flow chart (a) of a method for creating a waveform sequence according to an embodiment of the present application;
fig. 2 is a flow chart (two) of a method for creating a waveform sequence according to an embodiment of the present application;
fig. 3 is a flow chart (iii) of a method for creating a waveform sequence according to an embodiment of the present application;
fig. 4 is a first operation interface state diagram (a) in the waveform sequence creating method provided in the embodiment of the present application;
fig. 5 is a first operation interface state diagram (ii) in the waveform sequence creating method provided in the embodiment of the present application;
fig. 6 is a first operation interface state diagram (iii) in the waveform sequence creating method provided in the embodiment of the present application;
fig. 7 is a schematic diagram of a waveform sequence creation flow of the waveform sequence creation method according to the embodiment of the present application;
FIG. 8 is a schematic diagram of a waveform sequence creation method according to an embodiment of the present disclosure;
fig. 9 is a flowchart of a method for displaying a waveform sequence according to an embodiment of the present application;
fig. 10 is a schematic diagram of a waveform sequencer according to an embodiment of the present application.
In the figure: 1001. a memory; 1002. a processor.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings by way of specific embodiments. Wherein like elements in different embodiments are numbered alike in association. In the following embodiments, numerous specific details are set forth in order to provide a better understanding of the present application. However, one skilled in the art will readily recognize that some of the features may be omitted, or replaced by other elements, materials, or methods in different situations. In some instances, some operations associated with the present application have not been shown or described in the specification to avoid obscuring the core portions of the present application, and may not be necessary for a person skilled in the art to describe in detail the relevant operations based on the description herein and the general knowledge of one skilled in the art.
Furthermore, the described features, operations, or characteristics of the description may be combined in any suitable manner in various embodiments. Also, various steps or acts in the method descriptions may be interchanged or modified in a manner apparent to those of ordinary skill in the art. Thus, the various orders in the description and drawings are for clarity of description of only certain embodiments, and are not meant to be required orders unless otherwise indicated.
The numbering of the components itself, e.g. "first", "second", etc., is used herein merely to distinguish between the described objects and does not have any sequential or technical meaning. The terms "coupled" and "connected," as used herein, are intended to encompass both direct and indirect coupling (coupling), unless otherwise indicated.
In the embodiment of the application, a multi-level configuration parameter layer is set for a waveform sequence, and the waveform sequence is created according to the set multi-level configuration parameter layer by setting the multi-level configuration parameter layer; each configuration parameter layer of each stage comprises at least one waveform subsequence of the stage and an attribute of each waveform subsequence of the stage, each waveform subsequence in the configuration parameter layer of the stage corresponds to one configuration parameter layer of the next stage, and the attribute at least comprises position control information of the waveform subsequence, so that the waveform subsequence of the stage can be set by setting the configuration parameter layer of the next stage, and data related to the position of the waveform subsequence can be changed by setting the attribute of one waveform subsequence.
In order to solve the technical problem that when editing or modifying a waveform sequence of an existing waveform sequence generator, minimum waveform data needs to be acquired from a waveform lookup table to perform editing or modifying work, some embodiments provide a method for creating the waveform sequence. Referring to fig. 1, the method for creating a waveform sequence in some embodiments includes the following steps:
step S101, setting a multilevel configuration parameter layer for creating a waveform sequence based on the acquired configuration instruction; wherein, the configuration parameter layer of each stage includes: at least one waveform subsequence of the present stage, and an attribute of each waveform subsequence of the present stage, the attribute including at least position control information of the waveform subsequence; for the configuration parameter layer of the non-lowest stage, each waveform subsequence in the configuration parameter layer of the stage corresponds to the configuration parameter layer of the next stage, and each waveform subsequence is defined by the configuration parameter layer of the corresponding next stage; for the configuration parameter layer of the lowest stage, each waveform subsequence of the configuration parameter layer of that stage corresponds to a smallest waveform segment in the waveform lookup table.
In some embodiments, waveform subsequences and attributes are set by multiple levels of configuration parameter layers, and waveform sequences are created from the configuration parameter layers, each level of configuration parameter layer containing one or more waveform subsequences, and each waveform subsequence being defined by a configuration parameter layer of a next level; for the lowest configuration parameter layer, each waveform sub-sequence corresponds to a minimum waveform segment in the waveform lookup table.
In some embodiments, the acquired configuration instructions include data content of a waveform sequence to be created by a user, or operational procedures or operational instructions of the user for creating the waveform sequence. The data content of the waveform sequence includes, for example, shape data, an arrangement order, or number of each waveform segment constituting the waveform sequence.
In some embodiments, setting up multiple levels of configuration parameter layers that create a waveform sequence based on the acquired configuration instructions may provide more flexibility and personalized options for the system. The configuration parameter layer of each stage includes at least one waveform subsequence of the stage and an attribute of each waveform subsequence. These attributes include at least the position information of the waveform sub-sequences in order to accurately locate and describe the position of each waveform sub-sequence. For configuration parameter layers other than the last stage, each waveform sub-sequence corresponds to the configuration parameter layer of the next stage. Such a hierarchical relationship may help a user to more conveniently configure and manage. Each waveform sub-sequence is defined by the configuration parameter layer of the corresponding next stage, so that the consistency and consistency of the waveform sequence can be ensured. And for the configuration parameter layer of the last stage, each waveform sub-sequence corresponds to a minimum waveform segment in the waveform lookup table. Such a design may enable more accurate and precise generation of the waveform sequence. By combining the configuration parameter layer with the waveform lookup table, flexible control and customization of the waveform sequence can be achieved.
Step S102, creating a waveform sequence based on the set multilevel configuration parameter layers.
In some embodiments, a waveform sequence that meets the needs of the user can be created based on the set multi-level configuration parameter layers. The user can select and adjust the configuration parameter layer of each stage according to the needs and the preference of the user, so that a unique waveform sequence is generated. Based on the obtained configuration instruction, the multi-stage configuration parameter layer for creating the waveform sequence can provide more flexible and personalized selection for the system, and the waveform sequence meeting the user requirement can be created by reasonably setting the configuration parameter layer and waveform subsequence attribute of each stage and combining the waveform subsequence with the waveform lookup table.
In some embodiments, please refer to fig. 2, in the step S101, a multi-level configuration parameter layer for creating a waveform sequence is set, which includes the following steps:
step S201, the number of waveform subsequences of each stage of configuration parameter layer is set. When each waveform subsequence of the parameter configuration layer of the stage is set for the configuration parameter layer of the non-lowest stage, setting the waveform subsequence of the parameter configuration layer of the next stage corresponding to each waveform subsequence of the stage; and setting the minimum waveform segment in the waveform lookup table corresponding to each waveform subsequence of the current stage when setting each waveform subsequence of the current stage parameter configuration layer for the configuration parameter layer of the lowest stage.
In some embodiments, the number of waveform sub-sequences per level of configuration parameter layer refers to the number of waveform sub-sequences contained in that configuration parameter layer. Referring to fig. 4, 5 and 6, the probability information display area in fig. 4, 5 and 6 includes a plurality of pieces of outline information, each piece of outline information corresponds to a waveform subsequence of the present level; when the number of waveform subsequences of one configuration parameter layer is larger, the outline information in the probability information display area of the configuration parameter layer is larger, namely the number of waveform subsequences of one configuration parameter layer is in direct proportion to the number of outline information in the probability information display area of the configuration parameter layer.
Step S202, setting the attribute of each waveform sub-sequence corresponding to any stage by setting the position control information of each waveform sub-sequence of the stage.
In some embodiments, the waveform sequence is created by setting a plurality of levels of configuration parameter layers, the configuration parameter layer of each level including at least one waveform sub-sequence and an attribute of each waveform sub-sequence, wherein the attribute includes at least position control information of the waveform sub-sequence. Each waveform sub-sequence in the configuration parameter layer of the non-lowest stage corresponds to the configuration parameter layer of the next stage, and each waveform sub-sequence is defined by the configuration parameter layer of the corresponding next stage; each waveform subsequence of the configuration parameter layer of the lowest stage corresponds to a smallest waveform segment in the waveform lookup table. Thus by setting up multiple levels of configuration parameter layers, a waveform sequence can be created.
In setting the multi-level configuration parameter layer, the number of waveform subsequences and the attribute of each waveform subsequence of each level configuration parameter layer may be set. Specifically, the attribute of each waveform sub-sequence may be set by setting the position control information of each waveform sub-sequence: for the configuration parameter layer of the non-lowest stage, when each waveform subsequence is set, the next-stage parameter configuration layer corresponding to each waveform subsequence needs to be set; for the configuration parameter layer of the lowest stage, when each waveform sub-sequence is set, the minimum waveform segment in the waveform lookup table corresponding to each waveform sub-sequence needs to be set. The configuration parameter layer of each stage comprises at least one waveform subsequence and the attribute of each waveform subsequence, wherein the attribute at least comprises the position control information of the waveform subsequence, flexible control and customization of the waveform sequence can be realized by setting the multi-stage configuration parameter layer, and different configuration parameter layers can define different waveform subsequences according to the requirement, so that diversified combination and change of the waveform sequence are realized; by setting the attribute of each waveform subsequence, the position, shape and characteristics of the waveform sequence can be accurately controlled, and the requirements of different application scenes are further met.
In some embodiments, when each waveform subsequence is set for the configuration parameter layer of the lowest stage, a minimum waveform segment in the waveform lookup table corresponding to each waveform subsequence needs to be set.
In some embodiments, the position control information for the waveform sub-sequence includes a number of cycles, and/or a jump address, and/or a wait event, and/or a jump event for the waveform sub-sequence; wherein the number of cycles is used to represent the number of cycles that the waveform subsequence has performed; the jump address is used for indicating that after one waveform sub-sequence is ended, the jump is carried out to the other waveform sub-sequence; the wait event is used to represent an event that causes the waveform subsequence to trigger a wait, and the skip event is used to represent an event that causes the waveform subsequence to trigger a skip.
The circulation times specify the times of repeated playing of the waveform subsequence after the waveform subsequence is played once, so as to realize the effect of repeated playing of the same waveform subsequence; the jump address is to jump to another appointed waveform subsequence to continue playing after playing one waveform subsequence is finished, so that switching and combination among different waveform subsequences can be realized; the waiting event is a condition for designating triggering the playing of the waveform sub-sequence, and when a specific condition is met, the waveform sub-sequence starts to play; the jump event designates a condition for triggering the jump of the waveform sub-sequence, for example, when the external trigger signal arrives, the waveform sub-sequence pauses the current playing and jumps to the designated position immediately for playing.
Thus, in some embodiments, setting the position control information for each waveform sub-sequence of any stage may be one or more of the following steps: setting the number of cycles of each waveform sub-sequence of the stage, setting the jump address of each waveform sub-sequence of the stage, setting the wait event of each waveform sub-sequence of the stage, setting the jump event of each waveform sub-sequence of the stage. The number of times of waveform sub-sequence cyclic execution can be determined by setting the number of times of cyclic execution, so that repeated playing of waveforms is realized; the jump address is set to enable the waveform subsequence to jump to other waveform subsequences after the execution is finished, so that seamless connection and smooth transition of waveforms are realized; setting the waiting event and the jump event can control the execution of the waveform subsequence according to the external trigger condition, so as to realize more flexible waveform control. Therefore, by setting the position control information of the waveform subsequence, accurate control and flexible scheduling of waveforms can be realized, so that requirements under different application scenes are met, and for more complex waveform control requirements, richer and more various waveform control effects can be realized by combining and setting different position control information.
In some embodiments, please refer to fig. 3, the method for creating a waveform sequence further includes the following steps:
step S103, a first operation interface is generated and displayed. The first operation interface comprises an editing control, and the editing control is used for editing the configuration parameter layer based on the operation of a user; the configuration parameter layer of each stage corresponds to a first operation interface respectively.
The user can edit the configuration parameter layer conveniently by adding the editing control to generate and display the first operation interface, and the user can intuitively edit the configuration parameter layer of each stage on the interactive interface of the first operation interface and correspondingly adjust and modify the configuration parameter layer of each stage. Thus, the user can flexibly create the waveform sequence meeting the requirements of the user according to the actual requirements.
In some embodiments, the editing controls include an add control, a delete control, and a modify control. The adding control is used for adding the waveform subsequence of the configuration parameter layer of the corresponding stage based on the obtained adding configuration instruction; the deleting control is used for deleting the waveform subsequence of the configuration parameter layer of the corresponding stage based on the acquired deleting configuration instruction; the modification control is used for modifying the attribute of the waveform subsequence of the configuration parameter layer of the corresponding stage based on the acquired modification configuration instruction.
In some embodiments, when a determined waveform sequence is modified, the configuration parameter layer of one of the determined stages of the waveform sequence may be modified; when modifying the configuration parameter layer of this stage, there are two possible modifications: firstly, modifying the arbitrary waveform sub-sequence of the current stage, and when modifying the waveform sub-sequence of the current stage, modifying the waveform data of the waveform sub-sequence by modifying the corresponding next stage parameter configuration layer; and secondly, the attribute of the waveform sub-sequence of the current stage is modified, namely the waveform data of the waveform sub-sequence is unchanged, but the position or the number of the waveform sub-sequence in the whole waveform is changed. When modifying the next level of parameter configuration layer, there are two possible modification modes as well, namely, modifying the attribute of the next level or the parameter configuration layer of the next level again, and so on until the lowest level. For the lowest level parameter configuration layer, since the lowest level corresponds to the smallest waveform segment, modification of the lowest level parameter configuration layer only includes modification of the attribute of the lowest level waveform subsequence.
In some embodiments, the waveform sequence includes three levels of parameter configuration layers, a first level of parameter configuration layer, a second level of parameter configuration layer, and a third level of parameter configuration layer, respectively. The first-level parameter configuration layer comprises at least one first-level waveform subsequence and attributes of each first-level waveform subsequence; each first-stage waveform subsequence corresponds to a second-stage parameter configuration layer respectively, and the second-stage parameter configuration layer comprises at least one second-stage waveform subsequence and attributes of each second-stage waveform subsequence; each second-level waveform subsequence corresponds to a third-level parameter configuration layer, and the third-level parameter configuration layer comprises at least one minimum waveform segment and an attribute of each minimum waveform segment.
Referring to fig. 4 to 8, in some embodiments, the waveform sequence includes three levels of parameter configuration layers, which are a first level parameter configuration layer, a second level parameter configuration layer, and a third level parameter configuration layer, respectively, where the third level parameter configuration layer is the lowest level, denoted as S3 layer; the first-stage parameter configuration layer is the uppermost stage and is marked as an S1 layer; the second-level parameter configuration layer is an intermediate level between the first-level parameter configuration layer and the third-level parameter configuration layer and is denoted as an S2 layer. Each S3 layer waveform subsequence comprises a minimum waveform fragment in a waveform lookup table, the corresponding upper level is an S2 layer, each S2 layer waveform subsequence comprises a plurality of S3 layer waveform subsequences, the corresponding upper level of the S2 layer is an S1 layer, and each S1 layer waveform subsequence comprises a plurality of S2 layer waveform subsequences.
In some embodiments, a created sequence waveform defaults to being comprised of one or more S1 layer waveform sub-sequences, each S1 layer waveform sub-sequence containing one or more S2 layer waveform sub-sequences, each S2 layer waveform sub-sequence containing one or more S3 layer waveform sub-sequences. And performing operations such as adding, inserting, deleting, loading, saving and the like on the waveform subsequence of the hierarchy under the first operation interfaces of the S1 hierarchy, the S2 hierarchy and the S3 hierarchy. The waveform subsequences of each level can be set with its own attributes, such as cycle times, waiting events, jump events, etc., and the relevant outline information of all waveform subsequences of the level is provided above the operation interface of each level.
Referring to fig. 4, when the first level parameter configuration layer is displayed on the first operation interface, the left side of the operation interface of the S1 layer is the related operation interface of the level, the upper portion is the waveform subsequence information of each S1 layer, including the first waveform subsequence information of the S1 layer, the number of waveform subsequences of the S2 layer, and the number of waveform subsequences of the S3 layer, the main table portion is the setting information of each waveform subsequence of the S1 layer, the rightmost side is the S2 layer entry into the corresponding waveform subsequence, and the attribute is the setting information.
Referring to fig. 5, when the second-level parameter configuration layer is displayed on the first operation interface, the left side of the operation interface of the S2 layer is the related operation interface of the level, the upper portion is the sub-sequence information of each waveform of the S2 layer, including the first waveform sub-sequence information of the S2 layer and the number of the waveform sub-sequences of the S3 layer, the main table portion is the setting information of each waveform sub-sequence of the S2 layer, the rightmost side is the entry of the S3 layer entering the corresponding waveform sub-sequence, and the attribute is set by the setting information.
Referring to fig. 6, when the second level parameter configuration layer is displayed on the first operation interface, the left side of the operation interface of the S3 layer is the related operation interface of the level, the upper part is waveform information of each waveform sub-sequence of the S3 layer, the main table part is setting information of each waveform sub-sequence of the S3 layer, and the attribute is set by the setting information.
The designated waveform subsequence under the level can be saved and deleted in the parameter configuration layer interface of each level, and the saved S1 layer waveform subsequence segment, S2 layer waveform subsequence segment and S3 layer waveform subsequence segment can be spliced to any position of other waveform sequences in a loading mode. Each hierarchy includes at least one piece of corresponding waveform subsequence information and waveform subsequence attributes, such as a number of loops, a jump sequence number, a waiting event, a jump event, and the like.
Referring to fig. 7, the parameter configuration layers of three levels are set from top to bottom:
in fig. 4, first, a required number of S1 waveform sub-sequences are created, and the attribute of each S1 waveform sub-sequence is set in the setting information; clicking the S2 layer entry of a waveform sub-sequence, and then entering the S2 layer corresponding to the designated S1 layer waveform sub-sequence.
In fig. 5, first, a required number of S2-layer waveform sub-sequences are created, and the attribute of each S2-layer waveform sub-sequence is set in the setting information; clicking the S3 layer entry of a waveform sub-sequence, and then entering the S3 layer corresponding to the designated S2 waveform sub-sequence.
In fig. 6, first, a required number of S3-layer waveform sub-sequences are created, and the attribute of each S3-layer waveform sub-sequence is set in the setting information, and the attribute of each S3-layer waveform sub-sequence includes some data of the minimum waveform segment, such as waveform type, wavelength, amplitude, number of cycles, jump sequence, and the like.
After the above setup is completed, the waveform sequence to be created can be obtained.
Please refer to a complete waveform sequence shown in fig. 8:
the S1 layer comprises four waveform subsequences of S1-0, S1-1, S1-2 and S1-3, wherein the four waveform subsequences are connected with the header of S1-1 after the S1-0 circulates for 3 times, the four waveform subsequences are connected with the header of S1-2 after the S1-1 circulates for 5 times, the four waveform subsequences are connected with the header of S1-3 after the S1-2 circulates for 2 times, the four waveform subsequences circulate for 3 times, and the waveform subsequences can be set to be played again or stopped after being played; if a jump event of a waveform sub-sequence occurs in the playing process, if the jump event of the S1-1 is triggered, when the S1-1 is playing or the S1-1 is played, the process immediately jumps to the head of the set jump waveform sub-sequence S1-2 for playing; the same is true for trigger event jumps of other waveform sub-sequences (jumps in the direction indicated by the dashed arrow).
Taking the S1-0 waveform subsequence as an example for expansion, the second-stage parameter configuration layer included below the sub-sequence comprises four waveform subsequences S2-0, S2-1, S2-2 and S2-3, and the connection system, the circulation relationship and the jump relationship are shown in fig. 8, and are not repeated.
Taking the S2-3 waveform subsequence as an example for expansion, the third-stage parameter configuration layer included below the sub-sequence comprises four waveform subsequences S3-0, S3-1, S3-2 and S3-3, and the connection system, the circulation relationship and the jump relationship are shown in fig. 8, and are not repeated. The four waveform subsequences S3-0, S3-1, S3-2 and S3-3 respectively correspond to four minimum waveform fragments, waveform data of the four minimum waveform fragments are stored in a waveform lookup table, and the waveform data can be obtained through addressing and searching of the waveform lookup table through the information of the S3-0, the S3-1, the S3-2 and the S3-3.
In order to solve the technical problem that when the waveform sequence of the existing waveform sequence generator is edited or modified, minimum waveform data needs to be obtained from a waveform lookup table to edit or modify, some embodiments provide a method for displaying the waveform sequence. Referring to fig. 9, a method for displaying a waveform sequence in some embodiments includes the following steps:
step 901, acquiring a waveform sequence to be displayed; the creation process of the waveform sequence includes at least the methods of step S101 and step S102.
In some embodiments, the creation process of the waveform sequence further includes the method of step S103.
Step 902, displaying the waveform sequence to be displayed.
Referring to fig. 10, in some embodiments, a waveform sequence generator is provided, which includes a memory 1001 and a processor 1002, where at least one section of program is stored in the memory 1001, and the at least one section of program is loaded and executed by the processor 1002 to implement the method for creating a waveform sequence described above.
Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments may be implemented by hardware, or may be implemented by a computer program. When all or part of the functions in the above embodiments are implemented by means of a computer program, the program may be stored in a computer readable storage medium, and the storage medium may include: read-only memory, random access memory, magnetic disk, optical disk, hard disk, etc., and the program is executed by a computer to realize the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above can be realized. In addition, when all or part of the functions in the above embodiments are implemented by means of a computer program, the program may be stored in a storage medium such as a server, another computer, a magnetic disk, an optical disk, a flash disk, or a removable hard disk, and the program in the above embodiments may be implemented by downloading or copying the program into a memory of a local device or updating a version of a system of the local device, and when the program in the memory is executed by a processor.
The foregoing description of specific examples has been presented only to aid in the understanding of the present application and is not intended to limit the present application. Several simple deductions, modifications or substitutions may also be made by the person skilled in the art to which the present application pertains, according to the idea of the present application.

Claims (10)

1. A method of creating a waveform sequence, comprising:
setting a multilevel configuration parameter layer for creating a waveform sequence based on the acquired configuration instruction; wherein, the configuration parameter layer of each stage includes: at least one waveform subsequence of the present stage, and an attribute of each waveform subsequence of the present stage, the attribute including at least position control information of the waveform subsequence; for the configuration parameter layer of the non-lowest stage, each waveform subsequence in the configuration parameter layer of the stage corresponds to the configuration parameter layer of the next stage, and each waveform subsequence is defined by the configuration parameter layer of the corresponding next stage; for the configuration parameter layer of the lowest stage, each waveform subsequence of the configuration parameter layer of the stage corresponds to a minimum waveform segment in the waveform lookup table;
based on the set multi-level configuration parameter layer, a waveform sequence is created.
2. The method for creating a waveform sequence according to claim 1, wherein the setting up a multilevel configuration parameter layer for creating the waveform sequence comprises:
setting the number of waveform subsequences of each stage of configuration parameter layer;
and setting the attribute of each waveform sub-sequence corresponding to any stage by setting the position control information of each waveform sub-sequence of the stage.
3. The method for creating a waveform sequence according to claim 2, wherein said setting the attribute of each waveform sub-sequence corresponding to the stage comprises:
setting waveform subsequences of a next-stage parameter configuration layer corresponding to each waveform subsequence of a current stage when setting each waveform subsequence of a current-stage parameter configuration layer for a configuration parameter layer which is not the lowest stage;
and setting the minimum waveform segment in the waveform lookup table corresponding to each waveform subsequence of the current stage when setting each waveform subsequence of the current stage parameter configuration layer for the configuration parameter layer of the lowest stage.
4. The method for creating a waveform sequence according to claim 2, wherein the position control information of the waveform sub-sequence includes a number of cycles of the waveform sub-sequence, and/or a jump address, and/or a wait event, and/or a jump event;
wherein the number of cycles is used to represent the number of cycles the waveform subsequence has performed; the jump address is used for indicating that one waveform subsequence jumps to another waveform subsequence after finishing; the wait event is used to represent an event that causes the waveform subsequence to trigger wait, and the jump event is used to represent an event that causes the waveform subsequence to trigger jump.
5. The method for creating a waveform sequence as claimed in claim 4, wherein said setting the position control information of each waveform sub-sequence of any stage comprises:
setting the number of cycles of each waveform subsequence of the stage;
and/or setting a jump address for each waveform subsequence of the stage;
and/or setting a wait event for each waveform sub-sequence of the stage;
and/or setting a jump event for each waveform sub-sequence of the stage.
6. The method for creating a waveform sequence according to claim 1, wherein the waveform sequence comprises three levels of parameter configuration layers, the three levels of parameter configuration layers being a first level parameter configuration layer, a second level parameter configuration layer and a third level parameter configuration layer, respectively;
the first-level parameter configuration layer comprises at least one first-level waveform subsequence and attributes of each first-level waveform subsequence;
each first-stage waveform subsequence corresponds to a second-stage parameter configuration layer respectively, and the second-stage parameter configuration layers comprise at least one second-stage waveform subsequence and attributes of each second-stage waveform subsequence;
each second-level waveform subsequence corresponds to a third-level parameter configuration layer, and the third-level parameter configuration layer comprises at least one minimum waveform segment and an attribute of each minimum waveform segment.
7. The method for creating a waveform sequence according to claim 1, wherein the method for creating a waveform sequence further comprises:
generating and displaying a first operation interface; the first operation interface comprises an editing control, and the editing control is used for editing the configuration parameter layer based on the operation of a user;
the configuration parameter layer of each stage corresponds to a first operation interface respectively.
8. The method of creating a waveform sequence of claim 7, wherein the editing control comprises:
the adding control is used for adding the waveform subsequence of the configuration parameter layer of the corresponding stage based on the obtained adding configuration instruction;
the deleting control is used for deleting the waveform subsequence of the configuration parameter layer of the corresponding stage based on the acquired deleting configuration instruction;
and the modification control is used for modifying the attribute of the waveform subsequence of the configuration parameter layer of the corresponding stage based on the acquired modification configuration instruction.
9. A method for displaying a waveform sequence, comprising:
acquiring a waveform sequence to be displayed, the waveform sequence being created by the creation method of the waveform sequence according to any one of claims 1 to 8;
and displaying the waveform sequence to be displayed.
10. A waveform sequence generator comprising a memory and a processor, the memory having stored therein at least one program loaded and executed by the processor to implement the method of creating a waveform sequence as claimed in any one of claims 1 to 8.
CN202410104617.1A 2024-01-25 2024-01-25 Waveform sequence creation method, display method and waveform sequence generator Active CN117631752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410104617.1A CN117631752B (en) 2024-01-25 2024-01-25 Waveform sequence creation method, display method and waveform sequence generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410104617.1A CN117631752B (en) 2024-01-25 2024-01-25 Waveform sequence creation method, display method and waveform sequence generator

Publications (2)

Publication Number Publication Date
CN117631752A true CN117631752A (en) 2024-03-01
CN117631752B CN117631752B (en) 2024-05-07

Family

ID=90027305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410104617.1A Active CN117631752B (en) 2024-01-25 2024-01-25 Waveform sequence creation method, display method and waveform sequence generator

Country Status (1)

Country Link
CN (1) CN117631752B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981010B1 (en) * 2000-08-02 2005-12-27 Board Of Regents Of The University Of Nebraska System and method for generating psuedo-noise sequences
CN102788891A (en) * 2012-07-30 2012-11-21 电子科技大学 Complex waveform sequence generator
CN106125821A (en) * 2016-06-17 2016-11-16 中国电子科技集团公司第十研究所 The method generating digital modulation signals Wave data for AWG
CN106227673A (en) * 2016-07-25 2016-12-14 东南大学—无锡集成电路技术研究所 A kind of sequence waveform synthetic method based on DMA
CN107402596A (en) * 2017-08-08 2017-11-28 电子科技大学 A kind of AWG based on instruction architecture
CN108227828A (en) * 2018-02-11 2018-06-29 中国科学技术大学 A kind of sequence signal generator and sequence signal production method
CN110442185A (en) * 2019-07-09 2019-11-12 深圳市鼎阳科技有限公司 A kind of waveform sequence generator
CN111077940A (en) * 2019-11-29 2020-04-28 普源精电科技股份有限公司 Method and device for automatically creating waveform sequence
CN114077781A (en) * 2020-08-17 2022-02-22 国仪量子(合肥)技术有限公司 AWG waveform editing and downloading optimization method and device
CN114089808A (en) * 2021-10-09 2022-02-25 普源精电科技股份有限公司 Waveform sequence generation device, method, electronic device, and storage medium
CN114089806A (en) * 2021-10-09 2022-02-25 普源精电科技股份有限公司 Waveform sequence creating apparatus, method, electronic device, and storage medium
EP4083646A1 (en) * 2019-12-25 2022-11-02 Shimadzu Corporation Magnetic detection system, magnetic signal waveform pattern classification method, and waveform pattern distribution creation method for magnetic detection system
CN116070556A (en) * 2021-11-01 2023-05-05 华为技术有限公司 Multi-stage lookup table circuit, function solving method and related equipment
CN116360879A (en) * 2022-10-30 2023-06-30 天津中新智冠信息技术有限公司 Method and device for creating multi-level information framework
CN117193470A (en) * 2023-09-28 2023-12-08 深圳市鼎阳科技股份有限公司 Waveform generator, multi-signal channel delay correction method and medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981010B1 (en) * 2000-08-02 2005-12-27 Board Of Regents Of The University Of Nebraska System and method for generating psuedo-noise sequences
CN102788891A (en) * 2012-07-30 2012-11-21 电子科技大学 Complex waveform sequence generator
CN106125821A (en) * 2016-06-17 2016-11-16 中国电子科技集团公司第十研究所 The method generating digital modulation signals Wave data for AWG
CN106227673A (en) * 2016-07-25 2016-12-14 东南大学—无锡集成电路技术研究所 A kind of sequence waveform synthetic method based on DMA
CN107402596A (en) * 2017-08-08 2017-11-28 电子科技大学 A kind of AWG based on instruction architecture
CN108227828A (en) * 2018-02-11 2018-06-29 中国科学技术大学 A kind of sequence signal generator and sequence signal production method
CN110442185A (en) * 2019-07-09 2019-11-12 深圳市鼎阳科技有限公司 A kind of waveform sequence generator
CN111077940A (en) * 2019-11-29 2020-04-28 普源精电科技股份有限公司 Method and device for automatically creating waveform sequence
EP4083646A1 (en) * 2019-12-25 2022-11-02 Shimadzu Corporation Magnetic detection system, magnetic signal waveform pattern classification method, and waveform pattern distribution creation method for magnetic detection system
CN114077781A (en) * 2020-08-17 2022-02-22 国仪量子(合肥)技术有限公司 AWG waveform editing and downloading optimization method and device
CN114089808A (en) * 2021-10-09 2022-02-25 普源精电科技股份有限公司 Waveform sequence generation device, method, electronic device, and storage medium
CN114089806A (en) * 2021-10-09 2022-02-25 普源精电科技股份有限公司 Waveform sequence creating apparatus, method, electronic device, and storage medium
CN116070556A (en) * 2021-11-01 2023-05-05 华为技术有限公司 Multi-stage lookup table circuit, function solving method and related equipment
CN116360879A (en) * 2022-10-30 2023-06-30 天津中新智冠信息技术有限公司 Method and device for creating multi-level information framework
CN117193470A (en) * 2023-09-28 2023-12-08 深圳市鼎阳科技股份有限公司 Waveform generator, multi-signal channel delay correction method and medium

Also Published As

Publication number Publication date
CN117631752B (en) 2024-05-07

Similar Documents

Publication Publication Date Title
US11383162B2 (en) Voice skill game editing method, apparatus, device and readable storage medium
US7200838B2 (en) System and method for automatically generating a graphical program in response to a state diagram
US7689994B2 (en) System and method for specifying and executing temporal order events
US20180373504A1 (en) Graphical interface to generate instructions to control a representation by an output interface of one or more objects
CN117631752B (en) Waveform sequence creation method, display method and waveform sequence generator
JP4328971B2 (en) File processing apparatus and computer program applied to the apparatus
JPH01199756A (en) Production planning simulation device
Renick An approach to live algorithmic composition using conductive
JP2003108127A (en) Music composing device
JP2018077613A (en) Development support device, development support method and development support program
WO2024014354A1 (en) Control program editing device, editing method, and program
JPH0954688A (en) Gui design supporting method
Savoldy GALiCA: A Gestural Approach to Live Coding Algorithms
Agustín-Aquino et al. Experimentation
JP3570808B2 (en) Program logic automatic generation device
JP4442713B2 (en) Music data reproducing apparatus and computer program applied to the apparatus
JP2007293742A (en) Image display control system, image display control program, recording medium and image display control method
KR100370347B1 (en) Method for processing graphic data for simulation
CN116206016A (en) Method and device for processing special effect event in animation
US8532470B2 (en) Picture editing device, picture editing method, integrated circuit, and recording medium
JPH06309159A (en) Program automatic generator
JPH0962530A (en) Test execution flow preparing device
KR20190089560A (en) Software-based sequence control design system and method thereof
JP2003157077A (en) Sound information editing method, sound information editing device, sound information editing program and recording medium having the sound information editing program recorded thereon
JPH11288309A (en) Production method and device for control program and monitoring device and method for controller

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