Skip to content

Instantly share code, notes, and snippets.

/*
ffmpeg -i "$file" -f s32be -acodec pcm_s32be -ar 44100 -af "volume=0.5" tcp://espip:5522
*/
#include "i2s.h"
#include <ESP8266WiFi.h>
const char* ssid = "***********";
const char* password = "**********";
WiFiServer pcmServer(5522);
static WiFiClient pcmClient;
@estshorter
estshorter / raspi-autosetup.md
Last active August 16, 2021 07:04
Auto-setup of Minimum Raspbian for Music

Assumption

  • Raspberry Pi 3 only (due to optimization option)
  • OS: Raspbian stretch (2017-11-29)
  • Music format: mp3, m4a, flac (no dsd)
  • Play music stored in a NAS via wired lan (no usb)
  • Scrobble to last.fm
  • I2S DAC: Hifiberry DAC+ Pro compatible board
  • For Japanese (NTP, timezone and language setting)
  • Network: dhcp, wired lan
  • Write the raspbian image on Windows