Git Product home page Git Product logo

Comments (8)

GuitarML avatar GuitarML commented on August 17, 2024 4

That's probably a good idea, I'll add it to the to-do list. In the meantime if anyone wants to do their own LV2 build I'd recommend following this guide (also by jatinchowdhury18):
Building LV2 Plugins with JUCE and CMake

from neuralpi.

mishushakov avatar mishushakov commented on August 17, 2024 3

success!

Screenshot 2021-07-21 at 23 59 42

notice the CPU usage at the bottom (261%)
it stutters when i press "play" in reaper
maybe that's because i'm on a vm?

...and we should should probably mention in the docs, which dependencies are required to build, so you don't have to guess:

apt install cmake build-essential juce-tools

here's the .lv2 for anyone to try (built on latest Ubuntu, amd64): NeuralPi.lv2.zip

from neuralpi.

GuitarML avatar GuitarML commented on August 17, 2024 1

@dromer It works, but the sound gets distorted. Since the ML models learn from audio at a certain samplerate (44.1kHz in this case), that's the samplerate that reproduces the most accurate sound. Ideally we would implement an internal samplerate converter, which is what NeuralDSP does in their plugins, reference

from neuralpi.

dromer avatar dromer commented on August 17, 2024

Btw I'm not sure how this host config for setting the samplerate will work, I don't think this is very typical for plugin hosts to set it like this.

[edit: oh wait, this is ELK configuration. I assume that the plugin works at other samplerates? (48k at least)]

from neuralpi.

mishushakov avatar mishushakov commented on August 17, 2024

my LV2 port report

Screenshot 2021-07-19 at 21 53 13

i assume something went wrong with git submodules
LV2 was CMakeLists.txt under FORMATS, but JUCE ignored that

what i did:

remove modules/DISTRHO-JUCE submodule, else it's not going to compile

- [submodule "modules/DISTRHO-JUCE"]
- 	path = modules/DISTRHO-JUCE
- 	url = https://github.com/Chowdhury-DSP/DISTRHO-JUCE.git

and from modules/CMakeLists.txt

- if(UNIX AND NOT APPLE)
-    add_subdirectory(DISTRHO-JUCE)
- else()
-    add_subdirectory(JUCE)
- endif()
+ add_subdirectory(JUCE)

replace JUCE distro submodule in .gitmodules with lv2 port

[submodule "modules/JUCE"]
	path = modules/JUCE
-       url = https://github.com/juce-framework/JUCE.git
+       url = https://github.com/lv2-porting-project/JUCE
+       branch = lv2

from neuralpi.

jatinchowdhury18 avatar jatinchowdhury18 commented on August 17, 2024

I was able to get LV2 builds working on this branch. Strange, it seems like I used the exact same approach as @mishushakov. Anyway, if you want to try it out:

$ git checkout lv2
$ git submodule sync
$ git submodule update --init --recursive
$ cmake -Bbuild
$ cmake --build NeuralPi_LV2 --parallel

from neuralpi.

GuitarML avatar GuitarML commented on August 17, 2024

Great work all, thanks!

from neuralpi.

mishushakov avatar mishushakov commented on August 17, 2024

the usage was probably that high, because i didn't build in Release mode

from neuralpi.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.