Giter VIP home page Giter VIP logo

auditoryvo / vae2sound Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.27 MB

Stellar spectra-driven latent space sonification using a variational autoencoder. 3D Sound spatialization in 360 degrees.

Home Page: https://vimeo.com/641221857

License: MIT License

Jupyter Notebook 98.56% Csound Document 1.44%
3d-sound astronomy deep-learning spectra variational-autoencoders 360-sound multichannel-audio

vae2sound's Introduction

VAE2Sound

Stellar spectra-driven latent space sonification using a variational autoencoder. Sound spatialization in 360 degrees. VAE2SOUND-GitHub

CONTENTS

  • Jupyter notebook 1: VAE-Demo.ipynb
  • Jupyter notebook 2: VAE2Chords-Demo.ipynb
  • Jupyter notebook 3: VAE2Notes-Demo.ipynb
  • CSound/Cabbage file: VAE2Sound.csd
  • Cabbage mask file: Init2.png
  • Sample spectrum: Autoencoder.png
  • LICENSE
  • README
  • requirements.txt

CABBAGE/CSOUND INSTALLATION

1- Download and install CSound 6.15 from: https://github.com/csound/csound/releases/tag/6.15.0

2- Download Cabbage from (current version 2.9.0): https://cabbageaudio.com/download/

3- Install only Cabbage from the downloaded Cabbage package.

Warning: Current Cabbage version 2.9.0 allows to optionally install the latest version of CSound. This default option should be unchecked not to overwrite CSound 6.15. Latests versions of CSound require additional plugins to work with the image CSound opcodes, so they should not be used.

VAE2SOUND INSTALLATION

1- Download the spectra from: http://svocats.cab.inta-csic.es/miles/index.php?action=credits

2- Download all the content of this repository into the same folder

3- Install all the dependencies included in the requirements.txt file

4- To calculate the weights of the VAE for the MILES stellar library run Jupyter notebook 1: VAE-Demo.ipynb

  • Add your path to the downloaded spectra before running all the cells

5- To reproduce the sonifications:

  • Launch Cabbage, open VAE2Sound.csd, and press play

Important note: Cabbage 2.9.0 requires CamelCase update via: File/Convert Identifiers to camelCase. Also change manually “PluginID” to “PluginId” to avoid warnings.

  • Run Jupyter notebook 2 (VAE2Chords-Demo.ipynb), for the chord sonification
  • Add your path to the downloaded files before running all the cells
  • Run Jupyter notebook 3 (VAE2Notes-Demo.ipynb) for the sequential note sonification
  • Add your path to the downloaded files before running all the cells

Enjoy the sonifications!

Developer system info: Python 3.8.5 - Cabbage 2.5.0 - i7 macOS 10.15.7 - 32 GB - 1536 MB

vae2sound's People

Contributors

auditoryvo avatar

Watchers

 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.