Csound and CsoundAC API  5.17
Public Member Functions | Data Fields | Protected Attributes | Static Protected Attributes
Alg_note Class Reference

#include <allegro.h>

+ Inheritance diagram for Alg_note:

Public Member Functions

 Alg_note (Alg_note *)
 Alg_note ()
void delete_attribute (const char *attr)
const char * get_atom_value (const char *attr, const char *value=NULL)
const char * get_atom_value ()
const char * get_attribute ()
char get_attribute_type (const char *attr)
double get_duration ()
double get_end_time ()
long get_identifier ()
long get_integer_value (const char *attr, long value=0)
long get_integer_value ()
bool get_logical_value (const char *attr, bool value=false)
bool get_logical_value ()
float get_loud ()
float get_pitch ()
double get_real_value (const char *attr, double value=0.0)
double get_real_value ()
bool get_selected ()
double get_start_time ()
const char * get_string_value (const char *attr, const char *value=NULL)
const char * get_string_value ()
char get_type ()
int get_type_code ()
char get_update_type ()
const char * GetDescription ()
bool has_attribute (const char *attr)
bool is_note ()
bool is_update ()
bool overlap (double t, double len, bool all)
void set_atom_value (const char *attr, const char *atom)
void set_duration (double)
void set_identifier (long i)
void set_integer_value (const char *attr, long value)
void set_logical_value (const char *attr, bool value)
void set_loud (float)
void set_parameter (Alg_parameter_ptr new_parameter)
void set_pitch (float)
void set_real_value (const char *attr, double value)
void set_selected (bool b)
void set_string_value (const char *attr, const char *value)
void show ()
virtual ~Alg_note ()

Data Fields

long chan
double dur
float loud
Alg_parameters_ptr parameters
float pitch
double time

Protected Attributes

long key
bool selected
char type

Static Protected Attributes

static const char * description

Constructor & Destructor Documentation

virtual Alg_note::~Alg_note ( )
virtual
Alg_note::Alg_note ( Alg_note )
Alg_note::Alg_note ( )
inline

References NULL, parameters, and Alg_event::type.

Member Function Documentation

void Alg_event::delete_attribute ( const char *  attr)
inherited
const char* Alg_event::get_atom_value ( const char *  attr,
const char *  value = NULL 
)
inherited
const char* Alg_event::get_atom_value ( )
inherited
const char* Alg_event::get_attribute ( )
inherited
char Alg_event::get_attribute_type ( const char *  attr)
inherited
double Alg_event::get_duration ( )
inherited
double Alg_event::get_end_time ( )
inherited
long Alg_event::get_identifier ( )
inlineinherited

References Alg_event::key.

long Alg_event::get_integer_value ( const char *  attr,
long  value = 0 
)
inherited
long Alg_event::get_integer_value ( )
inherited
bool Alg_event::get_logical_value ( const char *  attr,
bool  value = false 
)
inherited
bool Alg_event::get_logical_value ( )
inherited
float Alg_event::get_loud ( )
inherited
float Alg_event::get_pitch ( )
inherited
double Alg_event::get_real_value ( const char *  attr,
double  value = 0.0 
)
inherited
double Alg_event::get_real_value ( )
inherited
bool Alg_event::get_selected ( )
inlineinherited

References Alg_event::selected.

double Alg_event::get_start_time ( )
inherited
const char* Alg_event::get_string_value ( const char *  attr,
const char *  value = NULL 
)
inherited
const char* Alg_event::get_string_value ( )
inherited
char Alg_event::get_type ( )
inlineinherited

References Alg_event::type.

int Alg_event::get_type_code ( )
inherited
char Alg_event::get_update_type ( )
inherited
const char* Alg_event::GetDescription ( )
inherited
bool Alg_event::has_attribute ( const char *  attr)
inherited
bool Alg_event::is_note ( )
inlineinherited

References Alg_event::type.

bool Alg_event::is_update ( )
inlineinherited

References Alg_event::type.

bool Alg_event::overlap ( double  t,
double  len,
bool  all 
)
inherited
void Alg_event::set_atom_value ( const char *  attr,
const char *  atom 
)
inherited
void Alg_event::set_duration ( double  )
inherited
void Alg_event::set_identifier ( long  i)
inlineinherited

References Alg_event::key.

void Alg_event::set_integer_value ( const char *  attr,
long  value 
)
inherited
void Alg_event::set_logical_value ( const char *  attr,
bool  value 
)
inherited
void Alg_event::set_loud ( float  )
inherited
void Alg_event::set_parameter ( Alg_parameter_ptr  new_parameter)
inherited
void Alg_event::set_pitch ( float  )
inherited
void Alg_event::set_real_value ( const char *  attr,
double  value 
)
inherited
void Alg_event::set_selected ( bool  b)
inlineinherited

References Alg_event::selected.

void Alg_event::set_string_value ( const char *  attr,
const char *  value 
)
inherited
void Alg_note::show ( )
virtual

Implements Alg_event.

Field Documentation

long Alg_event::chan
inherited
const char* Alg_event::description
staticprotectedinherited
double Alg_note::dur
long Alg_event::key
protectedinherited
float Alg_note::loud
Alg_parameters_ptr Alg_note::parameters

Referenced by Alg_note().

float Alg_note::pitch
bool Alg_event::selected
protectedinherited
double Alg_event::time
inherited
char Alg_event::type
protectedinherited