SuperCollider CLASSES (extension)

DWGBowedTor
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. Like DWGBowed but also with torsional waves.

Class Methods

*ar (freq: 440, velb: 0.5, force: 1, gate: 1, pos: 0.14, release: 0.1, c1: 1, c3: 3, impZ: 0.55, fB: 2, mistune: 5.2, c1tor: 1, c3tor: 3000, iZtor: 1.8)

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.

impZ

String impedance.

fB

Inharmonicity factor.

mistune

The relative frequency of torsional waves.

c1tor

Same as c1 for torsional waves.

c3tor

Same as c3 for torsional waves.

iZtor

Torsional waves string impedance.

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 = DWGBowedTor.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;
)