Debian Codegraph @

ags/audio/fx/ags_fx_sfz_synth_audio.h

raw symbols SCIP
1 /* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2022 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_FX_SFZ_SYNTH_AUDIO_H__
21 #define __AGS_FX_SFZ_SYNTH_AUDIO_H__cxx . . $ `ags/audio/fx/ags_fx_sfz_synth_audio.h:21:9`!
22
23 #include <glib.h>
24 #include <glib-object.h>
25
26 #include <ags/libags.h>cxx . . $ `<file>/ags/libags.h`/
27
28 #include <ags/audio/ags_audio.h>cxx . . $ `<file>/ags/audio/ags_audio.h`/
29 #include <ags/audio/ags_port.h>cxx . . $ `<file>/ags/audio/ags_port.h`/
30 #include <ags/audio/ags_sound_enums.h>cxx . . $ `<file>/ags/audio/ags_sound_enums.h`/
31 #include <ags/audio/ags_sfz_synth_util.h>cxx . . $ `<file>/ags/audio/ags_sfz_synth_util.h`/
32 #include <ags/audio/ags_common_pitch_util.h>cxx . . $ `<file>/ags/audio/ags_common_pitch_util.h`/
33 #include <ags/audio/ags_volume_util.h>cxx . . $ `<file>/ags/audio/ags_volume_util.h`/
34 #include <ags/audio/ags_chorus_util.h>cxx . . $ `<file>/ags/audio/ags_chorus_util.h`/
35
36 #include <ags/audio/fx/ags_fx_notation_audio.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_notation_audio.h`/
37
38 G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`!
39
40 #define AGS_TYPE_FX_SFZ_SYNTH_AUDIOcxx . . $ `ags/audio/fx/ags_fx_sfz_synth_audio.h:40:9`! (ags_fx_sfz_synth_audio_get_type())
41 #define AGS_FX_SFZ_SYNTH_AUDIOcxx . . $ `ags/audio/fx/ags_fx_sfz_synth_audio.h:41:9`!(obj) (G_TYPE_CHECK_INSTANCE_CASTcxx . . $ `<external>/9567554376676449156/gtype.h:528:9`!((obj), AGS_TYPE_FX_SFZ_SYNTH_AUDIOcxx . . $ `ags/audio/fx/ags_fx_sfz_synth_audio.h:40:9`!, AgsFxSFZSynthAudio))
42 #define AGS_FX_SFZ_SYNTH_AUDIO_CLASScxx . . $ `ags/audio/fx/ags_fx_sfz_synth_audio.h:42:9`!(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_FX_SFZ_SYNTH_AUDIO, AgsFxSFZSynthAudioClass))
43 #define AGS_IS_FX_SFZ_SYNTH_AUDIOcxx . . $ `ags/audio/fx/ags_fx_sfz_synth_audio.h:43:9`!(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_FX_SFZ_SYNTH_AUDIO))
44 #define AGS_IS_FX_SFZ_SYNTH_AUDIO_CLASScxx . . $ `ags/audio/fx/ags_fx_sfz_synth_audio.h:44:9`!(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_FX_SFZ_SYNTH_AUDIO))
45 #define AGS_FX_SFZ_SYNTH_AUDIO_GET_CLASScxx . . $ `ags/audio/fx/ags_fx_sfz_synth_audio.h:45:9`!(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_FX_SFZ_SYNTH_AUDIO, AgsFxSFZSynthAudioClass))
46
47 typedef struct _AgsFxSFZSynthAudiocxx . . $ _AgsFxSFZSynthAudio# AgsFxSFZSynthAudiocxx . . $ AgsFxSFZSynthAudio#;
48 typedef struct _AgsFxSFZSynthAudioScopeDatacxx . . $ _AgsFxSFZSynthAudioScopeData# AgsFxSFZSynthAudioScopeDatacxx . . $ AgsFxSFZSynthAudioScopeData#;
49 typedef struct _AgsFxSFZSynthAudioChannelDatacxx . . $ _AgsFxSFZSynthAudioChannelData# AgsFxSFZSynthAudioChannelDatacxx . . $ AgsFxSFZSynthAudioChannelData#;
50 typedef struct _AgsFxSFZSynthAudioInputDatacxx . . $ _AgsFxSFZSynthAudioInputData# AgsFxSFZSynthAudioInputDatacxx . . $ AgsFxSFZSynthAudioInputData#;
51 typedef struct _AgsFxSFZSynthAudioClasscxx . . $ _AgsFxSFZSynthAudioClass# AgsFxSFZSynthAudioClasscxx . . $ AgsFxSFZSynthAudioClass#;
52
53 struct _AgsFxSFZSynthAudiocxx . . $ _AgsFxSFZSynthAudio#
54 {
55 AgsFxNotationAudiocxx . . $ AgsFxNotationAudio# fx_notation_audiocxx . . $ _AgsFxSFZSynthAudio#fx_notation_audio.;
56
57 AgsPortcxx . . $ AgsPort# *synth_octavecxx . . $ _AgsFxSFZSynthAudio#synth_octave.;
58 AgsPortcxx . . $ AgsPort# *synth_keycxx . . $ _AgsFxSFZSynthAudio#synth_key.;
59
60 AgsPortcxx . . $ AgsPort# *synth_pitch_typecxx . . $ _AgsFxSFZSynthAudio#synth_pitch_type.;
61
62 AgsPortcxx . . $ AgsPort# *synth_volumecxx . . $ _AgsFxSFZSynthAudio#synth_volume.;
63
64 AgsPortcxx . . $ AgsPort# *vibrato_enabledcxx . . $ _AgsFxSFZSynthAudio#vibrato_enabled.;
65
66 AgsPortcxx . . $ AgsPort# *vibrato_gaincxx . . $ _AgsFxSFZSynthAudio#vibrato_gain.;
67 AgsPortcxx . . $ AgsPort# *vibrato_lfo_depthcxx . . $ _AgsFxSFZSynthAudio#vibrato_lfo_depth.;
68 AgsPortcxx . . $ AgsPort# *vibrato_lfo_freqcxx . . $ _AgsFxSFZSynthAudio#vibrato_lfo_freq.;
69 AgsPortcxx . . $ AgsPort# *vibrato_tuningcxx . . $ _AgsFxSFZSynthAudio#vibrato_tuning.;
70
71 AgsPortcxx . . $ AgsPort# *chorus_enabledcxx . . $ _AgsFxSFZSynthAudio#chorus_enabled.;
72
73 AgsPortcxx . . $ AgsPort# *chorus_pitch_typecxx . . $ _AgsFxSFZSynthAudio#chorus_pitch_type.;
74
75 AgsPortcxx . . $ AgsPort# *chorus_input_volumecxx . . $ _AgsFxSFZSynthAudio#chorus_input_volume.;
76 AgsPortcxx . . $ AgsPort# *chorus_output_volumecxx . . $ _AgsFxSFZSynthAudio#chorus_output_volume.;
77
78 AgsPortcxx . . $ AgsPort# *chorus_lfo_oscillatorcxx . . $ _AgsFxSFZSynthAudio#chorus_lfo_oscillator.;
79 AgsPortcxx . . $ AgsPort# *chorus_lfo_frequencycxx . . $ _AgsFxSFZSynthAudio#chorus_lfo_frequency.;
80
81 AgsPortcxx . . $ AgsPort# *chorus_depthcxx . . $ _AgsFxSFZSynthAudio#chorus_depth.;
82 AgsPortcxx . . $ AgsPort# *chorus_mixcxx . . $ _AgsFxSFZSynthAudio#chorus_mix.;
83 AgsPortcxx . . $ AgsPort# *chorus_delaycxx . . $ _AgsFxSFZSynthAudio#chorus_delay.;
84
85 AgsFxSFZSynthAudioScopeDatacxx . . $ AgsFxSFZSynthAudioScopeData#* scope_datacxx . . $ _AgsFxSFZSynthAudio#scope_data.[AGS_SOUND_SCOPE_LASTcxx . . $ AGS_SOUND_SCOPE_LAST.];
86 };
87
88 struct _AgsFxSFZSynthAudioClasscxx . . $ _AgsFxSFZSynthAudioClass#
89 {
90 AgsFxNotationAudioClasscxx . . $ AgsFxNotationAudioClass# fx_notation_audiocxx . . $ _AgsFxSFZSynthAudioClass#fx_notation_audio.;
91 };
92
93 struct _AgsFxSFZSynthAudioScopeDatacxx . . $ _AgsFxSFZSynthAudioScopeData#
94 {
95 GRecMutexcxx . . $ GRecMutex# strct_mutexcxx . . $ _AgsFxSFZSynthAudioScopeData#strct_mutex.;
96
97 gpointercxx . . $ gpointer# parentcxx . . $ _AgsFxSFZSynthAudioScopeData#parent.;
98
99 guintcxx . . $ guint# audio_channelscxx . . $ _AgsFxSFZSynthAudioScopeData#audio_channels.;
100
101 AgsFxSFZSynthAudioChannelDatacxx . . $ AgsFxSFZSynthAudioChannelData# **channel_datacxx . . $ _AgsFxSFZSynthAudioScopeData#channel_data.;
102 };
103
104 struct _AgsFxSFZSynthAudioChannelDatacxx . . $ _AgsFxSFZSynthAudioChannelData#
105 {
106 GRecMutexcxx . . $ GRecMutex# strct_mutexcxx . . $ _AgsFxSFZSynthAudioChannelData#strct_mutex.;
107
108 gpointercxx . . $ gpointer# parentcxx . . $ _AgsFxSFZSynthAudioChannelData#parent.;
109
110 AgsSFZSynthUtilcxx . . $ AgsSFZSynthUtil# *synthcxx . . $ _AgsFxSFZSynthAudioChannelData#synth.;
111
112 AgsChorusUtilcxx . . $ AgsChorusUtil# *chorus_utilcxx . . $ _AgsFxSFZSynthAudioChannelData#chorus_util.;
113
114 AgsFxSFZSynthAudioInputDatacxx . . $ AgsFxSFZSynthAudioInputData#* input_datacxx . . $ _AgsFxSFZSynthAudioChannelData#input_data.[AGS_SEQUENCER_MAX_MIDI_KEYScxx . . $ `ags/object/ags_sequencer.h:37:9`!];
115 };
116
117 struct _AgsFxSFZSynthAudioInputDatacxx . . $ _AgsFxSFZSynthAudioInputData#
118 {
119 GRecMutexcxx . . $ GRecMutex# strct_mutexcxx . . $ _AgsFxSFZSynthAudioInputData#strct_mutex.;
120
121 gpointercxx . . $ gpointer# parentcxx . . $ _AgsFxSFZSynthAudioInputData#parent.;
122
123 guintcxx . . $ guint# key_oncxx . . $ _AgsFxSFZSynthAudioInputData#key_on.;
124 };
125
126 GTypecxx . . $ GType# ags_fx_sfz_synth_audio_get_typecxx . . $ ags_fx_sfz_synth_audio_get_type(7b3bcd0168edf51f).();
127
128 AgsFxSFZSynthAudioScopeDatacxx . . $ AgsFxSFZSynthAudioScopeData#* ags_fx_sfz_synth_audio_scope_data_alloccxx . . $ ags_fx_sfz_synth_audio_scope_data_alloc(dc39857ae57d8283).();
129 void ags_fx_sfz_synth_audio_scope_data_freecxx . . $ ags_fx_sfz_synth_audio_scope_data_free(f510fdcc06d4f2d3).(AgsFxSFZSynthAudioScopeDatacxx . . $ AgsFxSFZSynthAudioScopeData# *scope_data);
130
131 AgsFxSFZSynthAudioChannelDatacxx . . $ AgsFxSFZSynthAudioChannelData#* ags_fx_sfz_synth_audio_channel_data_alloccxx . . $ ags_fx_sfz_synth_audio_channel_data_alloc(e92e5b921e9ad5ef).();
132 void ags_fx_sfz_synth_audio_channel_data_freecxx . . $ ags_fx_sfz_synth_audio_channel_data_free(2df2f3407c3481ca).(AgsFxSFZSynthAudioChannelDatacxx . . $ AgsFxSFZSynthAudioChannelData# *channel_data);
133
134 AgsFxSFZSynthAudioInputDatacxx . . $ AgsFxSFZSynthAudioInputData#* ags_fx_sfz_synth_audio_input_data_alloccxx . . $ ags_fx_sfz_synth_audio_input_data_alloc(c378000991d5ece0).();
135 void ags_fx_sfz_synth_audio_input_data_freecxx . . $ ags_fx_sfz_synth_audio_input_data_free(6890e899610ce7d3).(AgsFxSFZSynthAudioInputDatacxx . . $ AgsFxSFZSynthAudioInputData# *input_data);
136
137 /* instantiate */
138 AgsFxSFZSynthAudiocxx . . $ AgsFxSFZSynthAudio#* ags_fx_sfz_synth_audio_newcxx . . $ ags_fx_sfz_synth_audio_new(c75159f68fc9c443).(AgsAudiocxx . . $ AgsAudio# *audio);
139
140 G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`!
141
142 #endif /*__AGS_FX_SFZ_SYNTH_AUDIO_H__*/