SuperMaker.AiMakeMusic
1767.667.326.395
dotnet add package SuperMaker.AiMakeMusic --version 1767.667.326.395
NuGet\Install-Package SuperMaker.AiMakeMusic -Version 1767.667.326.395
<PackageReference Include="SuperMaker.AiMakeMusic" Version="1767.667.326.395" />
<PackageVersion Include="SuperMaker.AiMakeMusic" Version="1767.667.326.395" />
<PackageReference Include="SuperMaker.AiMakeMusic" />
paket add SuperMaker.AiMakeMusic --version 1767.667.326.395
#r "nuget: SuperMaker.AiMakeMusic, 1767.667.326.395"
#:package SuperMaker.AiMakeMusic@1767.667.326.395
#addin nuget:?package=SuperMaker.AiMakeMusic&version=1767.667.326.395
#tool nuget:?package=SuperMaker.AiMakeMusic&version=1767.667.326.395
ai-make-music
A .NET library for programmatically generating music using AI models. Seamlessly integrate AI-powered music creation into your .NET applications.
Installation
To install the ai-make-music package, use the following command in the .NET CLI:
bash
dotnet add package ai-make-music
Usage Examples
Here are a few examples demonstrating how to use the ai-make-music package in your C# projects:
Example 1: Generating a short melody. csharp using AiMakeMusic;
public class Example { public static async Task GenerateMelody() { var generator = new MusicGenerator(); var melody = await generator.GenerateMelodyAsync(length: 30, tempo: 120); // Generate a 30-second melody at 120 BPM Console.WriteLine($"Melody generated: {melody.FilePath}");
// Optionally, save the melody to a specific location
await melody.SaveAsync("path/to/my/melody.mid");
}
}
Example 2: Creating a drum beat. csharp using AiMakeMusic;
public class Example { public static async Task GenerateDrumBeat() { var generator = new MusicGenerator(); var drumBeat = await generator.GenerateDrumBeatAsync(style: "Rock", length: 60); // Generate a 60-second rock drum beat. Console.WriteLine($"Drum beat generated: {drumBeat.FilePath}"); } }
Example 3: Harmonizing a melody. csharp using AiMakeMusic;
public class Example { public static async Task HarmonizeMelody(string melodyFilePath) { var generator = new MusicGenerator(); var harmony = await generator.HarmonizeMelodyAsync(melodyFilePath, harmonyType: "Major"); // Harmonize the provided melody in a major key. Console.WriteLine($"Harmony generated: {harmony.FilePath}"); } }
Example 4: Adjusting the tempo of an existing song. csharp using AiMakeMusic;
public class Example { public static async Task ChangeTempo(string songFilePath, int newTempo) { var generator = new MusicGenerator(); var adjustedSong = await generator.AdjustTempoAsync(songFilePath, newTempo); Console.WriteLine($"Tempo adjusted song generated: {adjustedSong.FilePath}"); } }
Example 5: Generating music based on a text prompt. csharp using AiMakeMusic;
public class Example { public static async Task GenerateMusicFromTextPrompt(string prompt) { var generator = new MusicGenerator(); var music = await generator.GenerateMusicFromTextAsync(prompt); Console.WriteLine($"Music generated based on prompt: {music.FilePath}"); } }
Feature Summary
- Melody Generation: Create original melodies with customizable length and tempo.
- Drum Beat Generation: Generate drum beats in various styles (Rock, Pop, Electronic, etc.).
- Melody Harmonization: Add harmonies to existing melodies to enrich their sound.
- Tempo Adjustment: Modify the tempo of existing music files.
- Text-to-Music Generation: Create music based on textual descriptions and prompts.
- Asynchronous Operations: All methods are asynchronous, ensuring responsiveness in your applications.
- Easy Integration: Simple and intuitive API for seamless integration with your .NET projects.
License
This project is licensed under the MIT License - see the LICENSE file for details.
This package is part of the ai-make-music ecosystem. For advanced features and enterprise-grade tools, visit: https://supermaker.ai/music/ai-make-music/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1767.667.326.395 | 165 | 1/6/2026 |