Skip to content

apoudel20/acoustic_to_electric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AcousticToElectric

This project is aimed at converting timbre of a given musical piece with the use of VAEs combined with GANs.


Progress

Currently, this repository contains the automated data generation for acoustic and electric sounds that have been synthesized with the use of the fluidsynth (v1.1.6) for Windows. The data_generation/midi_generator directory contains a batch file (.bat) that, when executed, produces the following files:

  • generated_midi/random.mid
  • synthesized_wav/random_acoustic.wav
  • synthesized_wav/random_electric.wav This build process currently only works for windows. However, with the right fluidsynth builds and a few path adjustments, it can run on linux systems as well.

Requirements

For the MIDI file generation, MIDIUtil was used. It can be installed with the following command

pip install MIDIUtil

The fluidsynth binary for x64 is already included in the data_generation/fluidsynth_binaries directory because I don't like it when I have to build everything when I download from github. I didn't use the builds for x86 because lol I didn't want to.

You will also need to download some soundfonts for this to run.

The provided batch script data_generation/midi_generation.midi_to_electric_acoustic.bat runs the data generation process and populates the synthesized_wav directory

Model

The Jupyter Notebook has the complete implementation of the VAE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages