forked from trav/lintunes
v0.40.0: visualizer settings — laser screen angles, radial resolution
Laser: the screen's distance, pitch, yaw and roll are sliders (the beam ray is intersected with the turned screen; the drawing shrinks only when a steep screen would push the figure out of view), and the afterimage can be turned off. The membrane is now a slack 50 Hz balloon whose split rocking pairs land in the bass, so it draws loops ~60% of the time instead of ~25%. Radial: fading trails can be turned off; the number of frequency bands and volume steps are sliders; ghosts fade from the dot's own color into the background; a 4096-point FFT and interpolation end the flat bass arcs; and "Even out bass and treble" takes the song's overall tilt out so the dots sit on a circle.
This commit is contained in:
@@ -13,7 +13,17 @@ DEFAULTS = {
|
||||
"volume": 0.8, # logical 0..1 master output volume
|
||||
"visualizer_mode": "on", # on (color) | dim (gray) | off — click cycle
|
||||
"visualizer_style": "bars", # bars | radial | laser (visualizer_styles)
|
||||
# The styles' tunables — ranges in visualizer_styles.LIMITS.
|
||||
"visualizer_ghost_fade": 1.0, # seconds a radial dot's trail takes to fade
|
||||
"visualizer_radial_fade": True, # radial dots leave fading trails
|
||||
"visualizer_radial_spokes": 120, # frequency bands around the circle
|
||||
"visualizer_radial_levels": 20, # volume steps along each spoke
|
||||
"visualizer_radial_normalize": True, # even out bass vs treble
|
||||
"visualizer_laser_fade": True, # afterimage of the last few frames
|
||||
"visualizer_laser_distance": 3.5, # metres, mirror → screen center
|
||||
"visualizer_laser_pitch": 0, # degrees the screen is turned
|
||||
"visualizer_laser_yaw": 0,
|
||||
"visualizer_laser_roll": 0,
|
||||
# Per-area grayscale overrides (0=black .. 255=white). None = inherit the
|
||||
# current/default look for that surface, so nothing changes until the user
|
||||
# drags a slider in Preferences.
|
||||
|
||||
Reference in New Issue
Block a user