Test 1
Code: Select all
if (clock >= 0.2f){
if (step == 1) result1 = input1;
if (step == 2) result1 = input2;
if (step == 3) result1 = input3;
if (step == 4){result1 = input4;step = stepReset;}
step++;
}
Test 2
Code: Select all
if (clock >= 0.2f){
if (step == 1){
for (int n = 0; n == noteLength; n++)
result1 = input1;
}
if (step == 2){
for (int n = 0; n == noteLength; n++)
result1 = input2;
}
if (step == 3){
for (int n = 0; n == noteLength; n++)
result1 = input3;
}
if (step == 4){
for (int n = 0; n == noteLength; n++){
result1 = input4;step = stepReset;}
}
step++;
}
But I have analyzed the output with a VU meter and it is always in 0 volts.
All that I need is to make work this simple sequencer
Regards