sndcpy forwards audio from Android 10 to Linux, Windows or macOS desktop (similar to scrcpy, but for audio)

sndcpy Just like scrcpy, but for audio. This new tool forwards audio from Android 10 devices to desktop computers running Linux, Windows or macOS.
You can use sndcpy to enable audio forwarding, while using scrcpy (low latency, high performance, free and open source tool) to mirror your Android device to the desktop to display and control the Android device from the desktop. scrcpy (“screen copy”) itself does not perform audio forwarding, and this is where sndcpy (“sound copy”) comes from.

Use scrcpy and sndcpy in the same place

Using sndcpy does not require a root user, but requires an Android device with at least Android 10, install VLC on the desktop computer and enable USB debugging on the Android device. Audio forwarding can be performed via a USB cable or adb wireless via TCP/IP connection (in the same network).

It is worth noting that the use of sndcpy can independently adjust the volume on the device and the computer. In addition, the tool can only forward audio from applications that do not block audio capture-all applications that target Android 9 or lower do not allow audio capture, which prevents sndcpy from forwarding audio (for example, forwarding from Android 10 Audio played on Spotify will not) work).

Download and how to use sndcpy

On Windows, download sndcpy-with-adb-windows-v1.0.zip Binary file, which contains adb. On Linux and macOS, download sndcpy-v1.0.zip -You need to install adb on your system (available in PATH). On all Linux, Windows and macOS, you also need to install VLC.
you can also Build sndcpy from sourceThis is how to use sndcpy. First, connect the Android 10+ mobile phone with USB debugging enabled to the desktop via USB.
Now unzip the sndcpy zip archive, open a terminal, navigate to the folder where you unzipped sndcpy and run it on Linux/macOS:

cd sndcpy-v1.0
./sndcpy

On Windows, run sndcpy.bat instead:

sndcpy.bat

Back on your phone, you should now see a screen requesting permission to start audio capture:sndcpy android permissions

Press Start now, And then go back to the terminal where you run sndcpy and press Enter See this key:

./sndcpy
Waiting for device...
Success
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.rom1v.sndcpy/.MainActivity }
Press Enter once audio capture is authorized on the device to start playing...

If you have not used adb to authorize your Android device to use the current computer before, when you run sndcpy for the first time, please make sure that the screen of your Android device is unlocked and you have authorized sndcpy (click OK When authorization is required on an Android device). The audio from the Android 10+ phone should now be forwarded to the Linux, Windows or macOS desktop. To use sndcpy to wirelessly forward audio from Android 10+ phones to Linux, Windows or macOS desktops, please make sure that the USB debugging phone is enabled, and both your desktop and Android devices are connected to the same network, and then connect the phone via USB Connect to the desktop and run:

adb tcpip 5555

Next, unplug the Android device and use adb to wirelessly connect to the phone in the following ways:

adb connect DEVICE_IP:5555

Replace DEVICE_IP Use Android 10+ device IP. You can get the IP from About Phone -> Status.
After this is done, run sndcpy as usual (run this command in the folder where you extracted sndcpy):

  • On Linux/macOS:
./sndcpy
  • On Windows:
sndcpy.bat

Source

Sidebar