BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bsemidisynth.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_SYNTH_H__
3 #define __BSE_MIDI_SYNTH_H__
4 
5 #include <bse/bsesnet.hh>
6 #include <bse/bsesubsynth.hh>
7 
8 G_BEGIN_DECLS
9 
10 /* --- object type macros --- */
11 #define BSE_TYPE_MIDI_SYNTH (BSE_TYPE_ID (BseMidiSynth))
12 #define BSE_MIDI_SYNTH(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_MIDI_SYNTH, BseMidiSynth))
13 #define BSE_MIDI_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_MIDI_SYNTH, BseMidiSynthClass))
14 #define BSE_IS_MIDI_SYNTH(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_MIDI_SYNTH))
15 #define BSE_IS_MIDI_SYNTH_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_MIDI_SYNTH))
16 #define BSE_MIDI_SYNTH_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_MIDI_SYNTH, BseMidiSynthClass))
17 
19  guint midi_channel_id;
20  guint n_voices;
21  gfloat volume_factor; /* 1-based factor */
22  BseSNet *snet;
23  BseSNet *pnet;
24  BseSource *voice_input;
25  BseSource *voice_switch;
26  BseSource *context_merger;
27  BseSource *postprocess;
28  BseSource *output;
29  BseSource *sub_synth;
30 };
32 {};
33 
34 G_END_DECLS
35 #endif /* __BSE_MIDI_SYNTH_H__ */
Definition: bsesnet.hh:37
Definition: bsesource.hh:84
Definition: bsemidisynth.hh:18
Definition: bsemidisynth.hh:31
Definition: bsesnet.hh:46