Recommend ways for accepting the wav file format through TCPClient

YL618 1 Reputation point


I'm working on a task of sending a wav file from python based JupytherNotebook to the Unity engine.
I didn't have much experience with socket communication before and was overwhelmed by all kinds of methods on the internet, all the direct introduction is about sending text rather than audio files. There's also a straightforward method for sending and receiving an audio file in python but the technique is only limited to python. And when I searched on socket communication of files there were a bunch of results on encoding/decoding formats which I think is way too detailed and complicated than I need.

My work is following the problem mentioned in this link. I would appreciate it a lot if someone could point me to some valuable resources and methods on how I should encode for sending on the python side(e.g. UTF8 format) and decode for receiving on the Unity side.

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,401 questions
{count} votes