Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

spectrophoto

> 编程语言
Open source

Turns an image into an audio file. Image is visible on the spectrogram.

180 stars0 likes4 views
WebsiteGitHub

About

Turns an image into an audio file. Image is visible on the spectrogram.

spectrophoto

Turns an image into an audio file. Image is visible on the spectrogram.

Building

bash
git clone https://github.com/kylophone/spectrophoto
cd spectrophoto
gcc ./spectrophoto.c -o spectrophoto -std=c99 -lm -O3 -Wall

Usage

spectrophoto in.jpg out.pcm 10

Output

This will generate a 48k/32-bit floating point raw PCM file. You can listen to it with SoX like this:

play -c 1 -r 48000 -b 32 -e float -t raw out.pcm

Generating a spectrogram with SoX looks like this:

sox -c 1 -r 48000 -b 32 -e float -t raw out.pcm -n spectrogram

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言