Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.04 KB

readme.md

File metadata and controls

31 lines (20 loc) · 1.04 KB

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)