Copyright 2019 Google LLC.
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License");
This notebook is a demo GANSynth, which generates audio with Generative Adversarial Networks. GANSynth learns to produce individual instrument notes like the NSynth Dataset. With pitch provided as a conditional attribute, the generator learns to use its latent space to represent different instrument timbres. This allows us to synthesize performances from MIDI files, either keeping the timbre constant, or interpolating between instruments over time.
This notebook synthesizes audio from uploaded MIDI files. There are two different flavors:
Have fun! And please feel free to hack this notebook to make your own creative interactions.
These cells take the MIDI for a full song and interpolate between several random latent vectors (equally spaced in time) over the whole song. The result sounds like instruments that slowly and smoothly morph between each other.
These cells allow you to choose two latent vectors and interpolate between them over a MIDI clip.