0
|
1 /*
|
|
2 conversions:
|
|
3
|
|
4 * multiplex several channels to one
|
|
5 * enhance chip instruments with pulse stuff, adsr functions,
|
|
6 toneslides, vibrato etc
|
|
7
|
|
8 sound_setins(2,VIBRATO|TONESLIDE|FASTSWEEP|SLOWDECAY);
|
|
9
|
|
10 sound_playsample(BASSDRUM);
|
|
11
|
|
12 sound_loadsample(5,dataptr,length);
|
|
13 sound_loadstream(4,streamgenerator);
|
|
14
|
|
15 when samples supported:
|
|
16
|
|
17 * emulate samples with chip capablities
|
|
18
|
|
19 if channel-based sound device:
|
|
20
|
|
21 * implement echoes with additional channels
|
|
22 (if using digital buffer: use another technique)
|
|
23
|
|
24 sound_echo(delay,shift);
|
|
25
|
|
26 */ |