AgsMidiParser

AgsMidiParser — the menu bar.

Functions

gint16 ags_midi_parser_read_gint16 ()
gint32 ags_midi_parser_read_gint24 ()
gint32 ags_midi_parser_read_gint32 ()
long ags_midi_parser_read_varlength ()
gchar * ags_midi_parser_read_text ()
gdouble ags_midi_parser_ticks_to_sec ()
int ags_midi_parser_midi_getc ()
void ags_midi_parser_on_error ()
xmlDoc * ags_midi_parser_parse_full ()
xmlNode * ags_midi_parser_parse_bytes ()
xmlNode * ags_midi_parser_parse_header ()
xmlNode * ags_midi_parser_parse_track ()
xmlNode * ags_midi_parser_channel_message ()
xmlNode * ags_midi_parser_key_on ()
xmlNode * ags_midi_parser_key_off ()
xmlNode * ags_midi_parser_key_pressure ()
xmlNode * ags_midi_parser_change_parameter ()
xmlNode * ags_midi_parser_change_pitch_bend ()
xmlNode * ags_midi_parser_change_program ()
xmlNode * ags_midi_parser_change_channel_pressure ()
xmlNode * ags_midi_parser_not_defined ()
xmlNode * ags_midi_parser_sysex ()
xmlNode * ags_midi_parser_system_common ()
xmlNode * ags_midi_parser_meta_event ()
xmlNode * ags_midi_parser_sequence_number ()
xmlNode * ags_midi_parser_end_of_track ()
xmlNode * ags_midi_parser_smtpe ()
xmlNode * ags_midi_parser_tempo ()
xmlNode * ags_midi_parser_time_signature ()
xmlNode * ags_midi_parser_key_signature ()
xmlNode * ags_midi_parser_sequencer_meta_event ()
xmlNode * ags_midi_parser_meta_misc ()
xmlNode * ags_midi_parser_text_event ()
AgsMidiParser * ags_midi_parser_new ()
#define AGS_IS_MIDI_PARSER()
#define AGS_MIDI_PARSER()
#define AGS_MIDI_PARSER_CLASS()
#define AGS_MIDI_PARSER_GET_CLASS()
GType ags_midi_parser_get_type ()

Properties

gpointer file Read / Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsMidiParser

Includes

#include <ags/audio/midi/ags_midi_parser.h>

Description

AgsMidiParser reads your midi parsers.

Functions

ags_midi_parser_read_gint16 ()

gint16
ags_midi_parser_read_gint16 (AgsMidiParser *midi_parser);

Read gint16.

Parameters

midi_parser

the AgsMidiParser

 

Returns

the read gint16

Since: 1.0.0


ags_midi_parser_read_gint24 ()

gint32
ags_midi_parser_read_gint24 (AgsMidiParser *midi_parser);

Read gint32.

Parameters

midi_parser

the AgsMidiParser

 

Returns

the read gint32

Since: 1.0.0


ags_midi_parser_read_gint32 ()

gint32
ags_midi_parser_read_gint32 (AgsMidiParser *midi_parser);

Read gint32.

Parameters

midi_parser

the AgsMidiParser

 

Returns

the read gint32

Since: 1.0.0


ags_midi_parser_read_varlength ()

long
ags_midi_parser_read_varlength (AgsMidiParser *midi_parser);

Read varlength as long.

Parameters

midi_parser

the AgsMidiParser

 

Returns

the read varlength

Since: 1.0.0


ags_midi_parser_read_text ()

gchar *
ags_midi_parser_read_text (AgsMidiParser *midi_parser,
                           gint length);

Read text.

Parameters

midi_parser

the AgsMidiParser

 

length

the length

 

Returns

the text read as string

Since: 1.0.0


ags_midi_parser_ticks_to_sec ()

gdouble
ags_midi_parser_ticks_to_sec (AgsMidiParser *midi_parser,
                              guint ticks,
                              gint division,
                              guint tempo);

Convert ticks to seconds.

Parameters

midi_parser

the AgsMidiParser

 

ticks

the ticks count

 

division

the division

 

tempo

the tempo

 

Returns

the seconds read from ticks

Since: 1.0.0


ags_midi_parser_midi_getc ()

int
ags_midi_parser_midi_getc (AgsMidiParser *midi_parser);

Read one byte.

Parameters

midi_parser

the AgsMidiParser

 

Returns

the byte read

Since: 1.0.0


ags_midi_parser_on_error ()

void
ags_midi_parser_on_error (AgsMidiParser *midi_parser,
                          GError **error);

Error reporting.

Parameters

midi_parser

the AgsMidiParser

 

error

the return location of GError

 

Since: 1.0.0


ags_midi_parser_parse_full ()

xmlDoc *
ags_midi_parser_parse_full (AgsMidiParser *midi_parser);

Parse all data of “file”.

Parameters

midi_parser

the AgsMidiParser

 

Returns

the xmlDoc representing your MIDI file

Since: 1.0.0


ags_midi_parser_parse_bytes ()

xmlNode *
ags_midi_parser_parse_bytes (AgsMidiParser *midi_parser,
                             unsigned char *midi_buffer,
                             guint buffer_length);

ags_midi_parser_parse_header ()

xmlNode *
ags_midi_parser_parse_header (AgsMidiParser *midi_parser);

Parse MIDI header

Parameters

midi_parser

the AgsMidiParser

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_parse_track ()

xmlNode *
ags_midi_parser_parse_track (AgsMidiParser *midi_parser);

Parse MIDI track.

Parameters

midi_parser

the AgsMidiParser

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_channel_message ()

xmlNode *
ags_midi_parser_channel_message (AgsMidiParser *midi_parser,
                                 guint status);

Parse channel message.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_key_on ()

xmlNode *
ags_midi_parser_key_on (AgsMidiParser *midi_parser,
                        guint status);

Parse key on.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_key_off ()

xmlNode *
ags_midi_parser_key_off (AgsMidiParser *midi_parser,
                         guint status);

Parse key off.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_key_pressure ()

xmlNode *
ags_midi_parser_key_pressure (AgsMidiParser *midi_parser,
                              guint status);

Parse key pressure.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_change_parameter ()

xmlNode *
ags_midi_parser_change_parameter (AgsMidiParser *midi_parser,
                                  guint status);

Parse change parameter.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_change_pitch_bend ()

xmlNode *
ags_midi_parser_change_pitch_bend (AgsMidiParser *midi_parser,
                                   guint status);

Parse change pitch bend.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_change_program ()

xmlNode *
ags_midi_parser_change_program (AgsMidiParser *midi_parser,
                                guint status);

Parse change program.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_change_channel_pressure ()

xmlNode *
ags_midi_parser_change_channel_pressure
                               (AgsMidiParser *midi_parser,
                                guint status);

Parse change channel pressure.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_not_defined ()

xmlNode *
ags_midi_parser_not_defined (AgsMidiParser *midi_parser,
                             guint status);

Parse not defined.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_sysex ()

xmlNode *
ags_midi_parser_sysex (AgsMidiParser *midi_parser,
                       guint status);

Parse sysex.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_system_common ()

xmlNode *
ags_midi_parser_system_common (AgsMidiParser *midi_parser,
                               guint status);

Parse system common.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_meta_event ()

xmlNode *
ags_midi_parser_meta_event (AgsMidiParser *midi_parser,
                            guint status);

Parse meta event.

Parameters

midi_parser

the AgsMidiParser

 

status

the status byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_sequence_number ()

xmlNode *
ags_midi_parser_sequence_number (AgsMidiParser *midi_parser,
                                 guint meta_type);

Parse sequence number.

Parameters

midi_parser

the AgsMidiParser

 

meta_type

the meta type byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_end_of_track ()

xmlNode *
ags_midi_parser_end_of_track (AgsMidiParser *midi_parser,
                              guint meta_type);

Parse end of track.

Parameters

midi_parser

the AgsMidiParser

 

meta_type

the meta type byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_smtpe ()

xmlNode *
ags_midi_parser_smtpe (AgsMidiParser *midi_parser,
                       guint meta_type);

Parse smtpe.

Parameters

midi_parser

the AgsMidiParser

 

meta_type

the meta type byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_tempo ()

xmlNode *
ags_midi_parser_tempo (AgsMidiParser *midi_parser,
                       guint meta_type);

Parse tempo.

Parameters

midi_parser

the AgsMidiParser

 

meta_type

the meta type byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_time_signature ()

xmlNode *
ags_midi_parser_time_signature (AgsMidiParser *midi_parser,
                                guint meta_type);

Parse time signature.

Parameters

midi_parser

the AgsMidiParser

 

meta_type

the meta type byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_key_signature ()

xmlNode *
ags_midi_parser_key_signature (AgsMidiParser *midi_parser,
                               guint meta_type);

Parse key signature.

Parameters

midi_parser

the AgsMidiParser

 

meta_type

the meta type byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_sequencer_meta_event ()

xmlNode *
ags_midi_parser_sequencer_meta_event (AgsMidiParser *midi_parser,
                                      guint meta_type);

ags_midi_parser_meta_misc ()

xmlNode *
ags_midi_parser_meta_misc (AgsMidiParser *midi_parser,
                           guint meta_type);

ags_midi_parser_text_event ()

xmlNode *
ags_midi_parser_text_event (AgsMidiParser *midi_parser,
                            guint meta_type);

Parse text event.

Parameters

midi_parser

the AgsMidiParser

 

meta_type

the meta type byte

 

Returns

the xmlNode containing parsed data

Since: 1.0.0


ags_midi_parser_new ()

AgsMidiParser *
ags_midi_parser_new (FILE *file);

AGS_IS_MIDI_PARSER()

#define AGS_IS_MIDI_PARSER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_MIDI_PARSER))

AGS_MIDI_PARSER()

#define AGS_MIDI_PARSER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MIDI_PARSER, AgsMidiParser))

AGS_MIDI_PARSER_CLASS()

#define AGS_MIDI_PARSER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MIDI_PARSER, AgsMidiParserClass))

AGS_MIDI_PARSER_GET_CLASS()

#define AGS_MIDI_PARSER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_MIDI_PARSER, AgsMidiParserClass))

ags_midi_parser_get_type ()

GType
ags_midi_parser_get_type (void);

Types and Values

AGS_MIDI_PARSER_MAX_TEXT_LENGTH

#define AGS_MIDI_PARSER_MAX_TEXT_LENGTH (4096)

AGS_MIDI_PARSER_MTHD

#define AGS_MIDI_PARSER_MTHD "MThd\0"

AGS_MIDI_PARSER_MTCK

#define AGS_MIDI_PARSER_MTCK "MTrk\0"

AGS_MIDI_EVENT

#define AGS_MIDI_EVENT "event\0"

enum AgsMidiParserFlags

Members

AGS_MIDI_PARSER_EOF

   

AGS_MIDI_PARSER_EOT

   

enum AgsMidiChunkFlags

Members

AGS_MIDI_CHUNK_HEADER

   

AGS_MIDI_CHUNK_TRACK

   

AGS_MIDI_CHUNK_UNKNOWN

   

AGS_TYPE_MIDI_PARSER

#define AGS_TYPE_MIDI_PARSER                (ags_midi_parser_get_type ())

struct AgsMidiParser

struct AgsMidiParser;

struct AgsMidiParserClass

struct AgsMidiParserClass {
  GObjectClass gobject;

  int (*midi_getc)(AgsMidiParser *midi_parser);
  void (*on_error)(AgsMidiParser *midi_parser,
		   GError **error);

  xmlDoc* (*parse_full)(AgsMidiParser *midi_parser);
  xmlNode* (*parse_bytes)(AgsMidiParser *midi_parser,
			  unsigned char *midi_buffer,
			  guint buffer_length);
  
  xmlNode* (*parse_header)(AgsMidiParser *midi_parser);
  xmlNode* (*parse_track)(AgsMidiParser *midi_parser);
  
  xmlNode* (*key_on)(AgsMidiParser *midi_parser, guint status);
  xmlNode* (*key_off)(AgsMidiParser *midi_parser, guint status);
  xmlNode* (*key_pressure)(AgsMidiParser *midi_parser, guint status);

  xmlNode* (*change_parameter)(AgsMidiParser *midi_parser, guint status);
  xmlNode* (*change_pitch_bend)(AgsMidiParser *midi_parser, guint status);
  xmlNode* (*change_program)(AgsMidiParser *midi_parser, guint status);
  xmlNode* (*change_channel_pressure)(AgsMidiParser *midi_parser, guint status);
  xmlNode* (*not_defined)(AgsMidiParser *midi_parser, guint status);

  xmlNode* (*sysex)(AgsMidiParser *midi_parser, guint status);
  xmlNode* (*system_common)(AgsMidiParser *midi_parser, guint status);

  xmlNode* (*meta_event)(AgsMidiParser *midi_parser, guint status);
  xmlNode* (*sequence_number)(AgsMidiParser *midi_parser, guint meta_type);
  xmlNode* (*end_of_track)(AgsMidiParser *midi_parser, guint meta_type);
  xmlNode* (*smtpe)(AgsMidiParser *midi_parser, guint meta_type);
  xmlNode* (*tempo)(AgsMidiParser *midi_parser, guint meta_type);
  xmlNode* (*time_signature)(AgsMidiParser *midi_parser, guint meta_type);
  xmlNode* (*key_signature)(AgsMidiParser *midi_parser, guint meta_type);
  xmlNode* (*sequencer_meta_event)(AgsMidiParser *midi_parser, guint meta_type);
  xmlNode* (*text_event)(AgsMidiParser *midi_parser, guint meta_type);
};

Property Details

The “file” property

  “file”                     gpointer

The file to parse data from.

Flags: Read / Write

Since: 1.0.0

Signal Details

The “change-channel-pressure” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::change-channel-pressure signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “change-parameter” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::change-parameter signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “change-pitch-bend” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::change-pitch-bend signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “change-program” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::change-program signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “end-of-track” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::end-of-track signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “key-off” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::key-off signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “key-on” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::key-on signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “key-pressure” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::key-pressure signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “key-signature” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::key-signature signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “meta-event” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::meta-event signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “midi-getc” signal

gint
user_function (AgsMidiParser *midi_parser,
               gpointer       user_data)

The ::midi-getc signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The character read

Flags: Run Last

Since: 1.0.0


The “not-defined” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::not-defined signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “on-error” signal

void
user_function (AgsMidiParser *midi_parser,
               gpointer       arg1,
               gpointer       user_data)

The ::on-error signal is emited as error occurs.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 1.0.0


The “parse-bytes” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               gpointer       buffer,
               guint          buffer_length,
               gpointer       user_data)

The ::parse-bytes signal is emited during parsing of bytes.

Parameters

midi_parser

the parser

 

buffer

the MIDI data

 

buffer_length

the buffer's length

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “parse-full” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               gpointer       user_data)

The ::parse-full signal is emited during parsing of midi file.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “parse-header” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               gpointer       user_data)

The ::parse-header signal is emited during parsing of header.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the header

Flags: Run Last

Since: 1.0.0


The “parse-track” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               gpointer       user_data)

The ::parse-track signal is emited during parsing of track.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the track

Flags: Run Last

Since: 1.0.0


The “sequence-number” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::sequence-number signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “sequencer-meta-event” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::sequencer-meta-event signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “smtpe” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::smtpe signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “sysex” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::sysex signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “system-common” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::system-common signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “tempo” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::tempo signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “text-event” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::text-event signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0


The “time-signature” signal

gpointer
user_function (AgsMidiParser *midi_parser,
               guint          Returns,
               gpointer       user_data)

The ::time-signature signal is emited during parsing of event.

Parameters

midi_parser

the parser

 

user_data

user data set when the signal handler was connected.

 

Returns

The XML node representing the event

Flags: Run Last

Since: 1.0.0