Skip to content

IRT triggers note step in instrument automation tables#1381

Merged
maks merged 6 commits intomasterfrom
irt-note-step-experiment
Apr 2, 2026
Merged

IRT triggers note step in instrument automation tables#1381
maks merged 6 commits intomasterfrom
irt-note-step-experiment

Conversation

@maks
Copy link
Copy Markdown
Collaborator

@maks maks commented Mar 19, 2026

The issue description covers in detail the reason for this change and the results.

Note the memcpy's needed to be added to SIDInstrument because they were missing where Sample & MIDI had them while OPAL has not table support at all yet.

Fixes: #1368

@maks maks force-pushed the irt-note-step-experiment branch from 6cdabd9 to 57666e0 Compare March 20, 2026 05:51
@maks maks marked this pull request as ready for review March 20, 2026 05:54
@maks maks requested a review from democloid March 20, 2026 05:54
@democloid
Copy link
Copy Markdown
Collaborator

I honestly don't feel confident enough in reviewing this code and be able to judge if it would work. Can we add test coverage in order to cover the different scenarios? That will also help explain what the different scenarios are.

@maks
Copy link
Copy Markdown
Collaborator Author

maks commented Mar 21, 2026

I honestly don't feel confident enough in reviewing this code and be able to judge if it would work. Can we add test coverage in order to cover the different scenarios? That will also help explain what the different scenarios are.

I'll try to add test coverage but not sure if it will be possible without a huge amount of test harness setup. will see what I can do.
More immediately, I'll record and attach, videos showing the difference with this change vs current behaviour.

@maks
Copy link
Copy Markdown
Collaborator Author

maks commented Mar 21, 2026

@democloid here is the current master:

no-table-irt.mp4

while here is this branch again with exactly the same project file:

with-table-irt.mp4

You can see that in first case the automation table 01 on the instrumetn is only triggered by the initial note on the phrase screen, not by the IRT command that causes retriggers (on table 4) while in the 2nd video the IRT triggered notes also cause the automation table to step.

@democloid
Copy link
Copy Markdown
Collaborator

@maks But, there is no IRT command here?

@maks
Copy link
Copy Markdown
Collaborator Author

maks commented Mar 25, 2026

@maks But, there is no IRT command here?

@democloid sorry I should have shown the table assigned to the step in the phrase, which is where the IRT is because its a table only command. I didnt show it because its literally only a table with a single IRT command on first row. The key thing here though is that the automation table is not being triggered by the IRT currently.

@maks
Copy link
Copy Markdown
Collaborator Author

maks commented Mar 29, 2026

Project showing use of IRT to trigger automation table:
IrT.zip

@maks maks force-pushed the irt-note-step-experiment branch from e6de412 to 43953c5 Compare April 1, 2026 11:04
@maks
Copy link
Copy Markdown
Collaborator Author

maks commented Apr 2, 2026

approved offline.

@maks maks merged commit e981cc0 into master Apr 2, 2026
3 checks passed
@maks maks deleted the irt-note-step-experiment branch April 2, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IRT doesn't trigger next step in instrument automation tables

2 participants