Comments (7)
Thanks for reporting this!
A few weeks ago, I updated the plugin to build from JUCE version 7 which has built-in LV2 support (previously the plugin was using a fork of JUCE). It seems that in the JUCE LV2 wrapper, there's some interop issue with Ardour.
Since we're still a ways away from the next official release of BYOD, I decided to upgrade to JUCE7 (since there were other features/fixes I wanted to use) and hope that the relevant parties can figure out a solution before then. In the meantime, if you or anyone else needs to be able to run the plugin in Ardour as an LV2, I would suggest going back to the last stable release (v1.0.1).
from byod.
I've compiled Ardour7 pre-release version and in this version plugin can be successfully instantiated. File explorer also works. Now I'm about to compile Ardour6.9 with debug symbols to find out what's wrong with BYOD or with Ardour
from byod.
I have debugged BYOD on Ardour6.9. Fail happens because LV2 descriptor returns NULL
in instanitate
method here. Ardour compiled with 0.24.12 version of lilv library.
The arguments passing in instanitate method are:
76 result->lv2_handle = ld->instantiate(
(gdb) print ld->URI
$24 = 0x7ffefb6d8998 "https://github.com/Chowdhury-DSP/BYOD"
(gdb) print sample_rate
$25 = 48000
(gdb) print bundle_path
$26 = 0x1aa0130 "/usr/local/lib64/lv2/BYOD.lv2/"
(gdb) print features
$27 = <optimized out>
For unknown reasons I can't step in instantiate method and find out what's wrong
from byod.
If I instantiate ardour's stock compressor I can step in instantiate function. Maybe I need to compile BYOD with some debugging options.
Thread 1 "ArdourGUI" hit Breakpoint 8, lilv_plugin_instantiate (plugin=0x23c53e0, sample_rate=48000, features=<optimized out>) at ../src/instance.c:75
75 result->lv2_descriptor = ld;
(gdb) print ld->URI
$28 = 0x7fffe00080f3 "urn:ardour:a-comp#stereo"
(gdb) step
76 result->lv2_handle = ld->instantiate(
(gdb) step
instantiate (descriptor=0x7fffe0009d80 <descriptor_stereo>, rate=48000, bundle_path=0x4784eb0 "/home/person/Documents/building/ardour/ardour/build/libs/LV2/a-comp.lv2/", features=0x175f300) at ../libs/plugins/a-comp.lv2/a-comp.c:132
132 {
(gdb) next
133 AComp* acomp = (AComp*)calloc(1, sizeof(AComp));
from byod.
Yeah, I would guess that some of the methods in both the plugin and host are being optimized away. If you're able to do a debug build for both that would probably make it a bit easier to step through everything.
That's great news that everything is working in Ardour version 7!
from byod.
With the nightly build I managed to at least use the lv2 version with Ardour 7 (I know, not 6.9).
from byod.
@doojonio try to apply this patch to Ardour 6.9
https://build.opensuse.org/package/view_file/multimedia:proaudio/ardour/LV2-announce-bufz-boundedBlockLength-feature.patch?expand=1
from byod.
Related Issues (20)
- [FEATURE] Selective oversampling HOT 1
- [BUG] Modulation category missing from popup HOT 1
- [FEATURE] controlling synth with guitar HOT 1
- Unable to use BYOD in fx chain after saving a preset in Reaper with Ubuntu 23.04 HOT 3
- [BUG] clap-juce-extension submodule unreachable HOT 3
- [BUG] Fail to build on aarch64 HOT 4
- [BUG] Compilation error in Eigen Memory.h HOT 1
- [FEATURE] offer a clap onl release
- [BUG] Build error: no matching function for call to ResampledRNNAccelerated HOT 1
- [FEATURE] Tube screamer: more diode range HOT 2
- [BUG] Compile error HOT 3
- This is awesome, everything.
- [Feature Request: Vocoder]
- [FEATURE] make the tuner a separate plugin too HOT 2
- [FEATURE] a switch module HOT 3
- [FEATURE] an input / output module. HOT 2
- [FEATURE] RTNeural mod loader in BYOD HOT 5
- [FEATURE] nest categories
- [FEATURE] StudioRack Integration
- [BUG] BYOD hangs/crashes under WINE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from byod.