| 1 | /* GSequencer - Advanced GTK Sequencer |
| 2 | * Copyright (C) 2005-2026 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 | #include <ags/audio/fx/ags_fx_modular_synth_audio_signal.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_modular_synth_audio_signal.h`/ |
| 21 | |
| 22 | #include <ags/audio/ags_port.h>cxx . . $ `<file>/ags/audio/ags_port.h`/ |
| 23 | #include <ags/audio/ags_modular_synth_util.h>cxx . . $ `<file>/ags/audio/ags_modular_synth_util.h`/ |
| 24 | |
| 25 | #include <ags/audio/fx/ags_fx_modular_synth_audio.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_modular_synth_audio.h`/ |
| 26 | #include <ags/audio/fx/ags_fx_modular_synth_audio_processor.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_modular_synth_audio_processor.h`/ |
| 27 | #include <ags/audio/fx/ags_fx_modular_synth_channel.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_modular_synth_channel.h`/ |
| 28 | #include <ags/audio/fx/ags_fx_modular_synth_channel_processor.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_modular_synth_channel_processor.h`/ |
| 29 | #include <ags/audio/fx/ags_fx_modular_synth_recycling.h>cxx . . $ `<file>/ags/audio/fx/ags_fx_modular_synth_recycling.h`/ |
| 30 | |
| 31 | #include <ags/i18n.h>cxx . . $ `<file>/ags/i18n.h`/ |
| 32 | |
| 33 | static void ags_fx_modular_synth_audio_signal_class_initcxx . . $ ags_fx_modular_synth_audio_signal_class_init(df986f07ffb7267a).(AgsFxModularSynthAudioSignalClasscxx . . $ AgsFxModularSynthAudioSignalClass# *fx_modular_synth_audio_signal); |
| 34 | static void ags_fx_modular_synth_audio_signal_initcxx . . $ ags_fx_modular_synth_audio_signal_init(66e8594f86f68f10).(AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal# *fx_modular_synth_audio_signal); |
| 35 | static void ags_fx_modular_synth_audio_signal_disposecxx . . $ ags_fx_modular_synth_audio_signal_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 36 | static void ags_fx_modular_synth_audio_signal_finalizecxx . . $ ags_fx_modular_synth_audio_signal_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject); |
| 37 | |
| 38 | static void ags_fx_modular_synth_audio_signal_stream_feedcxx . . $ ags_fx_modular_synth_audio_signal_stream_feed(c1f3604c91c44e20).(AgsFxNotationAudioSignalcxx . . $ AgsFxNotationAudioSignal# *fx_notation_audio_signal, |
| 39 | AgsAudioSignalcxx . . $ AgsAudioSignal# *source, |
| 40 | AgsNotecxx . . $ AgsNote# *note, |
| 41 | gbooleancxx . . $ gboolean# pattern_mode, |
| 42 | guintcxx . . $ guint# x0, guintcxx . . $ guint# x1, |
| 43 | guintcxx . . $ guint# y, |
| 44 | gdoublecxx . . $ gdouble# delay_counter, guint64cxx . . $ guint64# offset_counter, |
| 45 | guintcxx . . $ guint# frame_count, |
| 46 | gdoublecxx . . $ gdouble# delay, guintcxx . . $ guint# buffer_size); |
| 47 | static void ags_fx_modular_synth_audio_signal_notify_removecxx . . $ ags_fx_modular_synth_audio_signal_notify_remove(cecb0c466d8108c7).(AgsFxNotationAudioSignalcxx . . $ AgsFxNotationAudioSignal# *fx_notation_audio_signal, |
| 48 | AgsAudioSignalcxx . . $ AgsAudioSignal# *source, |
| 49 | AgsNotecxx . . $ AgsNote# *note, |
| 50 | guintcxx . . $ guint# x0, guintcxx . . $ guint# x1, |
| 51 | guintcxx . . $ guint# y); |
| 52 | |
| 53 | /** |
| 54 | * SECTION:ags_fx_modular_synth_audio_signal |
| 55 | * @short_description: fx modular synth audio signal |
| 56 | * @title: AgsFxModularSynthAudioSignal |
| 57 | * @section_id: |
| 58 | * @include: ags/audio/fx/ags_fx_modular_synth_audio_signal.h |
| 59 | * |
| 60 | * The #AgsFxModularSynthAudioSignal class provides ports to the effect processor. |
| 61 | */ |
| 62 | |
| 63 | static gpointercxx . . $ gpointer# ags_fx_modular_synth_audio_signal_parent_classcxx . . $ ags_fx_modular_synth_audio_signal_parent_class. = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 64 | |
| 65 | static const gcharcxx . . $ gchar# *ags_fx_modular_synth_audio_signal_plugin_namecxx . . $ ags_fx_modular_synth_audio_signal_plugin_name. = "ags-fx-modular-synth"; |
| 66 | |
| 67 | GTypecxx . . $ GType# |
| 68 | ags_fx_modular_synth_audio_signal_get_typecxx . . $ ags_fx_modular_synth_audio_signal_get_type(7b3bcd0168edf51f).() |
| 69 | { |
| 70 | static gsizecxx . . $ gsize# g_define_type_id__static = 0; |
| 71 | |
| 72 | if(g_once_init_entercxx . . $ `<external>/457917468643292165/gthread.h:270:10`!(&g_define_type_id__static)){ |
| 73 | GTypecxx . . $ GType# ags_type_fx_modular_synth_audio_signal = 0; |
| 74 | |
| 75 | static const GTypeInfocxx . . $ GTypeInfo# ags_fx_modular_synth_audio_signal_info = { |
| 76 | sizeof (AgsFxModularSynthAudioSignalClasscxx . . $ AgsFxModularSynthAudioSignalClass#), |
| 77 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!, /* base_init */ |
| 78 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!, /* base_finalize */ |
| 79 | (GClassInitFunccxx . . $ GClassInitFunc#) ags_fx_modular_synth_audio_signal_class_initcxx . . $ ags_fx_modular_synth_audio_signal_class_init(df986f07ffb7267a)., |
| 80 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!, /* class_finalize */ |
| 81 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!, /* class_audio_signal */ |
| 82 | sizeof (AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal#), |
| 83 | 0, /* n_preallocs */ |
| 84 | (GInstanceInitFunccxx . . $ GInstanceInitFunc#) ags_fx_modular_synth_audio_signal_initcxx . . $ ags_fx_modular_synth_audio_signal_init(66e8594f86f68f10)., |
| 85 | }; |
| 86 | |
| 87 | ags_type_fx_modular_synth_audio_signal = g_type_register_staticcxx . . $ g_type_register_static(805a40cfa272e950).(AGS_TYPE_FX_NOTATION_AUDIO_SIGNALcxx . . $ `ags/audio/fx/ags_fx_notation_audio_signal.h:33:9`!, |
| 88 | "AgsFxModularSynthAudioSignal", |
| 89 | &ags_fx_modular_synth_audio_signal_info, |
| 90 | 0); |
| 91 | |
| 92 | g_once_init_leavecxx . . $ `<external>/457917468643292165/gthread.h:277:10`!(&g_define_type_id__static, ags_type_fx_modular_synth_audio_signal); |
| 93 | } |
| 94 | |
| 95 | return(g_define_type_id__static); |
| 96 | } |
| 97 | |
| 98 | void |
| 99 | ags_fx_modular_synth_audio_signal_class_initcxx . . $ ags_fx_modular_synth_audio_signal_class_init(df986f07ffb7267a).(AgsFxModularSynthAudioSignalClasscxx . . $ AgsFxModularSynthAudioSignalClass# *fx_modular_synth_audio_signal) |
| 100 | { |
| 101 | GObjectClasscxx . . $ GObjectClass# *gobject; |
| 102 | AgsFxNotationAudioSignalClasscxx . . $ AgsFxNotationAudioSignalClass# *fx_notation_audio_signal; |
| 103 | |
| 104 | ags_fx_modular_synth_audio_signal_parent_classcxx . . $ ags_fx_modular_synth_audio_signal_parent_class. = g_type_class_peek_parentcxx . . $ g_type_class_peek_parent(9f162e79bfc6c74).(fx_modular_synth_audio_signal); |
| 105 | |
| 106 | /* GObjectClass */ |
| 107 | gobject = (GObjectClasscxx . . $ GObjectClass# *) fx_modular_synth_audio_signal; |
| 108 | |
| 109 | gobject->disposecxx . . $ _GObjectClass#dispose. = ags_fx_modular_synth_audio_signal_disposecxx . . $ ags_fx_modular_synth_audio_signal_dispose(6087475fa43034d3).; |
| 110 | gobject->finalizecxx . . $ _GObjectClass#finalize. = ags_fx_modular_synth_audio_signal_finalizecxx . . $ ags_fx_modular_synth_audio_signal_finalize(6087475fa43034d3).; |
| 111 | |
| 112 | /* AgsFxNotationAudioSignalClass */ |
| 113 | fx_notation_audio_signal = (AgsFxNotationAudioSignalClasscxx . . $ AgsFxNotationAudioSignalClass# *) fx_modular_synth_audio_signal; |
| 114 | |
| 115 | fx_notation_audio_signal->stream_feedcxx . . $ _AgsFxNotationAudioSignalClass#stream_feed. = ags_fx_modular_synth_audio_signal_stream_feedcxx . . $ ags_fx_modular_synth_audio_signal_stream_feed(c1f3604c91c44e20).; |
| 116 | fx_notation_audio_signal->notify_removecxx . . $ _AgsFxNotationAudioSignalClass#notify_remove. = ags_fx_modular_synth_audio_signal_notify_removecxx . . $ ags_fx_modular_synth_audio_signal_notify_remove(cecb0c466d8108c7).; |
| 117 | } |
| 118 | |
| 119 | void |
| 120 | ags_fx_modular_synth_audio_signal_initcxx . . $ ags_fx_modular_synth_audio_signal_init(66e8594f86f68f10).(AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal# *fx_modular_synth_audio_signal) |
| 121 | { |
| 122 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_modular_synth_audio_signal)->namecxx . . $ _AgsRecall#name. = "ags-fx-modular-synth"; |
| 123 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_modular_synth_audio_signal)->versioncxx . . $ _AgsRecall#version. = AGS_RECALL_DEFAULT_VERSIONcxx . . $ `ags/audio/ags_recall.h:52:9`!; |
| 124 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_modular_synth_audio_signal)->build_idcxx . . $ _AgsRecall#build_id. = AGS_RECALL_DEFAULT_BUILD_IDcxx . . $ `ags/audio/ags_recall.h:53:9`!; |
| 125 | AGS_RECALLcxx . . $ `ags/audio/ags_recall.h:42:9`!(fx_modular_synth_audio_signal)->xml_typecxx . . $ _AgsRecall#xml_type. = "ags-fx-modular-synth-audio-signal"; |
| 126 | } |
| 127 | |
| 128 | void |
| 129 | ags_fx_modular_synth_audio_signal_disposecxx . . $ ags_fx_modular_synth_audio_signal_dispose(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 130 | { |
| 131 | AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal# *fx_modular_synth_audio_signal; |
| 132 | |
| 133 | fx_modular_synth_audio_signal = AGS_FX_MODULAR_SYNTH_AUDIO_SIGNALcxx . . $ `ags/audio/fx/ags_fx_modular_synth_audio_signal.h:36:9`!(gobject); |
| 134 | |
| 135 | /* call parent */ |
| 136 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_modular_synth_audio_signal_parent_class)->disposecxx . . $ _GObjectClass#dispose.(gobject); |
| 137 | } |
| 138 | |
| 139 | void |
| 140 | ags_fx_modular_synth_audio_signal_finalizecxx . . $ ags_fx_modular_synth_audio_signal_finalize(6087475fa43034d3).(GObjectcxx . . $ GObject# *gobject) |
| 141 | { |
| 142 | AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal# *fx_modular_synth_audio_signal; |
| 143 | |
| 144 | fx_modular_synth_audio_signal = AGS_FX_MODULAR_SYNTH_AUDIO_SIGNALcxx . . $ `ags/audio/fx/ags_fx_modular_synth_audio_signal.h:36:9`!(gobject); |
| 145 | |
| 146 | /* call parent */ |
| 147 | G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`!(ags_fx_modular_synth_audio_signal_parent_class)->finalizecxx . . $ _GObjectClass#finalize.(gobject); |
| 148 | } |
| 149 | |
| 150 | void |
| 151 | ags_fx_modular_synth_audio_signal_stream_feedcxx . . $ ags_fx_modular_synth_audio_signal_stream_feed(c1f3604c91c44e20).(AgsFxNotationAudioSignalcxx . . $ AgsFxNotationAudioSignal# *fx_notation_audio_signal, |
| 152 | AgsAudioSignalcxx . . $ AgsAudioSignal# *source, |
| 153 | AgsNotecxx . . $ AgsNote# *note, |
| 154 | gbooleancxx . . $ gboolean# pattern_mode, |
| 155 | guintcxx . . $ guint# x0, guintcxx . . $ guint# x1, |
| 156 | guintcxx . . $ guint# y, |
| 157 | gdoublecxx . . $ gdouble# delay_counter, guint64cxx . . $ guint64# offset_counter, |
| 158 | guintcxx . . $ guint# frame_count, |
| 159 | gdoublecxx . . $ gdouble# delay, guintcxx . . $ guint# buffer_size) |
| 160 | { |
| 161 | AgsAudiocxx . . $ AgsAudio# *audio; |
| 162 | AgsFxModularSynthAudiocxx . . $ AgsFxModularSynthAudio# *fx_modular_synth_audio; |
| 163 | AgsFxModularSynthAudioProcessorcxx . . $ AgsFxModularSynthAudioProcessor# *fx_modular_synth_audio_processor; |
| 164 | AgsFxModularSynthChannelProcessorcxx . . $ AgsFxModularSynthChannelProcessor# *fx_modular_synth_channel_processor; |
| 165 | AgsFxModularSynthRecyclingcxx . . $ AgsFxModularSynthRecycling# *fx_modular_synth_recycling; |
| 166 | AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal# *fx_modular_synth_audio_signal; |
| 167 | |
| 168 | guint64cxx . . $ guint64# note_256th_offset[16] = {0,}; |
| 169 | |
| 170 | guintcxx . . $ guint# sound_scope; |
| 171 | guintcxx . . $ guint# audio_channel; |
| 172 | guintcxx . . $ guint# audio_start_mapping; |
| 173 | guintcxx . . $ guint# midi_start_mapping; |
| 174 | gintcxx . . $ gint# midi_note; |
| 175 | guintcxx . . $ guint# note_256th_offset_length; |
| 176 | guintcxx . . $ guint# x0_256th, x1_256th; |
| 177 | guint64cxx . . $ guint64# note_256th_offset_lower; |
| 178 | gdoublecxx . . $ gdouble# note_256th_delay; |
| 179 | guintcxx . . $ guint# format; |
| 180 | guintcxx . . $ guint# samplerate; |
| 181 | guintcxx . . $ guint# copy_mode_out; |
| 182 | guintcxx . . $ guint# audio_buffer_util_format; |
| 183 | guintcxx . . $ guint# copy_mode; |
| 184 | |
| 185 | gdoublecxx . . $ gdouble# octave; |
| 186 | gdoublecxx . . $ gdouble# key; |
| 187 | |
| 188 | gbooleancxx . . $ gboolean# note_256th_mode; |
| 189 | |
| 190 | gbooleancxx . . $ gboolean# chorus_enabled; |
| 191 | |
| 192 | GRecMutexcxx . . $ GRecMutex# *source_stream_mutex; |
| 193 | GRecMutexcxx . . $ GRecMutex# *fx_modular_synth_audio_mutex; |
| 194 | GRecMutexcxx . . $ GRecMutex# *fx_modular_synth_audio_processor_mutex; |
| 195 | |
| 196 | fx_modular_synth_audio_signal = (AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal# *) fx_notation_audio_signal; |
| 197 | |
| 198 | audio = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 199 | |
| 200 | fx_modular_synth_audio = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 201 | fx_modular_synth_audio_processor = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 202 | |
| 203 | fx_modular_synth_channel_processor = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 204 | |
| 205 | fx_modular_synth_recycling = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 206 | |
| 207 | sound_scope = ags_recall_get_sound_scopecxx . . $ ags_recall_get_sound_scope(20bf46f7161aca3b).((AgsRecallcxx . . $ AgsRecall# *) fx_notation_audio_signal); |
| 208 | |
| 209 | audio_channel = 0; |
| 210 | |
| 211 | audio_start_mapping = 0; |
| 212 | midi_start_mapping = 0; |
| 213 | |
| 214 | format = AGS_SOUNDCARD_DEFAULT_FORMATcxx . . $ `ags/object/ags_soundcard.h:49:9`!; |
| 215 | samplerate = AGS_SOUNDCARD_DEFAULT_SAMPLERATEcxx . . $ `ags/object/ags_soundcard.h:45:9`!; |
| 216 | |
| 217 | octave = 0.0; |
| 218 | key = 0.0; |
| 219 | |
| 220 | note_256th_mode = ags_fx_notation_audio_get_note_256th_modecxx . . $ ags_fx_notation_audio_get_note_256th_mode(56ada52d184c08f1).((AgsFxNotationAudiocxx . . $ AgsFxNotationAudio# *) fx_modular_synth_audio); |
| 221 | |
| 222 | chorus_enabled = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 223 | |
| 224 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_notation_audio_signal, |
| 225 | "parent", &fx_modular_synth_recycling, |
| 226 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 227 | |
| 228 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_recycling, |
| 229 | "parent", &fx_modular_synth_channel_processor, |
| 230 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 231 | |
| 232 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_channel_processor, |
| 233 | "recall-audio", &fx_modular_synth_audio, |
| 234 | "recall-audio-run", &fx_modular_synth_audio_processor, |
| 235 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 236 | |
| 237 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 238 | "audio", &audio, |
| 239 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 240 | |
| 241 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio_processor, |
| 242 | "audio-channel", &audio_channel, |
| 243 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 244 | |
| 245 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(source, |
| 246 | "format", &format, |
| 247 | "samplerate", &samplerate, |
| 248 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 249 | |
| 250 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(note, |
| 251 | "x0-256th", &x0_256th, |
| 252 | "x1-256th", &x1_256th, |
| 253 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 254 | |
| 255 | audio_buffer_util_format = ags_audio_buffer_util_format_from_soundcardcxx . . $ ags_audio_buffer_util_format_from_soundcard(af3122fa74eb2af1).(&(fx_modular_synth_audio_signal->audio_buffer_utilcxx . . $ _AgsFxModularSynthAudioSignal#audio_buffer_util.), |
| 256 | format); |
| 257 | |
| 258 | copy_mode = ags_audio_buffer_util_get_copy_mode_from_formatcxx . . $ ags_audio_buffer_util_get_copy_mode_from_format(fdce556263aa1f1e).(&(fx_modular_synth_audio_signal->audio_buffer_utilcxx . . $ _AgsFxModularSynthAudioSignal#audio_buffer_util.), |
| 259 | audio_buffer_util_format, |
| 260 | audio_buffer_util_format); |
| 261 | |
| 262 | /* get synth mutex */ |
| 263 | fx_modular_synth_audio_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:50:9`!(fx_modular_synth_audio); |
| 264 | fx_modular_synth_audio_processor_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:50:9`!(fx_modular_synth_audio_processor); |
| 265 | |
| 266 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(fx_modular_synth_audio_processor_mutex); |
| 267 | |
| 268 | note_256th_offset_length = 0; |
| 269 | |
| 270 | ags_frame_clock_get_note_256th_offsetcxx . . $ ags_frame_clock_get_note_256th_offset(5cb29f1322a60365).(AGS_FX_NOTATION_AUDIO_PROCESSORcxx . . $ `ags/audio/fx/ags_fx_notation_audio_processor.h:37:9`!(fx_modular_synth_audio_processor)->frame_clockcxx . . $ _AgsFxNotationAudioProcessor#frame_clock., |
| 271 | &(note_256th_offset[0]), |
| 272 | ¬e_256th_offset_length); |
| 273 | |
| 274 | note_256th_offset_lower = note_256th_offset[0]; |
| 275 | |
| 276 | note_256th_delay = (gdoublecxx . . $ gdouble#) AGS_FX_NOTATION_AUDIO_PROCESSORcxx . . $ `ags/audio/fx/ags_fx_notation_audio_processor.h:37:9`!(fx_modular_synth_audio_processor)->frame_clockcxx . . $ _AgsFxNotationAudioProcessor#frame_clock.->absolute_delaycxx . . $ _AgsFrameClock#absolute_delay. / 16.0; |
| 277 | |
| 278 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(fx_modular_synth_audio_processor_mutex); |
| 279 | |
| 280 | /* process data */ |
| 281 | source_stream_mutex = AGS_AUDIO_SIGNAL_GET_STREAM_MUTEXcxx . . $ `ags/audio/ags_audio_signal.h:41:9`!(source); |
| 282 | |
| 283 | audio_start_mapping = 0; |
| 284 | midi_start_mapping = 0; |
| 285 | |
| 286 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(audio, |
| 287 | "audio-start-mapping", &audio_start_mapping, |
| 288 | "midi-start-mapping", &midi_start_mapping, |
| 289 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 290 | |
| 291 | if(ags_audio_test_behaviour_flagscxx . . $ ags_audio_test_behaviour_flags(a6fe955640454778).(audio, AGS_SOUND_BEHAVIOUR_REVERSE_MAPPINGcxx . . $ AGS_SOUND_BEHAVIOUR_REVERSE_MAPPING.)){ |
| 292 | midi_note = (128 - y - 1 - audio_start_mapping + midi_start_mapping); |
| 293 | }else{ |
| 294 | midi_note = (y - audio_start_mapping + midi_start_mapping); |
| 295 | } |
| 296 | |
| 297 | if(fx_modular_synth_audio != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 298 | AgsPortcxx . . $ AgsPort# *port; |
| 299 | |
| 300 | AgsFxModularSynthAudioChannelDatacxx . . $ AgsFxModularSynthAudioChannelData# *channel_data; |
| 301 | |
| 302 | GValuecxx . . $ GValue# value = {0,}; |
| 303 | |
| 304 | channel_data = fx_modular_synth_audio->scope_datacxx . . $ _AgsFxModularSynthAudio#scope_data.[sound_scope]->channel_datacxx . . $ _AgsFxModularSynthAudioScopeData#channel_data.[audio_channel]; |
| 305 | |
| 306 | /* synth-0 osc-0 oscillator */ |
| 307 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 308 | "synth-0-osc-0-oscillator", &port, |
| 309 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 310 | |
| 311 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 312 | |
| 313 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 314 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 315 | &value); |
| 316 | |
| 317 | ags_modular_synth_util_set_osc_0_oscillatorcxx . . $ ags_modular_synth_util_set_osc_0_oscillator(b7f5bcc70211d720).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 318 | (guintcxx . . $ guint#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 319 | |
| 320 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 321 | } |
| 322 | |
| 323 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 324 | |
| 325 | /* synth-0 osc-0 octave */ |
| 326 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 327 | "synth-0-osc-0-octave", &port, |
| 328 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 329 | |
| 330 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 331 | |
| 332 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 333 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 334 | &value); |
| 335 | |
| 336 | octave = (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value); |
| 337 | |
| 338 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 339 | } |
| 340 | |
| 341 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 342 | |
| 343 | /* synth-0 osc-0 key */ |
| 344 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 345 | "synth-0-osc-0-key", &port, |
| 346 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 347 | |
| 348 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 349 | |
| 350 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 351 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 352 | &value); |
| 353 | |
| 354 | key = (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value); |
| 355 | |
| 356 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 357 | } |
| 358 | |
| 359 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 360 | |
| 361 | ags_modular_synth_util_set_osc_0_frequencycxx . . $ ags_modular_synth_util_set_osc_0_frequency(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 362 | exp2cxx . . $ exp2(447c67c6676f75c3).(((octave * 12.0) + key + ((gdoublecxx . . $ gdouble#) midi_note - 48.0)) / 12.0) * 440.0); |
| 363 | |
| 364 | // g_message("synth 0 - osc = %d, frequency = %f, octave = %f, key= %f", channel_data->modular_synth_0.synth_oscillator_mode, channel_data->modular_synth_0.frequency, octave, key); |
| 365 | |
| 366 | /* synth-0 osc-0 phase */ |
| 367 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 368 | "synth-0-osc-0-phase", &port, |
| 369 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 370 | |
| 371 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 372 | |
| 373 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 374 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 375 | &value); |
| 376 | |
| 377 | ags_modular_synth_util_set_osc_0_phasecxx . . $ ags_modular_synth_util_set_osc_0_phase(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 378 | ((gdoublecxx . . $ gdouble#) samplerate / ags_modular_synth_util_get_osc_0_frequencycxx . . $ ags_modular_synth_util_get_osc_0_frequency(b99da4511096394d).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0.)) * ((gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value) / (2.0 * M_PIcxx . . $ `<external>/11263917310783833665/math.h:1289:10`!))); |
| 379 | |
| 380 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 381 | } |
| 382 | |
| 383 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 384 | |
| 385 | /* synth-0 osc-0 volume */ |
| 386 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 387 | "synth-0-osc-0-volume", &port, |
| 388 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 389 | |
| 390 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 391 | |
| 392 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 393 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 394 | &value); |
| 395 | |
| 396 | ags_modular_synth_util_set_osc_0_volumecxx . . $ ags_modular_synth_util_set_osc_0_volume(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 397 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 398 | |
| 399 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 400 | } |
| 401 | |
| 402 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 403 | |
| 404 | /* synth-0 osc-1 oscillator */ |
| 405 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 406 | "synth-0-osc-1-oscillator", &port, |
| 407 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 408 | |
| 409 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 410 | |
| 411 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 412 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 413 | &value); |
| 414 | |
| 415 | ags_modular_synth_util_set_osc_1_oscillatorcxx . . $ ags_modular_synth_util_set_osc_1_oscillator(b7f5bcc70211d720).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 416 | (guintcxx . . $ guint#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 417 | |
| 418 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 419 | } |
| 420 | |
| 421 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 422 | |
| 423 | /* synth-0 osc-1 octave */ |
| 424 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 425 | "synth-0-osc-1-octave", &port, |
| 426 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 427 | |
| 428 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 429 | |
| 430 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 431 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 432 | &value); |
| 433 | |
| 434 | octave = (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value); |
| 435 | |
| 436 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 437 | } |
| 438 | |
| 439 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 440 | |
| 441 | /* synth-0 osc-1 key */ |
| 442 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 443 | "synth-0-osc-1-key", &port, |
| 444 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 445 | |
| 446 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 447 | |
| 448 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 449 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 450 | &value); |
| 451 | |
| 452 | key = (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value); |
| 453 | |
| 454 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 455 | } |
| 456 | |
| 457 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 458 | |
| 459 | ags_modular_synth_util_set_osc_1_frequencycxx . . $ ags_modular_synth_util_set_osc_1_frequency(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 460 | exp2cxx . . $ exp2(447c67c6676f75c3).(((octave * 12.0) + key + ((gdoublecxx . . $ gdouble#) midi_note - 48.0)) / 12.0) * 440.0); |
| 461 | |
| 462 | // g_message("synth 0 - osc = %d, frequency = %f, octave = %f, key= %f", channel_data->modular_synth_0.synth_oscillator_mode, channel_data->modular_synth_0.frequency, octave, key); |
| 463 | |
| 464 | /* synth-0 osc-1 phase */ |
| 465 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 466 | "synth-0-osc-1-phase", &port, |
| 467 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 468 | |
| 469 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 470 | |
| 471 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 472 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 473 | &value); |
| 474 | |
| 475 | ags_modular_synth_util_set_osc_1_phasecxx . . $ ags_modular_synth_util_set_osc_1_phase(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 476 | ((gdoublecxx . . $ gdouble#) samplerate / ags_modular_synth_util_get_osc_1_frequencycxx . . $ ags_modular_synth_util_get_osc_1_frequency(b99da4511096394d).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0.)) * ((gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value) / (2.0 * M_PIcxx . . $ `<external>/11263917310783833665/math.h:1289:10`!))); |
| 477 | |
| 478 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 479 | } |
| 480 | |
| 481 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 482 | |
| 483 | /* synth-0 osc-1 volume */ |
| 484 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 485 | "synth-0-osc-1-volume", &port, |
| 486 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 487 | |
| 488 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 489 | |
| 490 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 491 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 492 | &value); |
| 493 | |
| 494 | ags_modular_synth_util_set_osc_1_volumecxx . . $ ags_modular_synth_util_set_osc_1_volume(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 495 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 496 | |
| 497 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 498 | } |
| 499 | |
| 500 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 501 | |
| 502 | /* pitch base key */ |
| 503 | // ags_common_pitch_util_set_base_key(channel_data->pitch_util, |
| 504 | // channel_data->pitch_type, |
| 505 | // (gdouble) midi_note - 48.0); |
| 506 | |
| 507 | /* pitch tuning */ |
| 508 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 509 | "synth-0-pitch-tuning", &port, |
| 510 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 511 | |
| 512 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 513 | |
| 514 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 515 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 516 | &value); |
| 517 | |
| 518 | ags_modular_synth_util_set_pitch_tuningcxx . . $ ags_modular_synth_util_set_pitch_tuning(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 519 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 520 | |
| 521 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 522 | } |
| 523 | |
| 524 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 525 | |
| 526 | /* synth-0 volume */ |
| 527 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 528 | "synth-0-volume", &port, |
| 529 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 530 | |
| 531 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 532 | |
| 533 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 534 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 535 | &value); |
| 536 | |
| 537 | ags_modular_synth_util_set_volumecxx . . $ ags_modular_synth_util_set_volume(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 538 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 539 | |
| 540 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 541 | } |
| 542 | |
| 543 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 544 | |
| 545 | /* synth-0 env-0 attack */ |
| 546 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 547 | "synth-0-env-0-attack", &port, |
| 548 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 549 | |
| 550 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 551 | |
| 552 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 553 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 554 | &value); |
| 555 | |
| 556 | ags_modular_synth_util_set_env_0_attackcxx . . $ ags_modular_synth_util_set_env_0_attack(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 557 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 558 | |
| 559 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 560 | } |
| 561 | |
| 562 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 563 | |
| 564 | /* synth-0 env-0 decay */ |
| 565 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 566 | "synth-0-env-0-decay", &port, |
| 567 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 568 | |
| 569 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 570 | |
| 571 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 572 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 573 | &value); |
| 574 | |
| 575 | ags_modular_synth_util_set_env_0_decaycxx . . $ ags_modular_synth_util_set_env_0_decay(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 576 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 577 | |
| 578 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 579 | } |
| 580 | |
| 581 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 582 | |
| 583 | /* synth-0 env-0 sustain */ |
| 584 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 585 | "synth-0-env-0-sustain", &port, |
| 586 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 587 | |
| 588 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 589 | |
| 590 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 591 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 592 | &value); |
| 593 | |
| 594 | ags_modular_synth_util_set_env_0_sustaincxx . . $ ags_modular_synth_util_set_env_0_sustain(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 595 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 596 | |
| 597 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 598 | } |
| 599 | |
| 600 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 601 | |
| 602 | /* synth-0 env-0 release */ |
| 603 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 604 | "synth-0-env-0-release", &port, |
| 605 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 606 | |
| 607 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 608 | |
| 609 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 610 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 611 | &value); |
| 612 | |
| 613 | ags_modular_synth_util_set_env_0_releasecxx . . $ ags_modular_synth_util_set_env_0_release(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 614 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 615 | |
| 616 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 617 | } |
| 618 | |
| 619 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 620 | |
| 621 | /* synth-0 env-0 gain */ |
| 622 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 623 | "synth-0-env-0-gain", &port, |
| 624 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 625 | |
| 626 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 627 | |
| 628 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 629 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 630 | &value); |
| 631 | |
| 632 | ags_modular_synth_util_set_env_0_gaincxx . . $ ags_modular_synth_util_set_env_0_gain(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 633 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 634 | |
| 635 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 636 | } |
| 637 | |
| 638 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 639 | |
| 640 | /* synth-0 env-0 frequency */ |
| 641 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 642 | "synth-0-env-0-frequency", &port, |
| 643 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 644 | |
| 645 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 646 | |
| 647 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 648 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 649 | &value); |
| 650 | |
| 651 | ags_modular_synth_util_set_env_0_frequencycxx . . $ ags_modular_synth_util_set_env_0_frequency(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 652 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 653 | |
| 654 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 655 | } |
| 656 | |
| 657 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 658 | |
| 659 | /* synth-0 env-0 sends */ |
| 660 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 661 | "synth-0-env-0-sends", &port, |
| 662 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 663 | |
| 664 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_POINTERcxx . . $ `<external>/9567554376676449156/gtype.h:171:9`!); |
| 665 | |
| 666 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 667 | g_value_set_pointercxx . . $ g_value_set_pointer(e945b84c1e9702f).(&value, |
| 668 | ags_modular_synth_util_get_env_0_sendscxx . . $ ags_modular_synth_util_get_env_0_sends(9b05ea1ce11f7c00).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 669 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)); |
| 670 | |
| 671 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 672 | &value); |
| 673 | |
| 674 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 675 | } |
| 676 | |
| 677 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 678 | |
| 679 | /* synth-0 env-1 attack */ |
| 680 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 681 | "synth-0-env-1-attack", &port, |
| 682 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 683 | |
| 684 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 685 | |
| 686 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 687 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 688 | &value); |
| 689 | |
| 690 | ags_modular_synth_util_set_env_1_attackcxx . . $ ags_modular_synth_util_set_env_1_attack(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 691 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 692 | |
| 693 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 694 | } |
| 695 | |
| 696 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 697 | |
| 698 | /* synth-0 env-1 decay */ |
| 699 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 700 | "synth-0-env-1-decay", &port, |
| 701 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 702 | |
| 703 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 704 | |
| 705 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 706 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 707 | &value); |
| 708 | |
| 709 | ags_modular_synth_util_set_env_1_decaycxx . . $ ags_modular_synth_util_set_env_1_decay(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 710 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 711 | |
| 712 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 713 | } |
| 714 | |
| 715 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 716 | |
| 717 | /* synth-0 env-1 sustain */ |
| 718 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 719 | "synth-0-env-1-sustain", &port, |
| 720 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 721 | |
| 722 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 723 | |
| 724 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 725 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 726 | &value); |
| 727 | |
| 728 | ags_modular_synth_util_set_env_1_sustaincxx . . $ ags_modular_synth_util_set_env_1_sustain(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 729 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 730 | |
| 731 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 732 | } |
| 733 | |
| 734 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 735 | |
| 736 | /* synth-0 env-1 release */ |
| 737 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 738 | "synth-0-env-1-release", &port, |
| 739 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 740 | |
| 741 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 742 | |
| 743 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 744 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 745 | &value); |
| 746 | |
| 747 | ags_modular_synth_util_set_env_1_releasecxx . . $ ags_modular_synth_util_set_env_1_release(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 748 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 749 | |
| 750 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 751 | } |
| 752 | |
| 753 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 754 | |
| 755 | /* synth-0 env-1 gain */ |
| 756 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 757 | "synth-0-env-1-gain", &port, |
| 758 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 759 | |
| 760 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 761 | |
| 762 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 763 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 764 | &value); |
| 765 | |
| 766 | ags_modular_synth_util_set_env_1_gaincxx . . $ ags_modular_synth_util_set_env_1_gain(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 767 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 768 | |
| 769 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 770 | } |
| 771 | |
| 772 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 773 | |
| 774 | /* synth-0 env-1 frequency */ |
| 775 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 776 | "synth-0-env-1-frequency", &port, |
| 777 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 778 | |
| 779 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 780 | |
| 781 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 782 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 783 | &value); |
| 784 | |
| 785 | ags_modular_synth_util_set_env_1_frequencycxx . . $ ags_modular_synth_util_set_env_1_frequency(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 786 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 787 | |
| 788 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 789 | } |
| 790 | |
| 791 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 792 | |
| 793 | /* synth-0 env-1 sends */ |
| 794 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 795 | "synth-0-env-1-sends", &port, |
| 796 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 797 | |
| 798 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_POINTERcxx . . $ `<external>/9567554376676449156/gtype.h:171:9`!); |
| 799 | |
| 800 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 801 | g_value_set_pointercxx . . $ g_value_set_pointer(e945b84c1e9702f).(&value, |
| 802 | ags_modular_synth_util_get_env_1_sendscxx . . $ ags_modular_synth_util_get_env_1_sends(9b05ea1ce11f7c00).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 803 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)); |
| 804 | |
| 805 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 806 | &value); |
| 807 | |
| 808 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 809 | } |
| 810 | |
| 811 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 812 | |
| 813 | /* synth-0 lfo-0 oscillator */ |
| 814 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 815 | "synth-0-lfo-0-oscillator", &port, |
| 816 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 817 | |
| 818 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 819 | |
| 820 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 821 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 822 | &value); |
| 823 | |
| 824 | ags_modular_synth_util_set_lfo_0_oscillatorcxx . . $ ags_modular_synth_util_set_lfo_0_oscillator(b7f5bcc70211d720).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 825 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 826 | |
| 827 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 828 | } |
| 829 | |
| 830 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 831 | |
| 832 | /* synth-0 lfo-0 frequency */ |
| 833 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 834 | "synth-0-lfo-0-frequency", &port, |
| 835 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 836 | |
| 837 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 838 | |
| 839 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 840 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 841 | &value); |
| 842 | |
| 843 | ags_modular_synth_util_set_lfo_0_frequencycxx . . $ ags_modular_synth_util_set_lfo_0_frequency(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 844 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 845 | |
| 846 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 847 | } |
| 848 | |
| 849 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 850 | |
| 851 | /* synth-0 lfo-0 depth */ |
| 852 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 853 | "synth-0-lfo-0-depth", &port, |
| 854 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 855 | |
| 856 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 857 | |
| 858 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 859 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 860 | &value); |
| 861 | |
| 862 | ags_modular_synth_util_set_lfo_0_depthcxx . . $ ags_modular_synth_util_set_lfo_0_depth(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 863 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 864 | |
| 865 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 866 | } |
| 867 | |
| 868 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 869 | |
| 870 | /* synth-0 lfo-0 tuning */ |
| 871 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 872 | "synth-0-lfo-0-tuning", &port, |
| 873 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 874 | |
| 875 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 876 | |
| 877 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 878 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 879 | &value); |
| 880 | |
| 881 | ags_modular_synth_util_set_lfo_0_tuningcxx . . $ ags_modular_synth_util_set_lfo_0_tuning(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 882 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 883 | |
| 884 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 885 | } |
| 886 | |
| 887 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 888 | |
| 889 | /* synth-0 lfo-0 sends */ |
| 890 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 891 | "synth-0-lfo-0-sends", &port, |
| 892 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 893 | |
| 894 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_POINTERcxx . . $ `<external>/9567554376676449156/gtype.h:171:9`!); |
| 895 | |
| 896 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 897 | g_value_set_pointercxx . . $ g_value_set_pointer(e945b84c1e9702f).(&value, |
| 898 | ags_modular_synth_util_get_lfo_0_sendscxx . . $ ags_modular_synth_util_get_lfo_0_sends(9b05ea1ce11f7c00).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 899 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)); |
| 900 | |
| 901 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 902 | &value); |
| 903 | |
| 904 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 905 | } |
| 906 | |
| 907 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 908 | |
| 909 | /* synth-0 lfo-1 oscillator */ |
| 910 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 911 | "synth-0-lfo-1-oscillator", &port, |
| 912 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 913 | |
| 914 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 915 | |
| 916 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 917 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 918 | &value); |
| 919 | |
| 920 | ags_modular_synth_util_set_lfo_1_oscillatorcxx . . $ ags_modular_synth_util_set_lfo_1_oscillator(b7f5bcc70211d720).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 921 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 922 | |
| 923 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 924 | } |
| 925 | |
| 926 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 927 | |
| 928 | /* synth-0 lfo-1 frequency */ |
| 929 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 930 | "synth-0-lfo-1-frequency", &port, |
| 931 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 932 | |
| 933 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 934 | |
| 935 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 936 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 937 | &value); |
| 938 | |
| 939 | ags_modular_synth_util_set_lfo_1_frequencycxx . . $ ags_modular_synth_util_set_lfo_1_frequency(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 940 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 941 | |
| 942 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 943 | } |
| 944 | |
| 945 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 946 | |
| 947 | /* synth-0 lfo-1 depth */ |
| 948 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 949 | "synth-0-lfo-1-depth", &port, |
| 950 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 951 | |
| 952 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 953 | |
| 954 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 955 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 956 | &value); |
| 957 | |
| 958 | ags_modular_synth_util_set_lfo_1_depthcxx . . $ ags_modular_synth_util_set_lfo_1_depth(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 959 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 960 | |
| 961 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 962 | } |
| 963 | |
| 964 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 965 | |
| 966 | /* synth-0 lfo-1 tuning */ |
| 967 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 968 | "synth-0-lfo-1-tuning", &port, |
| 969 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 970 | |
| 971 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 972 | |
| 973 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 974 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 975 | &value); |
| 976 | |
| 977 | ags_modular_synth_util_set_lfo_1_tuningcxx . . $ ags_modular_synth_util_set_lfo_1_tuning(97c0656d4b3a8e2c).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 978 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 979 | |
| 980 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 981 | } |
| 982 | |
| 983 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 984 | |
| 985 | /* synth-0 lfo-1 sends */ |
| 986 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 987 | "synth-0-lfo-1-sends", &port, |
| 988 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 989 | |
| 990 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_POINTERcxx . . $ `<external>/9567554376676449156/gtype.h:171:9`!); |
| 991 | |
| 992 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 993 | g_value_set_pointercxx . . $ g_value_set_pointer(e945b84c1e9702f).(&value, |
| 994 | ags_modular_synth_util_get_lfo_1_sendscxx . . $ ags_modular_synth_util_get_lfo_1_sends(9b05ea1ce11f7c00).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 995 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)); |
| 996 | |
| 997 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 998 | &value); |
| 999 | |
| 1000 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1001 | } |
| 1002 | |
| 1003 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1004 | |
| 1005 | /* noise frequency */ |
| 1006 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1007 | "synth-0-noise-frequency", &port, |
| 1008 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1009 | |
| 1010 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1011 | |
| 1012 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1013 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1014 | &value); |
| 1015 | |
| 1016 | ags_noise_util_set_frequencycxx . . $ ags_noise_util_set_frequency(f6f5e934a33abde7).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0.->noise_utilcxx . . $ _AgsModularSynthUtil#noise_util., |
| 1017 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1018 | |
| 1019 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1020 | } |
| 1021 | |
| 1022 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1023 | |
| 1024 | /* noise gain */ |
| 1025 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1026 | "synth-0-noise-gain", &port, |
| 1027 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1028 | |
| 1029 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1030 | |
| 1031 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1032 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1033 | &value); |
| 1034 | |
| 1035 | ags_noise_util_set_volumecxx . . $ ags_noise_util_set_volume(f6f5e934a33abde7).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0.->noise_utilcxx . . $ _AgsModularSynthUtil#noise_util., |
| 1036 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1037 | |
| 1038 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1039 | } |
| 1040 | |
| 1041 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1042 | |
| 1043 | /* synth-0 noise sends */ |
| 1044 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1045 | "synth-0-noise-sends", &port, |
| 1046 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1047 | |
| 1048 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_POINTERcxx . . $ `<external>/9567554376676449156/gtype.h:171:9`!); |
| 1049 | |
| 1050 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1051 | g_value_set_pointercxx . . $ g_value_set_pointer(e945b84c1e9702f).(&value, |
| 1052 | ags_modular_synth_util_get_noise_sendscxx . . $ ags_modular_synth_util_get_noise_sends(9b05ea1ce11f7c00).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1053 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!)); |
| 1054 | |
| 1055 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1056 | &value); |
| 1057 | |
| 1058 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1059 | } |
| 1060 | |
| 1061 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1062 | |
| 1063 | /* low-pass 0 cut-off frequency */ |
| 1064 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1065 | "low-pass-0-cut-off-frequency", &port, |
| 1066 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1067 | |
| 1068 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1069 | |
| 1070 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1071 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1072 | &value); |
| 1073 | |
| 1074 | ags_low_pass_filter_util_set_cut_off_frequencycxx . . $ ags_low_pass_filter_util_set_cut_off_frequency(db73f6dad5749907).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1075 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1076 | |
| 1077 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1078 | } |
| 1079 | |
| 1080 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1081 | |
| 1082 | /* low-pass 0 filter gain */ |
| 1083 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1084 | "low-pass-0-filter-gain", &port, |
| 1085 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1086 | |
| 1087 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1088 | |
| 1089 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1090 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1091 | &value); |
| 1092 | |
| 1093 | ags_low_pass_filter_util_set_filter_gaincxx . . $ ags_low_pass_filter_util_set_filter_gain(db73f6dad5749907).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1094 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1095 | |
| 1096 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1097 | } |
| 1098 | |
| 1099 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1100 | |
| 1101 | /* low-pass 0 no-clip */ |
| 1102 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1103 | "low-pass-0-no-clip", &port, |
| 1104 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1105 | |
| 1106 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1107 | |
| 1108 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1109 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1110 | &value); |
| 1111 | |
| 1112 | ags_low_pass_filter_util_set_no_clipcxx . . $ ags_low_pass_filter_util_set_no_clip(db73f6dad5749907).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1113 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1114 | |
| 1115 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1116 | } |
| 1117 | |
| 1118 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1119 | |
| 1120 | /* amplifier 0 amp 0 gain */ |
| 1121 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1122 | "amplifier-0-amp-0-gain", &port, |
| 1123 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1124 | |
| 1125 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1126 | |
| 1127 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1128 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1129 | &value); |
| 1130 | |
| 1131 | ags_amplifier_util_set_amp_0_gaincxx . . $ ags_amplifier_util_set_amp_0_gain(2cabbb533a09f204).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1132 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1133 | |
| 1134 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1135 | } |
| 1136 | |
| 1137 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1138 | |
| 1139 | /* amplifier 0 amp 1 gain */ |
| 1140 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1141 | "amplifier-0-amp-1-gain", &port, |
| 1142 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1143 | |
| 1144 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1145 | |
| 1146 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1147 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1148 | &value); |
| 1149 | |
| 1150 | ags_amplifier_util_set_amp_1_gaincxx . . $ ags_amplifier_util_set_amp_1_gain(2cabbb533a09f204).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1151 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1152 | |
| 1153 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1154 | } |
| 1155 | |
| 1156 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1157 | |
| 1158 | /* amplifier 0 amp 2 gain */ |
| 1159 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1160 | "amplifier-0-amp-2-gain", &port, |
| 1161 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1162 | |
| 1163 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1164 | |
| 1165 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1166 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1167 | &value); |
| 1168 | |
| 1169 | ags_amplifier_util_set_amp_2_gaincxx . . $ ags_amplifier_util_set_amp_2_gain(2cabbb533a09f204).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1170 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1171 | |
| 1172 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1173 | } |
| 1174 | |
| 1175 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1176 | |
| 1177 | /* amplifier 0 amp 3 gain */ |
| 1178 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1179 | "amplifier-0-amp-3-gain", &port, |
| 1180 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1181 | |
| 1182 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1183 | |
| 1184 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1185 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1186 | &value); |
| 1187 | |
| 1188 | ags_amplifier_util_set_amp_3_gaincxx . . $ ags_amplifier_util_set_amp_3_gain(2cabbb533a09f204).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1189 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1190 | |
| 1191 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1192 | } |
| 1193 | |
| 1194 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1195 | |
| 1196 | /* amplifier 0 filter gain */ |
| 1197 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1198 | "amplifier-0-filter-gain", &port, |
| 1199 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1200 | |
| 1201 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1202 | |
| 1203 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1204 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1205 | &value); |
| 1206 | |
| 1207 | ags_amplifier_util_set_filter_gaincxx . . $ ags_amplifier_util_set_filter_gain(2cabbb533a09f204).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1208 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1209 | |
| 1210 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1211 | } |
| 1212 | |
| 1213 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1214 | |
| 1215 | /* chorus enabled */ |
| 1216 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1217 | "chorus-enabled", &port, |
| 1218 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1219 | |
| 1220 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1221 | |
| 1222 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1223 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1224 | &value); |
| 1225 | |
| 1226 | chorus_enabled = (gbooleancxx . . $ gboolean#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value); |
| 1227 | |
| 1228 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1229 | } |
| 1230 | |
| 1231 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1232 | |
| 1233 | if(chorus_enabled){ |
| 1234 | /* chorus input-volume */ |
| 1235 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1236 | "chorus-input-volume", &port, |
| 1237 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1238 | |
| 1239 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1240 | |
| 1241 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1242 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1243 | &value); |
| 1244 | |
| 1245 | ags_chorus_util_set_input_volumecxx . . $ ags_chorus_util_set_input_volume(834d58fec0746dcc).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1246 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1247 | |
| 1248 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1249 | } |
| 1250 | |
| 1251 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1252 | |
| 1253 | /* chorus output-volume */ |
| 1254 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1255 | "chorus-output-volume", &port, |
| 1256 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1257 | |
| 1258 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1259 | |
| 1260 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1261 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1262 | &value); |
| 1263 | |
| 1264 | ags_chorus_util_set_output_volumecxx . . $ ags_chorus_util_set_output_volume(834d58fec0746dcc).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1265 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1266 | |
| 1267 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1268 | } |
| 1269 | |
| 1270 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1271 | |
| 1272 | /* chorus lfo-oscillator */ |
| 1273 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1274 | "chorus-lfo-oscillator", &port, |
| 1275 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1276 | |
| 1277 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1278 | |
| 1279 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1280 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1281 | &value); |
| 1282 | |
| 1283 | ags_chorus_util_set_lfo_oscillatorcxx . . $ ags_chorus_util_set_lfo_oscillator(ef09bcb2f4e8f971).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1284 | (guintcxx . . $ guint#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1285 | |
| 1286 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1287 | } |
| 1288 | |
| 1289 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1290 | |
| 1291 | /* chorus lfo-frequency */ |
| 1292 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1293 | "chorus-lfo-frequency", &port, |
| 1294 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1295 | |
| 1296 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1297 | |
| 1298 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1299 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1300 | &value); |
| 1301 | |
| 1302 | ags_chorus_util_set_lfo_frequencycxx . . $ ags_chorus_util_set_lfo_frequency(834d58fec0746dcc).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1303 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1304 | |
| 1305 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1306 | } |
| 1307 | |
| 1308 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1309 | |
| 1310 | /* chorus depth */ |
| 1311 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1312 | "chorus-depth", &port, |
| 1313 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1314 | |
| 1315 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1316 | |
| 1317 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1318 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1319 | &value); |
| 1320 | |
| 1321 | ags_chorus_util_set_depthcxx . . $ ags_chorus_util_set_depth(834d58fec0746dcc).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1322 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1323 | |
| 1324 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1325 | } |
| 1326 | |
| 1327 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1328 | |
| 1329 | /* chorus mix */ |
| 1330 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1331 | "chorus-mix", &port, |
| 1332 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1333 | |
| 1334 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1335 | |
| 1336 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1337 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1338 | &value); |
| 1339 | |
| 1340 | ags_chorus_util_set_mixcxx . . $ ags_chorus_util_set_mix(834d58fec0746dcc).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1341 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1342 | |
| 1343 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1344 | } |
| 1345 | |
| 1346 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1347 | |
| 1348 | /* chorus delay */ |
| 1349 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1350 | "chorus-delay", &port, |
| 1351 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1352 | |
| 1353 | g_value_initcxx . . $ g_value_init(afc049a76445919c).(&value, G_TYPE_FLOATcxx . . $ `<external>/9567554376676449156/gtype.h:153:9`!); |
| 1354 | |
| 1355 | if(port != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1356 | ags_port_safe_readcxx . . $ ags_port_safe_read(3f8c7b03f2be4a83).(port, |
| 1357 | &value); |
| 1358 | |
| 1359 | ags_chorus_util_set_delaycxx . . $ ags_chorus_util_set_delay(834d58fec0746dcc).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1360 | (gdoublecxx . . $ gdouble#) g_value_get_floatcxx . . $ g_value_get_float(19582a908f876f88).(&value)); |
| 1361 | |
| 1362 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(port); |
| 1363 | } |
| 1364 | |
| 1365 | g_value_unsetcxx . . $ g_value_unset(15c06aff79890746).(&value); |
| 1366 | } |
| 1367 | } |
| 1368 | |
| 1369 | copy_mode_out = ags_audio_buffer_util_get_copy_mode_from_formatcxx . . $ ags_audio_buffer_util_get_copy_mode_from_format(fdce556263aa1f1e).(&(fx_modular_synth_audio_signal->audio_buffer_utilcxx . . $ _AgsFxModularSynthAudioSignal#audio_buffer_util.), |
| 1370 | audio_buffer_util_format, |
| 1371 | AGS_AUDIO_BUFFER_UTIL_FLOATcxx . . $ AGS_AUDIO_BUFFER_UTIL_FLOAT.); |
| 1372 | |
| 1373 | if(midi_note >= 0 && |
| 1374 | midi_note < 128){ |
| 1375 | AgsFxModularSynthAudioScopeDatacxx . . $ AgsFxModularSynthAudioScopeData# *scope_data; |
| 1376 | AgsFxModularSynthAudioChannelDatacxx . . $ AgsFxModularSynthAudioChannelData# *channel_data; |
| 1377 | AgsFxModularSynthAudioInputDatacxx . . $ AgsFxModularSynthAudioInputData# *input_data; |
| 1378 | |
| 1379 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(fx_modular_synth_audio_mutex); |
| 1380 | |
| 1381 | scope_data = fx_modular_synth_audio->scope_datacxx . . $ _AgsFxModularSynthAudio#scope_data.[sound_scope]; |
| 1382 | |
| 1383 | channel_data = scope_data->channel_datacxx . . $ _AgsFxModularSynthAudioScopeData#channel_data.[audio_channel]; |
| 1384 | |
| 1385 | input_data = channel_data->input_datacxx . . $ _AgsFxModularSynthAudioChannelData#input_data.[midi_note]; |
| 1386 | |
| 1387 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(fx_modular_synth_audio_mutex); |
| 1388 | |
| 1389 | if((gintcxx . . $ gint#) floorcxx . . $ floor(447c67c6676f75c3).(delay_counter) == 0 && |
| 1390 | x0 == offset_counter){ |
| 1391 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(fx_modular_synth_audio_mutex); |
| 1392 | |
| 1393 | input_data->key_oncxx . . $ _AgsFxModularSynthAudioInputData#key_on. += 1; |
| 1394 | |
| 1395 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(fx_modular_synth_audio_mutex); |
| 1396 | } |
| 1397 | |
| 1398 | ags_audio_buffer_util_clear_buffercxx . . $ ags_audio_buffer_util_clear_buffer(1a98a0af2481b1c).(&(fx_modular_synth_audio_signal->audio_buffer_utilcxx . . $ _AgsFxModularSynthAudioSignal#audio_buffer_util.), |
| 1399 | channel_data->synth_buffer_0cxx . . $ _AgsFxModularSynthAudioChannelData#synth_buffer_0., 1, |
| 1400 | buffer_size, audio_buffer_util_format); |
| 1401 | |
| 1402 | /* modular synth 0 */ |
| 1403 | ags_modular_synth_util_set_sourcecxx . . $ ags_modular_synth_util_set_source(ad37116abb452179).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1404 | channel_data->synth_buffer_0cxx . . $ _AgsFxModularSynthAudioChannelData#synth_buffer_0.); |
| 1405 | ags_modular_synth_util_set_source_stridecxx . . $ ags_modular_synth_util_set_source_stride(8ad6154193d898ac).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1406 | 1); |
| 1407 | |
| 1408 | ags_modular_synth_util_set_buffer_lengthcxx . . $ ags_modular_synth_util_set_buffer_length(8ad6154193d898ac).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1409 | buffer_size); |
| 1410 | ags_modular_synth_util_set_formatcxx . . $ ags_modular_synth_util_set_format(ea299d6e927ee3ff).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1411 | format); |
| 1412 | ags_modular_synth_util_set_sampleratecxx . . $ ags_modular_synth_util_set_samplerate(8ad6154193d898ac).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1413 | samplerate); |
| 1414 | |
| 1415 | //TODO:JK: implement me |
| 1416 | |
| 1417 | if(!note_256th_mode){ |
| 1418 | ags_modular_synth_util_set_frame_countcxx . . $ ags_modular_synth_util_set_frame_count(8ad6154193d898ac).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1419 | floorcxx . . $ floor(447c67c6676f75c3).(((offset_counter - x0) * delay + delay_counter + 1.0) * buffer_size)); |
| 1420 | |
| 1421 | ags_modular_synth_util_set_offsetcxx . . $ ags_modular_synth_util_set_offset(8ad6154193d898ac).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1422 | floorcxx . . $ floor(447c67c6676f75c3).(((offset_counter - x0) * delay + delay_counter) * buffer_size)); |
| 1423 | }else{ |
| 1424 | ags_modular_synth_util_set_frame_countcxx . . $ ags_modular_synth_util_set_frame_count(8ad6154193d898ac).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1425 | (guintcxx . . $ guint#) floorcxx . . $ floor(447c67c6676f75c3).((double) ((x1_256th - x0_256th) / 16.0) * delay * (double) buffer_size)); |
| 1426 | |
| 1427 | ags_modular_synth_util_set_offsetcxx . . $ ags_modular_synth_util_set_offset(8ad6154193d898ac).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1428 | (guintcxx . . $ guint#) floorcxx . . $ floor(447c67c6676f75c3).(((double) (offset_counter - x0) * delay + delay_counter) * (double) buffer_size)); |
| 1429 | |
| 1430 | ags_modular_synth_util_set_offset_256thcxx . . $ ags_modular_synth_util_set_offset_256th(8ad6154193d898ac).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1431 | (guintcxx . . $ guint#) floorcxx . . $ floor(447c67c6676f75c3).((double) (note_256th_offset_lower - x0_256th) * note_256th_delay * (double) buffer_size)); |
| 1432 | } |
| 1433 | |
| 1434 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(source_stream_mutex); |
| 1435 | |
| 1436 | ags_modular_synth_util_computecxx . . $ ags_modular_synth_util_compute(9abefce1c8004fe0).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0.); |
| 1437 | |
| 1438 | /* low-pass 0 */ |
| 1439 | ags_low_pass_filter_util_set_sourcecxx . . $ ags_low_pass_filter_util_set_source(d47eff35afd9bb63).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1440 | channel_data->synth_buffer_0cxx . . $ _AgsFxModularSynthAudioChannelData#synth_buffer_0.); |
| 1441 | ags_low_pass_filter_util_set_source_stridecxx . . $ ags_low_pass_filter_util_set_source_stride(e0663711bc6b8940).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1442 | 1); |
| 1443 | |
| 1444 | ags_low_pass_filter_util_set_destinationcxx . . $ ags_low_pass_filter_util_set_destination(d47eff35afd9bb63).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1445 | channel_data->synth_buffer_0cxx . . $ _AgsFxModularSynthAudioChannelData#synth_buffer_0.); |
| 1446 | ags_low_pass_filter_util_set_destination_stridecxx . . $ ags_low_pass_filter_util_set_destination_stride(e0663711bc6b8940).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1447 | 1); |
| 1448 | |
| 1449 | ags_low_pass_filter_util_set_sampleratecxx . . $ ags_low_pass_filter_util_set_samplerate(e0663711bc6b8940).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1450 | samplerate); |
| 1451 | ags_low_pass_filter_util_set_buffer_lengthcxx . . $ ags_low_pass_filter_util_set_buffer_length(e0663711bc6b8940).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1452 | buffer_size); |
| 1453 | ags_low_pass_filter_util_set_formatcxx . . $ ags_low_pass_filter_util_set_format(85fc02b03b14673f).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1454 | format); |
| 1455 | |
| 1456 | ags_low_pass_filter_util_processcxx . . $ ags_low_pass_filter_util_process(6084fd4e2da4601e).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0.); |
| 1457 | |
| 1458 | /* reset source and destination */ |
| 1459 | ags_low_pass_filter_util_set_sourcecxx . . $ ags_low_pass_filter_util_set_source(d47eff35afd9bb63).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1460 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1461 | |
| 1462 | ags_low_pass_filter_util_set_destinationcxx . . $ ags_low_pass_filter_util_set_destination(d47eff35afd9bb63).(channel_data->low_pass_filter_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#low_pass_filter_util_0., |
| 1463 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1464 | |
| 1465 | /* amplifier 0 */ |
| 1466 | ags_amplifier_util_set_sourcecxx . . $ ags_amplifier_util_set_source(c768966e15636852).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1467 | channel_data->synth_buffer_0cxx . . $ _AgsFxModularSynthAudioChannelData#synth_buffer_0.); |
| 1468 | ags_amplifier_util_set_source_stridecxx . . $ ags_amplifier_util_set_source_stride(488ce83efa5a8fc4).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1469 | 1); |
| 1470 | |
| 1471 | ags_amplifier_util_set_destinationcxx . . $ ags_amplifier_util_set_destination(c768966e15636852).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1472 | channel_data->synth_buffer_0cxx . . $ _AgsFxModularSynthAudioChannelData#synth_buffer_0.); |
| 1473 | ags_amplifier_util_set_destination_stridecxx . . $ ags_amplifier_util_set_destination_stride(488ce83efa5a8fc4).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1474 | 1); |
| 1475 | |
| 1476 | ags_amplifier_util_set_sampleratecxx . . $ ags_amplifier_util_set_samplerate(488ce83efa5a8fc4).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1477 | samplerate); |
| 1478 | ags_amplifier_util_set_buffer_lengthcxx . . $ ags_amplifier_util_set_buffer_length(488ce83efa5a8fc4).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1479 | buffer_size); |
| 1480 | ags_amplifier_util_set_formatcxx . . $ ags_amplifier_util_set_format(9eae44e0caf81082).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1481 | format); |
| 1482 | |
| 1483 | ags_amplifier_util_processcxx . . $ ags_amplifier_util_process(b90609e85c1b08c1).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0.); |
| 1484 | |
| 1485 | /* reset source and destination */ |
| 1486 | ags_amplifier_util_set_sourcecxx . . $ ags_amplifier_util_set_source(c768966e15636852).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1487 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1488 | |
| 1489 | ags_amplifier_util_set_destinationcxx . . $ ags_amplifier_util_set_destination(c768966e15636852).(channel_data->amplifier_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#amplifier_util_0., |
| 1490 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1491 | |
| 1492 | ags_modular_synth_util_set_sourcecxx . . $ ags_modular_synth_util_set_source(ad37116abb452179).(channel_data->modular_synth_util_0cxx . . $ _AgsFxModularSynthAudioChannelData#modular_synth_util_0., |
| 1493 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1494 | |
| 1495 | /* copy synth buffer */ |
| 1496 | ags_audio_buffer_util_clear_buffercxx . . $ ags_audio_buffer_util_clear_buffer(1a98a0af2481b1c).(&(fx_modular_synth_audio_signal->audio_buffer_utilcxx . . $ _AgsFxModularSynthAudioSignal#audio_buffer_util.), |
| 1497 | source->stream_currentcxx . . $ _AgsAudioSignal#stream_current.->datacxx . . $ _GList#data., 1, |
| 1498 | buffer_size, audio_buffer_util_format); |
| 1499 | |
| 1500 | ags_audio_buffer_util_copy_buffer_to_buffercxx . . $ ags_audio_buffer_util_copy_buffer_to_buffer(56b3d0336e0cbab3).(&(fx_modular_synth_audio_signal->audio_buffer_utilcxx . . $ _AgsFxModularSynthAudioSignal#audio_buffer_util.), |
| 1501 | source->stream_currentcxx . . $ _AgsAudioSignal#stream_current.->datacxx . . $ _GList#data., 1, 0, |
| 1502 | channel_data->synth_buffer_0cxx . . $ _AgsFxModularSynthAudioChannelData#synth_buffer_0., 1, 0, |
| 1503 | buffer_size, copy_mode); |
| 1504 | |
| 1505 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(source_stream_mutex); |
| 1506 | |
| 1507 | /* chorus */ |
| 1508 | if(ags_chorus_util_get_depthcxx . . $ ags_chorus_util_get_depth(356634161bf0946b).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util.) != 0.0 && |
| 1509 | chorus_enabled){ |
| 1510 | ags_chorus_util_set_sourcecxx . . $ ags_chorus_util_set_source(56ef08d2c44a1551).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1511 | source->stream_currentcxx . . $ _AgsAudioSignal#stream_current.->datacxx . . $ _GList#data.); |
| 1512 | |
| 1513 | ags_chorus_util_set_sampleratecxx . . $ ags_chorus_util_set_samplerate(ef09bcb2f4e8f971).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1514 | samplerate); |
| 1515 | ags_chorus_util_set_buffer_lengthcxx . . $ ags_chorus_util_set_buffer_length(ef09bcb2f4e8f971).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1516 | buffer_size); |
| 1517 | ags_chorus_util_set_formatcxx . . $ ags_chorus_util_set_format(ef09bcb2f4e8f971).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1518 | format); |
| 1519 | |
| 1520 | ags_chorus_util_set_offsetcxx . . $ ags_chorus_util_set_offset(2772de3b6eb10716).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1521 | floorcxx . . $ floor(447c67c6676f75c3).(((offset_counter - x0) * delay + delay_counter) * buffer_size)); |
| 1522 | |
| 1523 | ags_chorus_util_set_base_keycxx . . $ ags_chorus_util_set_base_key(834d58fec0746dcc).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1524 | (gdoublecxx . . $ gdouble#) midi_note - 48.0); |
| 1525 | |
| 1526 | |
| 1527 | /* compute chorus */ |
| 1528 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(source_stream_mutex); |
| 1529 | |
| 1530 | ags_chorus_util_computecxx . . $ ags_chorus_util_compute(a456b19676e00499).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util.); |
| 1531 | |
| 1532 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(source_stream_mutex); |
| 1533 | |
| 1534 | ags_audio_buffer_util_clear_buffercxx . . $ ags_audio_buffer_util_clear_buffer(1a98a0af2481b1c).(&(fx_modular_synth_audio_signal->audio_buffer_utilcxx . . $ _AgsFxModularSynthAudioSignal#audio_buffer_util.), |
| 1535 | source->stream_currentcxx . . $ _AgsAudioSignal#stream_current.->datacxx . . $ _GList#data., 1, |
| 1536 | buffer_size, audio_buffer_util_format); |
| 1537 | |
| 1538 | ags_audio_buffer_util_copy_buffer_to_buffercxx . . $ ags_audio_buffer_util_copy_buffer_to_buffer(56b3d0336e0cbab3).(&(fx_modular_synth_audio_signal->audio_buffer_utilcxx . . $ _AgsFxModularSynthAudioSignal#audio_buffer_util.), |
| 1539 | source->stream_currentcxx . . $ _AgsAudioSignal#stream_current.->datacxx . . $ _GList#data., 1, 0, |
| 1540 | ags_chorus_util_get_destinationcxx . . $ ags_chorus_util_get_destination(e04bc6cafb398a6f).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util.), 1, 0, |
| 1541 | buffer_size, copy_mode); |
| 1542 | |
| 1543 | /* reset */ |
| 1544 | ags_chorus_util_set_sourcecxx . . $ ags_chorus_util_set_source(56ef08d2c44a1551).(channel_data->chorus_utilcxx . . $ _AgsFxModularSynthAudioChannelData#chorus_util., |
| 1545 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1546 | } |
| 1547 | } |
| 1548 | |
| 1549 | /* unref */ |
| 1550 | if(audio != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1551 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(audio); |
| 1552 | } |
| 1553 | |
| 1554 | if(fx_modular_synth_audio != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1555 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(fx_modular_synth_audio); |
| 1556 | } |
| 1557 | |
| 1558 | if(fx_modular_synth_audio_processor != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1559 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(fx_modular_synth_audio_processor); |
| 1560 | } |
| 1561 | |
| 1562 | if(fx_modular_synth_channel_processor != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1563 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(fx_modular_synth_channel_processor); |
| 1564 | } |
| 1565 | |
| 1566 | if(fx_modular_synth_recycling != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1567 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(fx_modular_synth_recycling); |
| 1568 | } |
| 1569 | } |
| 1570 | |
| 1571 | void |
| 1572 | ags_fx_modular_synth_audio_signal_notify_removecxx . . $ ags_fx_modular_synth_audio_signal_notify_remove(cecb0c466d8108c7).(AgsFxNotationAudioSignalcxx . . $ AgsFxNotationAudioSignal# *fx_notation_audio_signal, |
| 1573 | AgsAudioSignalcxx . . $ AgsAudioSignal# *source, |
| 1574 | AgsNotecxx . . $ AgsNote# *note, |
| 1575 | guintcxx . . $ guint# x0, guintcxx . . $ guint# x1, |
| 1576 | guintcxx . . $ guint# y) |
| 1577 | { |
| 1578 | AgsAudiocxx . . $ AgsAudio# *audio; |
| 1579 | AgsFxModularSynthAudiocxx . . $ AgsFxModularSynthAudio# *fx_modular_synth_audio; |
| 1580 | AgsFxModularSynthAudioProcessorcxx . . $ AgsFxModularSynthAudioProcessor# *fx_modular_synth_audio_processor; |
| 1581 | AgsFxModularSynthChannelProcessorcxx . . $ AgsFxModularSynthChannelProcessor# *fx_modular_synth_channel_processor; |
| 1582 | AgsFxModularSynthRecyclingcxx . . $ AgsFxModularSynthRecycling# *fx_modular_synth_recycling; |
| 1583 | |
| 1584 | guintcxx . . $ guint# sound_scope; |
| 1585 | guintcxx . . $ guint# audio_channel; |
| 1586 | guintcxx . . $ guint# audio_start_mapping; |
| 1587 | guintcxx . . $ guint# midi_start_mapping; |
| 1588 | gintcxx . . $ gint# midi_note; |
| 1589 | |
| 1590 | GRecMutexcxx . . $ GRecMutex# *fx_modular_synth_audio_mutex; |
| 1591 | |
| 1592 | audio = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 1593 | |
| 1594 | fx_modular_synth_audio = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 1595 | fx_modular_synth_audio_processor = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 1596 | |
| 1597 | fx_modular_synth_channel_processor = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 1598 | |
| 1599 | fx_modular_synth_recycling = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!; |
| 1600 | |
| 1601 | sound_scope = ags_recall_get_sound_scopecxx . . $ ags_recall_get_sound_scope(20bf46f7161aca3b).((AgsRecallcxx . . $ AgsRecall# *) fx_notation_audio_signal); |
| 1602 | |
| 1603 | audio_channel = 0; |
| 1604 | |
| 1605 | audio_start_mapping = 0; |
| 1606 | midi_start_mapping = 0; |
| 1607 | |
| 1608 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_notation_audio_signal, |
| 1609 | "parent", &fx_modular_synth_recycling, |
| 1610 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1611 | |
| 1612 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_recycling, |
| 1613 | "parent", &fx_modular_synth_channel_processor, |
| 1614 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1615 | |
| 1616 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_channel_processor, |
| 1617 | "recall-audio", &fx_modular_synth_audio, |
| 1618 | "recall-audio-run", &fx_modular_synth_audio_processor, |
| 1619 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1620 | |
| 1621 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio, |
| 1622 | "audio", &audio, |
| 1623 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1624 | |
| 1625 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(fx_modular_synth_audio_processor, |
| 1626 | "audio-channel", &audio_channel, |
| 1627 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1628 | |
| 1629 | g_object_getcxx . . $ g_object_get(1ac911bdc4e9a14d).(audio, |
| 1630 | "audio-start-mapping", &audio_start_mapping, |
| 1631 | "midi-start-mapping", &midi_start_mapping, |
| 1632 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1633 | |
| 1634 | fx_modular_synth_audio_mutex = AGS_RECALL_GET_OBJ_MUTEXcxx . . $ `ags/audio/ags_recall.h:50:9`!(fx_modular_synth_audio); |
| 1635 | |
| 1636 | midi_note = (y - audio_start_mapping + midi_start_mapping); |
| 1637 | |
| 1638 | if(midi_note >= 0 && |
| 1639 | midi_note < 128){ |
| 1640 | AgsFxModularSynthAudioScopeDatacxx . . $ AgsFxModularSynthAudioScopeData# *scope_data; |
| 1641 | AgsFxModularSynthAudioChannelDatacxx . . $ AgsFxModularSynthAudioChannelData# *channel_data; |
| 1642 | AgsFxModularSynthAudioInputDatacxx . . $ AgsFxModularSynthAudioInputData# *input_data; |
| 1643 | |
| 1644 | g_rec_mutex_lockcxx . . $ g_rec_mutex_lock(70e02e1a6dfc5752).(fx_modular_synth_audio_mutex); |
| 1645 | |
| 1646 | scope_data = fx_modular_synth_audio->scope_datacxx . . $ _AgsFxModularSynthAudio#scope_data.[sound_scope]; |
| 1647 | |
| 1648 | channel_data = scope_data->channel_datacxx . . $ _AgsFxModularSynthAudioScopeData#channel_data.[audio_channel]; |
| 1649 | |
| 1650 | input_data = channel_data->input_datacxx . . $ _AgsFxModularSynthAudioChannelData#input_data.[midi_note]; |
| 1651 | |
| 1652 | input_data->key_oncxx . . $ _AgsFxModularSynthAudioInputData#key_on. -= 1; |
| 1653 | |
| 1654 | g_rec_mutex_unlockcxx . . $ g_rec_mutex_unlock(70e02e1a6dfc5752).(fx_modular_synth_audio_mutex); |
| 1655 | } |
| 1656 | |
| 1657 | if(audio != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1658 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(audio); |
| 1659 | } |
| 1660 | |
| 1661 | if(fx_modular_synth_audio != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1662 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(fx_modular_synth_audio); |
| 1663 | } |
| 1664 | |
| 1665 | if(fx_modular_synth_audio_processor != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1666 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(fx_modular_synth_audio_processor); |
| 1667 | } |
| 1668 | |
| 1669 | if(fx_modular_synth_channel_processor != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1670 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(fx_modular_synth_channel_processor); |
| 1671 | } |
| 1672 | |
| 1673 | if(fx_modular_synth_recycling != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!){ |
| 1674 | g_object_unrefcxx . . $ g_object_unref(5d22bdacc48458e8).(fx_modular_synth_recycling); |
| 1675 | } |
| 1676 | } |
| 1677 | |
| 1678 | /** |
| 1679 | * ags_fx_modular_synth_audio_signal_new: |
| 1680 | * @audio_signal: the #AgsAudioSignal |
| 1681 | * |
| 1682 | * Create a new instance of #AgsFxModularSynthAudioSignal |
| 1683 | * |
| 1684 | * Returns: the new #AgsFxModularSynthAudioSignal |
| 1685 | * |
| 1686 | * Since: 8.2.0 |
| 1687 | */ |
| 1688 | AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal#* |
| 1689 | ags_fx_modular_synth_audio_signal_newcxx . . $ ags_fx_modular_synth_audio_signal_new(8411f011f8dafcfe).(AgsAudioSignalcxx . . $ AgsAudioSignal# *audio_signal) |
| 1690 | { |
| 1691 | AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal# *fx_modular_synth_audio_signal; |
| 1692 | |
| 1693 | fx_modular_synth_audio_signal = (AgsFxModularSynthAudioSignalcxx . . $ AgsFxModularSynthAudioSignal# *) g_object_newcxx . . $ g_object_new(8485fe61b4be4c78).(AGS_TYPE_FX_MODULAR_SYNTH_AUDIO_SIGNALcxx . . $ `ags/audio/fx/ags_fx_modular_synth_audio_signal.h:35:9`!, |
| 1694 | "source", audio_signal, |
| 1695 | NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/16/include/stddef.h:419:9`!); |
| 1696 | |
| 1697 | return(fx_modular_synth_audio_signal); |
| 1698 | } |