https://github.com/fps/fixed-ir.lv2
A lv2 plugin template with associated build files to create an LV2 convolution plugin that ships with a fixed set of IRs.
https://github.com/fps/fixed-ir.lv2
Last synced: 3 days ago
JSON representation
A lv2 plugin template with associated build files to create an LV2 convolution plugin that ships with a fixed set of IRs.
- Host: GitHub
- URL: https://github.com/fps/fixed-ir.lv2
- Owner: fps
- License: gpl-2.0
- Created: 2024-02-26T11:52:22.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T11:55:44.000Z (almost 2 years ago)
- Last Synced: 2024-03-26T11:01:58.216Z (almost 2 years ago)
- Language: C++
- Size: 57.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fixed-ir.lv2
A lv2 plugin template with associated build files to create an LV2 convolution plugin that ships with a fixed set of IRs. This is limited to mono files at the moment, since the author only needs it to ship cab IRs in a plugin host that doesn't support loading responses from files yet.
Note: The generated plugin potentially crackles upon switching IRs since I chose the simplest way to implement this.
Note: The generated plugin uses the uniform size partitioned convolution algorithm implemented in fftconvolver::FFTConvolver (see the code in `vendored`).
# Requirements
* g++, gnu make, lv2, libsndfile, libsamplerate, lilv
# Generating plugin source
First we need to compile the helper program that converts a .wav file to a C-source:
```
make
```
Then to create plugin source code from a number of wavefiles run
```
./fixed-ir-wavs2plugin.sh [name] [IR1] [IR2] .... [IRN]
```
The plugin source will be created in the directory `fixed-ir-[name]` where `[name]` ist the previously chosen name. There is another helper script that simplifies assembling wavs from a top level directory:
```
./fixed-ir-dir2plugin.sh [name] [directory]
```
It calls `fixed-ir-wavs2plugin` with all `.wav` files it finds under `[directory]`.
# Building the plugin
run
```
make -C fixed-ir-[name]
```
where `[name]` is the name you have chosen in the previous step.