Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <ags/audio/ags_pattern.h> struct AgsPattern; struct AgsPatternClass;gboolean ags_pattern_get_bit (AgsPattern *pattern
,,
guint i,
guint j); AgsPattern * ags_pattern_get_by_timestamp (
guint bit,
GList *list); AgsPattern * ags_pattern_new ();
GObject *timestampvoid ags_pattern_set_dim (AgsPattern *pattern
,,
guint dim0,
guint dim1);
guint lenghtvoid ags_pattern_toggle_bit (AgsPattern *pattern
,,
guint i,
guint j);
guint bit
struct AgsPattern { GObject object; GObject *timestamp; guint dim[3]; guint ***pattern; GObject *port; guint i; guint j; guint bit; };
gboolean ags_pattern_get_bit (AgsPattern *pattern
,,
guint i,
guint j);
guint bit
Check for tic to be played.
|
an AgsPattern |
|
bank index 0 |
|
bank index 1 |
|
the tic to check |
Returns : |
TRUE |
Since 0.3
AgsPattern * ags_pattern_get_by_timestamp (,
GList *list);
GObject *timestamp
Retrieve appropriate pattern for timestamp.
|
a |
|
the matching timestamp |
Returns : |
the matching pattern. |
Since 0.4
AgsPattern * ags_pattern_new ();
Creates an AgsPattern
Returns : |
a new AgsPattern |
Since 0.3
void ags_pattern_set_dim (AgsPattern *pattern
,,
guint dim0,
guint dim1);
guint lenght
Reallocates the pattern's dimensions.
|
an AgsPattern |
|
bank 0 size |
|
bank 1 size |
|
amount of beats |
Since 0.3
void ags_pattern_toggle_bit (AgsPattern *pattern
,,
guint i,
guint j);
guint bit
Toggle tone.
|
an AgsPattern |
|
bank index 0 |
|
bank index 1 |
|
the tic to toggle |
Since 0.3