midi

midi

Functions

void generate_midi ()
gdouble get_time ()
gdouble get_playuntil ()
void adjust_midi_velocity ()
void change_tuning ()
gdouble get_midi_on_time ()
gdouble get_midi_off_time ()
DenemoObject * get_obj_for_start_time ()
DenemoObject * get_obj_for_end_time ()
void update_position ()
void start_playing ()
void pause_playing ()
void stop_playing ()
gboolean is_playing ()
gboolean is_paused ()
double get_start_time ()
double get_end_time ()
void update_start_time ()
void initialize_until_time ()
smf_event_t * get_smf_event ()
void handle_midi_event ()
gboolean intercept_midi_event ()
gint get_midi_channel ()
gint get_midi_prognum ()
gint get_midi_port ()
int noteon_key ()
void toggle_paused ()
void play_adjusted_midi_event ()
gboolean set_midi_capture ()
void process_midi_event ()

Types and Values

Description

Functions

generate_midi ()

void
generate_midi (void);

get_time ()

gdouble
get_time (void);

get_playuntil ()

gdouble
get_playuntil (void);

adjust_midi_velocity ()

void
adjust_midi_velocity (gchar *buf,
                      gint percent);

change_tuning ()

void
change_tuning (gdouble *cents);

get_midi_on_time ()

gdouble
get_midi_on_time (GList *events);

get_midi_off_time ()

gdouble
get_midi_off_time (GList *events);

get_obj_for_start_time ()

DenemoObject *
get_obj_for_start_time (smf_t *smf,
                        gdouble time);

get_obj_for_end_time ()

DenemoObject *
get_obj_for_end_time (smf_t *smf,
                      gdouble time);

update_position ()

void
update_position (smf_event_t *event);

start_playing ()

void
start_playing (gchar *callback);

pause_playing ()

void
pause_playing ();

stop_playing ()

void
stop_playing ();

is_playing ()

gboolean
is_playing ();

is_paused ()

gboolean
is_paused ();

get_start_time ()

double
get_start_time ();

get_end_time ()

double
get_end_time ();

update_start_time ()

void
update_start_time (double adjust);

initialize_until_time ()

void
initialize_until_time (void);

get_smf_event ()

smf_event_t *
get_smf_event (double until_time);

handle_midi_event ()

void
handle_midi_event (gchar *buf);

intercept_midi_event ()

gboolean
intercept_midi_event (gint *midi);

get_midi_channel ()

gint
get_midi_channel (DenemoStaff *staff);

get_midi_prognum ()

gint
get_midi_prognum (DenemoStaff *staff);

get_midi_port ()

gint
get_midi_port (DenemoStaff *staff);

noteon_key ()

int
noteon_key (smf_event_t *event);

toggle_paused ()

void
toggle_paused ();

play_adjusted_midi_event ()

void
play_adjusted_midi_event (gchar *buf);

set_midi_capture ()

gboolean
set_midi_capture (gboolean set);

process_midi_event ()

void
process_midi_event (gchar *buf);

Types and Values

MIDI_NOTE_OFF

#define MIDI_NOTE_OFF         0x80

MIDI_NOTE_ON

#define MIDI_NOTE_ON          0x90

MIDI_KEY_PRESSURE

#define MIDI_KEY_PRESSURE     0xA0

MIDI_CONTROL_CHANGE

#define MIDI_CONTROL_CHANGE   0xB0

MIDI_PROGRAM_CHANGE

#define MIDI_PROGRAM_CHANGE   0xC0

MIDI_CHANNEL_PRESSURE

#define MIDI_CHANNEL_PRESSURE 0xD0

MIDI_PITCH_BEND

#define MIDI_PITCH_BEND       0xE0

SYS_EXCLUSIVE_MESSAGE1

#define SYS_EXCLUSIVE_MESSAGE1  0xF0