Skip to content

Instantly share code, notes, and snippets.

View danigb's full-sized avatar

danigb danigb

  • InVideo
  • Seville, spain
View GitHub Profile
@danigb
danigb / sonl.md
Created March 13, 2022 17:50
sonl draft

Sound language compiling to WASM

Designed to be useful for writing sound formulas / audio processing code for various audio targets, such as AudioWorkletProcessor, audio engines, individual audio nodes etc.

Initially inspired by zzfx, bytebeat, hxos, web-audio-engine and others, but soon it became clear that JS limitations are no-go for sound processing and it needs something more foundational with better low-level control, which WASM perfectly provides.

Examples

Gain

@danigb
danigb / encoding-video.md
Created September 15, 2021 11:42 — forked from Vestride/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@danigb
danigb / LICENSE.txt
Last active October 25, 2020 20:16 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE