A program that uses intelligence and probability to generate harmonically pleasant backing tracks in both audio and MIDI formats.
In this repository, we present a novel system that converts AI-generated text-based Ostinato data into structured numerical formats through a unique quantization process, adjusting dynamically to user preferences. Our pioneering Chaos Index Algorithm lets users adjust composition randomness, enhancing musical diversity by 70%, while our integration of sophisticated audio synthesis replicates authentic instrumental sounds for superior audio quality. The system, hosted on Google Cloud, promises strong performance and scalability. Its user-friendly web interface offers control over musical elements like tempo and mood, and an interactive feature visualizes compositions in real-time, potentially enhanced with animations during audio generation.
- Introduction
- Core Module
- API
- Frontend
- Installation
- Usage
- Contributors
- License
- Contact
- Acknowledgments
The Core module is the central pillar of this application, providing the fundamental mechanisms that power the system's unique capabilities. Accessible exclusively by the manager, the Core module synergizes its operations through three specialized submodules to execute a sophisticated conversion process. Furthermore, it encompasses a series of genre-specific classes designed to handle nuanced variations associated with different musical genres.
The gpt submodule acts as the creative engine, leveraging advanced algorithms to craft a diverse array of completion responses. This process involves the generation of modelled notes and chords, which are subsequently translated into numerical data for additional processing. The intricate architecture of this submodule allows for the nuanced handling of musical information, forming the bedrock upon which subsequent conversion steps are performed.
Operating in perfect concert with the gpt submodule, the midi submodule serves a pivotal role in transmuting the raw, numerical representations of notes into structured musical data. This transformation involves complex mathematical computations, the result of which are rich, MIDI-formatted wrapper classes and score files. These elements are foundational in the construction of coherent musical tracks.
The audio submodule is the final stage in the conversion process, where it interprets and encodes the information assembled by the MIDI module into tangible audio files. These files, known as stems, are rendered in the universally compatible mp3 format. This module is meticulously engineered to map MIDI data to corresponding audio samples, overlaying sounds with precise timing to maintain tempo integrity, thereby producing a seamless auditory experience.
In addition to the primary submodules, the Core module features a comprehensive suite of classes tailored to various musical genres. These classes are intrinsic to the system's ability to manage genre-specific peculiarities, ensuring accurate and representative audio output across a diverse musical spectrum.
To do: Provide an overview of the backend part of the application.
To do: Provide an overview of the frontend part of the application.
This is a relatively simple package to install; however, installation of ffmpeg is required. If on MacOS, I would recommend having homebrew installed. If on Windows, follow this tutorial.
# clone the repository to your local machine
git clone https://github.com/andethy/ostinato.git
# navigate to the project's directory
cd ostinato
# install the dependencies
brew install ffmpeg
pip install -r requirements.txt# clone the repository to your local machine
git clone https://github.com/andethy/ostinato.git
# navigate to the project's directory
cd ostinato
# install the dependencies
pip install -r requirements.txtComing soon
- Jack
- Hamza
- Hamzah
- Shayan
Information about the project's license.
Distributed under the AGPL-3.0 License. See `LICENSE` for more information.
Jack Hayley: [email protected]
Project Link: https://github.com/andethy/ostinato
In progress.