Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.18 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.18 KB

SegDSP Spectrum Paint

Golang / SegDSP Spectrum Paint Generator

That's a very simple program that I did because I woke up too early. It uses SegDSP embedded Inverse FFT function to generate Spectrum Paints. It also uses the same drawing mechanism as my LED Matrix Panel (WiMatrix) uses to render fonts.

The software is pretty simple:

./painter --help
usage: painter --sampleRate=SAMPLERATE [<flags>] <text>

Flags:
  --help                     Show context-sensitive help (also try --help-long and --help-man).
  --sampleRate=SAMPLERATE    Sample Rate (in sps)
  --printSpeed=1             Print Speed in Chars / Second
  --gain=0                   Gain (in dB)
  --vertical                 Print each character vertically
  --filename="sample.cfile"  Name of the output file

Args:
  <text>  Text to paint

Examples

Vertical Print:

./painter --sampleRate=1000000 --printSpeed=2 --gain=10 --vertical "PU2NVX Lucas Teske"

Vertical Print

Horizontal Print

./painter --sampleRate=1000000 --printSpeed=2 --gain=10 "PU2NVX   "

Horizontal Print

Have fun!