5 ms·
Scrpy has been such a great tool! There is another project inspired by scrcpy (I think) called sndcpy but it's no longer maintained it seems, so I'm very glad
by almog 4y ago
Scrpy has been such a great tool!
There is another project inspired by scrcpy (I think) called sndcpy but it's no longer maintained it seems, so I'm very glad to see these capabilities added to scrcpy.
I've been trying in the past and failed to setup an A2DP + Bluez to allow me to use my desktop machine as a handset for my android phone. I know that such tools exist for Windows but couldn't to work well on Mac or Linux.
If Scrcpy had a bi-directional audio copy (i.e. mount a mic), it would probably be able to do just that.
- erichdongubler 4y ago> There is another project inspired by scrcpy (I think) called sndcpy but it's no longer maintained it seems, so I'm very glad to see these capabilities added to scrcpy. From the blog post: > With the introduction of a new API to capture audio from an Android app in Android 10, I made a prototype called sndcpy. … Not only was it work by the same author, it was one of _multiple_ pushes to make this work. Nice!
- almog 4y agoVery cool, didn't notice it was the same author :)
- magixx 4y agoIf you want to go down a rabbit hole and your device that supports it, you can gain additional benefits by using an HDMI/USB dongle and then capture the output of that using a capture card. You can then get a device that has OTG capabilities to emulate a keyboard/mouse that you control remotely.
- almog 4y agoI'd love to hear more, but before we go there, let me start by saying that my goal by trying to do so with A2DP + Bluez was to share the same audio input I have for my desktop (dynamic mic + USB interface + Reaper + BlackHole) without having to connect my phone via wire every time I want to use that setup for regular phone calls, which I sometimes do, though of course since I use the USB audio interface directly with my phone, I lose the ability to use Reaper (with BlackHole) as a mixer. With that said, I'd love to hear more details about how you'd wire the devices you suggest to achieve that (I'm not saying it won't work, just curious to see how you think it's best to go about it), more specifically: 1. How exactly do you leverage an HDMI/USB dongle (USB C to HDMI I assume) + capture card (HDMI to USB video device is what I assume here) to direct audio output from a phone to my desktop (let's say macOS). 2. At the same time - directing my desktop audio input device as an internal mic on my android phone. btw, if you (or anyone) has successfully made such setup to work to work via BT (i.e. using a macOS as handset for Android phone) please let me know, I'd really love to learn how you got this to work.
- magixx 4y agoSo our end goals are kind of the opposite. I wanted a setup that I can plug in once and not fiddle with ever which is why I wanted everything wired all the way. My hardware investigation also occurred because I noticed that scrcpy fails to display banking/protected apps while HDMI works just fine. There should be two ways to get audio out of the phone, either via HDMI or via the cheap USB C to 3.5mm adapters. (HDMI audio splitters also exist if you need them for some reason) To get audio into the phone, the 3.5mm adapter should be able to handle that since they can handle headsets with microphones via a 3.5mm TRRS jack. I have not tried this setup out yet but it should work in theory.
- almog 4y agoThanks for the answer! It does sound like it would be best for a fixed setup. The only unknown for me is whether Android that lacks 3.5mm port could handle USB to HDMI and TRRS to USB at the same time.
- magixx 4y agoI just tried it out with headphones (Phone > HDMI/USB Hub > USB A to C adapter > google usb c to 3.5mm adapter) and it seems to work. It would be interesting to test it with the $<5 USB sound cards but I don't have one on hand.
- almog 4y agoThanks a lot! I'll have to try this Frankenstein of a setup this week :)