v1.0 Unlimited audio tracks with advanced fading and crossfading capabilities for BGM, BGS, ME, and SE audio in RPG Maker MV.
- Type: Boolean
- Description: Toggle debug logs (console output).
- Options:
Enable/Disable - Default:
false
-
Unlimited Tracks:
- Play multiple tracks of the same or different audio types simultaneously.
-
Advanced Audio Control:
- Seamless fade-in, fade-out, and crossfading for all audio types.
-
Independent Track Management:
- Prevents conflicts with the default audio system or other plugins (e.g., OC Rams Audio EX).
This plugin offers extensive control and flexibility over audio transitions, such as:
- Seamlessly fading a BGM into a BGS.
- Layering SEs with precise adjustments for pan, pitch, and volume.
Integrates into your project without interfering with the stock audio system or any other plugins, allowing selective feature usage.
[Command]-[Type][Track]? [Arguments]?
- Command: Action to perform (e.g., play, fade, stop, crossfade).
- Type: Audio type (BGM, BGS, ME, SE).
- Track: (Optional) Specific track number (defaults to Track 1 if omitted).
- Arguments: (Optional) Parameters for the command (e.g., volume, fade duration).
play-bgs3 Scene1- Plays a BGS on Track 3.stop-bgs3- Stops the BGS on Track 3 immediately.play-bgs "Title Music" 90 3- Plays BGS with spaces in its name, 90% volume, and 3s fade-in.
-
Play Audio
play-[Type][Track]? [name] [volume]? [fadein]? [pan]? [pitch]?- Plays the specified audio with optional adjustments.
- Example:
play-bgs2 Scene1 90 5 -30 120
-
Fade Audio
fade-[Type][Track]? [volume] [duration] [pan]? [pitch]?- Gradually adjusts volume, pan, or pitch over time.
- Example:
fade-bgm 30 3
-
Stop Audio
stop-[Type][Track]? [fadeout]?- Stops audio with an optional fade-out duration.
- Example:
stop-bgm2 5
-
Crossfade Audio
crossfade-[Type][Track]? [toTypeTo] [TrackId]? [name] [duration]- Crossfades from one track to another smoothly.
- Example:
crossfade-bgm2 bgm3 Scene2 5
- Track Numbers: Optional. Defaults to Track 1 if omitted.
- Default Values:
- Volume: 90%, Pan: 0, Pitch: 100%.
- Audio plays/stops immediately if fade-in/out duration is not provided.
- Quoted Names: Audio files with spaces in their names require quotes.
-
Command Parsing:
parseArgumentsmethod may struggle with special characters or nested quotes.
-
Performance:
- Excessive fade operations using
setIntervalcould lead to performance issues. Optimization withrequestAnimationFrameis under consideration.
- Excessive fade operations using
-
Nonexistent Tracks:
- Implement better error handling for invalid track IDs or audio types.
-
Fade Precision:
- Avoid rounding errors during volume/pan/pitch adjustments, especially for small durations.
- The plugin operates independently of RPG Maker's stock audio system.
- Designed to work alongside other audio plugins without conflicts.