Git Product home page Git Product logo

aiexperiments-sound-maker's Introduction

This is the source code and sounds to the A.I. Experiment, NSynth: Sound Maker.

This experiment lets you play with new sounds created with machine learning. It's built using Nsynth, a research project that trained a neural network on over 300,000 instrument sounds.

NSynth lets you select and combine two sound sources. Use the slider to change the interpolation between the two sound sources.

CREDITS

Built by Yotam Mann with friends on the Magenta and Creative Lab teams at Google. It uses TensorFlow, Tone.js and open-source tools from the Magenta project. Check out more at A.I. Experiments.

Building

To build and run your own, first make sure that you have Node.js and webpack installed.

To install the dependencies and build the project, in the terminal run:

npm install
webpack -p

You can then run a local server to play the site.

Audio files

All of the sound combinations can be found in the sounds folder. The files are named with the two instrument sounds and an underscore in between. Inside the file you will find 35 mp3 files. The mp3s are named with their interpolation point (0-4), then an underscore, then their midi note value.

For example, Bass_Trombone_Solo_A_bike_bell/1_68.mp3 is a combination of Bass_Trombone_Solo_A and bike bell. Since the file is called 1_68.mp3, that means it's the second interpolation point between trombone and bike bell (25% trombone and 75% bell) and the note value is 68 (G#5).

The samples aren't always perfectly in tune and they do sound a bit unusual – but we think that’s what makes them fun.

Keyboard

You can play the keyboard by touching or clicking the keys or plug in a MIDI keyboard. The center row of your computer keyboard will also trigger the keys.

aiexperiments-sound-maker's People

Contributors

tambien avatar mrayinteractive 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.