nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_ievents.h
Go to the documentation of this file.
1/* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2021 Joël Krähemann
3 *
4 * This file is part of GSequencer.
5 *
6 * GSequencer is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * GSequencer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GSequencer. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __AGS_VST_IEVENTS_H__
21#define __AGS_VST_IEVENTS_H__
22
23#include <glib.h>
24
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32 typedef struct IEventList AgsVstIEventList;
33 typedef struct NoteOnEvent AgsVstNoteOnEvent;
34 typedef struct NoteOffEvent AgsVstNoteOffEvent;
35 typedef struct DataEvent AgsVstDataEvent;
36 typedef struct PolyPressureEvent AgsVstPolyPressureEvent;
37 typedef struct ChordEvent AgsVstChordEvent;
38 typedef struct ScaleEvent AgsVstScaleEvent;
39 typedef struct LegacyMIDICCOutEventEvent AgsVstLegacyMIDICCOutEventEvent;
40 typedef struct Event AgsVstEvent;
41
46
47 AgsVstEvent* ags_vst_note_on_event_alloc(gint channel, gint pitch, gfloat tuning, gfloat velocity, gint32 length, gint32 note_id);
48
49 AgsVstEvent* ags_vst_note_off_event_alloc(gint channel, gint pitch, gfloat tuning, gfloat velocity, gint32 length, gint32 note_id);
50
52 gint32 sample_offset);
53
55
57
59 gint32 index,
60 AgsVstEvent *e);
62 AgsVstEvent *e);
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif /*__AGS_VST_IEVENTS_H__*/
gint32 AgsVstTResult
Definition ags_vst_ftypes.h:58
gint8 AgsVstTUID[16]
Definition ags_vst_funknown.h:79
AgsVstEvent * ags_vst_note_on_event_alloc(gint channel, gint pitch, gfloat tuning, gfloat velocity, gint32 length, gint32 note_id)
Definition ags_vst_ievents.cpp:39
struct ChordEvent AgsVstChordEvent
Definition ags_vst_ievents.h:37
struct NoteOffEvent AgsVstNoteOffEvent
Definition ags_vst_ievents.h:34
void ags_vst_event_set_sample_offset(AgsVstEvent *event, gint32 sample_offset)
Definition ags_vst_ievents.cpp:103
struct Event AgsVstEvent
Definition ags_vst_ievents.h:40
struct IEventList AgsVstIEventList
Definition ags_vst_ievents.h:32
const AgsVstTUID * ags_vst_ievent_list_get_iid()
Definition ags_vst_ievents.cpp:116
AgsVstTResult ags_vst_ievent_list_add_event(AgsVstIEventList *ievent_list, AgsVstEvent *e)
Definition ags_vst_ievents.cpp:163
AgsVstNoteMidiUserRange
Definition ags_vst_ievents.h:42
@ AGS_VST_KNOTE_ID_USER_RANGE_LOWER_BOUND
Definition ags_vst_ievents.h:43
@ AGS_VST_KNOTE_ID_USER_RANGE_UPPER_BOUND
Definition ags_vst_ievents.h:44
struct LegacyMIDICCOutEventEvent AgsVstLegacyMIDICCOutEventEvent
Definition ags_vst_ievents.h:39
AgsVstEvent * ags_vst_note_off_event_alloc(gint channel, gint pitch, gfloat tuning, gfloat velocity, gint32 length, gint32 note_id)
Definition ags_vst_ievents.cpp:74
gint32 ags_vst_ievent_list_get_event_count(AgsVstIEventList *ievent_list)
Definition ags_vst_ievents.cpp:129
struct NoteOnEvent AgsVstNoteOnEvent
Definition ags_vst_ievents.h:33
struct ScaleEvent AgsVstScaleEvent
Definition ags_vst_ievents.h:38
AgsVstTResult ags_vst_ievent_list_get_event(AgsVstIEventList *ievent_list, gint32 index, AgsVstEvent *e)
Definition ags_vst_ievents.cpp:144
struct DataEvent AgsVstDataEvent
Definition ags_vst_ievents.h:35
struct PolyPressureEvent AgsVstPolyPressureEvent
Definition ags_vst_ievents.h:36