Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsemidicontroller.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BSE_MIDI_CONTROLLER_H__
3 #define __BSE_MIDI_CONTROLLER_H__
4 
5 #include <bse/bsesource.hh>
6 #include <bse/bsemidievent.hh>
7 
8 
9 /* --- object type macros --- */
10 #define BSE_TYPE_MIDI_CONTROLLER (BSE_TYPE_ID (BseMidiController))
11 #define BSE_MIDI_CONTROLLER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_MIDI_CONTROLLER, BseMidiController))
12 #define BSE_MIDI_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_MIDI_CONTROLLER, BseMidiControllerClass))
13 #define BSE_IS_CONTROLLER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_MIDI_CONTROLLER))
14 #define BSE_IS_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_MIDI_CONTROLLER))
15 #define BSE_MIDI_CONTROLLER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_MIDI_CONTROLLER, BseMidiControllerClassOut))
16 
18  guint midi_channel;
19  Bse::MidiSignal controls[4];
20 };
22 {};
23 
24 enum
25 {
26  BSE_MIDI_CONTROLLER_OCHANNEL_CONTROL1,
27  BSE_MIDI_CONTROLLER_OCHANNEL_CONTROL2,
28  BSE_MIDI_CONTROLLER_OCHANNEL_CONTROL3,
29  BSE_MIDI_CONTROLLER_OCHANNEL_CONTROL4,
30  BSE_MIDI_CONTROLLER_N_OCHANNELS
31 };
32 
33 
34 #endif /* __BSE_MIDI_CONTROLLER_H__ */
Definition: bsemidicontroller.hh:21
Definition: bsesource.hh:82
Definition: bsesource.hh:90
Definition: bsemidicontroller.hh:17