Changeset 221 for libmpc/branches/r2d/libmpcpsy/psy.c
- Timestamp:
- 02/17/07 21:18:35 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcpsy/psy.c
r137 r221 858 858 int l; 859 859 float new_erg; 860 float th;860 float th, TransDetect = m->TransDetect; 861 861 const float* ep; 862 862 … … 874 874 if ( new_erg > old_erg [0][k] ) { // bigger than the old? 875 875 876 if ( new_erg > old_erg [0][k] * m->TransDetect ||877 new_erg > old_erg [1][k] * m->TransDetect*2 ) // is signal transient?876 if ( new_erg > old_erg [0][k] * TransDetect || 877 new_erg > old_erg [1][k] * TransDetect*2 ) // is signal transient? 878 878 transient [k] = 1; 879 879 }
Note: See TracChangeset
for help on using the changeset viewer.