Skip to content

Commit

Permalink
version up, readme, small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
docb committed Jan 9, 2023
1 parent 31b7cd9 commit 1a1f0da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ so OutL and OutR are monophonic. For polyphonic outputs **Csound16** can be used
There are fixed defined Csound channel names for communication between VCVRack and Csound:
- FREQ[1-16] 16 special control rate channels providing the frequency computed from the V/Oct input where C4 = 0V
- IN[1-4]C[1-16] 4x16 input control rate channels providing the values of the 4 inputs IN[1-4]
- IN[1-4]CON channels for holding connection status of the inputs i.e. they have the value 1 if the corresponding input is connected 0 otherwise
- P[1-4] 4 control rate channels providing the input of the 4 knobs

So the smallest polyphonic sound generator look like this:
Expand Down
10 changes: 5 additions & 5 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"slug": "dbRackCsound",
"name": "dbRackCsound",
"version": "2.0.4",
"version": "2.0.5",
"license": "GPL-3.0-or-later",
"brand": "docB",
"author": "docB",
"authorEmail": "",
"authorUrl": "https://docb.io",
"pluginUrl": "",
"manualUrl": "",
"sourceUrl": "",
"donateUrl": "",
"pluginUrl": "https://github.com/docb/dbRackCsound",
"manualUrl": "https://github.com/docb/dbRackCsound",
"sourceUrl": "https://github.com/docb/dbRackCsound",
"donateUrl": "https://www.paypal.com/paypalme/docb222",
"changelogUrl": "",
"modules": [
{
Expand Down
4 changes: 2 additions & 2 deletions src/CsoundModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ struct CsoundModule : Module {
void setParameters() {
bool voctConnected=inputs[VOCT_INPUT].isConnected();
bool in1Connected=inputs[IN1].isConnected();
in1c[0]=in1Connected?1.f:0.f;
*in1c=in1Connected?1.f:0.f;
bool in2Connected=inputs[IN2].isConnected();
*in2c=in2Connected?1.f:0.f;
bool in3Connected=inputs[IN3].isConnected();
Expand Down Expand Up @@ -540,7 +540,7 @@ struct CsoundModuleFX : Module {

void setParameters() {
bool in1Connected=inputs[IN1].isConnected();
in1c[0]=in1Connected?1.f:0.f;
*in1c=in1Connected?1.f:0.f;
bool in2Connected=inputs[IN2].isConnected();
*in2c=in2Connected?1.f:0.f;
bool in3Connected=inputs[IN3].isConnected();
Expand Down

0 comments on commit 1a1f0da

Please sign in to comment.