add a flag timezero to trnoise_state

falg is true as long as time = 0. Allows
to detect the change from time == 0 to time > 0
only then the 1/f data may be created anew (e.g.
due to multiple 'run' commands
This commit is contained in:
Holger Vogt 2018-08-22 22:36:35 +02:00
parent 95a0e69678
commit d3b7619754
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ struct trnoise_state
double *oneof;
size_t oneof_length;
bool timezero;
double RTScapTime, RTSemTime;
bool RTS;
};