Git Product home page Git Product logo

img-encode's Introduction

img-encode

Encode an image to audio spectrum

Demo

https://alexadam.github.io/demos/img-encode/index.html

Open an image file

alt s1.png

Click on "Encode"

alt s2.png

alt s3.png

Open the generated 'result.wav' file with 'Sonic Visualizer', click on 'Layer -> add Spectrogram'. The result:

alt result

Other examples

alt result

alt result

alt result

alt result

alt result

How to use it

There are 2 versions: python ('v1-python' - no longer maintained) and javascript ('v2-js') This is an usage example for the javascript version, tested on Firefox 41, Ubuntu 15.10, Sonic Visualizer 2.4

  1. Download as .zip or clone the repository

  2. go to the '/img-encode' folder

  3. open '/v2-js/index.html' in Firefox

  4. click on 'Open Image...' then on 'Encode'

  5. After a few seconds you will be prompted to save the generated 'result.wav' (audio) file

  6. Open 'result.wav' with Sonic Visualizer then click on 'Layer -> add Spectrogram'

Credits

http://www.ohmpie.com/imageencode/

http://www.codebase.es/riffwave/

https://github.com/eligrey/FileSaver.js

img-encode's People

Contributors

alexadam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.