openMSX
Public Member Functions | List of all members
openmsx::YM2413Okazaki::YM2413 Class Referencefinal

#include <YM2413Okazaki.hh>

Inheritance diagram for openmsx::YM2413Okazaki::YM2413:
Inheritance graph
[legend]
Collaboration diagram for openmsx::YM2413Okazaki::YM2413:
Collaboration graph
[legend]

Public Member Functions

 YM2413 ()
 
void keyOn_BD ()
 
void keyOn_SD ()
 
void keyOn_TOM ()
 
void keyOn_HH ()
 
void keyOn_CYM ()
 
void keyOff_BD ()
 
void keyOff_SD ()
 
void keyOff_TOM ()
 
void keyOff_HH ()
 
void keyOff_CYM ()
 
void setRhythmFlags (byte old)
 
void update_key_status ()
 
bool isRhythm () const
 
unsigned getFreq (unsigned channel) const
 
PatchgetPatch (unsigned instrument, bool carrier)
 
template<unsigned FLAGS>
void calcChannel (Channel &ch, float *buf, unsigned num)
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
template<unsigned FLAGS>
ALWAYS_INLINE void calcChannel (Channel &ch, float *buf, unsigned num)
 
- Public Member Functions inherited from openmsx::YM2413Core
virtual ~YM2413Core ()=default
 
virtual void generateChannels (float *bufs[11], unsigned num)=0
 Generate the sound output. More...
 

Additional Inherited Members

- Static Public Attributes inherited from openmsx::YM2413Core
static constexpr int CLOCK_FREQ = 3579545
 Input clock frequency. More...
 
- Protected Member Functions inherited from openmsx::YM2413Core
 YM2413Core ()=default
 

Detailed Description

Definition at line 133 of file YM2413Okazaki.hh.

Constructor & Destructor Documentation

◆ YM2413()

openmsx::YM2413Okazaki::YM2413::YM2413 ( )

Member Function Documentation

◆ calcChannel() [1/2]

template<unsigned FLAGS>
void openmsx::YM2413Okazaki::YM2413::calcChannel ( Channel ch,
float *  buf,
unsigned  num 
)
inline

◆ calcChannel() [2/2]

template<unsigned FLAGS>
ALWAYS_INLINE void openmsx::YM2413Okazaki::YM2413::calcChannel ( Channel ch,
float *  buf,
unsigned  num 
)

◆ getFreq()

unsigned openmsx::YM2413Okazaki::YM2413::getFreq ( unsigned  channel) const
inline

Definition at line 1088 of file YM2413Okazaki.cc.

Referenced by serialize(), and setRhythmFlags().

◆ getPatch()

Patch & openmsx::YM2413Okazaki::YM2413::getPatch ( unsigned  instrument,
bool  carrier 
)

Definition at line 1095 of file YM2413Okazaki.cc.

Referenced by openmsx::YM2413Okazaki::Channel::setPatch().

◆ isRhythm()

bool openmsx::YM2413Okazaki::YM2413::isRhythm ( ) const
inline

Definition at line 1083 of file YM2413Okazaki.cc.

Referenced by serialize(), setRhythmFlags(), and update_key_status().

◆ keyOff_BD()

void openmsx::YM2413Okazaki::YM2413::keyOff_BD ( )
inline

◆ keyOff_CYM()

void openmsx::YM2413Okazaki::YM2413::keyOff_CYM ( )
inline

◆ keyOff_HH()

void openmsx::YM2413Okazaki::YM2413::keyOff_HH ( )
inline

◆ keyOff_SD()

void openmsx::YM2413Okazaki::YM2413::keyOff_SD ( )
inline

◆ keyOff_TOM()

void openmsx::YM2413Okazaki::YM2413::keyOff_TOM ( )
inline

◆ keyOn_BD()

void openmsx::YM2413Okazaki::YM2413::keyOn_BD ( )
inline

◆ keyOn_CYM()

void openmsx::YM2413Okazaki::YM2413::keyOn_CYM ( )
inline

◆ keyOn_HH()

void openmsx::YM2413Okazaki::YM2413::keyOn_HH ( )
inline

◆ keyOn_SD()

void openmsx::YM2413Okazaki::YM2413::keyOn_SD ( )
inline

◆ keyOn_TOM()

void openmsx::YM2413Okazaki::YM2413::keyOn_TOM ( )
inline

◆ serialize()

template<typename Archive >
void openmsx::YM2413Okazaki::YM2413::serialize ( Archive &  ar,
unsigned  version 
)

◆ setRhythmFlags()

void openmsx::YM2413Okazaki::YM2413::setRhythmFlags ( byte  old)
inline

◆ update_key_status()

void openmsx::YM2413Okazaki::YM2413::update_key_status ( )
inline

The documentation for this class was generated from the following files: