Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua created meta events offset value will be ignored #449

Open
SambaGodschynski opened this issue Sep 30, 2024 · 0 comments
Open

lua created meta events offset value will be ignored #449

SambaGodschynski opened this issue Sep 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SambaGodschynski
Copy link
Member

use a script like that:

parameters = {
    {name="instrument", default=""},
    {name="duration", default=""}
}


function execute(params, timeinfo, context)
    local textHigh = "t:" .. params.instrument .. "_1"
    local textLow = "t:" .. params.instrument .. "_0"
    local duration = tonumber(params.duration)
    return {
        {
            type = "meta",
            metaType = "cuePoint",
            metaValue = textHigh
        },
        {
            type = "meta",
            metaType = "cuePoint",
            metaValue = textLow,
            offset = 4
        }
    }
end

expected

offset value will have an effect

actual

offset value will be ignored

@github-project-automation github-project-automation bot moved this to Backlog in Werckmeister Sep 30, 2024
@SambaGodschynski SambaGodschynski added the bug Something isn't working label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant