rncbc / qtractor

Qtractor - An Audio/MIDI multi-track sequencer
https://qtractor.org
GNU General Public License v2.0
495 stars 86 forks source link

Split MIDI clip doesn't work #400

Closed danboid closed 1 year ago

danboid commented 1 year ago

I am running qtractor 0.9.31 under Debian testing amd64.

If I import the attached MIDI file into qtractor, position the playhead at the start of bar 2, click on the first MIDI clip to select it then right click the clip and select Split the selected MIDI clip (in channel 1) does not get split.

main-theme.mid.zip

rncbc commented 1 year ago

hi, maybe you confused the two Split actions available:

  1. Edit > Split - this will split clips at the selection (blue shaded) boundaries; if you select the whole clip it won't do nothing much or anything at all (I believe this is your case);
  2. Clip > Split - this will split clips at the playhead location; on the current highlighted track.

that's all.

danboid commented 1 year ago

You are correct Master Rui!

So, you say Edit -> Split should "split clips at the selection (blue shaded) boundaries" yet if I define the blue shaded boundaries and choose Edit -> Split on a MIDI clip nothing happens. Shouldn't this spit be removed, greyed out or fixed then if its actually only the other Clip -> Split that works (on MIDI clips)?

rncbc commented 1 year ago

the split operations are the same for both audio and MIDI clips

if the selection boundaries match any of theclip edges, the split is simply no-op at that boundary, of course.

danboid commented 1 year ago

"if the selection boundaries match any of theclip edges, the split is simply no-op at that boundary, of course."

Of course? Why not? In my case I wanted to delete the first bar of a clip so the first boundary is at the start of the clip and the track. Why should this not work / be considered a "no-op"?

rncbc commented 1 year ago

because you'll have a hard time splitting a clip in it's very beginning (or ending).. you can only split a clip (or anything for that matter) if the split points are inside or between its edges.