AMP (Adaptive Music Player)

An asset by DatLycan
The page banner background of a mountain and forest
AMP (Adaptive Music Player) thumbnail image
AMP (Adaptive Music Player) thumbnail image
AMP (Adaptive Music Player) hero image

Quick Information

0 ratings
AMP (Adaptive Music Player) icon image
DatLycan
AMP (Adaptive Music Player)

AMP allows you to create adaptive music systems. Utilizing the AdaptiveMusicPlayer and AudioStemPlayer nodes, you can easily modify music properties and add or remove stems in the inspector or during runtime.An example scene using these nodes can be found on itch.io: https://datlycan.itch.io/amp-demo

Supported Engine Version
4.0
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

AMP (Adaptive Music Player)

Create adaptive music systems in your game using the AdaptiveMusicPlayer and AudioStemPlayer.

Only compatible with Godot 4.x

Features

  • Easily create adaptive music systems in your Godot game.
  • Dynamically change music properties like BPM, time signature, etc., through the inspector.
  • Add or remove song stems from the track during runtime.
  • Use the StemPlaybackPreset Resource to define how each stem should be played.

Nodes

AdaptiveMusicPlayer

The AdaptiveMusicPlayer node extends Godot's AnimationPlayer node and provides a way to play adaptive Music. It holds values that can be changed in the inspector that correspond to song data.

AudioStemPlayer

The AudioStemPlayer node extends Godot's AudioStreamPlayer node and is designed to be used alongside the AdaptiveMusicPlayer. An AudioStemPlayer represents a different stem (instrument, track, etc.) of your song. It holds instructions for the AdaptiveMusicPlayer for how a stem should be played and what should be played.

Installation

  1. Download the AMP plugin from here.

  2. Place the plugin directory inside the "addons" folder of your Godot project.

  3. Enable the plugin in your project by going to "Project Settings" > "Plugins" and activate AMP.

or

  1. Install directly from the Godot Asset Library

  2. Enable the plugin in your project by going to "Project Settings" > "Plugins" and activate AMP.

Usage

  1. Add the AdaptiveMusicPlayer node to your scene and configure its properties in the inspector, such as BPM, time signature, and measure count.

  2. Add one or more AudioStemPlayer nodes as children of the AdaptiveMusicPlayer.

  3. Customize the AudioStemPlayer properties and assign a unique identifier to each stem.

  4. In your script, you can dynamically add or remove stems from the AdaptiveMusicPlayer using the add(identifier) and remove(identifier) methods, respectively.

# Example usage of adding stems with identifiers
var amp = get_node("AdaptiveMusicPlayer")
amp.add("stem_one_identifier")
amp.add("stem_two_identifier")

# You can also use group identifiers to add multiple stems at once
amp.add("Group/group_identifier")

You can also use StemPlaybackPreset to define how each stem should be played and assign it to the corresponding AudioStemPlayer node.

Demo

A browser demo using the example can be found on itch.io

License

This plugin is released under the MIT License.

AMP allows you to create adaptive music systems.
Utilizing the AdaptiveMusicPlayer and AudioStemPlayer nodes, you can easily modify music properties and add or remove stems in the inspector or during runtime.

An example scene using these nodes can be found on itch.io:
https://datlycan.itch.io/amp-demo

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
AMP (Adaptive Music Player) icon image
DatLycan
AMP (Adaptive Music Player)

AMP allows you to create adaptive music systems. Utilizing the AdaptiveMusicPlayer and AudioStemPlayer nodes, you can easily modify music properties and add or remove stems in the inspector or during runtime.An example scene using these nodes can be found on itch.io: https://datlycan.itch.io/amp-demo

Supported Engine Version
4.0
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers