Recherche Google
OMChroma User ManualPredefined Classes > Formant Wave-Function Synthesis (FOF) > Formant Wave-Function Synthesis with FOF-A1
page précédentepage suivante

Formant Wave-Function Synthesis with FOF-A1

Tutorial FOF-A1

Specific Slots

Name

Description

Default value

amp

Maximum Amplitude. Linear from >0.0 to 1000 or in dB from 0 to -∞ (see Tutorial Getting Started 02 - Amplitude and Internal Editor for more details)

-6.0

f0

Frequency of the impulses that create the sinebursts [Hz]

220.0

freq

Formant frequency [Hz]

609.0

bw

Formant bandwidth at -6dB [Hz]

77.0

aenv

Amplitude Envelope [GEN]

Instance: GEN07

win

Attack times of the sinusoid burst [sec]

0.01

wdur

Duration of the sinusoid burst [sec]

0.2

wout

Decay times of the sinusoid burst [sec]

0.1

oct

Octaviation factor of the fof [flt >=0.0]

0.0

phs

Starting phase of the fundamental [%]

0.0

par1

Skip initialisation (if non-zero)

0

Class description

The FOF-A1 Class realizes a Formant Wave-Function Synthesis with the following controls:

  • The main amplitude,
  • The fundamental frequency,
  • The formant frequency,
  • The bandwidth of the formant,
  • The amplitude envelope by means of a GEN routine,
  • The attack, the oveall duration and decay of the sinusoid burst,
  • The octaviation factor,
  • The starting phase of the fundamental,
  • The initialisation's skip time.
Common parameters

For the explanation of f0, freq and bw see Tutorial FOF-1

For the explanation of win, wdur, wout and oct see Tutorial FOF-2

Patch description

The example A deals with the initial phase. Watch out the entry delays. The events start together in pairs of two.

The example B demonstrates the meaning of initialisation's skip time.

Common Red Patches

For the red patch C#ed and Synt see Appendix A

Inside the Class

Csound Orchestra of the FOF-A1 Class.

instr 1

idur = p3

idurosc = 1/p3

iamp = (p4 > 0.0 ? (p4*0.001*0dbfs) : (ampdbfs (p4)))

if0 = p5

ifreq = p6

ibw = p7

iaenv = p8

iwin = p9

iwdur = p10

iwout = p11

ioct = p12

iphs = p13

iskip = p14

imode = 0

iolaps = 100000 ; how many simultaneous FOFs can be played (takes little memory if not used)

iafun = 1

isigfun = 19

kenv poscil iamp, idurosc, iaenv

asound fof 1.0, if0, ifreq, ioct, ibw, iwin, iwdur, iwout, iolaps, iafun, isigfun, idur,\

iphs, imode, iskip

outc asound*kenv

endin

Flow chart
page précédentepage suivante
A propos...Réalisé avec Scenari