LiVES 1.3.11-svn
Functions
src/omc-learn.c File Reference
#include "../libweed/weed.h"
#include "../libweed/weed-host.h"
#include "../libweed/weed-palettes.h"
#include "../libweed/weed-effects.h"
#include "support.h"
#include "main.h"
#include "paramwindow.h"
#include "effects-weed.h"
#include "interface.h"
#include "omc-learn.h"
#include <errno.h>

Functions

const gchar * get_midi_filename (void)
gboolean midi_open (void)
void midi_close (void)
gchar * midi_mangle (void)
void omclearn_match_control (lives_omc_match_node_t *mnode, gint str_type, gint index, const gchar *string, gint nfixed, omclearn_w *omclw)
lives_omc_match_node_tomc_learn (const gchar *string, gint str_type, gint idx, omclearn_w *omclw)
void omc_process_string (gint supertype, const gchar *string, gboolean learn, omclearn_w *omclw)
void on_midi_learn_activate (GtkMenuItem *menuitem, gpointer user_data)
 start learning MIDI inputs
OSCbuf * omc_learner_decode (gint type, gint idx, const gchar *string)
 decode learnt behaviours
void on_midi_save_activate (GtkMenuItem *menuitem, gpointer user_data)
void on_midi_load_activate (GtkMenuItem *menuitem, gpointer user_data)

Function Documentation

const gchar* get_midi_filename ( void  )
void midi_close ( void  )
gchar* midi_mangle ( void  )
gboolean midi_open ( void  )
lives_omc_match_node_t* omc_learn ( const gchar *  string,
gint  str_type,
gint  idx,
omclearn_w omclw 
)
OSCbuf* omc_learner_decode ( gint  type,
gint  idx,
const gchar *  string 
)

decode learnt behaviours

void omc_process_string ( gint  supertype,
const gchar *  string,
gboolean  learn,
omclearn_w omclw 
)

process a string (i.e. convert to an OSC message and pass to OSC subsys) only need to set omclw if learn is TRUE

void omclearn_match_control ( lives_omc_match_node_t mnode,
gint  str_type,
gint  index,
const gchar *  string,
gint  nfixed,
omclearn_w omclw 
)
void on_midi_learn_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)

start learning MIDI inputs

void on_midi_load_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)
void on_midi_save_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines