more comprehensive audio visualizer
[fishladder.git] / fishladder.c
index d7a1f28343749ef16bbb47c3c8853af2cba18ad5..e024fca71987265a050db88d2a0be6b4f99317de 100644 (file)
@@ -639,10 +639,10 @@ void vg_update(void)
        // Fish ticks
        if( world.simulating )
        {
-               while( world.sim_frame < (int)((vg_time-world.sim_start)*20.0f) )
+               while( world.sim_frame < (int)((vg_time-world.sim_start)*2.0f) )
                {
-                       vg_info( "frame: %u\n", world.sim_frame );
-                       sfx_set_playrnd( &audio_random, &audio_system_balls_switching, 0, 5 );
+                       //vg_info( "frame: %u\n", world.sim_frame );
+                       sfx_set_playrnd( &audio_random, &audio_system_balls_switching, 0, 9 );
                        
                        for( int i = 0; i < arrlen( world.io ); i ++ )
                        {