• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language Processing
  • Created almost 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Turn images into sounds viewable on a spectrogram!

sounds

Turn images into sounds viewable on a spectrogram!

The idea isn't that newโ€”Aphex Twin did this in 1999, and people have been doing it manually with whistle/voice since at least 2009.

This program is written using Processing and depends on the processing-sound library, which you will need to install before running.

For visualizations, I played sounds through my PC speakers and used the Spectroid Android app.

Examples

a clip-art chinese dragon a scene from the music video for "Take on Me"
a clip-art dog surprised pikachu meme

Logos in particular end up looking really awesome and dystopian:

Aperture Science's logo from the video game Portal The logo of Overwatch
Enron's logo Fat Llama's logo

Tunable parameters

Parameter Description
timeDelta Milliseconds to spend on each column of the image; scales the image horizontally
resolution Number of vertical "pixels" the image should have. Higher values tend to have more noise
logFreqStart Lower bound, as a power of 10, of the frequency the program can emit
logFreqEnd Upper bound of the frequency

Note that this is built with a log-scaled spectrogram in mind. If yours is linearly scaled, then edit this line to accommodate your needs.

More Repositories

1

torrent-client

Tiny BitTorrent client written in Go
Go
1,606
star
2

open-and-shut

Type in Morse code by repeatedly slamming your laptop shut
Shell
939
star
3

browsertunnel

Surreptitiously exfiltrate data from the browser over DNS
Go
397
star
4

typing

An experimental interactive README experience!
Go
152
star
5

pyc-secret-lab

Python
62
star
6

projectordino

Play the Chrome T-Rex game by physically jumping
JavaScript
54
star
7

hn-friends

Highlight and tag your friends on Hacker News
JavaScript
44
star
8

marveloptics_malware

Deobfuscated + reverse engineered javascript malware
JavaScript
28
star
9

tty-countdown

TTY countdown timer inspired by tty-clock
Python
19
star
10

chrome-filesystem-timing

Detecting incognito mode by timing the Chrome FileSystem API
HTML
11
star
11

terminal-waifu

http://jse.li/terminal-waifu/
CSS
10
star
12

http-server

A minimal HTTP server implemented from scratch using Python sockets and threads
Python
9
star
13

dns

toy recursive DNS resolver that does its own parsing and socket communication, just for fun
Python
8
star
14

flag-dvd

HTML
6
star
15

lhp

LHP Hypertext Preprocessor - A Cloudflare Worker that lets you embed Lua code on a web page as if it were PHP
C
5
star
16

miraculousladybot

Logs tumblr fanfictions to a psql database and generates fanfictions using markov chains
Python
5
star
17

arXiv_dump

Download all arXiv papers
Shell
5
star
18

luks_backdoor

Places a backdoor on a Luks encrypted partition via an unprotected initramfs
Shell
5
star
19

omen

Markov chain library
Python
5
star
20

s-h-a-n-p-e-s

S H A N P E S
JavaScript
4
star
21

terminal-twilight-zone

Play "You've just crossed over into the twilight zone" upon entering a git repository.
Shell
4
star
22

wordle-reverse

Draw pictures using the squares in Wordle.
HTML
4
star
23

ohio

๐Ÿ™ˆ
Python
3
star
24

electron-store-encryption

Breaking electron-store's encryption
JavaScript
3
star
25

dotfiles

i3 config
Shell
3
star
26

tictactoe-powerpoint

Play tic-tac-toe in PowerPoint
Python
3
star
27

notebooks

Jupyter Notebook
2
star
28

rgb

ruth gader binsburg
HTML
1
star
29

speedy

https://jse.li/speedy/
JavaScript
1
star
30

data-structures

Homework code for a data structures course
Java
1
star
31

protohackers

Go
1
star
32

dear_zack

an open letter to my brother
HTML
1
star
33

projectorface

this code is not great
Python
1
star
34

strange-autoblog

Posts to a blog after each TF2 session detailing the number of kills you got on a strange weapon
Python
1
star