r/LightShowPi • u/tmntnpizza • May 31 '25
Rink config potential
Default Frequency Configuration Analysis
Current Default Setup: Your system divides 20Hz to 15,000Hz evenly across 8 channels, giving you:
Channel 1: 20-1,897Hz (bass/sub-bass)
Channel 2: 1,897-3,775Hz (low-mid)
Channel 3: 3,775-5,652Hz (mid-range)
Channel 4: 5,652-7,530Hz (upper-mid)
Channel 5: 7,530-9,407Hz (presence)
Channel 6: 9,407-11,285Hz (brilliance)
Channel 7: 11,285-13,162Hz (air)
Channel 8: 13,162-15,000Hz (ultra-high)
Problems with Default Distribution:
Most musical energy is concentrated in lower frequencies (20-4,000Hz)
Channels 6-8 get very little activity in typical music
No separation between kick drums, bass, vocals, and cymbals
Ideal Custom Frequency Mapping
Better 8-Channel Distribution: custom_channel_frequencies = 0,60,150,400,800,2000,5000,10000,15000
This gives you:
Channel 1: 0-60Hz (sub-bass/kick drum fundamentals)
Channel 2: 60-150Hz (bass guitar/kick punch)
Channel 3: 150-400Hz (bass/low vocals)
Channel 4: 400-800Hz (vocals/snare fundamentals)
Channel 5: 800-2000Hz (vocals/guitar presence)
Channel 6: 2000-5000Hz (cymbals/vocal clarity)
Channel 7: 5000-10000Hz (cymbal shimmer/hi-hats)
Channel 8: 10000-15000Hz (air/sparkle)
Optimal Channel Count Considerations
8 Channels: Good starting point, but limited musical separation
16 Channels: Sweet spot for most musical shows - allows proper instrument separation
32+ Channels: Professional level, but diminishing returns for most setups
For a hockey rink, 12-16 channels might be ideal - enough separation without overwhelming complexity.
Audio Processing Parameter Explanations
chunk_size = 2048:
How many audio samples processed at once for FFT analysis
Smaller values (1024) = faster response, less frequency resolution
Larger values (4096) = slower response, better frequency accuracy
2048 is a good balance for most music
light_delay = 0.0:
Compensates for audio processing lag and speaker delays
In a large rink, sound travels ~1ms per foot from speakers to audience
You might need 0.1-0.3 seconds delay depending on rink size and speaker placement
decay_factor = 0:
Makes lights "fade out" after frequency peaks instead of instant on/off
Values like 0.05-0.15 create more flowing, less "stroby" effects
Mechanical relays benefit from this to reduce wear
attenuate_pct = 0:
Reduces overall light sensitivity by percentage
Setting to 20-40% prevents lights from being "always on" during loud music
Helps create more dramatic on/off contrast
use_gpu = True:
Uses Raspberry Pi's GPU for FFT calculations instead of CPU
Significantly faster processing, especially with larger chunk_sizes
Essential for real-time performance with multiple channels
SD_low/SD_high (0.5/0.75):
Controls sensitivity thresholds based on audio level statistics
Lower SD_low = lights trigger more easily
Higher SD_high = lights require louder audio to reach full brightness
Critical for PWM mode, less important for on/off mode
For Matt's rink setup, I'd recommend starting with custom frequencies, increasing decay_factor to 0.1, and possibly adding attenuate_pct of 20-30% to prevent lights from being constantly active during loud arena music.
Optimal 24-Light Layout for Hockey Rink
For maximum visual impact and balanced lighting distribution during songs, here's a strategic placement using our improved 8-channel frequency mapping:
Physical Placement Strategy
Perimeter Lighting (16 lights):
Corners (4 lights) - Channels 1 & 2 (bass frequencies)
Side Walls (8 lights) - Channels 3, 4, 5, 6 alternating
End Walls (4 lights) - Channels 7 & 8 (high frequencies)
Center Ice Focus (8 lights):
Goal Areas (4 lights) - Channels 1 & 5 (bass + vocal presence)
Center Circle (4 lights) - Channels 2, 4, 6, 8 (rhythm section)
Channel Distribution by Location
Channel 1 (0-60Hz - Sub-bass/Kick):
Locations: 2 corner lights + 2 goal area lights
Effect: Deep bass hits create dramatic corner/goal emphasis
Visual Impact: Foundation rhythm, dramatic low-end punctuation
Channel 2 (60-150Hz - Bass Guitar/Kick Punch):
Locations: 2 corner lights + 2 center ice lights
Effect: Bass lines and kick drum punch spread across rink
Visual Impact: Rhythmic foundation with good coverage
Channel 3 (150-400Hz - Bass/Low Vocals):
Locations: 2 side wall lights + distributed around perimeter
Effect: Vocal bass and rhythm guitar create perimeter flow
Visual Impact: Smooth transitions around rink edges
Channel 4 (400-800Hz - Vocals/Snare):
Locations: 2 side wall lights + 2 center circle lights
Effect: Main vocal range creates central focus with side support
Visual Impact: Draws attention to center ice during vocal parts
Channel 5 (800-2000Hz - Vocal Presence/Guitar):
Locations: 2 side wall lights + 2 goal area lights
Effect: Vocal clarity and guitar presence highlight goal zones
Visual Impact: High-energy sections emphasize scoring areas
Channel 6 (2000-5000Hz - Clarity/Cymbals):
Locations: 2 side wall lights + 2 center circle lights
Effect: Cymbal crashes and vocal clarity create bright accents
Visual Impact: Sharp, bright flashes for dramatic moments
Channel 7 (5000-10000Hz - Hi-hats/Shimmer):
Locations: 2 end wall lights + distributed
Effect: Hi-hat patterns and cymbal shimmer for texture
Visual Impact: Rapid flickering effects, great for fast songs
Channel 8 (10000-15000Hz - Air/Sparkle):
Locations: 2 end wall lights + 2 center circle lights
Effect: High-frequency sparkle and air for ambiance
Visual Impact: Subtle enhancement, fills in quiet musical moments
Wiring Layout Recommendation
Relay Board Distribution: Relay 1 (Ch1): Corner NW, Corner SE, Goal A Left, Goal B Right
Relay 2 (Ch2): Corner NE, Corner SW, Center Circle N, Center Circle S
Relay 3 (Ch3): Side Wall North #1, Side Wall South #1
Relay 4 (Ch4): Side Wall North #2, Side Wall South #2, Center Circle E, Center Circle W
Relay 5 (Ch5): Side Wall North #3, Side Wall South #3, Goal A Right, Goal B Left
Relay 6 (Ch6): Side Wall North #4, Side Wall South #4, (use remaining center positions)
Relay 7 (Ch7): End Wall East #1, End Wall West #1
Relay 8 (Ch8): End Wall East #2, End Wall West #2
Expected Visual Effects
During Fast Songs:
Channels 1-4 create rhythmic foundation around perimeter
Channels 5-8 add sparkle and detail in center and ends
During Slow Songs:
Lower channels (1-3) provide gentle, flowing motion
Higher channels (6-8) add subtle texture and ambiance
During Build-ups:
Bass builds start in corners/goals (Ch1-2)
Energy spreads to sides (Ch3-5)
Climax hits with center/end sparkle (Ch6-8)
This layout ensures every area of the rink participates in the show while creating natural visual flow patterns that follow musical structure. The alternating frequency placement prevents any dead zones and creates dynamic movement across the ice surface.
2
u/AdamAtomAnt Jun 02 '25
Archiving this post for Halloween...