10 ms·
Sonobus: Open-source app for low latency peer-to-peer audio
- azinman2 6y agoIs this new or previously existing?
- jpeeler 6y agoSomewhat new? https://github.com/essej/sonobus/graphs/contributors https://github.com/essej/sonobus/graphs/contributors I'm assuming the first date is from the commit date, which here is Aug 2, 2020.
- robotmay 6y agoFrom the screenshots this looks quite straightforward, which is a failing of most other software of this type. I'm quite curious to try it out.
- ASpaceCowboi 6y agoI joined the public group and even tho its just everyone kinda experimenting with their tunes, i love it. This has a lot of potential. Best of luck! I wish there was a chat integration? Would like to just say: this is cool tune
- switz 6y agoThis is incredible. I've been wanting a piece of software to stream high quality, low latency mac audio to my iphone, so I can use my headphones wirelessly while working. I'll have to play with it more, but I was set up in mere minutes and it works at extremely low latency. The fact that this does bidirectional audio is icing on the cake; can't wait to share this with some quarantined bands. Magic, well done.
- dangwu 6y agoOut of curiosity, what's your use case?
- switz 6y agoI have a nice pair of wired headphones and I listen to a lot of lossless audio. I like being able to get up from my desk to fill up my water glass or grab a snack without breaking the flow of music. Bluetooth isn't ideal due to the quality loss and other factors. I tried some airplay based solutions but the 2 second delay was too much. I'm seeing anywhere from 25ms-200ms latency here and it's working flawlessly. I could just listen to music on my phone directly, but it becomes such a pain because watching a YouTube video or anything with audio on my computer completely breaks my flow. Granted this is a completely niche persnickety problem, but what is this site if not for solving niche persnickety problems. My friend who happens to be an acclaimed tubist just noted that he could use this for online music lessons. So there's earnestly a wide variety of use cases here.
- airstrike 6y agoFor what it's worth, I have the exact same use case
- radus 6y agoHave you given snapcast a look? https://github.com/badaix/snapcast/ https://github.com/badaix/snapcast/
- herodoturtle 6y ago
- TaylorAlexander 6y agoOoh this looks great! I designed a pair of nice 3D printable headphones [1] and my plan was to make them Wifi headphones so I could roam the house while listening to them. I made a battery powered raspberry pi zero with a nice DAC and set up shairport sync as an Apple Airplay device. That works fine for Spotify, but there’s instances (watching videos while walking in and out of the office) where the latency is a problem. Maybe this will work for me! [1] https://github.com/tlalexander/reboot-headphones https://github.com/tlalexander/reboot-headphones
- kgc 6y agoAirpods could do this as long as you keep your phone nearby. But, I guess they're not open source...
- TaylorAlexander 6y agoNope. Plus these headphones sound actually very good (compared to my roommates high end cans) and they cost $50. If they break I can fix em. It’s kind of going for the opposite of AirPods. Anti-disposable.
- ttul 6y agoHas anyone used this or a similar tool to successfully sing in a group, live?
- spullara 6y agoCheck out https://ccrma.stanford.edu/software/jacktrip/ https://ccrma.stanford.edu/software/jacktrip/ instead. It is designed for that.
- rock_artist 6y agoIn its early days - https://www.pajam.live https://www.pajam.live
- Zhenya 6y agoIs there place to get prebuilt linux executables?
- washadjeffmad 6y agoAUR, predictably, and likely others. You can also use JackTrip/jamtrip.
- neolog 6y agoSonobus is compatible with Jacktrip?
- sonosaurus 6y agoIt isn't... just a similar use case.
- airstrike 6y agoThis sounds so much like Sonos, I had to make a genuine effort not to confound the two Good luck on that trademark case
- rblatz 6y agoI came here to see if it supported streaming to Sonos.
- kennywinker 6y agoI really hope we don't live in a world where latin prefixes can be trademarked. Are Micron and MicroSoft confounding names? What about Instagram and Instacart?
- airstrike 6y agoIt's more like Microsoft and Microbusoft or Instagram and Instagrabum
- fabbari 6y agoWell - not really, the common part between sonos and sonobus is the latin root [0] sono. Are we saying that now none can use sono as prefix for things relating to sound? [0](https://en.wiktionary.org/wiki/sono- https://en.wiktionary.org/wiki/sono-)
- kennywinker 6y agoit's literally the exact same scenario: latin prefix + single letter: micro-n sono-s latin prefix + short word: micro-soft sono-bus
- earthscienceman 6y agoI'll chime in with the same intense positivity. In the early days of the quarantine I set up a "walk in theater" on my property where I wanted friends to be able to watch the film without bothering my neighbors with a massive stereo system. The natural option was headphones and I chose between setting up an FM transmitter and trying to get everyone to buy a walkman... or... trying to come up with a network streaming solution. I found the open source implementation of VBAN and tried to write a python script to launch the server and manage finding new connections. It failed absolutely miserably and I ended up setting up an amplified audio system in the rain, much to the trouble of my neighbors also. Needless to say, I love this. The only thing that's stopping it from being truly wonderful is an Android app <3
- sonosaurus 6y agoThere actually is an Android version in beta: https://play.google.com/store/apps/details?id=com.sonosaurus.sonobus https://play.google.com/store/apps/details?id=com.sonosaurus... Needs some work still...
- hiq 6y agoIs the source available somewhere?
- sschueller 6y agoAppears to be in the same repository: https://github.com/essej/sonobus/tree/main/Builds/Android https://github.com/essej/sonobus/tree/main/Builds/Android https://github.com/essej/sonobus/tree/main/Source/android https://github.com/essej/sonobus/tree/main/Source/android
- MayeulC 6y agoIsn't snapcast the de-facto solution for that kind of use-case?
- radus 6y ago
- rosstex 6y agoThere's a rock concert going on in the US/Canada group! This is great
- jerrysievert 6y agothis is great! it looks fantastic, and the promise of low latency audio across networks is amazing. the thing I looked for, hoped to see, but didn't find is a standalone non-gui version, or a library implementing the protocol. I would love to drop this onto a headless pi racked up as a eurorack module broadcasting low latency output from hardware to join up. talk about an amazing jam session. are there any plans for a library, or command line version?
- sonosaurus 6y agoYes, there are plans for a headless standalone version on platforms where people want that. You can actually do it right now with Jambox pi dist, which includes SonoBus: https://github.com/kdoren/jambox-pi-gen https://github.com/kdoren/jambox-pi-gen
- gingerlime 6y agolooks great! could I use it to get better airpod pro mic audio quality on my mac via the iPhone? to clarify: airpod audio quality works fine paired to mac, but when you want to also use the mic (e.g zoom call), the mic audio quality is horrible. Some bluetooth limitation on macs? not sure, but it’s a known problem[0]. Audio and mic quality on the iphone however is great. no problem at all. so that’s the reason I’m asking if it’s possible to connect both audio and mic to the mac via the iphone to work around this limitation? ie mac <> sonobus <> iphone <> airpods [0] https://apple.stackexchange.com/questions/282705/airpods-extremely-poor-mic-quality-on-mac https://apple.stackexchange.com/questions/282705/airpods-ext...
- rock_artist 6y agoFrom my knowledge - no. The reason airpods "worsen" on calls is that it switches Bluetooth profile with 8khz audio. A "possible" workaround is setting airpods as output and your mac's internal microphone. It'll have other drawbacks for latency/echo cancelation
- Zee2 6y agoAs the other commenter said, the main limitation with Airpods (and any other commodity/non-specialized Bluetooth headphones/headsets/buds/etc) is that the Bluetooth protocol only allows for high quality audio streaming or microphone/headset mode. In microphone/headset mode, the audio quality is severely limited. Thus, if you want to use Airpods (or any other Bluetooth audio device) for communication, you're stuck with low quality audio streaming. Some devices that are designed for high quality audio and microphone usage simultaneously get around this limitation by actually exposing two Bluetooth "devices" simultaneously, one used exclusively for the microphone and the other for receiving high-quality audio. (Some gaming headsets use this technique.)
- gingerlime 6y agoThank you. Yes. However they work great on the iPhone. Sound and mic quality are both totally fine. The problem only happens on the Mac. So this is why I was wondering if using Sonobus + iPhone might work around this issue?
- orastor 6y agoIs there a web version available?
- em3rgent0rdr 6y agoI've been using JackTrip which accomplishes the same goal, but without a fancy GUI.
- spacechild1 6y agoSonoBus has a couple of advantages over JackTrip: * doesn't need Jack * (optional) compressed audio using the Opus codec * public and private groups * automatic resampling and reblocking between peers * (optional) dynamic jitter buffer adjustment * built-in panning, mixing and some FX (compressor, eq, reverb, etc.) * metronome * record output to disk * also available as a VST plugin * and probably more Also, don't underestimate the value of a good UI ;-)
- spacechild1 6y agoFinally, be aware that apps like SonoBus are targeted towards musicians, few of who are comfortable running command line programs, let alone setting up Jack on Windows (which is an adventure on its own).
- em3rgent0rdr 6y agook, thanks. Yeah I'm trying it out now. It seems like it will be useful for non-technical musicians. And the GUI is "just enough"...has a mixer and configuration for my audio device and a few things like record and metronome, but isn't overdone like JamKazaam. Seems to me a killer feature is the ability to run as a VST plugin inside of a DAW or OBS, so users can incorporate SonoBus into their DAW's workflow rather than setting up a new thing entirely.
- Evidlo 6y agoThis reminds me a bit of ROC [0], though definitely seems more polished. One thing nice about ROC is its pulseaudio plugin for native integration as a sink. [0]: https://gavv.github.io/articles/roc-tutorial/ https://gavv.github.io/articles/roc-tutorial/
- manexploitsman 6y agoA bit off topic, but if you just want to get a fast and lossless music playback for multiple desktop & mobile clients on your home network that has a minimal toll on bandwidth usage then look into MPD Satellite Setup https://www.musicpd.org/doc/html/user.html#satellite-setup https://www.musicpd.org/doc/html/user.html#satellite-setup Playing back a 24b/96kHz flac uses approximately 400kB/s and for a regular 16b/44kHz its ~200kB/s. In such setup the main instance of MPD acts as a query and file server. Your MPD clients need to be configured as proxies. On Android you need the official MPD app that works as said proxy https://f-droid.org/packages/org.musicpd https://f-droid.org/packages/org.musicpd And then chose a front end client e.g. M.A.L.P. https://f-droid.org/packages/org.gateshipone.malp https://f-droid.org/packages/org.gateshipone.malp Or MPDroid https://f-droid.org/packages/com.namelessdev.mpdroid https://f-droid.org/packages/com.namelessdev.mpdroid Happy listening!
- the0k0 6y agomake the interface more intuitive to the user and fix a couple of bugs in macOS other than that, it is great!
- the0k0 6y agolook how you can improve it on low latency networks the auto functionality does not "adjust" to the network capabilities
- sonosaurus 6y agoThe current version 1.3.2/3 has a bug in Auto, it will only adjust up. Use Initial Auto instead until the next update, or periodically reset the jitter buffers with the |< buttons.
- nialo 6y agoI spent some time helping someone get this set up for their music group, and it's really really nice just as a voice chat program. It's amazing how much of the unpleasantness of something like a Skype call goes away with really low latency
- donfuzius 6y agoNice. My mind is circling around audio use cases these days (thanks Clubhouse ;-)). There is definitely a lot of untapped potential and tools like these make it easy to prototype ideas.
- bronco21016 6y agoIs there a way for the iOS app to continue functioning in the background with the device locked? I’ve been dreaming of a scenario where iPhones, or really any mobile device, could be setup as a two-way wireless mic/monitor system. The idea came up because of things moving to video conference solutions. Any time you have multiple people at one end of the camera your audio almost by necessity becomes some mash up of microphone and speakers. The half-duplex nature of acoustic echo cancelled audio in this setting drives me insane. I’ve done wild setups of splitting ear buds to a bunch of people but the cables become a mess. It would be so nice for each person in the room to just plug their earbuds with mic into their mobile and then somehow point it at the device hosting the video conference. I’ve experimented with OBS.ninja for this but it has the same limitation that mic input dies once the device screen is locked.
- sonosaurus 6y agoYes, the iOS version does stay active in the background when connected to others. It should pretty much do what you want for this use case, but you will need headphones everywhere because this thing is focused on quality, and so there is no echo cancellation.
- bronco21016 6y agoThanks! I did not go as far as connecting it to another device. I just noticed the mic indicator disappeared when I locked the screen. I’ll be sure to experiment with a full setup later. And yes, definitely everyone on earbuds. Software or even DSP echo cancellation drives me crazy and I’m trying to eliminate it from the equation as much as possible. Thanks for this project!
- bronco21016 6y agoI just wanted to follow up that I had the chance to play with it and I apologize for jumping to conclusions about capability. What work needs to be done to move the iOS app to the app store rather than beta? I'm not an iOS developer but if the issue is money I would like to help out!