Audio » Music module

Module files (files with *.mod, *.xm, *.s3m and *.it extensions) played with Direct Sound channels thanks to Maxmod.

Files

file bn_jingle.h
file bn_jingle_actions.h
file bn_music.h
file bn_music_actions.h
file bn_music_item.h

Namespaces

namespace bn
Main Butano namespace.
namespace bn::jingle
Direct Sound jingles related functions.
namespace bn::music
Direct Sound music related functions.

Classes

class bn::jingle_volume_manager
Manages the volume of the active Direct Sound jingle.
class bn::jingle_volume_to_action
Modifies the volume of the active Direct Sound jingle until it has a given state.
class bn::jingle_volume_loop_action
Modifies the volume of the active Direct Sound jingle from a minimum to a maximum. When the volume is equal to the given final state, it goes back to its initial state and vice versa.
class bn::jingle_volume_toggle_action
Changes the volume of the active Direct Sound jingle when the action is updated a given number of times.
class bn::music_volume_manager
Manages the volume of the active Direct Sound music.
class bn::music_volume_to_action
Modifies the volume of the active Direct Sound music until it has a given state.
class bn::music_volume_loop_action
Modifies the volume of the active Direct Sound music from a minimum to a maximum. When the volume is equal to the given final state, it goes back to its initial state and vice versa.
class bn::music_volume_toggle_action
Changes the volume of the active Direct Sound music when the action is updated a given number of times.
class bn::music_tempo_manager
Manages the tempo of the active Direct Sound music.
class bn::music_tempo_to_action
Modifies the tempo of the active Direct Sound music until it has a given state.
class bn::music_tempo_loop_action
Modifies the tempo of the active Direct Sound music from a minimum to a maximum. When the tempo is equal to the given final state, it goes back to its initial state and vice versa.
class bn::music_tempo_toggle_action
Changes the tempo of the active Direct Sound music when the action is updated a given number of times.
class bn::music_pitch_manager
Manages the pitch of the active Direct Sound music.
class bn::music_pitch_to_action
Modifies the pitch of the active Direct Sound music until it has a given state.
class bn::music_pitch_loop_action
Modifies the pitch of the active Direct Sound music from a minimum to a maximum. When the pitch is equal to the given final state, it goes back to its initial state and vice versa.
class bn::music_pitch_toggle_action
Changes the pitch of the active Direct Sound music when the action is updated a given number of times.
class bn::music_item
Contains the required information to play Direct Sound music.
template<>
struct bn::hash<music_item>
Hash support for music_item.

Defines

#define BN_CFG_AUDIO_MAX_MUSIC_CHANNELS

Define documentation

#define BN_CFG_AUDIO_MAX_MUSIC_CHANNELS

Specifies the maximum number of active Direct Sound music channels.