View Issue Details

IDProjectCategoryView StatusLast Update
0000229ardourbugspublic2004-05-05 16:22
ReporterBugtrap Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000229: Looping not possible with VST plugins
DescriptionWhen setting a loop and playing that loop with an active VST plugin, ardour will just continue past to run past the loop end point
without ever stopping again.

Don't know, whether this is a ardour bug or a vstserver bug.
But with Muse looping with VST plugins works...
Additional Informationbeta9.1
TagsNo tags attached.

Activities

Bugtrap

2004-02-16 21:23

reporter   ~0000442

The vst plugin (through ladspavst) receives an "delete" event, which should only
occur when the cleanup routine of the ladspa plugin is called.

Is ardour calling the cleanup routine at the end of the loop ???

paul

2004-02-16 22:53

administrator   ~0000443

ardour does not send any such event to a LADSPA plugin. it does send activate and deactivate requests, which are completely legal. they are not equivalent to "delete" and if ladspavst treats them that way, it is in error.

Bugtrap

2004-02-21 12:53

reporter   ~0000457

Further investigation revealed, that when looping ardour produces one cycle, where a samplecount of zero is used.
E.g. with 0x400 as jack cycle length, it produses something like

0x400
0x400
0x280
0x180
0x000 <- !!!
0x400
0x400

as cycle length when wrapping around the loop end.
VST plugs apparently always assume a cyclelength of >0, so the 0 is
interpreted as 0x100000000, which causes the problem.

Is there a need for this zero cycle in ardour ? Else remove it.

kjetil

2004-03-09 21:01

reporter   ~0000510

Sending a samplecount of 0 is actually the vstservers way of knowing
when to quit. Is that stupid? Should I fix the vstserver?

paul

2004-03-10 04:37

administrator   ~0000519

does the ladspavst plugin have a "latency" port? if so, a sample count of zero is used for a call to "run" so that the plugin can report current latency values when the transport stops. let me know.

kjetil

2004-03-10 12:02

reporter   ~0000525

Ladspavst does not have a latency-port. But its very easy
to make it ignore calls to run with SampleCount 0. So I guess
its better to fix ladspavst rather than making an exception in ardour.
I'll fix ladspavst.

paul

2004-04-14 04:14

administrator   ~0000621

kjetil was willing to fix ladspavst. meanwhile,we have native support for VST plugins.

Issue History

Date Modified Username Field Change
2004-01-22 19:25 Bugtrap New Issue
2004-02-16 21:23 Bugtrap Note Added: 0000442
2004-02-16 22:53 paul Note Added: 0000443
2004-02-21 12:53 Bugtrap Note Added: 0000457
2004-03-09 21:01 kjetil Note Added: 0000510
2004-03-10 04:37 paul Note Added: 0000519
2004-03-10 12:02 kjetil Note Added: 0000525
2004-04-14 04:14 paul Status new => resolved
2004-04-14 04:14 paul Resolution open => fixed
2004-04-14 04:14 paul Assigned To => paul
2004-04-14 04:14 paul Note Added: 0000621
2004-05-05 16:22 Bugtrap Status resolved => closed