Skip to content

Instantly share code, notes, and snippets.

View olumayor99's full-sized avatar

Olumayowa Taiwo olumayor99

View GitHub Profile
@olumayor99
olumayor99 / gwall.py
Created November 16, 2019 08:47 — forked from longjie/gwall.py
This is a simple python file for the demo "gWall: gWall: LCD+RasPi+Google Assistant" (https://www.youtube.com/watch?v=Y-H_3o7vKcc)
#!/usr/bin/env python
# Copyright (C) 2017 Google Inc.
# Copyright (C) 2017 Ryosuke Tajima
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
/*
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;