computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit 2bb50772d9444a3450e954b18f48d73032cab23f
parent 179e838586beff8a8b1752cdd5ed5b33e0565165
Author: Adam M <aemalone@gmail.com>
Date:   Thu, 26 Jul 2018 12:57:57 +0300

add to readme

Diffstat:
MREADME.MD | 26++++++++++++++++++--------
Mbuild/src/ComputerscareDebug.cpp.o | 0
Mbuild/src/ComputerscarePatchSequencer.cpp.o | 0
Msrc/ComputerscareDebug.cpp | 2+-
Msrc/ComputerscarePatchSequencer.cpp | 9+++++++--
5 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/README.MD b/README.MD @@ -1,13 +1,23 @@ -# VCV Template plugin +# computerscare modules -The VCV Template plugin is a starting point for developing your own plugins for VCV Rack. -It implements a simple sine VCO, demonstrating inputs, outputs, parameters, and other concepts. +Modules for VCV Rack. -See https://vcvrack.com/manual/PluginDevelopmentTutorial.html for a development tutorial. +## Father & Son Patch Sequencer -## Contributing +If you've ever wished that the patch cables themselves could be sequenced, this is the module for you. -I welcome Issues and Pull Requests to this repository if you have suggestions for improvement. -This template is released into the public domain ([CC0](https://creativecommons.org/publicdomain/zero/1.0/)). -\ No newline at end of file +Father & Son Patch Sequencer allows for the sequencing of connections. Think of it like a giant sequential switch. + +### Possible applications: + +Triggers: + +Envelopes / CV: + +Audio: + +Inspired by Strum's Patch Matrix and Bidoo's ACnE Mixer. + +## Debug +\ No newline at end of file diff --git a/build/src/ComputerscareDebug.cpp.o b/build/src/ComputerscareDebug.cpp.o Binary files differ. diff --git a/build/src/ComputerscarePatchSequencer.cpp.o b/build/src/ComputerscarePatchSequencer.cpp.o Binary files differ. diff --git a/src/ComputerscareDebug.cpp b/src/ComputerscareDebug.cpp @@ -30,7 +30,7 @@ struct ComputerscareDebug : Module { NUM_LIGHTS }; - std::string strValue = "inoot"; + std::string strValue = ""; float logLines[NUM_LINES] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; diff --git a/src/ComputerscarePatchSequencer.cpp b/src/ComputerscarePatchSequencer.cpp @@ -40,6 +40,9 @@ struct ComputerscarePatchSequencer : Module { int address = 0; int editAddress = 0; + int addressPlusOne = 1; + int editAddressPlusOne = 1; + int numAddresses = 2; bool switch_states[16][10][10] = {{{0,0,0,0,0,0,0,0,0,0}, @@ -334,6 +337,8 @@ void ComputerscarePatchSequencer::step() { address = address + 1; address = address % numAddresses; } + addressPlusOne = address + 1; + editAddressPlusOne = editAddress + 1; for (int i = 0 ; i < 10 ; i++) { @@ -437,7 +442,7 @@ struct ComputerscarePatchSequencerWidget : ModuleWidget { NumberDisplayWidget3 *display = new NumberDisplayWidget3(); display->box.pos = Vec(30,40); display->box.size = Vec(50, 20); - display->value = &module->address; + display->value = &module->addressPlusOne; addChild(display); // number of steps @@ -461,7 +466,7 @@ struct ComputerscarePatchSequencerWidget : ModuleWidget { NumberDisplayWidget3 *displayEdit = new NumberDisplayWidget3(); displayEdit->box.pos = Vec(245,40); displayEdit->box.size = Vec(50, 20); - displayEdit->value = &module->editAddress; + displayEdit->value = &module->editAddressPlusOne; addChild(displayEdit); } };