Top | ![]() |
![]() |
![]() |
![]() |
GList * | ags_note_find_prev () |
GList * | ags_note_find_next () |
unsigned char * | ags_note_to_raw_midi () |
snd_seq_event_t * | ags_note_to_seq_event () |
GList * | ags_note_from_raw_midi () |
GList * | ags_note_from_seq_event () |
AgsNote * | ags_note_duplicate () |
AgsNote * | ags_note_new () |
AgsNote * | ags_note_new_with_offset () |
#define | AGS_IS_NOTE() |
#define | AGS_IS_NOTE_CLASS() |
#define | AGS_NOTE() |
#define | AGS_NOTE_CLASS() |
#define | AGS_NOTE_GET_CLASS() |
GType | ags_note_get_type () |
AgsComplex * | attack | Read / Write |
AgsComplex * | decay | Read / Write |
AgsComplex * | ratio | Read / Write |
AgsComplex * | release | Read / Write |
guint | stream-attack | Read / Write |
gdouble | stream-delay | Read / Write |
AgsComplex * | sustain | Read / Write |
guint | x0 | Read / Write |
guint | x1 | Read / Write |
guint | y | Read / Write |
enum | AgsNoteFlags |
#define | AGS_NOTE_DEFAULT_TICKS_PER_QUARTER_NOTE |
#define | AGS_TYPE_NOTE |
struct | AgsNote |
struct | AgsNoteClass |
GList * ags_note_find_prev (GList *note
,guint x0
,guint y
);
Find prev note.
Since: 0.7.2
GList * ags_note_find_next (GList *note
,guint x0
,guint y
);
Find next note.
Since: 0.7.2
unsigned char * ags_note_to_raw_midi (AgsNote *note
,gdouble bpm
,gdouble delay_factor
,guint *buffer_length
);
snd_seq_event_t * ags_note_to_seq_event (AgsNote *note
,gdouble bpm
,gdouble delay_factor
,guint *n_events
);
Convert note
to ALSA sequencer events and set the number of events
in the array as n_events
.
note |
the AgsNote |
|
bpm |
the bpm to use |
|
delay_factor |
the segmentation delay factor |
|
n_events |
the count of events |
Since: 0.7.1
GList * ags_note_from_raw_midi (unsigned char *raw_midi
,gdouble bpm
,gdouble delay_factor
,guint length
);
Parse raw_midi
data and convert to AgsNote.
raw_midi |
the data array |
|
bpm |
the bpm to use |
|
delay_factor |
the segmentation delay factor |
|
length |
the length of the array |
Since: 0.7.1
GList * ags_note_from_seq_event (snd_seq_event_t *event
,gdouble bpm
,gdouble delay_factor
,guint n_events
);
Convert ALSA sequencer data event
to AgsNote.
event |
ALSA sequencer events as array |
|
bpm |
the bpm to use |
|
delay_factor |
the segmentation delay factor |
|
n_events |
the arrays length |
Since: 0.7.1
AgsNote * ags_note_new_with_offset (guint x0
,guint x1
,guint y
,gdouble stream_delay
,guint stream_attack
);
#define AGS_IS_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_NOTE))
#define AGS_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTE, AgsNoteClass))
#define AGS_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_NOTE, AgsNoteClass))
“stream-attack”
property“stream-attack” guint
The stream's attack.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.7.2
“stream-delay”
property“stream-delay” gdouble
The stream's delay.
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
Since: 0.7.2
“x0”
property“x0” guint
Note offset x0.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.7.2
“x1”
property“x1” guint
Note offset x1.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.7.2
“y”
property“y” guint
Note offset y.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.7.2