MuseScore  3.4
Music composition and notation
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
Rankwave Class Reference

#include <rankwave.h>

Collaboration diagram for Rankwave:
Collaboration graph
[legend]

Public Member Functions

 Rankwave (int n0, int n1)
 
 ~Rankwave ()
 
void note_on (int n)
 
void note_off (int n)
 
void all_off (void)
 
int n0 (void) const
 
int n1 (void) const
 
void play (int shift)
 
void set_param (float *out, int del, int pan)
 
void gen_waves (Addsynth *D, float fsamp, float fbase, float *scale)
 
int save (const char *path, Addsynth *D, float fsamp, float fbase, float *scale)
 
int load (const char *path, Addsynth *D, float fsamp, float fbase, float *scale)
 
bool modif (void) const
 

Public Attributes

int _cmask
 
int _nmask
 

Private Member Functions

 Rankwave (const Rankwave &)
 
Rankwaveoperator= (const Rankwave &)
 

Private Attributes

int _n0
 
int _n1
 
uint32_t _sbit
 
Pipewave_list
 
Pipewave_pipes
 
bool _modif
 

Constructor & Destructor Documentation

◆ Rankwave() [1/2]

Rankwave::Rankwave ( const Rankwave )
private

◆ Rankwave() [2/2]

Rankwave::Rankwave ( int  n0,
int  n1 
)

◆ ~Rankwave()

Rankwave::~Rankwave ( void  )

Member Function Documentation

◆ all_off()

void Rankwave::all_off ( void  )
inline

◆ gen_waves()

void Rankwave::gen_waves ( Addsynth D,
float  fsamp,
float  fbase,
float *  scale 
)

◆ load()

int Rankwave::load ( const char *  path,
Addsynth D,
float  fsamp,
float  fbase,
float *  scale 
)

◆ modif()

bool Rankwave::modif ( void  ) const
inline

◆ n0()

int Rankwave::n0 ( void  ) const
inline

◆ n1()

int Rankwave::n1 ( void  ) const
inline

◆ note_off()

void Rankwave::note_off ( int  n)
inline

◆ note_on()

void Rankwave::note_on ( int  n)
inline

◆ operator=()

Rankwave& Rankwave::operator= ( const Rankwave )
private

◆ play()

void Rankwave::play ( int  shift)

◆ save()

int Rankwave::save ( const char *  path,
Addsynth D,
float  fsamp,
float  fbase,
float *  scale 
)

◆ set_param()

void Rankwave::set_param ( float *  out,
int  del,
int  pan 
)

Member Data Documentation

◆ _cmask

int Rankwave::_cmask

◆ _list

Pipewave* Rankwave::_list
private

◆ _modif

bool Rankwave::_modif
private

◆ _n0

int Rankwave::_n0
private

◆ _n1

int Rankwave::_n1
private

◆ _nmask

int Rankwave::_nmask

◆ _pipes

Pipewave* Rankwave::_pipes
private

◆ _sbit

uint32_t Rankwave::_sbit
private

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