Prints pictures or messages in spectograms.
C Objective-C Shell Makefile
Switch branches/tags
Nothing to show
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
screens
cameraman.pgm
letters.h
makefile
prepare_image.sh
readme.md
spectrum_printer.c

readme.md

About

SpectrumPrinter converts images or messages to audio signals, which can be viewed using spectrograms (with Audacity or SpectrumView).

Usage:

Compile using make (make) and run:

./spectrum-printer "message"

Some additional options can be used, for instance:

./spectrum-printer "message" lines=40 min=1000 max=2000 time=400

Prints "message" using 40 lines (frequencies) ranging from 1000 to 2000 Hz, where each column takes 400ms.

You can also print images. To prepare image use ./prepare_image.sh input_file output_file height and use image=true option. Example:

./spectrum-printer cameraman.pgm image=true min=1000 max=6000 time=100

When printing images lines option is ignored.

Dependencies

PortAudio V19

Screens

hexley address cameraman

License

The MIT License (MIT)