Comments (8)
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.
success!
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.
@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.
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.
my LV2 port report
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.
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.
Great work all, thanks!
from neuralpi.
the usage was probably that high, because i didn't build in Release
mode
from neuralpi.
Related Issues (16)
- Cab emulation HOT 3
- JUCE built-in submodule version doesn't allow headless build, Elk OS SDK does but it's a fork from a different version HOT 2
- file extension error in Mac update script HOT 2
- Run individual NeuralPi plugins on each input/output channel HOT 4
- Garbled output when run standalone HOT 2
- Performance on Pi3?
- Convert json to the correct format HOT 1
- Update FileChooser to use latest JUCE standards HOT 1
- Syncing models between Raspberry Pi and external device HOT 10
- Feature Request (VST version): volume normalisation for IR files
- Segmentation Fault in mod-host. Not listed in guitarix. Ubuntu 22.04 HOT 8
- Questing regarding bitdepth/sample rate HOT 3
- Looking for high quality time-based effects to add HOT 12
- Use model from SmartAmpPro HOT 3
- sample rate converter HOT 10
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 neuralpi.