https://github.com/kgabis/spectrum-printer
Prints pictures or messages in spectograms.
https://github.com/kgabis/spectrum-printer
Last synced: 3 months ago
JSON representation
Prints pictures or messages in spectograms.
- Host: GitHub
- URL: https://github.com/kgabis/spectrum-printer
- Owner: kgabis
- Created: 2014-03-16T14:04:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T09:07:19.000Z (over 8 years ago)
- Last Synced: 2025-04-12T15:58:56.864Z (6 months ago)
- Language: C
- Homepage:
- Size: 4.53 MB
- Stars: 34
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## About
SpectrumPrinter converts images or messages to audio signals, which can be viewed using spectrograms (with [Audacity](http://audacity.sourceforge.net/) or [SpectrumView](https://itunes.apple.com/us/app/spectrumview/id472662922?mt=8)).## 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](http://www.portaudio.com/)## Screens


## License
[The MIT License (MIT)](http://opensource.org/licenses/mit-license.php)