Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

TadewosBell

🎯
Focusing
Block or report user

Report or block TadewosBell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@TadewosBell
TadewosBell / flaskaudiostream.py
Created May 25, 2019 — forked from hosackm/flaskaudiostream.py
Flask streaming an audio file
View flaskaudiostream.py
from flask import Flask, Response
app = Flask(__name__)
@app.route("/wav")
def streamwav():
def generate():
with open("signals/song.wav", "rb") as fwav:
data = fwav.read(1024)
You can’t perform that action at this time.