FarPlay is an ultra-low-latency, networked music performance solution that enables live rehearsing, jamming, performing, and teaching with musicians over the internet as though in the same room.[3][4][5] FarPlay is written by Anton Runov, Dan Tepfer, and contributors in C++, and uses the UDP protocol to send uncompressed PCM audio and compressed video.
Developer(s) | Anton Runov, Dan Tepfer and contributors |
---|---|
Initial release | 2021[1] |
Stable release | 1.3.0[2]
/ August 14, 2024 |
Written in | C++ |
Operating system |
|
Type | Ultra-low-latency Audio |
License | Proprietary |
Website | farplay |
FarPlay is available free and with paid subscriptions.[6] Free mode can be used without even registering for an account. A subscription is required to create sessions of unlimited length without limits on the numbers of participants.[3]
Latency
editLatency is the amount of time between the moment one musician makes a sound and the moment another hears it. It's been established that musicians begin to notice latency when it exceeds 20 ms one-way, equivalent to playing about 20 ft (6 m) apart in a room. Latencies provided by popular video conferencing software such as Zoom or Webex can be much higher and unusable for networked music performance.[7][8][9]
Sources of latency when using FarPlay
editThe latency achieved when using FarPlay is limited by the following factors, which apply to all real-time networked music performance solutions.
- networking conditions: Wi-Fi adds variable latency that can be high,[10] so networked music performances typically require using Ethernet instead. Fiber-optic internet service adds less network delay than cable internet service.
- physical distance: information can't travel faster than the speed of light, so each 200 km of distance between two players adds about 1 ms of one-way latency between them (due to the refractive index of glass, light travels in fiber-optic cables at only 2/3 the speed it does in a vacuum).
- audio hardware and drivers:
- sound cards add latency when converting the analog signal from the microphone to digital audio and when converting digital audio to the analog signal for the headphones
- the operating system and drivers, which transfer data between the sound card and networked music performance software, add latency.[11]
Sources of latency FarPlay avoids
editSome networked music performance applications have additional sources of latency:
- compression: converting between uncompressed and compressed audio formats adds processing delays. FarPlay uses uncompressed audio to avoid these delays, but this also means that FarPlay requires more bandwidth than networked music performance software that can use compressed audio, like Jamulus and SonoBus.[12]
- client-server model: with some networked music performance software (Jamulus and JackTrip,[13] for example), participants send audio to each other indirectly, through a mixing server. FarPlay participants, instead, send audio/video directly to each other using a peer-to-peer model, which is usually fastest.[14][15] This comes with a trade-off: the peer-to-peer model increases the bandwidth and computer processor requirements of each participant as the number of participants in the session grows, so for sessions of more than around 8, a client-server model may provide better performance.[15][16]
Buffering
editAs with other networked music performance software, FarPlay uses jitter buffers to help prevent audio dropouts that can result from fluctuations in network delay.
In FarPlay, a latency slider is used to adjust the amount of jitter buffering to obtain audio with less latency (but with more noise) or audio that's clearer (but with higher latency).[11]
File recording and broadcast output are separately buffered for higher quality.[5]
Usage
editAs of 2024, FarPlay is used regularly by thousands of musicians worldwide.
As early as December 2021, Grammy-winning soprano Renée Fleming used FarPlay to rehearse with pianist Simone Dinnerstein ahead of concerts at Carnegie Hall.[17]
For International Make Music Day 2022, Dan Tepfer used FarPlay in Paris to play live with musicians in Australia, the US, Japan, and Europe.[18]
ABC Academy of Music of Toronto switched to using FarPlay, instead of Zoom, as their primary online lesson platform in the spring of 2023.[19]
FarPlay is also used extensively by individual private music teachers.[20][21][22]
See also
editReferences
edit- ^ "FarPlay: Low-Latency Audio over the Internet". news.ycombinator.com. 25 November 2021. Retrieved 7 February 2023.
- ^ "FarPlayIO/farplay-bin". GitHub. Retrieved 2024-09-25.
- ^ a b Enright, Ed (2022). "FarPlay Delivers on Promise: Live Collaboration at a Distance". Downbeat Magazine. 89 (12): 94–95.
- ^ Howell, Ian (2024-01-15). "Canto: We Have the Technology". Early Music America.
- ^ a b Stunt, Bill (2023). "FarPlay: Low latency live audio on the World Wide Web". Recording Magazine. 36 (8): 8–10.
- ^ "PRICING YOUR WAY - FarPlay". 2023-03-08. Retrieved 2024-05-10.
- ^ Jacobson, Matthew (2020-11-16). "Social Distancing For Musicians: A Quick Guide To Low-Latency Audio". KSLTV.com. Retrieved 2024-05-15.
- ^ "Video conferencing tests". SamKnows. Retrieved 2024-05-09.
- ^ "Latency Troubleshooting Best Practices". Webex Help Center. 2022-06-20. Retrieved 2024-05-09.
- ^ Cordeiro, Carlos (2024-05-09). "Wi-Fi Unleashed: Wi-Fi 7, 6 GHz, and Beyond" (PDF). Intel | Data Center Solutions, IoT, and PC Innovation. Retrieved 2024-05-09.
Wi-Fi 6 can achieve single-digit millisecond latency, but the worst-case latency can be high in congested environments.
- ^ a b Howell, Ian (2022-03-17). "Is Real-Time Online Music Making Easy Yet?: A first look at FarPlay and SoundJack Lite". Inter Nos. 55 (1). National Association of Teachers of Singing: 38–43.
- ^ "SonoBus User Guide: Send Format and Quality". sonobus.net. Retrieved 2024-05-10.
- ^ "Where Are JackTrip Virtual Studios Available?". support.jacktrip.com. Retrieved 2024-05-10.
- ^ Lunch & Learn: Low Latency Platforms: The Future of Music Collaboration (Video). Peabody Institute of the Johns Hopkins University. 2021-03-10. Event occurs at 6 minutes 55 seconds. Retrieved 2024-05-09 – via www.youtube.com.
- ^ a b Vollprecht, Anselm. "Und jetzt zus@mmen! Dein Einstieg ins Echtzeit-Musizieren über das Internet" (PDF). Hochschule für Musik Carl Maria von Weber Dresden (in German). Retrieved 2024-05-09.
- ^ Levine, Mike (2023-01-13). "FarPlay 1.05 Remote Musical Collaboration App – A Product of the Week Review". Mixonline. Retrieved 2024-05-10.
- ^ "Simone Dinnerstein on Facebook". Facebook. 2021-12-31. Retrieved 2024-10-01.
- ^ Tepfer, Dan; et al. (2022-06-21). FarPlay x MakeMusicDay : worldwide connections. Retrieved 2024-05-10 – via www.youtube.com.
- ^ Kerekes, Barnaby (2023-04-01). "Important Updates for ALL PROGRAMS: Rate Increases May 1, FarPlay, Upcoming Dates". TORONTO MUSIC LESSONS - Music Lessons for All Ages. Retrieved 2024-05-09.
- ^ "Brad Chapman". Brad Chapman. Retrieved 2024-05-11.
- ^ "Services". Nicholas Perna, DMA. Retrieved 2024-05-11.
- ^ "Private Voice Lessons". www.corinnebach.com. Retrieved 2024-05-11.