This commit is contained in:
Jonathan Moore Liles 2008-03-14 22:40:48 -05:00
parent c88ef27abf
commit 21ced50797
1 changed files with 8 additions and 1 deletions

View File

@ -249,7 +249,14 @@ Panner::handle ( int m )
{ {
int a = _configs[ _outs ][ i ]; int a = _configs[ _outs ][ i ];
printf( "%d:%f ", i, 1.0f - drag->distance( Point( 1.0f, a ) ) / 2.0f ); // float g = 1.0f - drag->distance( Point( 1.0f, a ) ) / 2.0f;
float g = drag->distance( Point( 1.0f, a ) ) / 2.0f;
/* g = 1.0f / pow( g, 2 ); */
/* g = 20.0f * log10f( g ); */
printf( "%d:%f ", i, g );
} }
printf( "\n" ); printf( "\n" );