Skip to content

No support for Ardour - No support for inPlaceBroken #89

@WeirdConstructor

Description

@WeirdConstructor

I used the amp example from the docs and discovered that Ardour 5 to 6.3 do
not support the inPlaceBroken feature.

After loading Ardour I get this warning and Ardour just ignores the existence
of the plugin.

[WARNING]: Ignoring LV2 plugin "amp" since it cannot do inplace processing.

Tested on Linux amd64 platform. The plugin works with Carla, and carla.lv2 can be
used from within Ardour so it is still kind of usable. But it's a bit sad I would have
to go via Carla.

I understand the rationale from the rust-lv2 user guide for not supporting it, but I would gladly accept some unsafe code in the processing function itself.

Otherwise I would have to look into writing the DSP code in Rust without rust-lv2 and try to use it from a C wrapper library.

So I would suggest three options to deal with this:

  • Don't state in the README that Ardour is supported.
  • Allow plugin developers to have some unsafe'ness.
  • Implement the C side to handle inplace edits of the buffers and
    copy either the input or output values to an extra buffer. The performance hit is better than no support at all. That could maybe be done by providing an InputPort<AudioCopy> port type - but I am not too deep into the internals of rust-lv2 and the unsafe side of Rust programming.

Metadata

Metadata

Assignees

Labels

🐞 BugSomething isn't working🗨️ DiscussionAn exchange of opinions about a topic👋 Good First IssueAn easy issue to fix for new contributors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions