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.

FarPlay
Developer(s)Anton Runov, Dan Tepfer and contributors
Initial release2021; 3 years ago (2021)[1]
Stable release
1.3.0[2] / August 14, 2024; 55 days ago (2024-08-14)
Written inC++
Operating system
TypeUltra-low-latency Audio
LicenseProprietary
Websitefarplay.io

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

edit

latency 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]

 
Hard-wired equipment chain for transmitting audio between two users over the internet

Sources of latency when using FarPlay

edit

The 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:

Sources of latency FarPlay avoids

edit

Some 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

edit

As 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

edit

As 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

edit

References

edit
  1. ^ "FarPlay: Low-Latency Audio over the Internet". news.ycombinator.com. 25 November 2021. Retrieved 7 February 2023.
  2. ^ "FarPlayIO/farplay-bin". GitHub. Retrieved 2024-09-25.
  3. ^ a b Enright, Ed (2022). "FarPlay Delivers on Promise: Live Collaboration at a Distance". Downbeat Magazine. 89 (12): 94–95.
  4. ^ Howell, Ian (2024-01-15). "Canto: We Have the Technology". Early Music America.
  5. ^ a b Stunt, Bill (2023). "FarPlay: Low latency live audio on the World Wide Web". Recording Magazine. 36 (8): 8–10.
  6. ^ "PRICING YOUR WAY - FarPlay". 2023-03-08. Retrieved 2024-05-10.
  7. ^ Jacobson, Matthew (2020-11-16). "Social Distancing For Musicians: A Quick Guide To Low-Latency Audio". KSLTV.com. Retrieved 2024-05-15.
  8. ^ "Video conferencing tests". SamKnows. Retrieved 2024-05-09.
  9. ^ "Latency Troubleshooting Best Practices". Webex Help Center. 2022-06-20. Retrieved 2024-05-09.
  10. ^ 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.
  11. ^ 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.
  12. ^ "SonoBus User Guide: Send Format and Quality". sonobus.net. Retrieved 2024-05-10.
  13. ^ "Where Are JackTrip Virtual Studios Available?". support.jacktrip.com. Retrieved 2024-05-10.
  14. ^ 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.
  15. ^ 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.
  16. ^ Levine, Mike (2023-01-13). "FarPlay 1.05 Remote Musical Collaboration App – A Product of the Week Review". Mixonline. Retrieved 2024-05-10.
  17. ^ "Simone Dinnerstein on Facebook". 2021-12-31. Retrieved 2024-10-01.
  18. ^ Tepfer, Dan; et al. (2022-06-21). FarPlay x MakeMusicDay : worldwide connections. Retrieved 2024-05-10 – via www.youtube.com.
  19. ^ 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.
  20. ^ "Brad Chapman". Brad Chapman. Retrieved 2024-05-11.
  21. ^ "Services". Nicholas Perna, DMA. Retrieved 2024-05-11.
  22. ^ "Private Voice Lessons". www.corinnebach.com. Retrieved 2024-05-11.