Recherche Google
OMChroma User ManualPredefined Classes > Additive Synthesis > Additive Synthesys with ADD-1
page précédentepage suivante

Additive Synthesys with ADD-1

Tutorial ADD-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

freq

(Minimum) current frequency [Hz]

440.0

aenv

Amplitude Envelope [GEN]

Instance: GEN07

Class description

The ADD-1 Class realizes an Additive Synthesis with the following controls:

  • The main amplitude,
  • The oscillator's frequency,
  • The amplitude envelope by means of a GEN routine.
Patch description

The example A focuses on the  frequency's values.

The example B deals with the amplitude envelopes made by 5 different BPF (Break Point Function).

Common Red Patches

For the red patches Synt, C#ed and rnd see Appendix-A.

Inside the Class

Csound Orchestra of the ADD-1 Class.

instr 1

idur = p3

idurosc = 1/idur

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

ifq = p5

iaenv = p6

iaudiofun = 1

a2 poscil iamp, idurosc, iaenv

a1 poscil a2, ifq, iaudiofun

out a1

endin

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