computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit e480a573d18b1a718a99028cebac6be84b5f3353
parent 19e539f824e51ba973d7ac567d7f18cfc211ab7f
Author: Adam M <aemalone@gmail.com>
Date:   Tue, 12 Feb 2019 11:14:06 -0600

Merge branch 'master' of https://github.com/freddyz/computerscare-vcv-modules into iso

Diffstat:
MMakefile | 2+-
MREADME.MD | 44++++++++++++++++++++++++++++++++++++++++++++
Mdoc/all-computerscare-modules.png | 0
Adoc/ohpeas-basic-1.png | 0
Msrc/ComputerscareOhPeas.cpp | 7++++---
5 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -7,7 +7,7 @@ SLUG = computerscare # Must follow the format in the Versioning section of # https://vcvrack.com/manual/PluginDevelopmentTutorial.html -VERSION = 0.6.5 +VERSION = 0.6.6 # FLAGS will be passed to both the C and C++ compiler FLAGS += diff --git a/README.MD b/README.MD @@ -15,6 +15,22 @@ YLX LY5 2X5 Y2L 2LY X25 YLX YLL 2LY X22 25L 52L YXY X5Y 55Y 225 5YX XLX 5YX 25X LY5 L2Y L5X 55L ~~~~ + +# Oh Peas! Quad Quantenuverter +4-Channel attenuverter, offsetter, quantizer + +~~~~ +ЧxЧ-ፌፌ-- Ч x䒜-᳹淧ፌ- - -淧xx- + ፌ᳹ 䒜ፌ x-䒜ፌፌ ᳹- ᳹xx 淧 +xx ᳹䒜 淧 -- ፌxЧ -᳹ xxx-x䒜x᳹ + 淧x- --ፌ᳹xx䒜䒜 䒜 䒜x Ч -- ᳹x - +_==-=-=-__==-=-=-__==-=-=-__==-=-=-__==-=-=-_ +ЧxЧ-ፌፌ-- Ч x䒜-᳹淧ፌ- - -淧xx- + ፌ᳹ 䒜ፌ x-䒜ፌፌ ᳹- ᳹xx 淧 +xx ᳹䒜 淧 -- ፌxЧ -᳹ xxx-x䒜x᳹ + 淧x- --ፌ᳹xx䒜䒜 䒜 䒜x Ч -- ᳹x - +~~~~ + # I Love Cookies Signal & CV Sequencer. Uses Text as input. Because after all, don't we all love cookies? @@ -46,6 +62,34 @@ Input Equivalent Input Comment ~~~~ +======= + +~~~~ +Input Equivalent Input + +a@3 aaa +ab@5 ababa +<1><0>@8 <1><0><1><0><1><0><1><0> +abcde@8 abcdeabc +abcdef@3 abc +~~~~ + +## Randomization + +Enclosing values (lowercase letter, uppercase letter, or exact voltage) in curl braces {} will randomly select one of the values with equal probability. For example, ~{ab}~ will choose either "a" or "b" at each clock step. ~{g<2.55>}~ will output either the value of knob "g" or 2.55 volts with equal probability. + +## Square Bracket Expansion + +Enclosing comma-separated sequences with square brackets allows for even more complex patterns to be generated. + +~~~~ +Input Equivalent Input Comment + +[ab,c]@4 ababcccc 4 steps of "ab", then 4 steps of "c" +[A,cde]@5 AAAAAcdecd 5 steps from input "A", then 5 steps of "cde" +~~~~ + + All of the following are valid I Love Cookies programs: ~~~~ <4.20> diff --git a/doc/all-computerscare-modules.png b/doc/all-computerscare-modules.png Binary files differ. diff --git a/doc/ohpeas-basic-1.png b/doc/ohpeas-basic-1.png Binary files differ. diff --git a/src/ComputerscareOhPeas.cpp b/src/ComputerscareOhPeas.cpp @@ -137,6 +137,7 @@ struct ComputerscareOhPeas : Module { textField->text = json_string_value(sequenceJ); } } + setQuant(); } @@ -168,9 +169,9 @@ void ComputerscareOhPeas::step() { if(numDivisionsKnobValue != numDivisions) { //printf("%i, %i, %i, %i\n",numDivisionsKnobValue,numDivisions,iTranspose,globalTranspose); - //what a hack!!! - if(numDivisionsKnobValue != 0){ - + + //what a hack!!! + if(numDivisionsKnobValue != 0){ numDivisions = numDivisionsKnobValue; setQuant(); }