SuperCollider CLASSES (extension)

DWGBowedSimple
ExtensionExtension

Plucked physical model.
Inherits from: UGen : AbstractFunction : Object

Description

Digital wave guide physical model of a bowed instrument. Sound must go throught BowSoundBoard for better sound.

Class Methods

*ar (freq: 440, velb: 0.5, force: 1, gate: 1, pos: 0.14, release: 0.1, c1: 1, c3: 30)

Arguments:

freq

Sound frequency.

velb

Bow velocity.

force

Bow normal force.

gate

Releases synth when value changes from >0 to 0.

pos

Relative bow position from 0 to 1.

release

Release time in seconds.

c1

Inverse of DC decay time.

c3

Hight frequency loss factor.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

//Define bow synthdef
(
SynthDef(\help_dwgbowed, { |out=0, freq=440, amp=0.5,force=1, gate=1,pos=0.07,c1=0.25,c3=31,pan=0|
    var vib = Gendy1.kr(1,1,1,1,0.1, 4,mul:0.003,add:1);
    var son = DWGBowedSimple.ar(freq*vib, amp,force, gate,pos,0.1,c1,c3);
    son = DWGSoundBoard.ar(son);
    son = BPF.ar(son,118,1)+son;
    son = BPF.ar(son,430,1)+son;
    son = BPF.ar(son,490,1)+son;
    son = LPF.ar(son,6000);
    Out.ar(out, Pan2.ar(son * 0.1, pan));
}).add;
)

//Use it.
(

Pbind(
    \instrument, \help_dwgbowed,
    \dur , 0.25,
    \degree, Pseq([1,5,7+3], inf),
    \amp , Pseq([0.9,0.7,0.5],inf),
).play;
)