elektrofon / patchOS

patchOS turns your Raspberry PI 4 into a multi channel, full duplex, low latency audio streamer
MIT License
22 stars 3 forks source link
arch-linux jackaudio jacktrip raspberry-pi

What is patchOS?

patchOS is an operating system for the Raspberry PI 4 that makes two modular synths patchable over the internet.

Requirements

One of these audio devices

How to install

  1. Grab the latest release of patchOS.
  2. Use etcher to burn patchOS to the SD card.
  3. Boot your Raspberry PI with the new patchOS SD card.

How to use

  1. Connect an ethernet cable to the Raspberry PI 4 network port.
  2. Connect your audio device to one of the USB ports of the Raspberry PI 4.
  3. On your phone open your web browser and navigate to http://patchos.local.

You will be met with a simple control panel:

Input 1-4 on the audio device are sent to the peer,
and output 1-4 receives signals from the peer.

Special note for Android users

Android doesen't support mDNS in the browser. You will therefore not be able to connect to http://patchos.local.

Thankfully there's an easy fix by installing a network discovery app.
A good suggestion is BonjourBrowser

Install the app and it will find patchOS control panel for you.

If you are behind a NAT or a firewall

patchOS uses UDP port 4464 to stream audio.
If you're behind a NAT router or a firewall you need to forward UDP port 4464 to the IP of http://patchos.local.
This is done by logging into your internet modem/router and finding the NAT or firewall settings.

Notes

patchOS is an experiment; not a product.
Feedback is most welcome, and pull requests – even more so!