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