Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use a synth as lv2 instrument #1015

Open
rubberplayer opened this issue May 5, 2024 · 2 comments
Open

Cannot use a synth as lv2 instrument #1015

rubberplayer opened this issue May 5, 2024 · 2 comments

Comments

@rubberplayer
Copy link

rubberplayer commented May 5, 2024

  1. I wrote a simple synth using faust.

faust2jack mysynth does compile a nice gtk2 app: midi input works, sound output works.

  1. Now if I want to use my synth as a lv2 instrument (here in Ardour)

faust2lv2 mysynth produces as expected

mysynth.so
mysynth.ttl
manifest.tll
  1. Once installed (in my case, on debian 12.5, copied to /usr/lib/lv2)
  • the plugin is listed by lv2ls
  • the plugin is listed in ardour effects, but not as an instrument.
  1. If I modify the lines in mysynth.ttl
<https://faustlv2.bitbucket.io/grosynth>
       a lv2:Plugin ;

to

<https://faustlv2.bitbucket.io/grosynth>
       a lv2:InstrumentPlugin ;

Now Ardour sees it as a LV2 instrument, but no sound is output (all other lv2 instruments work correctly in the same Ardour instance).

Reading the faust2lv2 script, I do not see any related command switch. I see some mentions of "(For instruments, the lv2:InstrumentPlugin type will be added automatically)" but it's obviously not the case.

Am I missing something, or is this a limitation or bug of the lv2 production in faust ?

Thanks !


version : faust-master (2024.05.05) compiled from git on debian 12.5

@sletz
Copy link
Member

sletz commented May 9, 2024

Hoping @agraef who wrote the faust2lv2 tool can help here.

@josmithiii
Copy link
Collaborator

In the meantime, JUCE added lv2 support in JUCE 7, fyi, so faust2juce might be worth a try, even if just for analyzing the different outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants