Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
M(AI)DI 0.15.3 documentation
M(AI)DI 0.15.3 documentation

Introduction:

  • About M(AI)DI
  • Getting Started
  • Integrations
  • Contributing
  • License
  • Github

MusicLang API:

  • Introduction
  • Generate an idea from scratch
  • List of models
  • Control chord progressions
  • Control other musical elements
  • Continue an existing song
  • Generate transitions

Other integrations:

  • Other integrations

Code Reference:

  • Code documentation

Examples:

  • Examples gallery
    • Basic midi manipulation
      • Tag each bar of a score with musical informations
      • Concatenate two midis
    • Integration with MusicLang API
      • Create a drum’n’bass sample
      • Generate a new track on a midi file
      • Regenerate only some bars of a specific tracks
      • Create a transition between two parts of a song
      • Deep musical control over the generation
      • Control the chord progression of the generation
      • Create a song in async mode
      • Extend an existing sample or song
Back to top
View this page
Edit this page

Examples gallery

Basic midi manipulation

This is a simple example of how to manipulate midi files using this library.

Tag each bar of a score with musical informations

Tag each bar of a score with musical informations

Concatenate two midis

Concatenate two midis

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

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Next
Basic midi manipulation
Previous
Code documentation
Copyright © 2024, GARDIN Florian, ZATAR Mehdi
Made with Sphinx and @pradyunsg's Furo
On this page
  • Examples gallery
    • Basic midi manipulation
    • Integration with MusicLang API