more comprehensive audio visualizer
[fishladder.git] / fishladder.c
index e8a8a3fad09286aead57c21cc1099c71be6cebb3..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)*200.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 );
+                       sfx_set_playrnd( &audio_random, &audio_system_balls_switching, 0, 9 );
                        
                        for( int i = 0; i < arrlen( world.io ); i ++ )
                        {