Integration with MusicLang API

This is a simple example of how to integrate the MusicLang API into your application. You’ll need to have an MUSICLANG_API_KEY here and set your environment variable to use it.

Create a drum’n’bass sample

Create a drum'n'bass sample

Generate a new track on a midi file

Generate a new track on a midi file

Regenerate only some bars of a specific tracks

Regenerate only some bars of a specific tracks

Create a transition between two parts of a song

Create a transition between two parts of a song

Deep musical control over the generation

Deep musical control over the generation

Control the chord progression of the generation

Control the chord progression of the generation

Create a song in async mode

Create a song in async mode

Extend an existing sample or song

Extend an existing sample or song