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

Formant Wave-Function Synthesis with FOF-1

Tutorial FOF-1

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

bw

Formant bandwidth at -6dB [Hz]

77

aenv

Amplitude Envelope [GEN]

Instance: GEN07

Class description

The FOF-1 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.
Patch description

The example A focuses on the  values of the fundamental frequencies.

The example B deals with frequency of the formant.

The example C spreads the bandwidth of the formant from 50 to 400 Hz.

Common Red Patches

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

Inside the Class

Csound Orchestra of the FOF-1 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

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

; fixed values for vocal synthesis

iris = 0.003

idebatt = 0.02

iatten = 0.007

iafun = 4

isigfun = 19

kenv poscil iamp, idurosc, iaenv

asound fof 1.0, if0, ifreq, 0, ibw, iris, idebatt, iatten, iolaps, iafun, isigfun, idur

outc asound*kenv

endin

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