I've got a cheopo BaoFeng UV-5RE that i'd like to try as packet radio.

I've snipped the plug off of the headset that came with the handheld, soldered it onto some breadboard cables, and did the same to one 3.5mm jack plug connector intended to go in the soundcard. *(i'd prioritize getting listening to work trough line-in, first)*

But, having done that. The after-tought hit me that the speaker-out on the BaoFeng is mono, while the port(s) on the soundcard is intended for stereo..

**Would anyone be able to help me out with a wiring plan?**

Feel free to doodle on the image for rough illustration.

(Sorry for the hasty sketch. And i realize the line-in and out of pc is perhaps in reverse location. I'm not entirely sure.)
[![BaoFeng to soundcard line-in/out wiring][1]][1]

Push-To-Talk is not very important per se, since the radio apparently have 'VOX' function, but if that's not recommended maybe i could use an Arduino that i got for the task some sort of (linux) Serial-PTT ? ..And perhaps also as a go-between the radio and the pc entirely?

Some (maybe) useful notes:

https://ham.stackexchange.com/questions/1891/whats-the-pinout-for-kenwood-2-5mm-trs-3-5-mm-trs-connector

https://ham.stackexchange.com/a/3638 (this is where i found the plug image)

https://en.wikipedia.org/wiki/Line_level#Line_in

https://pinoutguide.com/visual/gen/Tele35s.jpg


  [1]: https://i.sstatic.net/vqGac.png