Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Djack13 committed Sep 11, 2018
1 parent d20213e commit 9442f46
Show file tree
Hide file tree
Showing 22 changed files with 2,207 additions and 84 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SLUG = VCV_Csound
VERSION = 0.6.1
VERSION = 0.6.2b

# linking to libraries
LDFLAGS += -L "/usr/local/lib/" -lcsound64
Expand Down
80 changes: 40 additions & 40 deletions Patches/Vocoder2.vcv
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
{
"version": "0.6.1",
"version": "0.6.2b",
"modules": [
{
"plugin": "VCV_Csound",
"version": "0.6.1",
"version": "0.6.2b",
"model": "Looper",
"pos": [
14,
0
],
"params": [
{
"paramId": 0,
Expand All @@ -29,20 +25,20 @@
],
"data": {
"lastPath": "/home/moi/Programmes/Rack/plugins/VCV_Csound/samples/Kool_Skool.wav"
}
},
"pos": [
14,
0
]
},
{
"plugin": "VCV_Csound",
"version": "0.6.1",
"version": "0.6.2b",
"model": "MidiVCO10",
"pos": [
2,
0
],
"params": [
{
"paramId": 0,
"value": 8.09549999
"value": 8.08650303
},
{
"paramId": 1,
Expand Down Expand Up @@ -72,24 +68,24 @@
"paramId": 7,
"value": 2.0
}
],
"pos": [
2,
0
]
},
{
"plugin": "VCV_Csound",
"version": "0.6.1",
"version": "0.6.2b",
"model": "Vocoder",
"pos": [
26,
0
],
"params": [
{
"paramId": 0,
"value": 0.772999942
"value": 0.803000093
},
{
"paramId": 1,
"value": 0.522000074
"value": 0.648000002
},
{
"paramId": 2,
Expand All @@ -115,16 +111,16 @@
"paramId": 6,
"value": 0.0
}
],
"pos": [
30,
0
]
},
{
"plugin": "Fundamental",
"version": "0.6.0",
"model": "Scope",
"pos": [
38,
0
],
"params": [
{
"paramId": 0,
Expand Down Expand Up @@ -162,16 +158,16 @@
"data": {
"lissajous": 0,
"external": 0
}
},
"pos": [
46,
0
]
},
{
"plugin": "Core",
"version": "0.6.1",
"version": "0.6.2b",
"model": "AudioInterface",
"pos": [
51,
0
],
"params": [],
"data": {
"audio": {
Expand All @@ -182,7 +178,11 @@
"sampleRate": 44100,
"blockSize": 256
}
}
},
"pos": [
68,
0
]
}
],
"wires": [
Expand All @@ -207,19 +207,12 @@
"inputModuleId": 2,
"inputId": 1
},
{
"color": "#0c8e15",
"outputModuleId": 0,
"outputId": 0,
"inputModuleId": 3,
"inputId": 0
},
{
"color": "#0986ad",
"outputModuleId": 2,
"outputId": 0,
"inputModuleId": 3,
"inputId": 1
"inputId": 0
},
{
"color": "#c91847",
Expand All @@ -229,7 +222,14 @@
"inputId": 1
},
{
"color": "#0c8e15",
"color": "#c9b70e",
"outputModuleId": 1,
"outputId": 1,
"inputModuleId": 3,
"inputId": 1
},
{
"color": "#0986ad",
"outputModuleId": 2,
"outputId": 0,
"inputModuleId": 4,
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,14 @@ Module read wav, aiff, ogg and flac sound files.

Csound script: Yfx.csd

* **Stereo Delay module:**

![](images/Delay.png)

Csound script: Delay.csd

* **Stereo Chorus module:**

![](images/Chorus.png)

Csound script: Chorus.csd
46 changes: 46 additions & 0 deletions csd/Chorus.csd
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
;;Stereo Chorus, René Feb 2015
<CsoundSynthesizer>
<CsOptions>
-n -dm0 -+rtaudio=null -+rtmidi=null -b1024 -B4096
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 32 ;128
nchnls = 2 ;2 in + 2 out
0dbfs = 1
turnon 1 ;start instr 1
instr 1 ;Stereo Chorus
k_Delay_L chnget "Delay_L" ;Slider +0.5 / +20
k_Depth_L chnget "Depth_L" ;Slider 0 / +0.99
k_Rate_L chnget "Rate_L" ;Slider 0 / +1
k_Delay_R chnget "Delay_R" ;Slider +0.5 / +20
k_Depth_R chnget "Depth_R" ;Slider 0 / +0.99
k_Rate_R chnget "Rate_R" ;Slider 0 / +1
k_Cross chnget "Cross" ;Slider 0 / +1
k_Wet chnget "Wet" ;Slider 0 / +1
imaxdel = 200 ;maximum delay 200 ms
ainL, ainR ins
;Left channel
aTri_L lfo k_Delay_L * k_Depth_L, k_Rate_L, 1 ;Triangle
aDelay_L vdelay ainL + k_Cross * ainR , aTri_L + k_Delay_L, imaxdel
aLeft ntrpol ainL , aDelay_L, k_Wet
;Right channel
aTri_R lfo k_Delay_R * k_Depth_R, k_Rate_R, 1 ;Triangle
aDelay_R vdelay ainR + k_Cross * ainL , aTri_R + k_Delay_R, imaxdel
aRight ntrpol ainR, aDelay_R, k_Wet
outs aLeft, aRight
endin
</CsInstruments>
<CsScore>
</CsScore>
</CsoundSynthesizer>
65 changes: 65 additions & 0 deletions csd/Delay.csd
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
;;Stereo Delay, René Feb 2015
<CsoundSynthesizer>
<CsOptions>
-n -dm0 -+rtaudio=null -+rtmidi=null -b1024 -B4096
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 32 ;128
nchnls = 2 ;2 in + 2 out
0dbfs = 1
turnon 1 ;start instr 1
opcode Filter_1PLP, a, ak
;State variable 1 pole LP filter: Reaktor module 1-Pole Filter
;Inputs:
; aIn Audio in
; kW Cutoff (kW = cpsmidinn(kP) * 2 * $M_PI / sr; max(kW)= 1)
setksmps 1
alpd init 0
aIn, kW xin
alp = alpd + kW * (aIn - alpd)
alpd = alp
xout alp
endop
instr 1 ;Stereo Delay
k_Time_L chnget "Time_L" ;Slider 0 / +600
k_Time_R chnget "Time_R" ;Slider 0 / +600
k_Fine_L chnget "Fine_L" ;Slider 0 / +5
k_Fine_R chnget "Fine_R" ;Slider 0 / +5
k_Cutoff chnget "Cutoff" ;Slider 0 / +1
k_FB chnget "Feedback" ;Slider 0 / +1
k_Cross chnget "Cross" ;Slider 0 / +1
k_Wet chnget "Wet" ;Slider 0 / +1
a_Filter_L init 0
a_Filter_R init 0
imaxdel = 1000 ;maximum delay 1000 ms
ainL, ainR ins
;Left channel
a_L vdelay ainL + k_Cross * ainR + k_FB * a_Filter_L, k_Time_L + k_Fine_L, imaxdel
a_Filter_L Filter_1PLP a_L, k_Cutoff
aLeft ntrpol ainL , a_Filter_L, k_Wet
;Right channel
a_R vdelay ainR + k_Cross * ainL + k_FB * a_Filter_R, k_Time_R + k_Fine_R, imaxdel
a_Filter_R Filter_1PLP a_R, k_Cutoff
aRight ntrpol ainR, a_Filter_R, k_Wet
outs aLeft, aRight
endin
</CsInstruments>
<CsScore>
</CsScore>
</CsoundSynthesizer>
3 changes: 2 additions & 1 deletion csd/MidiVCO10.csd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ ift vco2init -1, 10000, 0, 0, 0, 1
instr 1 ;GUI
gkWave chnget "Waveform"
kWave chnget "Waveform"
gkWave = int(kWave)
kOctave chnget "Octave"
gkOctave = int(kOctave)
kSemitone chnget "Semitone"
Expand Down
1 change: 1 addition & 0 deletions csd/VCO10.csd
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ift vco2init -1, 10000, 0, 0, 0, 1
instr 1
;GUI
kWave chnget "Waveform"
kWave = int(kWave)
kOctave chnget "Octave"
kOctave = int(kOctave)
kSemitone chnget "Semitone"
Expand Down
4 changes: 2 additions & 2 deletions csd/Vocoder.csd
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ instr 1 ;Vocoder
aCar inch 2
if kCarFilter == 1 then
aCar tone aCar, 12000 ;LP filter if carrier is PULSE
aCar tone aCar, 12000 ;use if carrier is PULSE
endif
icount = 0
Expand All @@ -92,7 +92,7 @@ instr 1 ;Vocoder
aCarHP buthp aCar, kHPcf
amix = (amix * kBPGain * 5)+(aCarHP * aEnv * kHPGain * 3)
outch 1, amix
outch 1, amix*2
endin
</CsInstruments>
<CsScore>
Expand Down
Binary file added images/Chorus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Delay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9442f46

Please sign in to comment.