Feature #421
Von Maximilian Seesslen vor mehr als 1 Jahr aktualisiert
The callbacks can be used to calculate decreasing volume of sinewave.
States:
Init: calc, start
A-started: calc b
A-finished: start b; goto B-started
B-started: calc a
B-finished: start a; goto A-started
sin 0=0; sin(PI)=0; sin(2*PI)=0
for(int i1=0; i1<0x100; i1++)
{
value[i1]=( sin( (2*PI*i1)/0x100) ) * r ) + ( r / 2 );
}
https://samplefocus.com/collections/yamaha-dx200-drums
States:
Init: calc, start
A-started: calc b
A-finished: start b; goto B-started
B-started: calc a
B-finished: start a; goto A-started
sin 0=0; sin(PI)=0; sin(2*PI)=0
for(int i1=0; i1<0x100; i1++)
{
value[i1]=( sin( (2*PI*i1)/0x100) ) * r ) + ( r / 2 );
}
https://samplefocus.com/collections/yamaha-dx200-drums