AgsTrackCollectionMapper

AgsTrackCollectionMapper — pack pad editors.

Functions

Properties

gchar * instrument Read / Write
gchar * sequence Read / Write
gpointer track Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkTable
                        ╰── AgsTrackCollectionMapper

Implemented Interfaces

AgsTrackCollectionMapper implements AtkImplementorIface, GtkBuildable, AgsConnectable and AgsApplicable.

Includes

#include <ags/X/ags_track_collection_mapper.h>

Description

AgsTrackCollectionMapper is a wizard to import midi files and do track mapping..

Functions

ags_track_collection_mapper_find_instrument_with_sequence ()

GList *
ags_track_collection_mapper_find_instrument_with_sequence
                               (GList *track_collection_mapper,
                                gchar *instrument,
                                gchar *sequence);

Finds next matching track in a GList.

Parameters

track_collection_mapper

a GList containing AgsTrackCollectionMapper

 

instrument

the instrument as string

 

sequence

the sequence as string

 

Returns

the next matching GList

Since: 1.0.0


ags_track_collection_mapper_map ()

void
ags_track_collection_mapper_map (AgsTrackCollectionMapper *track_collection_mapper);

Maps XML tracks to AgsNotation

Parameters

track_collection_mapper

an AgsTrackCollectionMapper

 

Since: 1.0.0


ags_track_collection_mapper_new ()

AgsTrackCollectionMapper *
ags_track_collection_mapper_new ();

Creates an AgsTrackCollectionMapper

Returns

a new AgsTrackCollectionMapper

Since: 1.0.0


AGS_IS_TRACK_COLLECTION_MAPPER()

#define AGS_IS_TRACK_COLLECTION_MAPPER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_TRACK_COLLECTION_MAPPER))

AGS_TRACK_COLLECTION_MAPPER()

#define AGS_TRACK_COLLECTION_MAPPER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_TRACK_COLLECTION_MAPPER, AgsTrackCollectionMapper))

AGS_TRACK_COLLECTION_MAPPER_CLASS()

#define AGS_TRACK_COLLECTION_MAPPER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_TRACK_COLLECTION_MAPPER, AgsTrackCollectionMapperClass))

AGS_TRACK_COLLECTION_MAPPER_GET_CLASS()

#define AGS_TRACK_COLLECTION_MAPPER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_TRACK_COLLECTION_MAPPER, AgsTrackCollectionMapperClass))

ags_track_collection_mapper_get_type ()

GType
ags_track_collection_mapper_get_type (void);

Types and Values

AGS_TRACK_COLLECTION_MAPPER_DEFAULT_BEATS

#define AGS_TRACK_COLLECTION_MAPPER_DEFAULT_BEATS (16.0)

AGS_MIDI_DEFAULT_BEATS

#define AGS_MIDI_DEFAULT_BEATS (4.0)

AGS_TYPE_TRACK_COLLECTION_MAPPER

#define AGS_TYPE_TRACK_COLLECTION_MAPPER                (ags_track_collection_mapper_get_type())

struct AgsTrackCollectionMapper

struct AgsTrackCollectionMapper;

struct AgsTrackCollectionMapperClass

struct AgsTrackCollectionMapperClass {
  GtkTableClass table;
};

Property Details

The “instrument” property

  “instrument”               gchar *

The instruments as string to parse.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “sequence” property

  “sequence”                 gchar *

The sequences as string to parse.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “track” property

  “track”                    gpointer

The tracks as xmlNode to parse.

Flags: Read / Write

Since: 1.0.0