fewprojects.com - Primož's Few Projects

Example domain paragraphs

I have Raspberry Pi hooked up on TV with 2.1 speakers. When I’m on sofa with my notebook, I had to disconnect the audio cable and pull it across the room if I wanted to listen some music on the speakers. I got so agitated I developed a small solution for network audio transmission. In my case this is done from my notebook via Wi-Fi to Raspberry Pi and to speakers.

Server ( source ) is written in Java. It listens on TCP port, waiting for clients. When client connects, server creates a buffer and fill it with audio stream. This causes a delay in audio playback, but it helps smoothing out the delay that happens due to wireless network latency and gives a client a little more time to send data. It works fine for listening music, but for movies or games we need to develop low latency solution with UDP and a very small buffer (future work). After we fill the buffer on the

java -jar PIAudioServer.jar --port 10000 --prebuffer 1000 –prebuffer is the time used for the buffer in milliseconds (I use 1 second, but you can go lower)