start the basic display of all variable
This commit is contained in:
parent
f6cb1880df
commit
45932442a4
@ -36,6 +36,7 @@
|
||||
#include <ewol/widget/ContextMenu.h>
|
||||
#include <ewol/widget/PopUp.h>
|
||||
#include <ewol/widget/Spacer.h>
|
||||
#include <ewol/widget/Slider.h>
|
||||
#include <ewol/widget/Menu.h>
|
||||
#include <ewol/widgetMeta/FileChooser.h>
|
||||
#include <ewol/widgetMeta/Parameter.h>
|
||||
@ -53,8 +54,12 @@ MainWindows::MainWindows(void)
|
||||
ewol::SizerVert * mySizerVert = NULL;
|
||||
ewol::SizerVert * mySizerVert2 = NULL;
|
||||
ewol::SizerHori * mySizerHori = NULL;
|
||||
//ewol::Button * myButton = NULL;
|
||||
ewol::SizerHori * mySizerHori2 = NULL;
|
||||
ewol::Button * myButton = NULL;
|
||||
ewol::Slider * mySlider = NULL;
|
||||
ewol::Label * myLabel = NULL;
|
||||
ewol::Menu * myMenu = NULL;
|
||||
ewol::Spacer * mySpacer = NULL;
|
||||
|
||||
mySizerVert = new ewol::SizerVert();
|
||||
SetSubWidget(mySizerVert);
|
||||
@ -62,8 +67,217 @@ MainWindows::MainWindows(void)
|
||||
mySizerHori = new ewol::SizerHori();
|
||||
mySizerVert->SubWidgetAdd(mySizerHori);
|
||||
|
||||
|
||||
|
||||
mySizerVert2 = new ewol::SizerVert();
|
||||
mySizerHori->SubWidgetAdd(mySizerVert2);
|
||||
mySpacer = new ewol::Spacer();
|
||||
mySpacer->SetExpendY(true);
|
||||
mySizerVert2->SubWidgetAdd(mySpacer);
|
||||
|
||||
myButton = new ewol::Button("BLIP/SELECT");
|
||||
mySizerVert2->SubWidgetAdd(myButton);
|
||||
myButton = new ewol::Button("JUMP");
|
||||
mySizerVert2->SubWidgetAdd(myButton);
|
||||
myButton = new ewol::Button("HIT/HURT");
|
||||
mySizerVert2->SubWidgetAdd(myButton);
|
||||
myButton = new ewol::Button("POWER UP");
|
||||
mySizerVert2->SubWidgetAdd(myButton);
|
||||
myButton = new ewol::Button("EXPLOSION");
|
||||
mySizerVert2->SubWidgetAdd(myButton);
|
||||
myButton = new ewol::Button("LASER/SHOOT");
|
||||
mySizerVert2->SubWidgetAdd(myButton);
|
||||
myButton = new ewol::Button("PICKUP/COIN");
|
||||
mySizerVert2->SubWidgetAdd(myButton);
|
||||
|
||||
|
||||
mySizerVert2 = new ewol::SizerVert();
|
||||
mySizerHori->SubWidgetAdd(mySizerVert2);
|
||||
|
||||
mySpacer = new ewol::Spacer();
|
||||
mySpacer->SetExpendY(true);
|
||||
mySizerVert2->SubWidgetAdd(mySpacer);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("HP FILTER CUTOFF SWEEP");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("HP FILTER CUTOFF");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("LP FILTER RESONANCE");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("LP FILTER CUTOFF SWEEP");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("LP FILTER CUTOFF");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySpacer = new ewol::Spacer();
|
||||
mySpacer->SetExpendY(true);
|
||||
mySizerVert2->SubWidgetAdd(mySpacer);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("PHASER SWEEP");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("PHASER OFFSET");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
|
||||
mySpacer = new ewol::Spacer();
|
||||
mySpacer->SetExpendY(true);
|
||||
mySizerVert2->SubWidgetAdd(mySpacer);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("REPEAT SPEED");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
|
||||
mySpacer = new ewol::Spacer();
|
||||
mySpacer->SetExpendY(true);
|
||||
mySizerVert2->SubWidgetAdd(mySpacer);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("DUTY SWEEP");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("SQUARE DUTY");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySpacer = new ewol::Spacer();
|
||||
mySpacer->SetExpendY(true);
|
||||
mySizerVert2->SubWidgetAdd(mySpacer);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("CHANGE SPEED");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("CHANGE AMOUNT");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
|
||||
|
||||
mySpacer = new ewol::Spacer();
|
||||
mySpacer->SetExpendY(true);
|
||||
mySizerVert2->SubWidgetAdd(mySpacer);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("VIBRATO SPEED");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("VIBRATO DEPTH");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("DELTA SLIDE");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("SLIDE");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("MIN FREQUENCY");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("START FREQUENCY");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySpacer = new ewol::Spacer();
|
||||
mySpacer->SetExpendY(true);
|
||||
mySizerVert2->SubWidgetAdd(mySpacer);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("DECAY TIME");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("SUSTAIN PUNCH");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("SUSTAIN TIME");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori2 = new ewol::SizerHori();
|
||||
mySizerVert2->SubWidgetAdd(mySizerHori2);
|
||||
myLabel = new ewol::Label("ATTACK TIME");
|
||||
mySizerHori2->SubWidgetAdd(myLabel);
|
||||
mySlider = new ewol::Slider();
|
||||
mySizerHori2->SubWidgetAdd(mySlider);
|
||||
|
||||
mySizerHori = new ewol::SizerHori();
|
||||
mySizerVert->SubWidgetAdd(mySizerHori);
|
||||
|
||||
|
@ -614,3 +614,257 @@ bool ExportWAV(char* filename)
|
||||
|
||||
|
||||
|
||||
// pickup/coin
|
||||
void GenerateBasicPickUpCoin(void)
|
||||
{
|
||||
ResetParams();
|
||||
p_base_freq=0.4f+frnd(0.5f);
|
||||
p_env_attack=0.0f;
|
||||
p_env_sustain=frnd(0.1f);
|
||||
p_env_decay=0.1f+frnd(0.4f);
|
||||
p_env_punch=0.3f+frnd(0.3f);
|
||||
if(rnd(1)) {
|
||||
p_arp_speed=0.5f+frnd(0.2f);
|
||||
p_arp_mod=0.2f+frnd(0.4f);
|
||||
}
|
||||
PlaySample();
|
||||
}
|
||||
|
||||
|
||||
void GenerateBasicLaserShoot(void)
|
||||
{
|
||||
ResetParams();
|
||||
wave_type=rnd(2);
|
||||
if(wave_type==2 && rnd(1)) {
|
||||
wave_type=rnd(1);
|
||||
}
|
||||
p_base_freq=0.5f+frnd(0.5f);
|
||||
p_freq_limit=p_base_freq-0.2f-frnd(0.6f);
|
||||
if(p_freq_limit<0.2f) {
|
||||
p_freq_limit=0.2f;
|
||||
}
|
||||
p_freq_ramp=-0.15f-frnd(0.2f);
|
||||
if(rnd(2)==0) {
|
||||
p_base_freq=0.3f+frnd(0.6f);
|
||||
p_freq_limit=frnd(0.1f);
|
||||
p_freq_ramp=-0.35f-frnd(0.3f);
|
||||
}
|
||||
if(rnd(1)) {
|
||||
p_duty=frnd(0.5f);
|
||||
p_duty_ramp=frnd(0.2f);
|
||||
} else {
|
||||
p_duty=0.4f+frnd(0.5f);
|
||||
p_duty_ramp=-frnd(0.7f);
|
||||
}
|
||||
p_env_attack=0.0f;
|
||||
p_env_sustain=0.1f+frnd(0.2f);
|
||||
p_env_decay=frnd(0.4f);
|
||||
if(rnd(1)) {
|
||||
p_env_punch=frnd(0.3f);
|
||||
}
|
||||
if(rnd(2)==0) {
|
||||
p_pha_offset=frnd(0.2f);
|
||||
p_pha_ramp=-frnd(0.2f);
|
||||
}
|
||||
if(rnd(1)){
|
||||
p_hpf_freq=frnd(0.3f);
|
||||
}
|
||||
PlaySample();
|
||||
}
|
||||
|
||||
|
||||
void GenerateBasicExplosion(void)
|
||||
{
|
||||
ResetParams();
|
||||
wave_type=3;
|
||||
if(rnd(1)) {
|
||||
p_base_freq=0.1f+frnd(0.4f);
|
||||
p_freq_ramp=-0.1f+frnd(0.4f);
|
||||
} else {
|
||||
p_base_freq=0.2f+frnd(0.7f);
|
||||
p_freq_ramp=-0.2f-frnd(0.2f);
|
||||
}
|
||||
p_base_freq*=p_base_freq;
|
||||
if(rnd(4)==0) {
|
||||
p_freq_ramp=0.0f;
|
||||
}
|
||||
if(rnd(2)==0) {
|
||||
p_repeat_speed=0.3f+frnd(0.5f);
|
||||
}
|
||||
p_env_attack=0.0f;
|
||||
p_env_sustain=0.1f+frnd(0.3f);
|
||||
p_env_decay=frnd(0.5f);
|
||||
if(rnd(1)==0) {
|
||||
p_pha_offset=-0.3f+frnd(0.9f);
|
||||
p_pha_ramp=-frnd(0.3f);
|
||||
}
|
||||
p_env_punch=0.2f+frnd(0.6f);
|
||||
if(rnd(1)) {
|
||||
p_vib_strength=frnd(0.7f);
|
||||
p_vib_speed=frnd(0.6f);
|
||||
}
|
||||
if(rnd(2)==0) {
|
||||
p_arp_speed=0.6f+frnd(0.3f);
|
||||
p_arp_mod=0.8f-frnd(1.6f);
|
||||
}
|
||||
PlaySample();
|
||||
}
|
||||
|
||||
|
||||
void GenerateBasicPowerUp(void)
|
||||
{
|
||||
ResetParams();
|
||||
if(rnd(1)) {
|
||||
wave_type=1;
|
||||
} else {
|
||||
p_duty=frnd(0.6f);
|
||||
}
|
||||
if(rnd(1)) {
|
||||
p_base_freq=0.2f+frnd(0.3f);
|
||||
p_freq_ramp=0.1f+frnd(0.4f);
|
||||
p_repeat_speed=0.4f+frnd(0.4f);
|
||||
} else {
|
||||
p_base_freq=0.2f+frnd(0.3f);
|
||||
p_freq_ramp=0.05f+frnd(0.2f);
|
||||
if(rnd(1)) {
|
||||
p_vib_strength=frnd(0.7f);
|
||||
p_vib_speed=frnd(0.6f);
|
||||
}
|
||||
}
|
||||
p_env_attack=0.0f;
|
||||
p_env_sustain=frnd(0.4f);
|
||||
p_env_decay=0.1f+frnd(0.4f);
|
||||
PlaySample();
|
||||
}
|
||||
|
||||
|
||||
void GenerateBasicHitHurt(void)
|
||||
{
|
||||
ResetParams();
|
||||
wave_type=rnd(2);
|
||||
if(wave_type==2) {
|
||||
wave_type=3;
|
||||
}
|
||||
if(wave_type==0) {
|
||||
p_duty=frnd(0.6f);
|
||||
}
|
||||
p_base_freq=0.2f+frnd(0.6f);
|
||||
p_freq_ramp=-0.3f-frnd(0.4f);
|
||||
p_env_attack=0.0f;
|
||||
p_env_sustain=frnd(0.1f);
|
||||
p_env_decay=0.1f+frnd(0.2f);
|
||||
if(rnd(1)) {
|
||||
p_hpf_freq=frnd(0.3f);
|
||||
}
|
||||
PlaySample();
|
||||
}
|
||||
|
||||
|
||||
void GenerateBasicJump(void)
|
||||
{
|
||||
ResetParams();
|
||||
wave_type=0;
|
||||
p_duty=frnd(0.6f);
|
||||
p_base_freq=0.3f+frnd(0.3f);
|
||||
p_freq_ramp=0.1f+frnd(0.2f);
|
||||
p_env_attack=0.0f;
|
||||
p_env_sustain=0.1f+frnd(0.3f);
|
||||
p_env_decay=0.1f+frnd(0.2f);
|
||||
if(rnd(1)) {
|
||||
p_hpf_freq=frnd(0.3f);
|
||||
}
|
||||
if(rnd(1)) {
|
||||
p_lpf_freq=1.0f-frnd(0.6f);
|
||||
}
|
||||
PlaySample();
|
||||
}
|
||||
|
||||
|
||||
void GenerateBasicBlipSelect(void)
|
||||
{
|
||||
ResetParams();
|
||||
wave_type=rnd(1);
|
||||
if(wave_type==0) {
|
||||
p_duty=frnd(0.6f);
|
||||
}
|
||||
p_base_freq=0.2f+frnd(0.4f);
|
||||
p_env_attack=0.0f;
|
||||
p_env_sustain=0.1f+frnd(0.1f);
|
||||
p_env_decay=frnd(0.2f);
|
||||
p_hpf_freq=0.1f;
|
||||
PlaySample();
|
||||
}
|
||||
|
||||
void GenerateBasicRandom(void)
|
||||
{
|
||||
p_base_freq=pow(frnd(2.0f)-1.0f, 2.0f);
|
||||
if(rnd(1)) {
|
||||
p_base_freq=pow(frnd(2.0f)-1.0f, 3.0f)+0.5f;
|
||||
}
|
||||
p_freq_limit=0.0f;
|
||||
p_freq_ramp=pow(frnd(2.0f)-1.0f, 5.0f);
|
||||
if(p_base_freq>0.7f && p_freq_ramp>0.2f) {
|
||||
p_freq_ramp=-p_freq_ramp;
|
||||
}
|
||||
if(p_base_freq<0.2f && p_freq_ramp<-0.05f) {
|
||||
p_freq_ramp=-p_freq_ramp;
|
||||
}
|
||||
p_freq_dramp=pow(frnd(2.0f)-1.0f, 3.0f);
|
||||
p_duty=frnd(2.0f)-1.0f;
|
||||
p_duty_ramp=pow(frnd(2.0f)-1.0f, 3.0f);
|
||||
p_vib_strength=pow(frnd(2.0f)-1.0f, 3.0f);
|
||||
p_vib_speed=frnd(2.0f)-1.0f;
|
||||
p_vib_delay=frnd(2.0f)-1.0f;
|
||||
p_env_attack=pow(frnd(2.0f)-1.0f, 3.0f);
|
||||
p_env_sustain=pow(frnd(2.0f)-1.0f, 2.0f);
|
||||
p_env_decay=frnd(2.0f)-1.0f;
|
||||
p_env_punch=pow(frnd(0.8f), 2.0f);
|
||||
if(p_env_attack+p_env_sustain+p_env_decay<0.2f) {
|
||||
p_env_sustain+=0.2f+frnd(0.3f);
|
||||
p_env_decay+=0.2f+frnd(0.3f);
|
||||
}
|
||||
p_lpf_resonance=frnd(2.0f)-1.0f;
|
||||
p_lpf_freq=1.0f-pow(frnd(1.0f), 3.0f);
|
||||
p_lpf_ramp=pow(frnd(2.0f)-1.0f, 3.0f);
|
||||
if(p_lpf_freq<0.1f && p_lpf_ramp<-0.05f) {
|
||||
p_lpf_ramp=-p_lpf_ramp;
|
||||
}
|
||||
p_hpf_freq=pow(frnd(1.0f), 5.0f);
|
||||
p_hpf_ramp=pow(frnd(2.0f)-1.0f, 5.0f);
|
||||
p_pha_offset=pow(frnd(2.0f)-1.0f, 3.0f);
|
||||
p_pha_ramp=pow(frnd(2.0f)-1.0f, 3.0f);
|
||||
p_repeat_speed=frnd(2.0f)-1.0f;
|
||||
p_arp_speed=frnd(2.0f)-1.0f;
|
||||
p_arp_mod=frnd(2.0f)-1.0f;
|
||||
PlaySample();
|
||||
}
|
||||
|
||||
|
||||
void GenerateBasicMutate(void)
|
||||
{
|
||||
if(rnd(1)) p_base_freq+=frnd(0.1f)-0.05f;
|
||||
// if(rnd(1)) p_freq_limit+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_freq_ramp+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_freq_dramp+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_duty+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_duty_ramp+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_vib_strength+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_vib_speed+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_vib_delay+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_env_attack+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_env_sustain+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_env_decay+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_env_punch+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_lpf_resonance+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_lpf_freq+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_lpf_ramp+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_hpf_freq+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_hpf_ramp+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_pha_offset+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_pha_ramp+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_repeat_speed+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_arp_speed+=frnd(0.1f)-0.05f;
|
||||
if(rnd(1)) p_arp_mod+=frnd(0.1f)-0.05f;
|
||||
|
||||
PlaySample();
|
||||
}
|
Loading…
Reference in New Issue
Block a user