Test for 1.7

Forums

I’m starting a new thread; the other one was getting too full.

Note:
I’ve been running some tests, and the situation—now that an editor is available—has changed completely... it’s wild.
Having an editor was truly necessary.

For instance:
1_ You can now load a "loop sample" and edit it (trimming, reversing, inserting silences by lowering the gain, etc.).
2_ You create a loop clips.
3_ You unlink it (though that part isn't working yet) and adjust the pitch.
4_ Then, a new loop clips.

For a break, you take the original loop and create a variation by editing in silences or repetitions using the editor.
In just a few minutes, you can quickly build an interesting and complete soundscape.

It’s especially useful for urban music, electronic dance music, and other genres built around loops.

There is some strange behavior.

The 'unlink' function for an audio clip does not work until a MIDI link clip exists.

Additionally, crashes may occur when performing the operations.

Open Qtractor and import an audio clip.
Stretch it while holding the Control key to create a loop clip.
Apply "Unlink"... it doesn't work.

Import a MIDI clip, loop clip; "Unlink" doesn't work here either.

Create a MIDI clip, and now for the fun part... Create a loop from the MIDI clip, then apply "Unlink"... Now it works—and it works for audio, too.

Open Qtractor and import an audio clip.
Stretch it while holding the Control key to create a loop clip.
Apply "Unlink"... it doesn't work.

Import a MIDI clip, loop clip; "Unlink" doesn't work here either.

what doesn't work exactly? (Clip/Unlink just works in both situations here as expected)

I simply don't understand :/ maybe in need some more info?

Open Qtractor without a starting template.
In the GIF, you can see that the linking occurs in an irregular way: not everything is linked together; instead, 1 is linked to 3, and 2 is linked to 4.
They cannot be unlinked.
The same applies to audio.
However, if you create a new one, everything starts working correctly.

File attachments

The behavior remains completely chaotic.

I must insist, as I don’t think you’re taking this into account, that:

If the clip is loaded using the "new" option, it works.
This even applies to audio clips: "New," "Name," "Select file."
The problem arises during the import process.

UPDATE!!!
More findings: if you save the session, Unlink starts working.
However, when creating clip loops, the behavior remains chaotic; at times, certain clips fail to link up, occurring randomly, or are skipped, including the last one...

The bug isn't due to the new implementation... It was always present in Qtractor.
"Unlink" doesn't work until a new clip is created or the session is saved. Since Qtractor typically requires saving the session when recording, we hadn't noticed it until now.

So, perhaps it was fine from the start, and something else needed to be fixed.
What needs to be fixed is the old bug...

when creating clip loops, the behavior remains chaotic; at times, certain clips fail to link up, occurring randomly, or are skipped, including the last one...

the last one not being always linked maybe just a caveat, meaning that is possible you're failing to Ctrl+drag-move to a precise location where the the last repeated clip becomes unequal in length to the previous ones... but the other previous ones in the middle before that very last one, do not ALL get linked to the original? say certain clips? wow, that's weird!

yes, MIDI clips may had the issue before, but we're trying to fix that too.

cheers

Actually, I haven't been able to reproduce it again.¿?¿?¿?

You can see it in the GIF above, and I’d swear it behaved the same way in the last test I reported.

So, the new implementation seems correct.

What still doesn't work is the old bug: Unlink doesn't function until the session is saved.

"Unlink" doesn't work until a new clip is created or the session is saved.

can you be more specific?

appreciate if you can give some more precise details and steps to repro this alleged "old bug" :)

thanks

gotcha (maybe finally?)

prolly fixed in v1.6.5.11git.55320e [develop]

however, this might break something, somewhere else, most specially on brand new and unnamed blank sessions...

so please, keep your tests going on full throttle, will you?

cheers

Ok... now I understand the problem.
If there is no template, the files are saved where SessionDir is indicated in the configuration. If there is a template, where the session folder is defined in the template.
...

I always thought this behavior should be different.
The user should never be forced to save.

If you have not saved, you should save all recording and in this case editing files in a folder created for this purpose ~/.local/state/qtractor .

If the project is saved, a compilation of all project dependencies in that folder is made and moved to the final destination, equivalent to what qtz does, but in this case (unlike qtz) the links to files outside the state folder are preserved.

That would simplify everything. Currently, if you save a Qtz, it invites you to save it in the session folder...This, with what I indicate, would make sense... since all the temporary recordings would not be there (as now)... only the clean directory to save the qtz.

...

But since it doesn't work like that, I guess from now on we have to force the user to save the session if they import an audio file.

Otherwise the user will find files saved where they do not want them.

when asking to Unlink any clip the user has to give the session a name and/or set its proper directory if it's currently untitled (just like when first saving or recording):

qtractor >= v1.6.5.14git.f950e1 [develop]

cheers

I haven’t tested it yet, but it seems like a very acceptable compromise solution to me. :)

PS
I dream that one day Qtractor will work the way I described above—without asking for input until you actually want to save the session.

You have no idea how much I’ve mulled over this issue, or the user-side solutions I’ve come up with (such as using sessions without write permissions as templates, or implementing session-naming patterns)—all of which I eventually abandoned because it’s just like swimming against the tide.

It wasn't broken... here’s what was happening:
I was using Ogg Vorbis... and, naturally, the compression was causing a mess.
I can't test it with "MPEG-1/2" because, apparently, I have that disabled.

FLAC works fine.

We should ensure that if the format is Ogg Vorbis (or any other lossy compression format), any modifications are forced to be saved as WAV.

I suspect the refresh issues I reported are also related to this.

It surprises me that, despite being a compressed format and undergoing successive transformations, it doesn't seem to degrade...

Note:
I’ve noticed that you’ve made some fixes to Unlink, but it’s still not working... just letting you know.

Permalink

If both have the same channels it is correct.

If the destination has more channels, the pre-existing ones behave correctly, and the new ones have a strange sticking.
I have tried it from mono to stereo. The first/left channel is filled correctly with what is pasted and the right one makes a strange one.

If the destination has fewer channels, Qtractor cracks.

If we follow the logic used in Qtractor, it should behave the same as buses... that is. If there are more channels, fill in by repeating the existing ones in order of arrival.

If there is less, fill in with the equivalent and ignore the rest.

Permalink

When we extend the audio clip to the right beyond the actual samples an unsampled silence is added.

This means that if we reverse, the result is not what we expected.
If we want to generate a silence we can try to copy and paste from this area, but it will not work, because there are no samples.

However, there is no reference that indicates that we cannot interact with that area.
I think the solution is not to indicate it visually... but to make them actually samples.

When?

They should be considered (accounted) as real samples before doing any operation including copying.

They must be real (generated) samples when performing any sample modification operation (i.e. that involves saving).

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.