Giter Club home page Giter Club logo

sound-generation's Introduction

Sound Generation VAE: What is this project ?

The basic purpose of this project is to combine my theoretical knowledge of Variational Autoencoders (vae) and Tensorflow to build a vae with a specialized pre-processing pipeline for dealing with sound files (.wav files) and ultimately develop a vae which can produce sound from mel spectograms.

What dataset and libraries are used ?

This project makes use of Tensorflow and Keras Functional API for developing the VAE as well as the pre-processing pipeline. The SoundFile, and Librosa libraries are also used to create different components of the sound pre-processing pipeline. Other than this, the OS and Pickle libraries are used for loading and saving the model as well as creating folders as needed. The "Free Sound Digits Dataset" is used to train this specific model.

How to use this program ?

Just download the .ipynb file and ensure that you have an Nvidia GPU available with cuDNN installed on your local system. Please change the file paths for where the pre-processed, post-processed dataset is stored as well as all the directories where different components of the model and required files are saved. After making the appropriate edits just run all the cells and the model should be able to learn and generate the audio based on files in your dataset.

Future Development ?

Currently, I use an implementation of the Griffim-Lim algorithm to obtain sound from the mel spectograms that I generate with my VAE. Due to this, the sound generated is very robotic and does not account for pitch and modulation in sound. Thus, I'm unable to use this model to generate music like Beethoven, Mozart, etc. I'm trying to get past this obstacle by learning more theory about sound generation and audio signal pre-processing and further develop this project to be effective for more refined sound based tasks.

sound-generation's People

Contributors

svedantwork avatar

Stargazers

 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.