CN114089807B - Waveform sequence editing device, method, electronic device and storage medium - Google Patents
Waveform sequence editing device, method, electronic device and storage medium Download PDFInfo
- Publication number
- CN114089807B CN114089807B CN202111177951.2A CN202111177951A CN114089807B CN 114089807 B CN114089807 B CN 114089807B CN 202111177951 A CN202111177951 A CN 202111177951A CN 114089807 B CN114089807 B CN 114089807B
- Authority
- CN
- China
- Prior art keywords
- waveform
- sequence
- control
- segment
- track
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 239000012634 fragment Substances 0.000 claims abstract description 44
- 238000004040 coloring Methods 0.000 claims description 7
- 238000005520 cutting process Methods 0.000 claims description 7
- 230000000007 visual effect Effects 0.000 abstract description 7
- 238000004891 communication Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000009191 jumping Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000001351 cycling effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 230000003362 replicative effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/02—Digital function generators
- G06F1/022—Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application provides a waveform sequence editing device, a waveform sequence editing 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 sequence creation module is used for creating and obtaining a waveform sequence corresponding to the sequence track based on the editing operation of a user on the target waveform segment in the sequence track; the target waveform segment is a waveform segment selected by a user from the at least one waveform segment. The embodiment ensures that the editing operation between waveform fragments is more convenient and more visual.
Description
Technical Field
The application belongs to the technical field of waveform sequences, and particularly relates to a waveform sequence editing device, a waveform sequence editing 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 editing 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 editing 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 sequence creation module is used for creating and obtaining a waveform sequence corresponding to the sequence track based on the editing operation of a user on the target waveform segment in the sequence track;
the target waveform segment is a waveform segment selected by a user from the at least one waveform segment.
In a second aspect, an embodiment of the present application provides a waveform sequence editing method, including:
displaying at least one waveform segment in a sequence track displayed on a display interface of the electronic device;
creating a waveform sequence corresponding to the sequence track based on the editing operation of a user on the target waveform segment in the sequence track;
the target waveform segment is a waveform segment selected by a user from the at least one waveform segment.
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 the sequence track displayed on the display interface through the waveform segment display module, the waveform sequence corresponding to the sequence track is created and obtained through the waveform sequence creation module based on the editing operation of a user on the target waveform segment in the sequence track, the mode that the sequence track is adopted is realized, the appearance/form of the waveform segment and the difference between the segments are displayed in real time, the waveform segment is directly edited in the sequence track, the waveform sequence is created and obtained, the editing 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.
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 module components of a waveform sequence editing apparatus according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a display interface of a waveform sequence editing apparatus according to an embodiment of the present application;
FIG. 3 is a flowchart of a method for editing 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 editing apparatus 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 editing apparatus includes a waveform segment display module 101 and a waveform sequence creation module 102; 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 sequence creating module 102 is configured to create and obtain a waveform sequence corresponding to the sequence track based on an editing operation of a user on a target waveform segment in the sequence track; the target waveform segment is a waveform segment selected by a user from the at least one waveform segment.
Specifically, the waveform sequence editing device displays a sequence track on 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 editing apparatus, the sequence track display area 21 having one or more sequence tracks displayed therein. For example, as one example, the sequence track 211, the sequence track 212, and the sequence track 213 are displayed in the sequence track display area 21, 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 editing 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 at least one waveform segment is displayed in the sequence track, the waveform sequence creation module 102 can create and obtain the waveform sequence corresponding to the sequence track based on the editing operation of the user on the 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 editing operation among 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.
The target waveform segment is a waveform segment selected by a user from at least one waveform segment, that is, the user can select one or more waveform segments as the target waveform segment based on editing requirements.
For example, continuing the above example, with continued reference to fig. 2, if the user needs to perform an editing operation on waveform segment a and waveform segment b, then waveform segment a and waveform segment b may be defined as target waveform segments at this time, i.e., the target waveform segments include waveform segment a and waveform segment b; in the process of editing the waveform segment a and the waveform segment b by the user, the waveform sequence creation module 102 may create and obtain the waveform sequence corresponding to the sequence track based on the editing operation.
Specifically, the editing operation can be set by the user based on the actual requirement, so that the user can obtain the waveform sequence meeting the use requirement after editing the target waveform segment in the sequence track.
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 sequence corresponding to the sequence track is created and obtained through the waveform sequence creation module based on the editing operation of a user on the target waveform segment in the sequence track, the waveform segment is displayed in real time in the form of the sequence track, the differences among the segments or the waveform segments are displayed in real time, the waveform segment is edited directly in the sequence track, and the waveform sequence is created and obtained, so that the editing operation among 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.
In one possible implementation, the waveform sequence editing apparatus 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 editing apparatus may receive or create at least one waveform segment through the waveform segment collection module, and then transmit the at least one waveform segment to the waveform segment display module, and the waveform display module displays the received or created at least one waveform segment 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.
Further, optionally, for creation of the waveform segment, a waveform parameter setting area 23 may be further set in the display interface, in which waveform parameter setting area 23 a parameter setting frame for setting parameters of the waveform segment is displayed, 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, so as to edit and set the point number, the sampling rate, the frequency, the waveform, the cycle number, the phase, the high-low level, the amplitude, the offset, and the like of the waveform, thereby realizing setting of waveform parameters, and the waveform segment acquisition module is capable of creating the waveform segment based on a setting operation of the waveform by the user.
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 at least one sequence track in the sequence tracks, diversified display of waveform segments is realized, so that a user can display the waveform segments in different sequence tracks according to editing requirements, and editing convenience of the waveform segments is improved.
In one possible implementation, the editing operation on the 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 target waveform segments in at least two sequence tracks may include waveform superposition, waveform modulation, encryption and decryption, for example, the waveform segment a is in a low frequency range after the waveform segment b is superimposed, and the waveform segment a is in a frequency-moving to high frequency range after the waveform segment b is superimposed.
In addition, specifically, the jump operation refers to that the target waveform segment jumps before or after other waveform segments; the cyclic operation means that the target waveform segment is circularly displayed in the sequence track; the cutting operation refers to cutting the 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 together the target waveform segment with other waveform segments.
Alternatively, a functional area for performing editing operations may be displayed on the display interface. As an example, as shown in fig. 2, an operation control display area 24 may also 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 target waveform segment, the segment information setting control can be clicked, at this time, a setting frame is displayed on the display interface, and setting parameters in the setting frame can 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 target waveform segment based on the setting parameters in the setting frame, thereby realizing an editing operation for the 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: when the waveform segment a is output, a user sets a rule related to a trigger signal, wherein 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, the waveform sequence editing device starts to output the waveform segment a only after the external trigger signal is received, so that the 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 segments, and after the waveform sequence editing 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 segments and starts to be output according to the set rule, so that the editing operation of the waveform segments can be realized according to the output sequence of the waveform segments.
In addition, in a possible implementation manner, at least one operation control is displayed in the display interface; the waveform sequence editing apparatus further includes: and the operation control module is used for executing the operation corresponding to the target operation control based on the control operation of the user on the target operation control in the at least one operation control.
Optionally, the at least one operation control comprises at least one of: the system comprises a track selection control, a waveform sequence downloading control, a waveform fragment saving control, a track parameter setting control, an in-phase quadrature IQ setting control, a time-frequency domain switching control, a waveform fragment moving control, a waveform annotation control, a waveform clipping control, a track shrinking control, a track enlarging control, a waveform fragment coloring control, a waveform fragment deleting control, a waveform fragment copying control and a waveform fragment pasting control.
It should be noted that at least one operation control may be displayed in the operation control display area 24 in fig. 2 (not shown in fig. 2 one by one), so that the user can find the required operation control in the fixed area, thereby facilitating the operation of the user.
Specifically, the functions of the respective operation controls are specifically described below.
And the track selection control is used for selecting the sequence track so that the waveform fragments can be displayed in the selected sequence track.
And the waveform sequence downloading control is used for downloading the waveform sequence obtained by editing on the selected sequence track to the designated channel.
And the waveform segment storage control is used for storing the waveform segments on the selected sequence track so as to be used as waveform segment materials.
Track parameter setting controls for setting parameters of the sequence track, which parameters may include at least one of: remark information, history operation rollback settings (e.g., returning to last or last few edits), track coordinate upper and lower limit settings, track name, and track creation time.
In-phase quadrature (IQ) setup controls are used to determine whether a selected control is to be an I-way or a Q-way.
The time-frequency domain switching control is used for switching the selected sequence track from the time domain presentation pattern to the frequency domain, and certainly supports the time-frequency domain switching of the single waveform segment, and other waveforms are not in the frequency domain, only the selected single waveform segment is displayed and switched to the frequency domain.
The waveform segment moving control is used for dragging the waveform segment, so that editing operations such as moving, splicing and the like of the waveform segment can be performed on the sequence track.
And the waveform annotation control is used for annotating the waveform segment in the selected sequence track.
The waveform clipping control is used for clipping the waveform fragments at the cursor indication position, and the clipped original waveform fragments are divided into two waveform fragments, so that other waveform fragments can be inserted into the clipped fragments.
And the track shrinking control is used for shrinking the selected sequence track.
And the track amplifying control is used for amplifying the selected sequence track.
A waveform segment coloring control for coloring the waveform segment.
The waveform segment deleting control is used for deleting waveform segments, for example, the selected waveform segments can be dragged out of the sequence track or the waveform segment deleting control is clicked, so that the deleting function is realized.
Track waveform preservation control used for preserving waveform fragments on all sequence tracks.
A waveform segment replication control for replicating waveform segments.
A waveform segment paste control for pasting the copied waveform segment such that creation of the waveform can be repeated.
In this embodiment, a user may select any one of the above operation controls as a target operation control according to a requirement, and input a control operation to the target operation control, where an operation control module in the waveform sequence editing device executes an operation corresponding to the target operation control, for example, sequence track selection corresponding to a track selection control, waveform sequence downloading corresponding to a waveform sequence downloading control, waveform segment saving corresponding to a waveform segment saving control, and so on, based on the control operation of the user to the target operation control, thereby implementing a function corresponding to the operation control.
In addition, specifically, the control operation for the target operation control may be a click operation, a double click operation, a drag operation, or the like, which is not specifically limited herein.
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, the embodiment displays at least one waveform segment in the sequence track displayed on the display interface through the waveform segment display module, and creates and obtains the waveform sequence corresponding to the sequence track based on the editing operation of the user on the target waveform segment in the sequence track through the waveform sequence creation module, so that the waveform segment is displayed in real time in the form of the sequence track, the appearance or the form of the waveform segment and the difference between the segments are displayed, the waveform segment is directly edited in the sequence track, and the waveform sequence is created and obtained, so that the editing 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.
In addition, the embodiment of the present application further provides a waveform sequence editing method, as shown in fig. 3, where the waveform sequence editing 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.
Specifically, the electronic device may be a waveform sequence editing apparatus. Referring to fig. 2, a sequence track display area 21 may be provided in a display interface of the waveform sequence editing 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 creating a waveform sequence corresponding to the sequence track based on the editing operation of the user on the target waveform segment in the sequence track.
The target waveform segment is a waveform segment selected by a user from the at least one waveform segment.
In the step, the waveform sequence corresponding to the sequence track can be created based on the editing operation of the user on the 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 editing operation among 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.
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, 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 target waveform fragments in at least two sequence tracks.
In a possible implementation manner, at least one operation control is further displayed in the display interface; the embodiment may further execute an operation corresponding to the target operation control based on a control operation of the user on the target operation control in the at least one operation control.
In one possible implementation, the at least one operational control includes at least one of: the system comprises a track selection control, a waveform sequence downloading control, a waveform fragment saving control, a track parameter setting control, an in-phase quadrature IQ setting control, a time-frequency domain switching control, a waveform fragment moving control, a waveform annotation control, a waveform clipping control, a track shrinking control, a track enlarging control, a waveform fragment coloring control, a waveform fragment deleting control, a waveform fragment copying control and a waveform fragment pasting control.
In one possible implementation manner, the display interface also displays a waveform playing area; the embodiment may further play a waveform segment selected by the user in the waveform play area, where the waveform segment selected by the user includes a waveform segment that is not subjected to the editing operation or a waveform segment in the waveform sequence.
In one possible implementation, the user-selected waveform segment includes: waveform segments after the first target waveform location; or, a waveform segment between the first target waveform location and the second target waveform location; wherein the first and second target waveform positions are selected by a user.
According to the embodiment, at least one waveform segment is displayed in the sequence track displayed by the display interface, and the waveform sequence corresponding to the sequence track is created based on the editing operation of a user on the target waveform segment in the sequence track, so that the waveform segment is displayed in real time in a sequence track mode, the differences among the segments are displayed, the waveform segment is edited directly in the sequence track, the waveform sequence is created, the editing operation among 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.
It should be noted that, in the waveform sequence editing method provided in the embodiment of the present application, the execution subject may be the waveform sequence editing apparatus in the above embodiment, or a control module for executing the waveform sequence editing method in the waveform sequence editing apparatus. The waveform sequence editing apparatus provided in the foregoing embodiment can implement all the method steps and advantages of the foregoing waveform sequence editing method embodiment, and in order to avoid repetition, the same steps and advantages as those in the waveform sequence editing apparatus of the foregoing method embodiment in the waveform sequence editing method of the present embodiment are not repeated herein.
The embodiment of the present application further provides an electronic device, which is configured to execute the waveform sequence editing method according to the embodiment of the present application, based on the same technical concept, and fig. 4 is a schematic structural diagram of an electronic device for implementing each embodiment 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;
creating a waveform sequence corresponding to the sequence track based on the editing operation of a user on the target waveform segment in the sequence track;
the target waveform segment is a waveform segment selected by a user from the at least one waveform segment.
In one possible implementation, before the displaying at least one waveform segment in the sequence track displayed on 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 that the number of the sequence tracks is plural, the displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device includes: at least one waveform segment is displayed in at least one of a plurality of said sequence tracks.
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 target waveform fragments in at least two sequence tracks.
In a possible implementation manner, at least one operation control is further displayed in the display interface; the waveform sequence editing method further comprises the following steps: and executing the operation corresponding to the target operation control based on the control operation of the user on the target operation control in the at least one operation control.
In one possible implementation, the at least one operational control includes at least one of: the system comprises a track selection control, a waveform sequence downloading control, a waveform fragment saving control, a track parameter setting control, an in-phase quadrature IQ setting control, a time-frequency domain switching control, a waveform fragment moving control, a waveform annotation control, a waveform clipping control, a track shrinking control, a track enlarging control, a waveform fragment coloring control, a waveform fragment deleting control, a waveform fragment copying control and a waveform fragment pasting control.
In one possible implementation manner, the display interface also displays a waveform playing area; the waveform sequence editing method further comprises the following steps: and playing the waveform segment selected by the user in the waveform playing area, wherein the waveform segment selected by the user comprises the waveform segment which is not subjected to editing operation or the waveform segment in the waveform sequence.
In one possible implementation, the user-selected waveform segment includes: waveform segments after the first target waveform location; or, a waveform segment between the first target waveform location and the second target waveform location; wherein the first and second target waveform positions are selected by a user.
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, the processor is used for running a program or an instruction, implementing each process of the waveform sequence editing method embodiment, and achieving the same technical effect, so as to avoid repetition, 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 editing 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 sequence creation module is used for creating and obtaining a waveform sequence corresponding to the sequence track based on the editing operation of a user on the target waveform segment in the sequence track;
the target waveform segment is a waveform segment selected by a user from the at least one waveform segment; the number of the sequence tracks is one or more; at least one operation control is also displayed in the display interface, and the at least one operation control comprises at least one of the following: a track selection control, a waveform sequence downloading control, a waveform fragment saving control, a track parameter setting control, an inphase quadrature IQ setting control, a time-frequency domain switching control, a waveform fragment moving control, a waveform annotation control, a waveform clipping control, a track shrinking control, a track amplifying control, a waveform fragment coloring control, a waveform fragment deleting control, a waveform fragment copying control and a waveform fragment pasting control;
the waveform segment display module is used for displaying at least one waveform segment in at least one sequence track in a plurality of sequence tracks when the number of the sequence tracks is a plurality of;
the waveform sequence editing apparatus further includes:
and the operation control module is used for executing the operation corresponding to the target operation control based on the control operation of the user on the target operation control in the at least one operation control.
2. The waveform sequence editing apparatus according to claim 1, wherein the waveform sequence editing 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 editing apparatus of claim 1, 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 target waveform fragments in at least two sequence tracks.
4. The waveform sequence editing apparatus according to claim 1, wherein the display interface further displays a waveform playing area;
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.
5. The waveform sequence editing apparatus of claim 4, wherein,
the user selected waveform segment comprises:
waveform segments after the first target waveform location; or,
a waveform segment between the first target waveform location and the second target waveform location;
wherein the first and second target waveform positions are selected by a user.
6. A waveform sequence editing method, 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;
creating a waveform sequence corresponding to the sequence track based on the editing operation of a user on the target waveform segment in the sequence track;
the target waveform segment is a waveform segment selected by a user in the at least one waveform segment, the number of the sequence tracks is one or more, at least one operation control is further displayed in the display interface, and the at least one operation control comprises at least one of the following: a track selection control, a waveform sequence downloading control, a waveform fragment saving control, a track parameter setting control, an inphase quadrature IQ setting control, a time-frequency domain switching control, a waveform fragment moving control, a waveform annotation control, a waveform clipping control, a track shrinking control, a track amplifying control, a waveform fragment coloring control, a waveform fragment deleting control, a waveform fragment copying control and a waveform fragment pasting control;
in the case that the number of the sequence tracks is plural, the displaying at least one waveform segment in the sequence track displayed on the display interface of the electronic device includes: displaying at least one waveform segment in at least one of a plurality of said sequence tracks;
the waveform sequence editing method further comprises the following steps: and executing the operation corresponding to the target operation control based on the control operation of the user on the target operation control in the at least one operation control.
7. The method of waveform sequence editing according to claim 6, further comprising, prior to said displaying at least one waveform segment in a sequence track displayed on an electronic device display interface:
the at least one waveform segment is received or created based on a waveform segment acquisition instruction of the user.
8. The method for editing a waveform sequence according to claim 6, 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 target waveform fragments in at least two sequence tracks.
9. The waveform sequence editing method of claim 6, wherein the display interface further displays a waveform playing area;
the waveform sequence editing method further comprises the following steps:
and playing the waveform segment selected by the user in the waveform playing area, wherein the waveform segment selected by the user comprises the waveform segment which is not subjected to editing operation or the waveform segment in the waveform sequence.
10. The method for editing a waveform sequence according to claim 6, wherein,
the user selected waveform segment comprises:
waveform segments after the first target waveform location; or,
a waveform segment between the first target waveform location and the second target waveform location;
wherein the first and second target waveform positions are selected by a user.
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 waveform sequence editing method of any one of claims 6 to 10.
12. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the steps of the waveform sequence editing method of any one of claims 6 to 10.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111177951.2A CN114089807B (en) | 2021-10-09 | 2021-10-09 | Waveform sequence editing 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 |
---|---|---|---|
CN202111177951.2A CN114089807B (en) | 2021-10-09 | 2021-10-09 | Waveform sequence editing device, method, electronic device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114089807A CN114089807A (en) | 2022-02-25 |
CN114089807B true CN114089807B (en) | 2024-02-27 |
Family
ID=80296632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111177951.2A Active CN114089807B (en) | 2021-10-09 | 2021-10-09 | Waveform sequence editing device, method, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114089807B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116520049B (en) * | 2023-04-13 | 2024-05-17 | 广州致远仪器有限公司 | Waveform output setting method, device, equipment and storage medium |
Citations (3)
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 |
-
2021
- 2021-10-09 CN CN202111177951.2A patent/CN114089807B/en active Active
Patent Citations (3)
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 |
---|---|
CN114089807A (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114089808B (en) | Waveform sequence generating device, method, electronic device and storage medium | |
CN109672922B (en) | Game video editing method and device | |
JP7387891B2 (en) | Video file generation method, device, terminal, and storage medium | |
CN114089806B (en) | Waveform sequence creation device, method, electronic device, and storage medium | |
CN106874389A (en) | The moving method and device of data | |
US20070261537A1 (en) | Creating and sharing variations of a music file | |
CN104427404A (en) | Video segment extraction and play methods and devices | |
CN106156254A (en) | Information sharing method and device | |
US20090183078A1 (en) | Instant feedback media editing system | |
CN114089807B (en) | Waveform sequence editing device, method, electronic device and storage medium | |
CN108924622A (en) | A kind of method for processing video frequency and its equipment, storage medium, electronic equipment | |
CN103559117B (en) | A kind of method and device showing progress bar | |
US9396575B2 (en) | Animation via pin that defines multiple key frames | |
CN110061910A (en) | A kind of processing method of voice short message, equipment and medium | |
CN106331869A (en) | Video-based picture re-editing method and device | |
JP2021533483A (en) | Video frame processing method and equipment | |
CN113918522A (en) | File generation method and device and electronic equipment | |
CN110298021A (en) | A kind of method for message interaction, system and storage medium | |
CN107393568A (en) | Method, system and terminal equipment for recording multimedia file | |
CN108600843B (en) | Video editing method and system | |
CN114089809B (en) | Waveform sequence processing device, method, electronic equipment and storage medium | |
CN103019546A (en) | Method and system for projecting slide and demonstration device | |
CN112309449A (en) | Audio recording method and device | |
CN107426595A (en) | Interface navigation data handling system | |
CN107396142A (en) | Interface navigation data processing method |
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 |