The problem with this for my tool is that sometimes you want multiple changes to be synchronised. i.e. ctrl x a selection. The pattern_line notifier only returns a boolean so there is no other info on the nature of the change.
If it is a selection when the cursor is not even on that track then you would have to go through some pretty intensive line checking for each track to discover what happened wouldn`t you?
No only for that tracks that are involved.
You already limited your tool for group tracks that have a certain identity (*groupname) which means that already limits the amount of tracks to scan for.
You simply scan each line for differences between all tracks (differences except instrument numbers) until you hit a line that contains changes, you pick that one line and analyze:is only one track different? Synchronize the other tracks with all changes. Are more tracks changed? don’t synchronize.
Cursor-position can be used as an offset to start scanning from, but is indeed tricky (what if we are dealing with selections that start above the cursor?).
Yes only for the grouped tracks but still when I did some testing for this I got quite some slow down in the tool. A standard 12 column track with 64 renoise lines equals 768 “scripting” lines/cells to run an equality test on. Ok in most cases you can check visible columns but still a lot of checking.
“Are more tracks changed? don’t synchronize.”
In this scenario, if a cut / copy /paste has been done over more than one of the tracks(but not all) you will still want syncing in some cases.
To be honest the tool works well for me as it is. It is quick enough and the alternative undo works. I don`t want to slow things down hacking around this. I have requested a couple of things in the API that would help improve things, but for the moment I think I will leave it as it stands.
Thanks for the input/ tips though, I`m very pleased with the auto behaviour you pointed out was do-able!
http://www.renoise.c…-notes-in-group Option for “Only Sync Selected Group Enabled” added under “Ledger`s Scripts” / “Sync All Notes In Group”. This option means only the group with the cursor present in it will be synced. This allows the tool to work faster
when there are a lot of groups to sync. Any changes made in other synced groups may be missed when cutting selections etc. which is the trade off.
Your advice on adding a normal delay effect is obviously great. (I’d still prefer offsetting for the sake of how the note data looks visually, if the feature was there. No big deal.)
However, there is another use for an offset feature that could offset both directions. I like to double things, offset, add a 100% wet reverb and automate this track. That will give you a dedicated preverb track.
I understand if it would be a hassle to implement.
Some tools got lost during the database upgrading for API support 4.0. (well they didn’t got lost but they caused problems and corruption during auto migration so they were left out.)
All script authors who have tools that are no longer available on the tools site are kindly encouraged to reupload their tools whether upgraded or not
It seems there was a date roll-back aswell though. I put up my toggle reference track tool, relatively recently and the whole thing has disappeared: http://www.renoise.com/tools/toggle-reference-track. Also updates to VSTi from menu have been rolled back so new feature explanations and picture have gone. I hope this will be fixed as it will be a complete pain to do this manually for changes made in the last month(+)