Skip to content

Instantly share code, notes, and snippets.

View WeaverOfTheWeb's full-sized avatar
🔎
Looking to collab & for new challenges!

Lewis WeaverOfTheWeb

🔎
Looking to collab & for new challenges!
View GitHub Profile
@WeaverOfTheWeb
WeaverOfTheWeb / whisper-transcribe.bash
Created January 21, 2023 16:13 — forked from danirukun/whisper-transcribe.bash
Transcribe (and translate) any VOD (e.g. from Youtube) using Whisper from OpenAI and embed subtitles!
#!/usr/bin/env bash
# Small shell script to more easily automatically download and transcribe live stream VODs.
# This uses YT-DLP, ffmpeg and the CPP version of Whisper: https://github.com/ggerganov/whisper.cpp
# Use `./transcribe-vod help` to print help info.
# MIT License
# Copyright (c) 2022 Daniils Petrovs
@WeaverOfTheWeb
WeaverOfTheWeb / WebAudio.js
Created October 18, 2022 23:17 — forked from mrdoob/WebAudio.js
HTMLAudioElement polyfill using the WebAudio API with seamless loop support in Safari.
/**
* @author mrdoob / http://mrdoob.com/
*/
function WebAudio( context ) {
if ( context === undefined ) {
context = WebAudio.context;