Skip to content

ggerganov/morse-meme

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

morse-meme

Procedural generation of Morse Code memes in Bash

Demo: https://meme.ggerganov.com

dependencies

sudo apt-get install ffmpeg sox

using

./gen.sh
Usage: ./gen.sh [options] "meme text"

Options:
-i fname      image filename prefix
-s n          Tx speed in WPM
-ts n         start pause in ms
-te n         end pause in ms
-fs n         font size in px
-fc color     font color (e.g 0xffffff)
-fba n        font background alpha in %
-tx n         text x pos in %
-ty n         text y pos in %
-nc           hide morse code text
-np           hide plain text
-n type       add background noise
-nv n         noise volume [percent 0-100]
-f            color flashes
-st type      sound type

Examples:
      ./gen.sh "test"
      ./gen.sh -i doge0-512 "much wow"
      ./gen.sh -s 50 "2 fast"
      ./gen.sh -ts 3000 -s 50 "pause"
      ./gen.sh -fs 48 "big"

examples

./gen.sh "CHEEZBURGER"
cat.mp4
./gen.sh -i doge0-512 "many wow" -s 20 -fs 24 -tx 45 -ty 12 -fc 0xff00ff -nc -fba 0
doge.mp4

Releases

No releases published

Packages

No packages published

Languages