RhythmGame 1.4.3
Loading...
Searching...
No Matches
Classes | Functions
sounds Namespace Reference

The namespace for all sound related classes. More...

Classes

class  AudioEngine
 
class  AudioPlayer
 
struct  ChartAudioEvent
 
class  ChartAudioPlayer
 
class  MultiSound
 A sound that plays multiple underlying sounds simultaneously. More...
 
class  NormalSound
 
class  NormalSoundBuffer
 A buffer that can be used to create sounds. Wraps an buffer. More...
 
class  SlicedSoundBuffer
 A view into a subsection of an existing SoundBuffer. More...
 
class  Sound
 A sound that can be played. More...
 
class  SoundBuffer
 A buffer that can be used to create sounds. Wraps an buffer. More...
 

Functions

auto createChartAudioEvents (const charts::BmsNotesData &notes) -> std::vector< ChartAudioEvent >
 
auto skipChartAudioLeadingSilence (const std::span< ChartAudioEvent > events) -> std::chrono::nanoseconds
 
auto chartAudioLoopLength (const std::span< const ChartAudioEvent > events, const std::chrono::nanoseconds chartLength) -> std::chrono::nanoseconds
 

Detailed Description

The namespace for all sound related classes.

This namespace contains all classes related to sound playback, loading, decoding, etc.

Function Documentation

◆ chartAudioLoopLength()

auto sounds::chartAudioLoopLength ( const std::span< const ChartAudioEvent >  events,
const std::chrono::nanoseconds  chartLength 
) -> std::chrono::nanoseconds

◆ createChartAudioEvents()

auto sounds::createChartAudioEvents ( const charts::BmsNotesData &  notes) -> std::vector< ChartAudioEvent >

◆ skipChartAudioLeadingSilence()

auto sounds::skipChartAudioLeadingSilence ( const std::span< ChartAudioEvent >  events) -> std::chrono::nanoseconds