Exposed harmonics as a value on the Granulator
parent
0cc6a17475
commit
ec7c859f36
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
Granulator {
|
Granulator {
|
||||||
var <buflen, <inb, <outb, <>posb, <triggerb, <pitchb, <rectriggerb, <modb, <buffer, <recorder, <grains, <triggersynth, <pitchsynth, server, mode, record, gain, mix, speed, trigger, size, blur, dust, slope, back, chorus, detune, pitch, pan, track, jitter;
|
var <buflen, <inb, <outb, <>posb, <triggerb, <pitchb, <rectriggerb, <modb, <buffer, <recorder, <grains, <triggersynth, <pitchsynth, server, mode, record, gain, mix, speed, trigger, size, blur, dust, slope, back, chorus, harmonics, detune, pitch, pan, track, jitter;
|
||||||
|
|
||||||
*init {
|
*init {
|
||||||
SynthDef(
|
SynthDef(
|
||||||
|
@ -73,6 +73,7 @@ Granulator {
|
||||||
back = 0;
|
back = 0;
|
||||||
slope = 0;
|
slope = 0;
|
||||||
chorus = 0;
|
chorus = 0;
|
||||||
|
harmonics = 2;
|
||||||
detune = 0;
|
detune = 0;
|
||||||
pitch = 0;
|
pitch = 0;
|
||||||
mix = 0.25;
|
mix = 0.25;
|
||||||
|
@ -122,6 +123,7 @@ Granulator {
|
||||||
size { ^size }
|
size { ^size }
|
||||||
blur { ^blur }
|
blur { ^blur }
|
||||||
chorus { ^chorus }
|
chorus { ^chorus }
|
||||||
|
harmonics { ^harmonics }
|
||||||
detune { ^detune }
|
detune { ^detune }
|
||||||
pitch { ^pitch }
|
pitch { ^pitch }
|
||||||
dust { ^dust }
|
dust { ^dust }
|
||||||
|
@ -145,6 +147,7 @@ Granulator {
|
||||||
slope_ { | v | slope = v; pitchsynth.set(\track, v); }
|
slope_ { | v | slope = v; pitchsynth.set(\track, v); }
|
||||||
back_ { | v | back = v; pitchsynth.set(\dir, if( v > 0, { -1 }, { 1 })); }
|
back_ { | v | back = v; pitchsynth.set(\dir, if( v > 0, { -1 }, { 1 })); }
|
||||||
chorus_ { | v | chorus = v; pitchsynth.set(\chorus, v); }
|
chorus_ { | v | chorus = v; pitchsynth.set(\chorus, v); }
|
||||||
|
harmonics_ { | v | harmonics = v; pitchsynth.set(\harmonics, v); }
|
||||||
detune_ { | v | detune = v; pitchsynth.set(\detune, v); }
|
detune_ { | v | detune = v; pitchsynth.set(\detune, v); }
|
||||||
pitch_ { | v | pitch = v; pitchsynth.set(\pitch, v); }
|
pitch_ { | v | pitch = v; pitchsynth.set(\pitch, v); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue