(C) 2oo2 Disabler /
DPL
Today we talk about such a matter as digital music. All
music is divided into semplovuyu and trekernuyu.Klassichesky
example semplovoy music -. wav-files. Unfortunately fixed
effects under semplovuyu muse is quite difficult. By this, we
consider trekernuyu music and writing rules for the effects of
it. I think that we should not talk about what digitalka +
static picture - It is primitive!
All effects can be divided into three groups:
1.Effekt called once per time unit (the output of the
animation or text, blinking screen under the "shock troops").
2.Vyvod effect occurs in conjunction with
proigryvaniem.Naprimer, losing the 1000-byte samples, we derive
the 16 letters and so on. As a result, at a frequency of 8kHz
(ie 8kb/sekundu) with four channels obtain 8 * 4 = 32, 32 * 16
= 512 characters per second, which is two-thirds screen, which
is not too bad!
3.Effekt obtained by using the player itself! For
example, we can see intro to DonNews # 15. This effect is very
attractive and yet does not require CPU time and not vliaet for
sampling samples.
Thus, the basic requirement of the first two groups: the
minimum Execution time! This is especially true of the second
group.
Let us consider in more detail the last group of effects. We
have four variables: ram_a, ram_b, ram_c and ram_d, each of
which points out what a memory page is selected the next
sample. At the zero-screen is the main text (graphics), and the
first wallpaper (the one that will shine through main picture).
If when you play we will always take the value of ram_a and do
or # 08 (first screen), the ratio of zero to the first screen
is 3:1, ie three units Zero screen has one unit of the first.
Similarly, you can add and other variables. As a result, we
16ti to obtain radiographic grades through the first screen is
zero. If this is all combined with the strikers - to get the
effect of intro to DN # 15. I hope you have gone all the
questions. If not - please email edition marked "Disabler'u.
That's it! Wait for the next essay ...