Recherche Google
OMChroma User ManualPredefined Classes > Buzz Synthesis > Buzz Synthesis with BUZZ-2
page précédentepage suivante

Buzz Synthesis with BUZZ-2

Tutorial BUZZ-2

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

Generating frequency [Hz]

100.0

aenv

Amplitude Envelope [GEN]

Instance: GEN07

bzl

Lowest harmonic present in the buzz [Hz].

200.0

bzh

Highest harmonic present in the buzz [Hz].

5000.0

bzm

Multiplier in the series of amplitude coefficients [flt]

0.95

bzmenv

Envelope of the buzz multiplier [GEN]

Instance: GEN07

Class description

The BUZZ-2 Class realizes a Buzz Synthesis (a set of harmonically related cosine partials) with the following controls:

  • The main amplitude,
  • The generating frequency,
  • The amplitude envelope by means of a GEN routine,
  • The lowest and the highest harmonic of the spectrum,
  • The components' amplitude of the spectrum,
  • The components' amplitude envelope by means of a GEN routine.
BUZZ-2 versus BUZZ-1

There are few little differences between the BUZZ-1 and BUZZ-2 classes.

BUZZ-1

BUZZ-2

The lowest harmonic is given as integer value. E.g. that is the harmonic number.

The lowest harmonic is directly given in Hz.

The highest harmonic is given as percentage of the highest possible frequency.

The highest harmonic is directly given in Hz.

Patch description

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

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

The example C fixes on the lowest component of the spectrum. The frequencies are expressed in Hertz.

The example D fixes on the highest component of the spectrum. The frequencies are expressed in Hertz.

The example E demonstrates the meaning of the multiplier in the series of amplitude coefficients.

The example F collects 5 different envelopes of the buzz multiplier.

Common Red Patches

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

Inside the Class

Csound Orchestra of the BUZZ-2 Class.

instr 1

idur = p3

idurosc = 1/p3

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

ifq = p5

iaenv = p6

inn = int (p8/ifq) ; harmonic number corresponding

ilh = int (p7/ifq) ; to given values in Hz

ifn = 5 ; stored cosine function

ibzmul = p9 ; multiplier

ibzmenv = p10 ; envelope for the multiplier

kenv poscil iamp, idurosc, iaenv ; amp envelope

kratio poscil ibzmul, idurosc, ibzmenv ; kratio envelope

asound gbuzz kenv,ifq,inn,ilh,kratio,ifn

out asound

endin

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