Understanding and Reducing Latency in Online Music Collaboration
A technical look at why latency happens in online music apps and practical steps to minimize its impact on your remote practice sessions.
If you've ever tried to play music over a video call, you know the frustration. You play a note, there's a delay, your bandmate hears it late, plays their part late, and everything falls apart. This is latency - the enemy of online musicians everywhere.
What is Latency?
Latency is the delay between when something happens and when you perceive it. In online music, it's the time between:
- You play a note
- Your device captures the audio
- The audio is encoded and sent over the internet
- Your bandmate's device receives and decodes it
- Their speakers play the sound
- Sound waves reach their ears
Each step adds milliseconds. Add them all up, and you get noticeable delay.
The Physics Problem
Here's the uncomfortable truth: physics sets a hard floor on latency.
Light travels through fiber optic cables at about 200,000 km/s. If you're in New York and your bandmate is in Los Angeles (about 4,000 km), the absolute minimum one-way latency is:
4,000 km ÷ 200,000 km/s = 20 milliseconds
That's just the speed of light - real-world routing, processing, and encoding add much more.
What's Acceptable for Music?
Musicians are remarkably sensitive to timing:
- < 10ms: Generally imperceptible
- 10-30ms: Noticeable but workable for some applications
- 30-50ms: Clearly audible, difficult to stay in sync
- > 50ms: Real-time jamming becomes impossible
Most internet connections introduce 50-150ms of latency, putting real-time ensemble playing out of reach.
TabTogether's Approach
Instead of fighting physics, we embrace a different model: synchronized practice.
- Everyone follows the same visual timeline
- The tab playback is synchronized across devices
- Each musician plays along independently
- No one tries to hear each other in real-time
This means you practice the same material, at the same tempo, following the same structure - without the frustration of latency-induced timing issues.
Optimizing Your Setup
Even for synchronized practice, minimizing latency improves the experience:
Network Optimizations
- Use wired ethernet instead of WiFi when possible
- Close bandwidth-heavy applications (streaming, downloads)
- Use a quality router with QoS (Quality of Service) settings
- Consider your ISP - some have better routing than others
Audio Optimizations
- Use wired headphones - Bluetooth adds 100-300ms
- Select low-latency audio drivers (ASIO on Windows, Core Audio on Mac)
- Reduce buffer size in your audio settings (lower = less latency, but more CPU)
- Use a dedicated audio interface instead of built-in sound cards
Device Optimizations
- Keep your browser updated - newer versions have better performance
- Close unnecessary tabs and applications
- Disable browser extensions that might interfere
- Use a modern device - older hardware struggles with real-time audio
Testing Your Latency
Want to know your actual latency? Try these:
- Ping test: Open terminal/command prompt, type
ping google.com - Speed test: speedtest.net shows latency to nearby servers
- WebRTC test: webrtc.github.io/samples shows browser-level latency
Aim for under 50ms ping for the best experience.
The Future of Online Music
Technology is improving:
- 5G networks promise lower latency for mobile
- Edge computing moves servers closer to users
- WebRTC improvements reduce browser overhead
- Specialized music protocols like JackTrip minimize audio latency
We're always evaluating new technologies to improve the TabTogether experience. While true real-time jamming may remain challenging, synchronized practice gets better every year.
Making Peace with Latency
Here's our philosophy: latency is a constraint, not a blocker. Remote bands throughout history have found ways to collaborate:
- Sending recordings back and forth
- Writing parts separately and combining them
- Practicing individually then meeting up
TabTogether adds another tool: practicing the same material simultaneously, even if not in perfect auditory sync. It's not the same as being in a room together, but it's remarkably effective for staying tight as a band.
Try synchronized practice with your band and see how latency becomes a non-issue when you change your approach.