View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009184 | ardour | bugs | public | 2022-12-26 02:16 | 2022-12-28 12:22 |
| Reporter | garyd | Assigned To | x42 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | Debian GNU | OS | Linux | OS Version | (any) |
| Product Version | Mixbus 8.x | ||||
| Summary | 0009184: "Temporal" not recognised in Lua session script | ||||
| Description | Attempting to use Temporal.timepos_t() in a session script fails with error: "attempt to index a nil value (field 'Temporal')" It works fine in action scripts (Mixbus), also in session scripts in Ardour. | ||||
| Steps To Reproduce | Dummy session script is attached. | ||||
| Tags | No tags attached. | ||||
|
|
Note sure if the attachment attached. Couldn't see it so attaching again. session_script.lua (316 bytes)
ardour {
["type"] = "session",
name = "xxx",
license = "MIT",
author = "xxx",
description = [[xxx]]
}
function factory ()
return function (n_samples)
if (not Session:transport_rolling ()) then
-- not rolling, nothing to do.
return
end
local x = Temporal.timepos_t(0)
end
end
|
|
|
Which version of Mixbus is that (Menu > Help > About) For the new Tempo API to work correctly you need at least 8.1.700 or newer. Upcoming 8.2 should fix this as well. |
|
|
v8.1.378 Glad to hear it's already sorted. Thanks. |
|
|
Confirmed to be working in Mixbus32C v8.2.66. Thanks. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-12-26 02:16 | garyd | New Issue | |
| 2022-12-26 02:20 | garyd | Note Added: 0027145 | |
| 2022-12-26 02:20 | garyd | File Added: session_script.lua | |
| 2022-12-26 15:52 | x42 | Note Added: 0027147 | |
| 2022-12-27 02:36 | garyd | Note Added: 0027148 | |
| 2022-12-28 08:37 | garyd | Note Added: 0027153 | |
| 2022-12-28 12:22 | x42 | Assigned To | => x42 |
| 2022-12-28 12:22 | x42 | Status | new => resolved |
| 2022-12-28 12:22 | x42 | Resolution | open => fixed |