Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View janisstreib's full-sized avatar
💭
I may be slow to respond.

Janis Streib janisstreib

💭
I may be slow to respond.
View GitHub Profile
@riotbib
riotbib / openai-whisper-silence-zdf.md
Created June 15, 2023 19:07
"Untertitel im Auftrag des ZDF, 2017"

OpenAI's whisper was most likely trained on subtitled videos by German public-service television broadcaster ZDF.

Whisper "is a general-purpose speech recognition model […] trained on a large dataset of diverse audio", as it's written in the project's README.

A clear indication is the (so to say) transcription of silent audio to text saying "Untertitel im Auftrag des ZDF, 2017".

This sentence may be seen in videos of ZDF's youth program Funk. One example may be a 2017 video of Funk's format musstewissen Mathe at the end of the video.

Thus, Whisper translates silence into copyright notices.

@HNJAMeindersma
HNJAMeindersma / X-USB PulseAudio.md
Created March 22, 2020 14:38
[Behringer X32 / Midas M32] Split a multi-channel X-USB into virtual outputs with PulseAudio on Linux/Ubuntu

X32/M32 with X-USB on Linux/Ubuntu

This guide is written for all owners of a Behringer X32 or Midas M32 with a X-USB 32x32 channel expansion card. It is directed towards splitting the X-USB channels up in virtual outputs on Ubuntu 18.04 with PulseAudio. The guide may also work for other versions or distro's of Linux with PulseAudio.

It is assumed that the X-USB is installed and connected to a computer. And automatically recognized as a multi-channel soundcard by the operating system. Also note that on Ubuntu 18.04, PulseAudio runs on top of ALSA. ALSA picks up the soundcard and PulseAudio then uses the full soundcard through ALSA to create virtual channels.

Table of contents

  1. Find X-USB device name
  2. Create virtual outputs in PulseAudio
  3. Restart PulseAudio
  4. Control application channel
@wylfen
wylfen / wkit.rules
Last active October 25, 2017 11:19
wkit.rules
# Generated by iptables-save v1.4.21 on Sun Jan 19 01:01:10 2014
*filter
:INPUT ACCEPT [140:10452]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [206:14477]
:morning - [0:0]
:afternoon - [0:0]
:evening - [0:0]
:night - [0:0]
-A INPUT -m time --timestart 08:00 --timestop 12:00 -j morning