From 0c6c67fed5c0d6db3e76f3a682938bf9003433c3 Mon Sep 17 00:00:00 2001 From: Martin Zuther Date: Sun, 18 Aug 2019 19:02:15 +0200 Subject: [PATCH] v1.0.0: renamed module to "ProtoFaust" --- Makefile | 2 +- autogen.py | 6 +- plugin.json | 24 +-- res/{Prototype.svg => ProtoFaust.svg} | 6 +- src/{Prototype.cpp => ProtoFaust.cpp} | 200 +++++++++++------------ src/faust/{prototype_gui.dsp => gui.dsp} | 8 +- src/faust/main.dsp | 8 +- src/faust/rack.dsp | 6 +- src/plugin.cpp | 8 +- src/plugin.hpp | 8 +- 10 files changed, 139 insertions(+), 137 deletions(-) rename res/{Prototype.svg => ProtoFaust.svg} (99%) rename src/{Prototype.cpp => ProtoFaust.cpp} (67%) rename src/faust/{prototype_gui.dsp => gui.dsp} (97%) diff --git a/Makefile b/Makefile index 729ff46..2f0a8c6 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ src/faust/main-svg/process.svg: src/faust_generated.cpp: $(wildcard src/faust/*.dsp) src/faust/architecture_rack.cpp @echo "Compiling Faust files..." - faust -a src/faust/architecture_rack.cpp -o src/faust_generated.cpp -os -cn PrototypeDSP src/faust/main.dsp + faust -a src/faust/architecture_rack.cpp -o src/faust_generated.cpp -os -cn FaustDSP src/faust/main.dsp @echo diff --git a/autogen.py b/autogen.py index ee3de13..24d325e 100755 --- a/autogen.py +++ b/autogen.py @@ -1,8 +1,8 @@ #!/usr/bin/python3 -"""Prototype - ========= - Faust prototyping for VCV Rack +"""ProtoFaust + ========== + DSP prototyping in Faust for VCV Rack Copyright (c) 2019 Martin Zuther (http://www.mzuther.de/) diff --git a/plugin.json b/plugin.json index bbc368a..82a9c94 100644 --- a/plugin.json +++ b/plugin.json @@ -1,22 +1,24 @@ { - "slug": "Prototype", + "slug": "MartinZuther-Prototype", "name": "Prototype", "version": "1.0.0", - "license": "proprietary", + "license": "GPL-3.0-or-later", "brand": "", - "author": "Prototype", + "author": "Martin Zuther", "authorEmail": "", - "authorUrl": "", - "pluginUrl": "", - "manualUrl": "", - "sourceUrl": "", + "authorUrl": "http://code.mzuther.de/", + "pluginUrl": "https://github.com/mzuther/ProtoFaust", + "manualUrl": "https://github.com/mzuther/ProtoFaust", + "sourceUrl": "https://github.com/mzuther/ProtoFaust", "donateUrl": "", "modules": [ { - "slug": "Prototype", - "name": "Prototype", - "description": "Simple sine oscillator", - "tags": [] + "slug": "ProtoFaust", + "name": "ProtoFaust", + "description": "DSP prototyping in Faust for VCV Rack", + "tags": [ + "Prototype", + "Utility"] } ] } diff --git a/res/Prototype.svg b/res/ProtoFaust.svg similarity index 99% rename from res/Prototype.svg rename to res/ProtoFaust.svg index 99adcb1..7d36b69 100644 --- a/res/Prototype.svg +++ b/res/ProtoFaust.svg @@ -15,9 +15,9 @@ version="1.1" id="svg8" inkscape:version="0.92.3 (2405546, 2018-03-11)" - sodipodi:docname="Prototype.svg"> + sodipodi:docname="ProtoFaust.svg"> VCV Prototype + id="title2474">ProtoFaust image/svg+xml - VCV Prototype + ProtoFaust Martin Zuther diff --git a/src/Prototype.cpp b/src/ProtoFaust.cpp similarity index 67% rename from src/Prototype.cpp rename to src/ProtoFaust.cpp index 459c8c4..9ae7bd1 100644 --- a/src/Prototype.cpp +++ b/src/ProtoFaust.cpp @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - Prototype - ========= - Faust prototyping for VCV Rack + ProtoFaust + ========== + DSP prototyping in Faust for VCV Rack Copyright (c) 2019 Martin Zuther (http://www.mzuther.de/) @@ -31,7 +31,7 @@ namespace faust { } -struct Prototype : Module { +struct ProtoFaust : Module { enum ParamIds { BUTTON_1_PARAM, BUTTON_2_PARAM, @@ -117,7 +117,7 @@ struct Prototype : Module { }; - faust::PrototypeDSP FaustDSP; + faust::FaustDSP FaustDSP; faust::APIUI FaustUI; // variables for storing GUI IDs @@ -174,11 +174,11 @@ struct Prototype : Module { const int numberOfChannels = 8; const FAUSTFLOAT voltageScaling = 5.0f; - Prototype() { + ProtoFaust() { config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); // three-way switches - // values: 0.0, 0.5, 1.0; see Prototype::process() + // values: 0.0, 0.5, 1.0; see ProtoFaust::process() // default: 0.0 (off) configParam(BUTTON_1_PARAM, 0.0f, 2.0f, 0.0f, ""); configParam(BUTTON_2_PARAM, 0.0f, 2.0f, 0.0f, ""); @@ -216,55 +216,55 @@ struct Prototype : Module { FaustDSP.buildUserInterface(&FaustUI); // store GUI IDs to save time during processing - paramButton_1 = FaustUI.getParamIndex("/Prototype/Buttons/1"); - paramButton_2 = FaustUI.getParamIndex("/Prototype/Buttons/2"); - paramButton_3 = FaustUI.getParamIndex("/Prototype/Buttons/3"); - paramButton_4 = FaustUI.getParamIndex("/Prototype/Buttons/4"); - paramButton_5 = FaustUI.getParamIndex("/Prototype/Buttons/5"); - paramButton_6 = FaustUI.getParamIndex("/Prototype/Buttons/6"); - paramButton_7 = FaustUI.getParamIndex("/Prototype/Buttons/7"); - paramButton_8 = FaustUI.getParamIndex("/Prototype/Buttons/8"); - - paramKnob_1 = FaustUI.getParamIndex("/Prototype/Knobs/1"); - paramKnob_2 = FaustUI.getParamIndex("/Prototype/Knobs/2"); - paramKnob_3 = FaustUI.getParamIndex("/Prototype/Knobs/3"); - paramKnob_4 = FaustUI.getParamIndex("/Prototype/Knobs/4"); - paramKnob_5 = FaustUI.getParamIndex("/Prototype/Knobs/5"); - paramKnob_6 = FaustUI.getParamIndex("/Prototype/Knobs/6"); - paramKnob_7 = FaustUI.getParamIndex("/Prototype/Knobs/7"); - paramKnob_8 = FaustUI.getParamIndex("/Prototype/Knobs/8"); - - paramLight_1_r = FaustUI.getParamIndex("/Prototype/Lights/1_R"); - paramLight_1_g = FaustUI.getParamIndex("/Prototype/Lights/1_G"); - paramLight_1_b = FaustUI.getParamIndex("/Prototype/Lights/1_B"); - - paramLight_2_r = FaustUI.getParamIndex("/Prototype/Lights/2_R"); - paramLight_2_g = FaustUI.getParamIndex("/Prototype/Lights/2_G"); - paramLight_2_b = FaustUI.getParamIndex("/Prototype/Lights/2_B"); - - paramLight_3_r = FaustUI.getParamIndex("/Prototype/Lights/3_R"); - paramLight_3_g = FaustUI.getParamIndex("/Prototype/Lights/3_G"); - paramLight_3_b = FaustUI.getParamIndex("/Prototype/Lights/3_B"); - - paramLight_4_r = FaustUI.getParamIndex("/Prototype/Lights/4_R"); - paramLight_4_g = FaustUI.getParamIndex("/Prototype/Lights/4_G"); - paramLight_4_b = FaustUI.getParamIndex("/Prototype/Lights/4_B"); - - paramLight_5_r = FaustUI.getParamIndex("/Prototype/Lights/5_R"); - paramLight_5_g = FaustUI.getParamIndex("/Prototype/Lights/5_G"); - paramLight_5_b = FaustUI.getParamIndex("/Prototype/Lights/5_B"); - - paramLight_6_r = FaustUI.getParamIndex("/Prototype/Lights/6_R"); - paramLight_6_g = FaustUI.getParamIndex("/Prototype/Lights/6_G"); - paramLight_6_b = FaustUI.getParamIndex("/Prototype/Lights/6_B"); - - paramLight_7_r = FaustUI.getParamIndex("/Prototype/Lights/7_R"); - paramLight_7_g = FaustUI.getParamIndex("/Prototype/Lights/7_G"); - paramLight_7_b = FaustUI.getParamIndex("/Prototype/Lights/7_B"); - - paramLight_8_r = FaustUI.getParamIndex("/Prototype/Lights/8_R"); - paramLight_8_g = FaustUI.getParamIndex("/Prototype/Lights/8_G"); - paramLight_8_b = FaustUI.getParamIndex("/Prototype/Lights/8_B"); + paramButton_1 = FaustUI.getParamIndex("/ProtoFaust/Buttons/1"); + paramButton_2 = FaustUI.getParamIndex("/ProtoFaust/Buttons/2"); + paramButton_3 = FaustUI.getParamIndex("/ProtoFaust/Buttons/3"); + paramButton_4 = FaustUI.getParamIndex("/ProtoFaust/Buttons/4"); + paramButton_5 = FaustUI.getParamIndex("/ProtoFaust/Buttons/5"); + paramButton_6 = FaustUI.getParamIndex("/ProtoFaust/Buttons/6"); + paramButton_7 = FaustUI.getParamIndex("/ProtoFaust/Buttons/7"); + paramButton_8 = FaustUI.getParamIndex("/ProtoFaust/Buttons/8"); + + paramKnob_1 = FaustUI.getParamIndex("/ProtoFaust/Knobs/1"); + paramKnob_2 = FaustUI.getParamIndex("/ProtoFaust/Knobs/2"); + paramKnob_3 = FaustUI.getParamIndex("/ProtoFaust/Knobs/3"); + paramKnob_4 = FaustUI.getParamIndex("/ProtoFaust/Knobs/4"); + paramKnob_5 = FaustUI.getParamIndex("/ProtoFaust/Knobs/5"); + paramKnob_6 = FaustUI.getParamIndex("/ProtoFaust/Knobs/6"); + paramKnob_7 = FaustUI.getParamIndex("/ProtoFaust/Knobs/7"); + paramKnob_8 = FaustUI.getParamIndex("/ProtoFaust/Knobs/8"); + + paramLight_1_r = FaustUI.getParamIndex("/ProtoFaust/Lights/1_R"); + paramLight_1_g = FaustUI.getParamIndex("/ProtoFaust/Lights/1_G"); + paramLight_1_b = FaustUI.getParamIndex("/ProtoFaust/Lights/1_B"); + + paramLight_2_r = FaustUI.getParamIndex("/ProtoFaust/Lights/2_R"); + paramLight_2_g = FaustUI.getParamIndex("/ProtoFaust/Lights/2_G"); + paramLight_2_b = FaustUI.getParamIndex("/ProtoFaust/Lights/2_B"); + + paramLight_3_r = FaustUI.getParamIndex("/ProtoFaust/Lights/3_R"); + paramLight_3_g = FaustUI.getParamIndex("/ProtoFaust/Lights/3_G"); + paramLight_3_b = FaustUI.getParamIndex("/ProtoFaust/Lights/3_B"); + + paramLight_4_r = FaustUI.getParamIndex("/ProtoFaust/Lights/4_R"); + paramLight_4_g = FaustUI.getParamIndex("/ProtoFaust/Lights/4_G"); + paramLight_4_b = FaustUI.getParamIndex("/ProtoFaust/Lights/4_B"); + + paramLight_5_r = FaustUI.getParamIndex("/ProtoFaust/Lights/5_R"); + paramLight_5_g = FaustUI.getParamIndex("/ProtoFaust/Lights/5_G"); + paramLight_5_b = FaustUI.getParamIndex("/ProtoFaust/Lights/5_B"); + + paramLight_6_r = FaustUI.getParamIndex("/ProtoFaust/Lights/6_R"); + paramLight_6_g = FaustUI.getParamIndex("/ProtoFaust/Lights/6_G"); + paramLight_6_b = FaustUI.getParamIndex("/ProtoFaust/Lights/6_B"); + + paramLight_7_r = FaustUI.getParamIndex("/ProtoFaust/Lights/7_R"); + paramLight_7_g = FaustUI.getParamIndex("/ProtoFaust/Lights/7_G"); + paramLight_7_b = FaustUI.getParamIndex("/ProtoFaust/Lights/7_B"); + + paramLight_8_r = FaustUI.getParamIndex("/ProtoFaust/Lights/8_R"); + paramLight_8_g = FaustUI.getParamIndex("/ProtoFaust/Lights/8_G"); + paramLight_8_b = FaustUI.getParamIndex("/ProtoFaust/Lights/8_B"); // initialize sample rate in Faust int sampleRate = APP->engine->getSampleRate(); @@ -404,11 +404,11 @@ struct Prototype : Module { }; -struct PrototypeWidget : ModuleWidget { - PrototypeWidget(Prototype *module) { +struct ProtoFaustWidget : ModuleWidget { + ProtoFaustWidget(ProtoFaust *module) { setModule(module); setPanel(APP->window->loadSvg( - asset::plugin(pluginInstance, "res/Prototype.svg"))); + asset::plugin(pluginInstance, "res/ProtoFaust.svg"))); // screws addChild(createWidget( @@ -422,94 +422,94 @@ struct PrototypeWidget : ModuleWidget { // buttons & switches addParam(createParamCentered( - mm2px(Vec(31.75, 21.82)), module, Prototype::BUTTON_1_PARAM)); + mm2px(Vec(31.75, 21.82)), module, ProtoFaust::BUTTON_1_PARAM)); addParam(createParamCentered( - mm2px(Vec(31.75, 34.52)), module, Prototype::BUTTON_2_PARAM)); + mm2px(Vec(31.75, 34.52)), module, ProtoFaust::BUTTON_2_PARAM)); addParam(createParamCentered( - mm2px(Vec(31.75, 49.76)), module, Prototype::BUTTON_3_PARAM)); + mm2px(Vec(31.75, 49.76)), module, ProtoFaust::BUTTON_3_PARAM)); addParam(createParamCentered( - mm2px(Vec(31.75, 62.46)), module, Prototype::BUTTON_4_PARAM)); + mm2px(Vec(31.75, 62.46)), module, ProtoFaust::BUTTON_4_PARAM)); addParam(createParamCentered( - mm2px(Vec(31.75, 77.7)), module, Prototype::BUTTON_5_PARAM)); + mm2px(Vec(31.75, 77.7)), module, ProtoFaust::BUTTON_5_PARAM)); addParam(createParamCentered( - mm2px(Vec(31.75, 90.4)), module, Prototype::BUTTON_6_PARAM)); + mm2px(Vec(31.75, 90.4)), module, ProtoFaust::BUTTON_6_PARAM)); addParam(createParamCentered( - mm2px(Vec(31.75, 105.64)), module, Prototype::BUTTON_7_PARAM)); + mm2px(Vec(31.75, 105.64)), module, ProtoFaust::BUTTON_7_PARAM)); addParam(createParamCentered( - mm2px(Vec(31.75, 118.34)), module, Prototype::BUTTON_8_PARAM)); + mm2px(Vec(31.75, 118.34)), module, ProtoFaust::BUTTON_8_PARAM)); // big knobs addParam(createParamCentered( - mm2px(Vec(53.34, 28.17)), module, Prototype::KNOB_1_PARAM)); + mm2px(Vec(53.34, 28.17)), module, ProtoFaust::KNOB_1_PARAM)); addParam(createParamCentered( - mm2px(Vec(78.74, 28.17)), module, Prototype::KNOB_2_PARAM)); + mm2px(Vec(78.74, 28.17)), module, ProtoFaust::KNOB_2_PARAM)); addParam(createParamCentered( - mm2px(Vec(53.34, 56.11)), module, Prototype::KNOB_3_PARAM)); + mm2px(Vec(53.34, 56.11)), module, ProtoFaust::KNOB_3_PARAM)); addParam(createParamCentered( - mm2px(Vec(78.74, 56.11)), module, Prototype::KNOB_4_PARAM)); + mm2px(Vec(78.74, 56.11)), module, ProtoFaust::KNOB_4_PARAM)); addParam(createParamCentered( - mm2px(Vec(53.34, 84.05)), module, Prototype::KNOB_5_PARAM)); + mm2px(Vec(53.34, 84.05)), module, ProtoFaust::KNOB_5_PARAM)); addParam(createParamCentered( - mm2px(Vec(78.74, 84.05)), module, Prototype::KNOB_6_PARAM)); + mm2px(Vec(78.74, 84.05)), module, ProtoFaust::KNOB_6_PARAM)); addParam(createParamCentered( - mm2px(Vec(53.34, 111.99)), module, Prototype::KNOB_7_PARAM)); + mm2px(Vec(53.34, 111.99)), module, ProtoFaust::KNOB_7_PARAM)); addParam(createParamCentered( - mm2px(Vec(78.74, 111.99)), module, Prototype::KNOB_8_PARAM)); + mm2px(Vec(78.74, 111.99)), module, ProtoFaust::KNOB_8_PARAM)); // input ports addInput(createInputCentered( - mm2px(Vec(17.78, 21.82)), module, Prototype::IN_1_INPUT)); + mm2px(Vec(17.78, 21.82)), module, ProtoFaust::IN_1_INPUT)); addInput(createInputCentered( - mm2px(Vec(17.78, 34.52)), module, Prototype::IN_2_INPUT)); + mm2px(Vec(17.78, 34.52)), module, ProtoFaust::IN_2_INPUT)); addInput(createInputCentered( - mm2px(Vec(17.78, 49.76)), module, Prototype::IN_3_INPUT)); + mm2px(Vec(17.78, 49.76)), module, ProtoFaust::IN_3_INPUT)); addInput(createInputCentered( - mm2px(Vec(17.78, 62.46)), module, Prototype::IN_4_INPUT)); + mm2px(Vec(17.78, 62.46)), module, ProtoFaust::IN_4_INPUT)); addInput(createInputCentered( - mm2px(Vec(17.78, 77.7)), module, Prototype::IN_5_INPUT)); + mm2px(Vec(17.78, 77.7)), module, ProtoFaust::IN_5_INPUT)); addInput(createInputCentered( - mm2px(Vec(17.78, 90.4)), module, Prototype::IN_6_INPUT)); + mm2px(Vec(17.78, 90.4)), module, ProtoFaust::IN_6_INPUT)); addInput(createInputCentered( - mm2px(Vec(17.78, 105.64)), module, Prototype::IN_7_INPUT)); + mm2px(Vec(17.78, 105.64)), module, ProtoFaust::IN_7_INPUT)); addInput(createInputCentered( - mm2px(Vec(17.78, 118.34)), module, Prototype::IN_8_INPUT)); + mm2px(Vec(17.78, 118.34)), module, ProtoFaust::IN_8_INPUT)); // output ports addOutput(createOutputCentered( - mm2px(Vec(114.3, 21.82)), module, Prototype::OUT_1_OUTPUT)); + mm2px(Vec(114.3, 21.82)), module, ProtoFaust::OUT_1_OUTPUT)); addOutput(createOutputCentered( - mm2px(Vec(114.3, 34.52)), module, Prototype::OUT_2_OUTPUT)); + mm2px(Vec(114.3, 34.52)), module, ProtoFaust::OUT_2_OUTPUT)); addOutput(createOutputCentered( - mm2px(Vec(114.3, 49.76)), module, Prototype::OUT_3_OUTPUT)); + mm2px(Vec(114.3, 49.76)), module, ProtoFaust::OUT_3_OUTPUT)); addOutput(createOutputCentered( - mm2px(Vec(114.3, 62.46)), module, Prototype::OUT_4_OUTPUT)); + mm2px(Vec(114.3, 62.46)), module, ProtoFaust::OUT_4_OUTPUT)); addOutput(createOutputCentered( - mm2px(Vec(114.3, 77.7)), module, Prototype::OUT_5_OUTPUT)); + mm2px(Vec(114.3, 77.7)), module, ProtoFaust::OUT_5_OUTPUT)); addOutput(createOutputCentered( - mm2px(Vec(114.3, 90.4)), module, Prototype::OUT_6_OUTPUT)); + mm2px(Vec(114.3, 90.4)), module, ProtoFaust::OUT_6_OUTPUT)); addOutput(createOutputCentered( - mm2px(Vec(114.3, 105.64)), module, Prototype::OUT_7_OUTPUT)); + mm2px(Vec(114.3, 105.64)), module, ProtoFaust::OUT_7_OUTPUT)); addOutput(createOutputCentered( - mm2px(Vec(114.3, 118.34)), module, Prototype::OUT_8_OUTPUT)); + mm2px(Vec(114.3, 118.34)), module, ProtoFaust::OUT_8_OUTPUT)); addChild(createLightCentered>( - mm2px(Vec(99.06, 21.82)), module, Prototype::LED_1_LIGHT_R)); + mm2px(Vec(99.06, 21.82)), module, ProtoFaust::LED_1_LIGHT_R)); addChild(createLightCentered>( - mm2px(Vec(99.06, 34.52)), module, Prototype::LED_2_LIGHT_R)); + mm2px(Vec(99.06, 34.52)), module, ProtoFaust::LED_2_LIGHT_R)); addChild(createLightCentered>( - mm2px(Vec(99.06, 49.76)), module, Prototype::LED_3_LIGHT_R)); + mm2px(Vec(99.06, 49.76)), module, ProtoFaust::LED_3_LIGHT_R)); addChild(createLightCentered>( - mm2px(Vec(99.06, 62.46)), module, Prototype::LED_4_LIGHT_R)); + mm2px(Vec(99.06, 62.46)), module, ProtoFaust::LED_4_LIGHT_R)); addChild(createLightCentered>( - mm2px(Vec(99.06, 77.7)), module, Prototype::LED_5_LIGHT_R)); + mm2px(Vec(99.06, 77.7)), module, ProtoFaust::LED_5_LIGHT_R)); addChild(createLightCentered>( - mm2px(Vec(99.06, 90.4)), module, Prototype::LED_6_LIGHT_R)); + mm2px(Vec(99.06, 90.4)), module, ProtoFaust::LED_6_LIGHT_R)); addChild(createLightCentered>( - mm2px(Vec(99.06, 105.64)), module, Prototype::LED_7_LIGHT_R)); + mm2px(Vec(99.06, 105.64)), module, ProtoFaust::LED_7_LIGHT_R)); addChild(createLightCentered>( - mm2px(Vec(99.06, 118.34)), module, Prototype::LED_8_LIGHT_R)); + mm2px(Vec(99.06, 118.34)), module, ProtoFaust::LED_8_LIGHT_R)); } }; -Model *modelPrototype = createModel("Prototype"); +Model *modelProtoFaust = createModel("ProtoFaust"); diff --git a/src/faust/prototype_gui.dsp b/src/faust/gui.dsp similarity index 97% rename from src/faust/prototype_gui.dsp rename to src/faust/gui.dsp index 9c39d74..e4064a5 100644 --- a/src/faust/prototype_gui.dsp +++ b/src/faust/gui.dsp @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - Prototype - ========= - Faust prototyping for VCV Rack + ProtoFaust + ========== + DSP prototyping in Faust for VCV Rack Copyright (c) 2019 Martin Zuther (http://www.mzuther.de/) @@ -26,7 +26,7 @@ import("stdfaust.lib"); -main_group(x) = vgroup("Prototype", x); +main_group(x) = vgroup("ProtoFaust", x); button_group(x) = main_group(hgroup("[2] Buttons", x)); diff --git a/src/faust/main.dsp b/src/faust/main.dsp index 3c62ad9..0509883 100644 --- a/src/faust/main.dsp +++ b/src/faust/main.dsp @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - Prototype - ========= - Faust prototyping for VCV Rack + ProtoFaust + ========== + DSP prototyping in Faust for VCV Rack Copyright (c) 2019 Martin Zuther (http://www.mzuther.de/) @@ -25,7 +25,7 @@ import("stdfaust.lib"); -import("prototype_gui.dsp"); +import("gui.dsp"); rack = component("rack.dsp"); diff --git a/src/faust/rack.dsp b/src/faust/rack.dsp index 61fd7aa..bbfb773 100644 --- a/src/faust/rack.dsp +++ b/src/faust/rack.dsp @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - Prototype - ========= - Faust prototyping for VCV Rack + ProtoFaust + ========== + DSP prototyping in Faust for VCV Rack Copyright (c) 2019 Martin Zuther (http://www.mzuther.de/) diff --git a/src/plugin.cpp b/src/plugin.cpp index 558b199..5e429a3 100644 --- a/src/plugin.cpp +++ b/src/plugin.cpp @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - Prototype - ========= - Faust prototyping for VCV Rack + ProtoFaust + ========== + DSP prototyping in Faust for VCV Rack Copyright (c) 2019 Martin Zuther (http://www.mzuther.de/) @@ -34,7 +34,7 @@ void init(Plugin *p) { pluginInstance = p; // Add modules here - p->addModel(modelPrototype); + p->addModel(modelProtoFaust); // Any other plugin initialization may go here. // As an alternative, consider lazy-loading assets and lookup tables when your module is created to reduce startup times of Rack. diff --git a/src/plugin.hpp b/src/plugin.hpp index 9870dce..773abdb 100644 --- a/src/plugin.hpp +++ b/src/plugin.hpp @@ -1,8 +1,8 @@ /* ---------------------------------------------------------------------------- - Prototype - ========= - Faust prototyping for VCV Rack + ProtoFaust + ========== + DSP prototyping in Faust for VCV Rack Copyright (c) 2019 Martin Zuther (http://www.mzuther.de/) @@ -33,4 +33,4 @@ using namespace rack; extern Plugin *pluginInstance; // Declare each Model, defined in each module source file -extern Model *modelPrototype; +extern Model *modelProtoFaust;