Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsemidiinput.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_INPUT_H__
3 #define __BSE_MIDI_INPUT_H__
4 
5 #include <bse/bsesource.hh>
6 #include <bse/bsemidievent.hh>
7 
8 
9 /* --- object type macros --- */
10 #define BSE_TYPE_MIDI_INPUT (BSE_TYPE_ID (BseMidiInput))
11 #define BSE_MIDI_INPUT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_MIDI_INPUT, BseMidiInput))
12 #define BSE_MIDI_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_MIDI_INPUT, BseMidiInputClass))
13 #define BSE_IS_INPUT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_MIDI_INPUT))
14 #define BSE_IS_INPUT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_MIDI_INPUT))
15 #define BSE_MIDI_INPUT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_MIDI_INPUT, BseMidiInputClassOut))
16 
18  guint midi_channel;
19 };
21 {};
22 
23 enum
24 {
25  BSE_MIDI_INPUT_OCHANNEL_FREQUENCY,
26  BSE_MIDI_INPUT_OCHANNEL_GATE,
27  BSE_MIDI_INPUT_OCHANNEL_VELOCITY,
28  BSE_MIDI_INPUT_OCHANNEL_AFTERTOUCH,
29  BSE_MIDI_INPUT_N_OCHANNELS
30 };
31 
32 
33 #endif /* __BSE_MIDI_INPUT_H__ */
Definition: bsesource.hh:82
Definition: bsesource.hh:90
Definition: bsemidiinput.hh:20
Definition: bsemidiinput.hh:17