View Issue Details

IDProjectCategoryView StatusLast Update
0009075ardourbugspublic2022-11-12 08:25
Reportersollapse Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformMicrosoftOSWindowsOS Version11
Product Version7.1 
Summary0009075: MIDI buffers fail to retrieve output from ports
DescriptionUsing Lua to obtain events from an output midi port fail to obtain any data.
Steps To ReproduceCreate midi track and add notes. Play back the region while running the _midi_rewrite.lua script set to capture events from track's output port instead.
TagsNo tags attached.

Activities

x42

2022-11-10 22:03

administrator   ~0026880

That is correct. Session scripts run before Ardour does any processing.
So it only works for ports that receive input data

sollapse

2022-11-10 22:36

reporter   ~0026881

Thanks for the clarification. Another somewhat related question have is why it's not allowed to create a new track within an editor hook script. From my understanding in the manual, these callbacks still run within the GUI thread. While testing this earlier, it crashed Ardour due to a buffer overrun.

Issue History

Date Modified Username Field Change
2022-11-06 19:08 sollapse New Issue
2022-11-10 22:03 x42 Note Added: 0026880
2022-11-10 22:36 sollapse Note Added: 0026881
2022-11-12 08:25 sollapse Status new => closed
2022-11-12 08:25 sollapse Resolution open => fixed