Skip to content

Instantly share code, notes, and snippets.

View omnisonic's full-sized avatar

John omnisonic

View GitHub Profile
@omnisonic
omnisonic / raspberry-pi-zero_as_webcam.md
Created June 18, 2020 01:14 — forked from justinschuldt/raspberry-pi-zero_as_webcam.md
Directions for setting up a RaspberryPi to act as a generic USB webcam

hardware/software

Webcam parts:

  • Raspberry Pi Zero W Rev 1.1
  • Raspberry Pi Camera v2 (8-megapixel)
  • Raspberry Pi High Quality Camera (12.3-megapixel)
  • Raspbian Buster Lite 2020-02-13

Webcam works with:

  • Windows 10
  • Windows 10 "Camera" app
raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | ffmpeg -f alsa -ac 1 -ar 44100 -i default -acodec pcm_s16le -f s16le -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 60 -strict experimental -f flv <destination>
@omnisonic
omnisonic / index.html
Created January 22, 2020 01:02
ZEYVKjL
<!DOCTYPE html>
<html>
<body>
<p>An unordered list:</p>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
@omnisonic
omnisonic / .rb
Created December 23, 2018 05:37
SonicPi_Practice_BaldwinPianoSamples.2
#Baldwin piano sample folder - long sustaind notes
#I am practicing working with sample reversal and randomness etc.
Baldwin = ".../Baldwin_midside_flac/"
use_bpm 120
with_fx :reverb do
live_loop :sussbal do