CN114089806B - Waveform sequence creation device, method, electronic device, and storage medium - Google Patents

Waveform sequence creation device, method, electronic device, and storage medium Download PDF

Info

Publication number
CN114089806B
CN114089806B CN202111176810.9A CN202111176810A CN114089806B CN 114089806 B CN114089806 B CN 114089806B CN 202111176810 A CN202111176810 A CN 202111176810A CN 114089806 B CN114089806 B CN 114089806B
Authority
CN
China
Prior art keywords
waveform
sequence
segment
waveform segment
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111176810.9A
Other languages
Chinese (zh)
Other versions
CN114089806A (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.)
Puyuan Jingdian Technology Co ltd
Original Assignee
Puyuan Jingdian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Puyuan Jingdian Technology Co ltd filed Critical Puyuan Jingdian Technology Co ltd
Priority to CN202111176810.9A priority Critical patent/CN114089806B/en
Priority to PCT/CN2021/135109 priority patent/WO2023056697A1/en
Publication of CN114089806A publication Critical patent/CN114089806A/en
Application granted granted Critical
Publication of CN114089806B publication Critical patent/CN114089806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/02Digital function generators
    • G06F1/022Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers

Abstract

The embodiment of the application provides a waveform sequence creation device, a waveform sequence creation method, electronic equipment and a storage medium, wherein the device comprises: the waveform segment display module is used for displaying at least one waveform segment in the sequence track displayed by the display interface; the waveform parameter setting module is used for setting the parameters of a first target waveform segment based on the setting operation of the user on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment; the waveform sequence creation module is used for creating and obtaining a waveform sequence corresponding to the sequence track based on the editing operation of the user on the second target waveform segment in the sequence track. The embodiment ensures that the editing operation between waveform fragments is more convenient and more visual.

Description

Waveform sequence creation device, method, electronic device, and storage medium
Technical Field
The application belongs to the technical field of waveform sequences, and particularly relates to a waveform sequence creation device, a waveform sequence creation method, electronic equipment and a storage medium.
Background
The waveform sequence generator is a device capable of providing various frequency, waveform and output level electric signals, and is widely applied to various scenes such as communication system testing, quantum science and technology, complex electromagnetic scene simulation, high-speed port receiving testing and the like, for example, the signal generator is a novel signal generator which continuously meets the digital requirements of the development of the communication technology.
Mathematically, a sequence is an object (or event) that is aligned such that each element is either before or after other elements, and the order between elements is very important. Elements can be understood as waveforms during waveform sequence editing, and permutations are understood as the output order of the waveforms.
Current waveform sequence generators, such as analog function generators (Analog Function Generator, AFG) or arbitrary waveform generators (Arbitrary Waveform Generator, AWG), are intended to produce waveform segments that are actually edited on demand, only sequences are available. However, in the related art apparatus, the sequence function can only store the waveform data of each waveform segment into the waveform lookup table in sequence, and then read out the corresponding waveform data by performing addressing operation on the waveform lookup table to obtain the required waveform sequence, which results in inconvenient and difficult operations such as editing, clipping, splicing and inter-track operation on any wave in the implementation of operations such as waveform splicing and jumping.
Disclosure of Invention
The embodiment of the application aims to provide a waveform sequence creation device, a method, electronic equipment and a storage medium, so as to solve the problems of inconvenient and non-intuitive operations such as splicing and jumping of waveforms in the related technology, meet the requirement of editing complex signals and improve the user experience.
In a first aspect, an embodiment of the present application provides a waveform sequence creation apparatus, including:
the waveform segment display module is used for displaying at least one waveform segment in the sequence track displayed by the display interface;
the waveform parameter setting module is used for setting the parameters of a first target waveform segment based on the setting operation of the user on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment;
the waveform sequence creation module is used for creating and obtaining a waveform sequence corresponding to the sequence track based on the editing operation of the user on the second target waveform segment in the sequence track.
In a second aspect, an embodiment of the present application provides a waveform sequence creation method, including:
displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
setting parameters of a first target waveform segment based on setting operation of a user on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment is a waveform segment selected by the user in the at least one waveform segment;
and creating and obtaining a waveform sequence corresponding to the sequence track based on the editing operation of the user on the second target waveform segment in the sequence track.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the second aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the second aspect.
In the implementation of the method, at least one waveform segment is displayed in a sequence track displayed on a display interface through a waveform segment display module, the parameters of a first target waveform segment are set through a waveform parameter setting module based on the setting operation of the user on the parameters of the first target waveform segment, a second target waveform segment is obtained, a waveform sequence corresponding to the sequence track is created through a waveform sequence creation module based on the editing operation of the user on the second target waveform segment in the sequence track, the mode of adopting the sequence track is realized, the appearance or the shape of the waveform segment is displayed in real time, the difference between the segments is realized, the parameter setting of the waveform segment in the sequence track is realized, the editing operation such as skip and splicing is carried out on the waveform segment after parameter editing, and the waveform sequence is created, so that the parameter editing of the waveform segment and the editing operation between the waveform segments are more convenient, the requirement of editing complex signals is met, and the operation convenience and the user experience are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of the module composition of a waveform sequence creating apparatus according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a display interface of a waveform sequence creation apparatus according to an embodiment of the present application;
FIG. 3 is a flowchart of a method for creating a waveform sequence according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more.
The waveform sequence creating device provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings by means of specific embodiments and application scenarios thereof.
As shown in fig. 1, the waveform sequence creation apparatus includes a waveform segment display module 101, a waveform parameter setting module 102, and a waveform sequence creation module 103; wherein,
a waveform segment display module 101, configured to display at least one waveform segment in a sequence track displayed on a display interface;
the waveform parameter setting module 102 is configured to set parameters of a first target waveform segment based on a setting operation of a user on the parameters of the first target waveform segment, so as to obtain a second target waveform segment, where the first target waveform segment is a waveform segment selected by the user from the at least one waveform segment;
the waveform sequence creating module 103 is configured to create and obtain a waveform sequence corresponding to the sequence track based on an editing operation of the user on the second target waveform segment in the sequence track.
Specifically, the waveform sequence creation apparatus displays a sequence track in a display interface. As an example, as shown in fig. 2, a sequence track display area 21 may be provided in the display interface of the waveform sequence creation apparatus, the sequence track display area 21 having one or more sequence tracks displayed therein. For example, as one example, a sequence track 211, a sequence track 212, and a sequence track 213 are displayed in the sequence track display area 21 in fig. 2, and parallel arrangement of multiple tracks is realized.
The horizontal axis of the sequence track can be the waveform point number, so that the variable point number can be realized based on the waveform point number, namely fitting interpolation, and the dynamic expansion and contraction of the waveform fragments can be realized; the horizontal axis of the sequence track may be time, time frequency, or the like, and is not particularly limited herein.
In the present embodiment, the waveform sequence creation apparatus can display at least one waveform segment in the sequence track by the waveform segment display module 101. For example, with continued reference to fig. 2, waveform segment a, waveform segment b, and waveform segment c are displayed in the sequence track 211, such that by taking the form of the sequence track, the appearance or morphology of the waveform segments, the differences between segments, can be displayed in real time, enabling visualization of at least one waveform segment.
After displaying at least one waveform segment in the sequence track, the user can select a first target waveform segment to be subjected to parameter setting, and set parameters of the first target waveform segment, at this time, the waveform parameter setting module 102 can set parameters of the first target waveform segment based on a setting operation of the user on the parameters of the first target waveform segment, so as to obtain a second target waveform segment, edit the parameters of the waveform segment, display the second target waveform segment after parameter editing in the sequence track, and display the appearance or form of the waveform segment after parameter editing in real time.
It should be noted that the first target waveform segment may be one or more of at least one waveform segment, and the number of the first target waveform segments is not limited herein.
In addition, after the second target waveform segment is obtained, the user can directly edit the second target waveform segment in the sequence track, at this time, the waveform sequence creating module 103 can create and obtain the waveform sequence corresponding to the sequence track based on the edit operation of the user on the second target waveform segment in the sequence track, so that the user can edit the waveform segment in the sequence track to create the waveform sequence meeting the use requirement, the edit operation between the waveform segments is more convenient and visual, the requirement of editing complex signals is met, and the operation convenience and the user experience are improved.
Specifically, the editing operation may be set by the user based on the actual requirement, so that after the user performs the editing operation on the second target waveform segment in the sequence track, the waveform sequence meeting the use requirement can be obtained.
Alternatively, after the resulting waveform sequence is created, the waveform sequence may be sent to a designated channel and output. For example, the waveform sequence may be input to a waveform sequence signal generating device such as an AFG or AWG, and displayed by the waveform sequence signal generating device to be tested.
Of course, after the creation of the resulting waveform sequence, the waveform points of the waveform sequence may also be adjusted in the sequence track to achieve fine tuning of the waveform sequence.
According to the embodiment, at least one waveform segment is displayed in the sequence track displayed on the display interface through the waveform segment display module, the waveform parameter setting module is used for setting the parameters of the first target waveform segment based on the setting operation of the user on the parameters of the first target waveform segment to obtain the second target waveform segment, the waveform sequence creating module is used for creating the waveform sequence corresponding to the sequence track based on the editing operation of the user on the second target waveform segment in the sequence track, the mode of displaying the appearance or the shape of the waveform segment in real time and the difference between the segments in the sequence track is adopted, the setting of the parameters of the waveform segment in the sequence track is directly achieved, the editing operation such as jumping and splicing is carried out on the waveform segment after parameter editing, and the waveform sequence is created, so that the parameter editing of the waveform segment and the editing operation between the waveform segments are more convenient, the requirement of editing complex signals is met, and the operation convenience and the user experience are improved.
In one possible implementation manner, the waveform sequence creation device further includes a waveform segment collection module, configured to receive or create the at least one waveform segment based on a waveform segment collection instruction of a user, and send the at least one waveform segment to the waveform segment display module.
Specifically, the waveform creation device may receive or create at least one waveform segment through the waveform segment collection module, and then send the at least one waveform segment to the waveform segment display module, where the received or created at least one waveform segment is displayed in the sequence track.
Optionally, for receiving or creating the waveform segment, as shown in fig. 2, a waveform management area 22 may be set in the display interface, where a control for managing waveforms, such as a folder control indicating a basic waveform, a folder control indicating a custom waveform, a control indicating adding a folder, a control for indicating creating a custom waveform, and the like, are displayed in the waveform management area 22. The user can select the basic waveform through the folder control indicating the basic waveform or select the custom waveform through the folder control indicating the custom waveform, and the waveform segment acquisition module can receive the waveform segment selected by the user based on the selection of the user; in addition, the user may create the custom waveform through a control indicating to create the custom waveform, at which time the waveform segment collection module may create the waveform segment based on a user's creation operation.
In one possible implementation, the number of sequence tracks is one or more;
the waveform segment display module is used for displaying at least one waveform segment in at least one sequence track in the plurality of sequence tracks when the number of the sequence tracks is a plurality.
Specifically, if the number of the sequence tracks is plural, at least one waveform segment may be displayed in at least one of the plurality of sequence tracks. For example, assuming that the number of the sequence tracks is two and the number of the waveform segments is three, three waveform segments may be displayed in one of the sequence tracks, two waveform segments may be displayed in one of the sequence tracks, and one waveform segment may be displayed in the other sequence track, that is, the user may determine the display position of the waveform segment according to the display requirement of the waveform segment and perform the related display position selection operation, where the waveform segment display module displays the waveform segment in the sequence track selected by the user based on the display position selection operation of the user.
Therefore, by setting one or more sequence tracks and displaying at least one waveform segment in one or more sequence tracks in the plurality of sequence tracks, diversified display of waveform segments is realized, so that a user can display a plurality of waveform segments in different sequence tracks according to editing requirements, and editing convenience of the waveform segments is improved.
In one possible implementation, the parameters of the waveform segments above include at least one of: waveform type, waveform count, frequency, sampling rate, phase, offset, number of cycles, high level, low level, amplitude.
Optionally, as shown in fig. 2, a waveform parameter editing area 23 may be set in the display interface, and parameter setting frames for setting parameters of waveform segments, such as a point setting frame, a sampling rate setting frame, a frequency setting frame, a waveform type setting frame, a cycle number setting frame, a phase setting frame, a high-low level setting frame, an amplitude setting frame, an offset setting frame, and the like, are displayed in the waveform parameter editing area 23, so as to implement editing setting of the parameters of waveform segments. Specifically, after the user selects one waveform segment as the first target waveform segment, the parameter setting frame may set the parameter of the first target waveform segment, where the waveform parameter setting module sets the parameter based on the setting operation of the user on the parameter of the first target waveform segment.
Further, in one possible implementation, the editing operation on the second target waveform segment includes at least one of: jump operation, circulation operation, cutting operation, splicing operation and waveform operation;
the waveform operation is an operation between target waveform fragments in at least two sequence tracks.
Specifically, the operation between the second target waveform segments in the at least two sequence tracks may include waveform superposition, waveform modulation, encryption and decryption, etc., for example, the waveform segment a is originally in a low frequency range after the waveform segment b is superimposed, and the waveform segment a is shifted to a high frequency range after the waveform segment b is superimposed.
In addition, specifically, the jump operation refers to that the second target waveform segment jumps before or after other waveform segments; the cyclic operation means that the second target waveform segment is circularly displayed in the sequence track; the cutting operation refers to cutting the second target waveform segment into two waveform segments, so that other waveform segments can be inserted between the two waveform segments to form a new waveform segment; the splicing operation refers to splicing the second target waveform segment with other waveform segments.
Alternatively, a functional area for performing editing operations may be displayed on the display interface. As one example, as shown in fig. 2, an operation control display area 24 may be provided on the display interface, and a clip information setting control is displayed in the operation control display area 24. Specifically, after the user selects the second target waveform segment, the segment information setting control may be clicked, at this time, a setting frame is displayed on the display interface, and setting parameters in the setting frame may include jumping to the nth segment, cycling n times, and the like; then, the user can perform a jump operation, a loop operation, etc. of the second target waveform segment based on the setting parameters in the setting frame, thereby realizing an editing operation for the second target waveform segment.
Further, optionally, for the editing operation, each waveform segment displayed in the sequence track supports an external trigger operation, and the waveform sequence creation module may create the resulting waveform sequence based on the external trigger operation. For example, the implementation of the external trigger operation may be: the method comprises the steps that when a waveform segment a is output, a user sets a rule related to a trigger signal, the rule can be that when the waveform segment a is prepared to be output, the waveform segment a starts to be output only after an external trigger signal is received, and at the moment, a waveform sequence creation device starts to output the waveform segment a only after the external trigger signal is received, so that editing operation of the waveform segment can be realized according to the output sequence of the waveform segment; the implementation manner of the external triggering operation may be as follows: the user sets a rule related to the trigger signal when outputting the waveform segment a, wherein the rule can be that the waveform segment a forcedly jumps to the front or rear of the appointed other segment, and after the waveform sequence creation device receives the externally transmitted trigger signal in the process of outputting the waveform segment a, the waveform segment a forcedly jumps to the front or rear of the appointed other segment according to the set rule and starts to be output, so that the editing operation of the waveform segment can be realized according to the output sequence of the waveform segment.
Further, in one possible implementation, at least one of the following operation controls is displayed on the display interface: a hand-painted waveform operation control, a table editing control and a time-frequency domain conversion control;
the waveform sequence creation apparatus further includes:
an operation control module for performing at least one of:
aiming at the first control operation of the user on the hand-painted waveform operation control, displaying a hand-painted board; the hand drawing board is used for drawing waveform fragments with any shape and/or is used for adding points in the waveform fragments displayed in advance and fitting between the two points;
aiming at a second control operation of a user on the table editing control, a table is displayed on the display interface, wherein the name of the parameter and a setting frame of the parameter are displayed in the table, and the table is used for setting the parameter of a third target waveform segment, wherein the third target waveform segment is a waveform segment selected by the user before the second control operation is executed;
and aiming at the third control operation of the time-frequency domain conversion control by the user, controlling the sequence track where the fourth target waveform segment is positioned to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the waveform segment selected by the user before the third control operation is executed.
The first control operation, the second control operation, and the third control operation may be a click operation, a double click operation, a long press operation, or the like, and are not particularly limited herein.
Optionally, as shown in fig. 2, the operation control display area 24 may also be provided with a hand-painted waveform operation control, a table editing control, a time-frequency domain conversion control, and the like.
Specifically, when the user controls the hand-drawn waveform operation control through a first control operation (for example, clicking), the operation control module can control the display interface to pop up a hand-drawn drawing board aiming at the first control operation, the hand-drawn drawing board has two use forms, one of the hand-drawn drawing boards can be used for drawing waveforms with any shape, the other hand-drawn drawing board can be used for conducting insertion point fitting, namely, the number of points can be increased at will, and a straight line can be automatically fitted between the two points. Therefore, the hand-drawing board is controlled to be displayed through the operation control module, and the waveform can be created by a user according to actual requirements.
In addition, the third target waveform segment is a segment which is selected by a user based on requirements and needs to be subjected to parameter setting. After the user selects the third target waveform segment to be subjected to parameter setting based on the requirement, a form editing control can be controlled through a second control operation (for example, clicking), and at this time, the operation control module can control the display interface to pop up a form aiming at the second control operation. Specifically, the names of the parameters and the setting frames of the parameters are displayed in the table, so that a user can set the parameters of the third target waveform segment through the table, and the adjustment of waveform details is realized.
In addition, the fourth target waveform segment is a segment which is selected by a user based on requirements and needs to be subjected to parameter setting. After the user selects the fourth target waveform segment based on the requirement, the time-frequency domain conversion control can be controlled through a third control operation (for example, clicking), and at this time, the operation control module can control the sequence track where the fourth target waveform segment is located to be switched from the time domain track to the frequency domain track according to the third control operation, and the form under the signal frequency domain is presented, so that complex signal processing such as modulation, filtering, frequency spectrum shifting and the like can be performed.
In addition, in a possible implementation manner, a waveform playing area is also displayed on the display interface; the waveform sequence editing apparatus further includes: the waveform segment playing module is used for playing the waveform segment selected by the user in the waveform playing area; wherein the user-selected waveform segments include waveform segments that have not undergone editing operations or waveform segments in the waveform sequence.
Specifically, with continued reference to fig. 2, a waveform playing area 25 is further displayed on the display interface, and a playing key may be disposed in the waveform playing area 25, so as to control playing of the waveform. After the waveform segment is selected by the user, the waveform segment playing module can play the waveform segment selected by the user in the waveform playing area, so that dynamic presentation of the selected waveform segment is realized.
Of course, it should be noted that, the waveform segment selected by the user includes a waveform segment that has not undergone editing operation, i.e., a waveform segment that has not undergone editing operation can be played in the waveform playing area; in addition, the waveform segments selected by the user also comprise waveform segments in the waveform sequence, namely, after the waveform sequence is created, the waveform segments in the created waveform sequence are played in the waveform playing area.
Further, optionally, the user selected waveform segment includes: waveform segments after the first target waveform location; or a waveform segment between a first target waveform location and a second target waveform location, wherein the first target waveform location and the second target waveform location are selected by a user.
That is, the waveform segment playing module may play the waveform segment after the first target waveform position selected by the user in the waveform playing area, and may play the waveform segment between the first target waveform position and the second target waveform position in the waveform playing area.
In this way, in this embodiment, at least one waveform segment is displayed in a sequence track displayed on a display interface through a waveform segment display module, and parameters of a first target waveform segment are set through a waveform parameter setting module based on setting operations of a user on the parameters of the first target waveform segment, so as to obtain a second target waveform segment, and a waveform sequence corresponding to the sequence track is created through a waveform sequence creation module based on editing operations of the user on the second target waveform segment in the sequence track, so that a form of the sequence track is adopted, the appearance or the form of the waveform segment is displayed in real time, the difference between the segments is realized, the setting of parameters of the waveform segment in the sequence track is directly realized, and editing operations such as skipping and splicing are performed on the waveform segment after parameter editing, so that the waveform sequence is created, the parameter editing of the waveform segment and the editing operations between the waveform segments are more convenient, the requirement of editing complex signals is met, and the operation convenience and the user experience are improved.
In addition, the embodiment of the application further provides a waveform sequence creation method, as shown in fig. 3, the waveform sequence creation method may include the following steps:
step 301: at least one waveform segment is displayed in a sequence track displayed by the electronic device display interface.
The electronic device may create means for the waveform sequence. Specifically, referring to fig. 2, a sequence track display area 21 may be provided in the display interface of the waveform sequence creation apparatus, and one or more sequence tracks are displayed in the sequence track display area 21. For example, as one example, a sequence track 211, a sequence track 212, and a sequence track 213 are displayed in the sequence track display area 21.
At least one waveform segment may be displayed in the sequence track in this step.
Step 302: and setting the parameters of the first target waveform segment based on the setting operation of the user on the parameters of the first target waveform segment to obtain a second target waveform segment.
The first target waveform segment is a waveform segment selected by a user from at least one waveform segment.
Step 303: and creating a waveform sequence corresponding to the sequence track based on the editing operation of the user on the second target waveform segment in the sequence track.
In this way, in the embodiment, at least one waveform segment is displayed in the sequence track displayed on the display interface, and based on the setting operation of the user on the parameter of the first target waveform segment, the parameter of the first target waveform segment is set to obtain the second target waveform segment, and based on the editing operation of the user on the second target waveform segment in the sequence track, the waveform sequence corresponding to the sequence track is created, so that the waveform sequence corresponding to the sequence track is realized, the appearance or the form of the waveform segment and the difference between the segments are displayed in real time, the parameter of the waveform segment is directly set in the sequence track, and the editing operations such as skipping and splicing are performed on the waveform segment after the parameter editing, so that the waveform sequence is created, the parameter editing of the waveform segment and the editing operation between the waveform segments are more convenient, the requirement of editing complex signals is met, and the operation convenience and the user experience are improved.
In one possible implementation, before the at least one waveform segment is displayed in the sequence track displayed on the display interface of the electronic device, the at least one waveform segment may also be received or created based on a waveform segment acquisition instruction of the user.
In one possible implementation, the number of sequence tracks is one or more; when the number of the sequence tracks is a plurality, at least one waveform segment may be displayed in at least one sequence track among the plurality of sequence tracks when at least one waveform segment is displayed in the sequence track displayed on the display interface of the electronic device.
In one possible implementation, at least one of the following operation controls is also displayed on the display interface: a hand-painted waveform operation control, a table editing control and a time-frequency domain conversion control; the present waveform sequence creation method may further include at least one of:
aiming at the first control operation of the user on the hand-painted waveform operation control, displaying a hand-painted board; the hand drawing board is used for drawing waveform fragments with any shape and/or is used for adding points in the waveform fragments displayed in advance and fitting a straight line between the two points;
aiming at a second control operation of a user on the table editing control, a table is displayed on the display interface, wherein the name of the parameter and a setting frame of the parameter are displayed in the table, and the table is used for setting the parameter of a third target waveform segment, wherein the third target waveform segment is a waveform segment selected by the user before the second control operation is executed;
and aiming at the third control operation of the time-frequency domain conversion control by the user, controlling the sequence track where the fourth target waveform segment is positioned to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the waveform segment selected by the user before the third control operation is executed.
In one possible implementation, the parameter includes at least one of: waveform type, waveform count, frequency, sampling rate, phase, offset, number of cycles, high level, low level, amplitude.
In one possible implementation, the editing operation includes at least one of: jump operation, circulation operation, cutting operation, splicing operation and waveform operation; the waveform operation is an operation between second target waveform fragments in at least two sequence tracks.
It should be noted that, in the waveform sequence creation method provided in the embodiment of the present application, the execution body may be the waveform sequence creation device in the above embodiment, or a control module in the waveform sequence creation device for executing the waveform sequence creation method. The waveform sequence creating device provided in the foregoing embodiment can implement all the method steps and advantages of the foregoing waveform sequence creating method embodiment, and in order to avoid repetition, the same steps and advantages as those in the waveform sequence creating device in the foregoing method embodiment in the waveform sequence creating method of the present embodiment are not repeated herein.
The embodiment of the present application further provides an electronic device, based on the same technical concept, for executing the method for creating a waveform sequence, and fig. 4 is a schematic structural diagram of an electronic device for implementing the embodiments of the present application. The electronic devices may be configured or configured to have a relatively large difference, and may include a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430, and a communication bus 440, where the processor 410, the communication interface 420, and the memory 430 perform communication with each other through the communication bus 440. The processor 410 may call a computer program stored on the memory 430 and executable on the processor 410 to perform the steps of:
displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
setting parameters of a first target waveform segment based on setting operation of a user on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment is a waveform segment selected by the user in the at least one waveform segment;
and creating and obtaining a waveform sequence corresponding to the sequence track based on the editing operation of the user on the second target waveform segment in the sequence track.
In one possible implementation manner, before the at least one waveform segment is displayed in the sequence track displayed by the display interface of the electronic device, the method further includes: the at least one waveform segment is received or created based on a waveform segment acquisition instruction of the user.
In one possible implementation, the number of sequence tracks is one or more; in the case where the number of the sequence tracks is plural, at least one waveform segment is displayed in at least one of the plurality of sequence tracks.
In one possible implementation, at least one of the following operation controls is also displayed on the display interface: a hand-painted waveform operation control, a table editing control and a time-frequency domain conversion control; the waveform sequence creation method further includes at least one of:
aiming at the first control operation of the user on the hand-painted waveform operation control, displaying a hand-painted board; the hand drawing board is used for drawing waveform fragments with any shape and/or is used for adding points in the waveform fragments displayed in advance and fitting a straight line between the two points; aiming at a second control operation of a user on the table editing control, a table is displayed on the display interface, wherein the name of the parameter and a setting frame of the parameter are displayed in the table, and the table is used for setting the parameter of a third target waveform segment, wherein the third target waveform segment is a waveform segment selected by the user before the second control operation is executed; and aiming at the third control operation of the time-frequency domain conversion control by the user, controlling the sequence track where the fourth target waveform segment is positioned to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the waveform segment selected by the user before the third control operation is executed.
In one possible implementation, the parameter includes at least one of: waveform type, waveform count, frequency, sampling rate, phase, offset, number of cycles, high level, low level, amplitude.
In one possible implementation, the editing operation includes at least one of: jump operation, circulation operation, cutting operation, splicing operation and waveform operation;
the waveform operation is an operation between second target waveform fragments in at least two sequence tracks.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, implement each process of the above embodiment of the waveform sequence creation method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (12)

1. A waveform sequence creation apparatus, characterized by being applied to a waveform sequence generator, comprising:
the waveform segment display module is used for displaying at least one waveform segment in the sequence track displayed by the display interface;
the waveform parameter setting module is used for setting the parameters of a first target waveform segment based on the setting operation of the user on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment is the waveform segment selected by the user in the at least one waveform segment;
the waveform sequence creation module is used for creating and obtaining a waveform sequence corresponding to the sequence track based on the editing operation of the user on the second target waveform segment in the sequence track;
wherein, at least one of the following operation controls is also displayed on the display interface: a hand-painted waveform operation control, a table editing control and a time-frequency domain conversion control;
the waveform sequence creation apparatus further includes:
an operation control module for performing at least one of:
aiming at the first control operation of the user on the hand-painted waveform operation control, displaying a hand-painted board; the hand drawing board is used for drawing waveform fragments with any shape and/or is used for adding points in the waveform fragments displayed in advance and fitting between the two points;
aiming at a second control operation of a user on the table editing control, a table is displayed on the display interface, wherein the name of the parameter and a setting frame of the parameter are displayed in the table, and the table is used for setting the parameter of a third target waveform segment, wherein the third target waveform segment is a waveform segment selected by the user before the second control operation is executed;
and aiming at the third control operation of the time-frequency domain conversion control by the user, controlling the sequence track where the fourth target waveform segment is positioned to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the waveform segment selected by the user before the third control operation is executed.
2. The waveform sequence creation apparatus according to claim 1, characterized in that the waveform sequence creation apparatus further comprises:
the waveform segment acquisition module is used for receiving or creating the at least one waveform segment based on a waveform segment acquisition instruction of a user and sending the at least one waveform segment to the waveform segment display module.
3. The waveform sequence creation apparatus of claim 1, wherein the number of sequence tracks is one or more;
the waveform segment display module is used for displaying at least one waveform segment in at least one sequence track in the plurality of sequence tracks when the number of the sequence tracks is a plurality.
4. A waveform sequence creation apparatus according to any one of claims 1 to 3, wherein the parameter comprises at least one of: waveform type, waveform count, frequency, sampling rate, phase, offset, number of cycles, high level, low level, amplitude.
5. A waveform sequence creation apparatus as defined in any one of claims 1 to 3, wherein,
the editing operation includes at least one of: jump operation, circulation operation, cutting operation, splicing operation and waveform operation;
the waveform operation is an operation between second target waveform fragments in at least two sequence tracks.
6. A method of waveform sequence creation, applied to a waveform sequence generator, comprising:
displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
setting parameters of a first target waveform segment based on setting operation of a user on the parameters of the first target waveform segment to obtain a second target waveform segment, wherein the first target waveform segment is a waveform segment selected by the user in the at least one waveform segment;
creating a waveform sequence corresponding to the sequence track based on the editing operation of the user on the second target waveform segment in the sequence track;
wherein, at least one of the following operation controls is also displayed on the display interface: a hand-painted waveform operation control, a table editing control and a time-frequency domain conversion control;
the waveform sequence creation method further includes at least one of:
aiming at the first control operation of the user on the hand-painted waveform operation control, displaying a hand-painted board; the hand drawing board is used for drawing waveform fragments with any shape and/or is used for adding points in the waveform fragments displayed in advance and fitting between the two points;
aiming at a second control operation of a user on the table editing control, a table is displayed on the display interface, wherein the name of the parameter and a setting frame of the parameter are displayed in the table, and the table is used for setting the parameter of a third target waveform segment, wherein the third target waveform segment is a waveform segment selected by the user before the second control operation is executed;
and aiming at the third control operation of the time-frequency domain conversion control by the user, controlling the sequence track where the fourth target waveform segment is positioned to be switched from the time domain track to the frequency domain track, wherein the fourth target waveform segment is the waveform segment selected by the user before the third control operation is executed.
7. The method for creating a waveform sequence according to claim 6, wherein before displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device, further comprising:
the at least one waveform segment is received or created based on a waveform segment acquisition instruction of the user.
8. The waveform sequence creation method according to claim 6, wherein the number of the sequence tracks is one or more;
in the case where the number of the sequence tracks is plural, at least one waveform segment is displayed in at least one of the plurality of sequence tracks.
9. The waveform sequence creation method according to any one of claims 6 to 8, characterized in that the parameters include at least one of: waveform type, waveform count, frequency, sampling rate, phase, offset, number of cycles, high level, low level, amplitude.
10. The method for creating a waveform sequence according to any one of claims 6 to 8, wherein,
the editing operation includes at least one of: jump operation, circulation operation, cutting operation, splicing operation and waveform operation;
the waveform operation is an operation between second target waveform fragments in at least two sequence tracks.
11. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the method of waveform sequence creation of any one of claims 6 to 10.
12. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the waveform sequence creation method of any one of claims 6 to 10.
CN202111176810.9A 2021-10-09 2021-10-09 Waveform sequence creation device, method, electronic device, and storage medium Active CN114089806B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111176810.9A CN114089806B (en) 2021-10-09 2021-10-09 Waveform sequence creation device, method, electronic device, and storage medium
PCT/CN2021/135109 WO2023056697A1 (en) 2021-10-09 2021-12-02 Waveform sequence processing method and processing apparatus, and electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111176810.9A CN114089806B (en) 2021-10-09 2021-10-09 Waveform sequence creation device, method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN114089806A CN114089806A (en) 2022-02-25
CN114089806B true CN114089806B (en) 2024-02-27

Family

ID=80296667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111176810.9A Active CN114089806B (en) 2021-10-09 2021-10-09 Waveform sequence creation device, method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN114089806B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117631752B (en) * 2024-01-25 2024-05-07 深圳市鼎阳科技股份有限公司 Waveform sequence creation method, display method and waveform sequence generator

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679348A (en) * 2016-01-14 2016-06-15 深圳市柯达科电子科技有限公司 Audio and video player and method
CN107644632A (en) * 2017-08-17 2018-01-30 北京英夫美迪科技股份有限公司 Audio contracting mixes and Waveform generation method and equipment
CN112612656A (en) * 2020-12-04 2021-04-06 中广核久源(成都)科技有限公司 Online debugging system for digital nuclear pulse processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679348A (en) * 2016-01-14 2016-06-15 深圳市柯达科电子科技有限公司 Audio and video player and method
CN107644632A (en) * 2017-08-17 2018-01-30 北京英夫美迪科技股份有限公司 Audio contracting mixes and Waveform generation method and equipment
CN112612656A (en) * 2020-12-04 2021-04-06 中广核久源(成都)科技有限公司 Online debugging system for digital nuclear pulse processor

Also Published As

Publication number Publication date
CN114089806A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
US11818424B2 (en) Method and apparatus for generating video, electronic device, and computer readable medium
CN107124624A (en) The method and apparatus of video data generation
CN107393569A (en) Audio frequency and video clipping method and device
CN110769309A (en) Method, apparatus, electronic device, and medium for presenting music points
CN109859776B (en) Voice editing method and device
CA3159186A1 (en) Information interaction method, apparatus, device, storage medium and program product
CN114089806B (en) Waveform sequence creation device, method, electronic device, and storage medium
CN109120983A (en) A kind of audio-frequency processing method and device
CN105980977B (en) Sound wave output equipment and sound wave output method
CN104202540A (en) Method and system for generating video by using picture
CN110287473A (en) Electrical form edit methods and device
CN109151595A (en) Method for processing video frequency, device, terminal and medium
JP2021533483A (en) Video frame processing method and equipment
JP2014045485A (en) Arbitrary waveform generator and method of playing back selected waveform
CN109887523B (en) Audio data processing method and device for singing application, electronic equipment and storage medium
CN114089808B (en) Waveform sequence generating device, method, electronic device and storage medium
CN107393568A (en) A kind of method for recording of multimedia file, system and terminal device
CN106506325A (en) Picture sharing method and device
CN114089807B (en) Waveform sequence editing device, method, electronic device and storage medium
CN109656463A (en) The generation method of individual character expression, apparatus and system
CN105487769B (en) Media file display method and device and electronic equipment
CN107133030A (en) Dynamic event performs method and device
CN114089809B (en) Waveform sequence processing device, method, electronic equipment and storage medium
CN106354419A (en) Screenshot control method and device
WO2023005193A1 (en) Subtitle display method and device

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