forked from Wasted-Audio/hvcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dpf project makefile; doc improvements; bela result-key; fabric hash;…
… py10-dev (Wasted-Audio#29) * dpf project makefile; doc improvements; bela result-key; fabric hash; py10 * docs reshuffle; dpf project makefile; deprecate uploader * use meaningful parameters in dpf; docs cleanup * update changelog * docs * midi
- Loading branch information
Showing
34 changed files
with
414 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Daisy | ||
|
||
Currently daisy platform is supported for: | ||
|
||
* `seed` | ||
* `pod` | ||
* `petal` | ||
* `patch` | ||
|
||
Which can be configured using the `-m` metadata.json `daisy.board` setting: | ||
|
||
```json | ||
{ | ||
"daisy": { | ||
"board": "seed" | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# DPF | ||
|
||
Heavy can generate LV2 and VST2 plugins from your patch using the [Distrho Plugin Framework](https://github.com/DISTRHO/DPF). It can be either a synth (output-only) or an effect (input and output), supports an arbitrary number of parameters, and can process midi events. | ||
|
||
## Defining Parameters | ||
Each [exposed parameter](02.getting_started.md#exposing-parameters) will automatically generate a slider in the plugin interface. | ||
|
||
## MIDI Control | ||
In order to receive MIDI note on and off events, as well as control change messages, the `[notein]` and `[ctlin]` objects should be used, respectively. | ||
|
||
![notein](img/docs_notein.png) | ||
|
||
## Parameter Types | ||
In DPF a parameter can get an optional type configured. The default type is `float`. Other assignable types are `bool` - for toggling a value - and `trig` - for momentary signals. | ||
|
||
![dpf](img/docs_param_type.png) | ||
|
||
The following dpf jinja templating: | ||
|
||
```jinja | ||
parameter.hints = kParameterIsAutomable | ||
{% if v.attributes.type == 'bool': %} | ||
| kParameterIsBoolean | ||
{% elif v.attributes.type == 'trig': %} | ||
| kParameterIsTrigger | ||
{% endif %}; | ||
``` | ||
|
||
Generates the subsequent plugin code: | ||
|
||
```c++ | ||
parameter.hints = kParameterIsAutomable | kParameterIsBoolean; | ||
// or | ||
parameter.hints = kParameterIsAutomable | kParameterIsTrigger; | ||
``` | ||
|
||
## Metadata | ||
|
||
An accomponying metadata.json file can be included to set additional plugin settings. | ||
|
||
The `project` flag creates a `README.md` and `Makefile` in the root of the project output, but may conflict with other generators. | ||
|
||
Each of these are optional and have either a default value or are entirely optional (description and homepage). Midi i/o ports are on by default, but can be set to `0` and they will be disabled - currently `midi_input` always has to be on!. | ||
|
||
|
||
```json | ||
{ | ||
"dpf": { | ||
"project": true, | ||
"description": "super simple test patch", | ||
"maker": "nobody", | ||
"homepage": "https://wasted.audio/plugin/dpf_example", | ||
"plugin_uri": "lv2://wasted.audio/lv2/dpf_example", | ||
"version": "6, 6, 6", | ||
"license": "WTFPL", | ||
"midi_input": 1, | ||
"midi_output": 0, | ||
"plugin_formats": [ | ||
"lv2_dsp", | ||
"vst", | ||
"jack" | ||
] | ||
} | ||
} | ||
``` | ||
|
||
## Notes | ||
* The `[notein]` object is the only supported means of receiving MIDI note events (i.e. Note On and Note Off). Arguments to the object (e.g. to specify the channel number) will be ignored. | ||
* The `[ctlin]` object is the only supported means of receiving MIDI control change events. Arguments to the object (e.g. to filter which CC event is delivered) will be ignored. | ||
* If you are compiling from source, make sure to read the included `README.md` file in the root directory. |
0
docs/04.fabric.md → docs/03.gen.fabric.md
100755 → 100644
File renamed without changes.
0
docs/07.javascript.md → docs/03.gen.javascript.md
100755 → 100644
File renamed without changes.
0
docs/06.wwise.md → docs/03.gen.md
100755 → 100644
File renamed without changes.
0
docs/05.unity.md → docs/03.gen.unity.md
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Generators | ||
|
||
HVCC supports a number of dedicated generators that can help to wrap the heavy c/cpp output into a pluggable format: | ||
|
||
* `Bela` | ||
* [Daisy](03.gen.daisy.md) | ||
* [DPF](03.gen.dpf.md) | ||
* [Fabric](03.gen.fabric.md) | ||
* [Javascript](03.gen.javascript.md) | ||
* `Pdext` | ||
* [Wwise](03.gen.wwise.md) | ||
* [Unity](03.gen.unity.md) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.