Skip to content

Commit 386d516

Browse files
committed
remove console logs, hide buy button when activated
Former-commit-id: d62aeb4
1 parent 7394795 commit 386d516

File tree

11 files changed

+85
-81
lines changed

11 files changed

+85
-81
lines changed

Presets/Autosave_1.hip

246 Bytes
Binary file not shown.

Presets/Autosave_2.hip

39 Bytes
Binary file not shown.

Presets/Autosave_3.hip

-14 Bytes
Binary file not shown.

Presets/Autosave_4.hip

9 Bytes
Binary file not shown.

Presets/REACH.hip

-130 Bytes
Binary file not shown.

Presets/Reach.hip

-130 Bytes
Binary file not shown.

Scripts/Handler.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ inline function onbutton_activateControl(component, value) {
125125
};
126126

127127
// Buy Reach Button
128-
Content.getComponent("button_buy_reach").setControlCallback(onbutton_buy_reachControl);
128+
const var button_buy_reach = Content.getComponent("button_buy_reach");
129+
button_buy_reach.setControlCallback(onbutton_buy_reachControl);
129130
inline function onbutton_buy_reachControl(component, value)
130131
{
131132
if (value) Engine.openWebsite('https://sinuslabs.io/product/reach');

Scripts/ScriptProcessors/Reach/Interface.js

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Globals.screenLock = true;
4545
// Loading Settings
4646
if (settingsExist()) {
4747
UserSettings.loadSettings();
48+
Console.print(UserSettings.startupAnimation);
4849
if (UserSettings.startupAnimation) {
4950
SplashAnimation.init();
5051
} else {
@@ -70,6 +71,7 @@ getActivationStatus();
7071

7172
API.label_not_found.set('visible', false);
7273
UserSettings.button_not_activated.set('visible', !Globals.activated);
74+
button_buy_reach.set('visible', !Globals.activated);
7375
label_thank_you.set('visible', Globals.activated);
7476

7577
// Main Screen

Scripts/Server.js

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ namespace API {
1111
if (license) Globals.activated = true;
1212
}
1313
inline function activateLicenseWithSerial(serialKey) {
14+
Console.print(serialKey);
15+
1416
Server.callWithPOST('', {
1517
'license_key': serialKey.trim(),
1618
'fslm_api_key': Config.API_KEY,
@@ -19,6 +21,7 @@ namespace API {
1921
}
2022

2123
inline function checkSerialLicense(status, data) {
24+
Console.print(trace(data));
2225
if (data['product_id'] == '62') {
2326
setActivate();
2427
}
@@ -56,9 +59,12 @@ namespace API {
5659
// Disable gain reduction
5760
GainReduction.setBypassed(true);
5861
GainReductionTimer.stopTimer();
62+
63+
button_buy_reach.set('visible', false);
5964

6065
UserSettings.button_not_activated.set('visible', !Globals.activated);
6166
UserSettings.activatePageRadio('thankyou');
67+
6268
}
6369

6470

XmlPresetBackups/Reach.xml

+54-56
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,32 @@
1111
<Content>
1212
<Control type="ScriptButton" id="onPresetLoad" value="0.0"/>
1313
<Control type="ScriptButton" id="button_quickTheme" value="0.0"/>
14-
<Control type="ScriptSlider" id="knob_reverb_space" value="0.1099999994039536"/>
15-
<Control type="ScriptSlider" id="knob_reverb_diffusion" value="0.2099999934434891"/>
16-
<Control type="ScriptSlider" id="knob_reverb_damping" value="0.0"/>
17-
<Control type="ScriptSlider" id="knob_reverb_mix" value="0.449999988079071"/>
18-
<Control type="ScriptSlider" id="knob_reverb_time" value="0.02999999932944775"/>
14+
<Control type="ScriptSlider" id="knob_reverb_space" value="1.0"/>
15+
<Control type="ScriptSlider" id="knob_reverb_diffusion" value="1.0"/>
16+
<Control type="ScriptSlider" id="knob_reverb_damping" value="0.5"/>
17+
<Control type="ScriptSlider" id="knob_reverb_mix" value="0.5"/>
18+
<Control type="ScriptSlider" id="knob_reverb_time" value="1.0"/>
1919
<Control type="ScriptSlider" id="knob_cleanup_low" value="1.0"/>
2020
<Control type="ScriptSlider" id="knob_cleanup_high" value="1.0"/>
21-
<Control type="ScriptSlider" id="knob_modulation_depth" value="0.3499999940395355"/>
22-
<Control type="ScriptSlider" id="knob_modulation_frequency" value="2.680000066757202"/>
23-
<Control type="ScriptButton" id="button_degrade_bypass" value="0.0"/>
24-
<Control type="ScriptSlider" id="knob_effects_degrade" value="0.3799999952316284"/>
25-
<Control type="ScriptButton" id="button_flanger_bypass" value="0.0"/>
26-
<Control type="ScriptSlider" id="knob_effects_flair" value="1.0"/>
21+
<Control type="ScriptSlider" id="knob_modulation_depth" value="0.0"/>
22+
<Control type="ScriptSlider" id="knob_modulation_frequency" value="0.0"/>
23+
<Control type="ScriptButton" id="button_degrade_bypass" value="1.0"/>
24+
<Control type="ScriptSlider" id="knob_effects_degrade" value="0.0"/>
25+
<Control type="ScriptButton" id="button_flanger_bypass" value="1.0"/>
26+
<Control type="ScriptSlider" id="knob_effects_flair" value="0.0"/>
2727
<Control type="ScriptButton" id="button_chorus_bypass" value="1.0"/>
28-
<Control type="ScriptSlider" id="knob_effects_chorus" value="1.0"/>
29-
<Control type="ScriptButton" id="button_distort_bypass" value="0.0"/>
28+
<Control type="ScriptSlider" id="knob_effects_chorus" value="0.0"/>
29+
<Control type="ScriptButton" id="button_distort_bypass" value="1.0"/>
3030
<Control type="ScriptSlider" id="knob_effects_distortion" value="0.0"/>
31-
<Control type="ScriptSlider" id="knob_io_in" value="7.900001525878906"/>
32-
<Control type="ScriptSlider" id="knob_io_out" value="1.0"/>
31+
<Control type="ScriptSlider" id="knob_io_in" value="0.0"/>
32+
<Control type="ScriptSlider" id="knob_io_out" value="0.5"/>
3333
<Control type="ScriptButton" id="button_not_activated" value="0.0"/>
34-
<Control type="ScriptSlider" id="displayKnob_reverb_feedback" value="0.1800000071525574"/>
35-
<Control type="ScriptSlider" id="displayKnob_reverb_preDelay" value="0.1090000048279762"/>
34+
<Control type="ScriptSlider" id="displayKnob_reverb_feedback" value="0.0"/>
35+
<Control type="ScriptSlider" id="displayKnob_reverb_preDelay" value="0.0"/>
3636
<Control type="ScriptSlider" id="displayKnob_reverb_hfgain" value="1.0"/>
3737
<Control type="ScriptSlider" id="displayKnob_reverb_highcrossover" value="3392.0"/>
3838
<Control type="ScriptSlider" id="displayKnob_reverb_lowGain" value="1.0"/>
39-
<Control type="ScriptSlider" id="displayKnob_reverb_lowcrossover" value="793.0"/>
39+
<Control type="ScriptSlider" id="displayKnob_reverb_lowcrossover" value="377.0"/>
4040
<Control type="ScriptSlider" id="displayKnob_reverb_midgain" value="1.0"/>
4141
<Control type="ScriptButton" id="displayButton_reverb_panic" value="0.0"/>
4242
<Control type="ScriptButton" id="displayButton_reverb_bypass" value="1.0"/>
@@ -45,23 +45,23 @@
4545
<Control type="ScriptSlider" id="displayKnob_degrade_depth" value="0.0"/>
4646
<Control type="ScriptSlider" id="displayKnob_degrade_frequency" value="0.0"/>
4747
<Control type="ScriptSlider" id="displayKnob_degrade_amount" value="26.04000091552734"/>
48-
<Control type="ScriptButton" id="displayButton_degrade_bypass" value="0.0"/>
49-
<Control type="ScriptSlider" id="displayKnob_flanger_speed" value="0.119999997317791"/>
50-
<Control type="ScriptSlider" id="displayKnob_flanger_depth" value="0.3300000131130219"/>
51-
<Control type="ScriptSlider" id="displayKnob_flanger_feedback" value="0.6399999856948853"/>
52-
<Control type="ScriptSlider" id="displayKnob_flanger_delay" value="0.3600000143051147"/>
53-
<Control type="ScriptSlider" id="displayKnob_flanger_offset" value="0.699999988079071"/>
54-
<Control type="ScriptButton" id="displayButton_flanger_bypass" value="0.0"/>
48+
<Control type="ScriptButton" id="displayButton_degrade_bypass" value="1.0"/>
49+
<Control type="ScriptSlider" id="displayKnob_flanger_speed" value="0.05000000074505806"/>
50+
<Control type="ScriptSlider" id="displayKnob_flanger_depth" value="0.9800000190734863"/>
51+
<Control type="ScriptSlider" id="displayKnob_flanger_feedback" value="0.9300000071525574"/>
52+
<Control type="ScriptSlider" id="displayKnob_flanger_delay" value="0.7599999904632568"/>
53+
<Control type="ScriptSlider" id="displayKnob_flanger_offset" value="0.8899999856948853"/>
54+
<Control type="ScriptButton" id="displayButton_flanger_bypass" value="1.0"/>
5555
<Control type="ScriptSlider" id="displayKnob_distort_lowPass" value="5255.0"/>
5656
<Control type="ScriptSlider" id="displayKnob_distort_highpass" value="140.0"/>
5757
<Control type="ScriptSlider" id="displayKnob_distort_amount" value="0.3100000023841858"/>
5858
<Control type="ScriptSlider" id="displayKnob_distort_postlowcut" value="8827.0"/>
5959
<Control type="ScriptSlider" id="displayKnob_distort_posthighcut" value="27.0"/>
60-
<Control type="ScriptButton" id="displayButton_distort_bypass" value="0.0"/>
61-
<Control type="ScriptSlider" id="displayKnob_chorus_Delay" value="0.4300000071525574"/>
62-
<Control type="ScriptSlider" id="displayKnob_chorus_depth" value="0.119999997317791"/>
63-
<Control type="ScriptSlider" id="displayKnob_chorus_feedback" value="0.4600000083446503"/>
64-
<Control type="ScriptSlider" id="displayKnob_chorus_rate" value="0.4199999868869781"/>
60+
<Control type="ScriptButton" id="displayButton_distort_bypass" value="1.0"/>
61+
<Control type="ScriptSlider" id="displayKnob_chorus_Delay" value="0.1899999976158142"/>
62+
<Control type="ScriptSlider" id="displayKnob_chorus_depth" value="0.9200000166893005"/>
63+
<Control type="ScriptSlider" id="displayKnob_chorus_feedback" value="0.7300000190734863"/>
64+
<Control type="ScriptSlider" id="displayKnob_chorus_rate" value="0.1899999976158142"/>
6565
<Control type="ScriptButton" id="displayButton_chorus_bypass" value="1.0"/>
6666
</Content>
6767
<UIData Source="ReachUIData"/>
@@ -76,8 +76,8 @@
7676
</Processor>
7777
<Processor Type="EffectChain" ID="FX" Bypassed="0">
7878
<ChildProcessors>
79-
<Processor Type="CurveEq" ID="preFilter" Bypassed="0" NumFilters="1" Band0="3.35483980178833"
80-
Band1="114.5054779052734" Band2="1.0" Band3="1.0" Band4="1.0"
79+
<Processor Type="CurveEq" ID="preFilter" Bypassed="0" NumFilters="1" Band0="9.481481552124023"
80+
Band1="103.1059646606445" Band2="1.0" Band3="1.0" Band4="1.0"
8181
FFTEnabled="1">
8282
<ChildProcessors/>
8383
<RoutingMatrix NumSourceChannels="4" Channel0="0" Send0="-1" Channel1="1" Send1="-1"
@@ -88,8 +88,8 @@
8888
<RoutingMatrix NumSourceChannels="4" Channel0="0" Send0="2" Channel1="1" Send1="3"
8989
Channel2="-1" Send2="-1" Channel3="-1" Send3="-1"/>
9090
</Processor>
91-
<Processor Type="SimpleGain" ID="DryGain" Bypassed="0" Gain="-100.0" Delay="0.0"
92-
Width="100.0" Balance="0.0" InvertPolarity="0.0">
91+
<Processor Type="SimpleGain" ID="DryGain" Bypassed="0" Gain="-6.020600318908691"
92+
Delay="0.0" Width="100.0" Balance="0.0" InvertPolarity="0.0">
9393
<ChildProcessors>
9494
<Processor Type="ModulatorChain" ID="Gain Modulation" Bypassed="0" Intensity="1.0">
9595
<ChildProcessors/>
@@ -110,11 +110,10 @@
110110
<Processor Type="SlotFX" ID="Effect Slot1" Bypassed="0">
111111
<ChildProcessors>
112112
<Processor Type="Hardcoded Master FX" ID="Effect Slot1_Hardcoded Master FX"
113-
Bypassed="0" Network="Reverb" Reverb="1.0" Damping="0.0" Diffusion="0.2099999934434891"
114-
HFGain="1.0" HighCrossover="3392.0" LFGain="1.0" LowCrossover="793.0"
115-
MidGain="1.0" ModDepth="0.3499999940395355" ModFrequency="2.680000066757202"
116-
ReverbTime="0.02999999932944775" Size="0.1099999994039536" Mix="0.449999988079071"
117-
preDelay="0.1090000048279762" feedbacl="0.1800000071525574">
113+
Bypassed="0" Network="Reverb" Reverb="1.0" Damping="0.5" Diffusion="1.0"
114+
HFGain="1.0" HighCrossover="3392.0" LFGain="1.0" LowCrossover="377.0"
115+
MidGain="1.0" ModDepth="0.0" ModFrequency="0.0" ReverbTime="1.0"
116+
Size="1.0" Mix="0.5" preDelay="0.0" feedbacl="0.0">
118117
<ChildProcessors/>
119118
<RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/>
120119
</Processor>
@@ -125,9 +124,8 @@
125124
<Processor Type="SlotFX" ID="Effect Slot2" Bypassed="0">
126125
<ChildProcessors>
127126
<Processor Type="Hardcoded Master FX" ID="Effect Slot2_Hardcoded Master FX"
128-
Bypassed="0" Network="Chorus2" Chorus="1.0" CentreDelay="0.4300000071525574"
129-
Depth="0.119999997317791" Feedback="0.4600000083446503" Rate="0.4199999868869781"
130-
Mix="1.0">
127+
Bypassed="0" Network="Degrade" Degrade="1.0" Mix="0.0" HighCut="16418.0"
128+
LowCut="22.0" ModulationDepth="0.0" ModulationSpeed="0.0" Amount="26.04000091552734">
131129
<ChildProcessors/>
132130
<RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/>
133131
</Processor>
@@ -138,9 +136,9 @@
138136
<Processor Type="SlotFX" ID="Effect Slot3" Bypassed="0">
139137
<ChildProcessors>
140138
<Processor Type="Hardcoded Master FX" ID="Effect Slot3_Hardcoded Master FX"
141-
Bypassed="1" Network="Degrade" Degrade="1.0" Mix="0.3799999952316284"
142-
HighCut="16418.0" LowCut="22.0" ModulationDepth="0.0" ModulationSpeed="0.0"
143-
Amount="26.04000091552734">
139+
Bypassed="0" Network="Flair" Flanger="1.0" Speed="0.05000000074505806"
140+
Depth="0.9800000190734863" Feedback="0.9300000071525574" Delay="0.7599999904632568"
141+
Offset="0.8899999856948853" Mix="0.0">
144142
<ChildProcessors/>
145143
<RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/>
146144
</Processor>
@@ -151,9 +149,9 @@
151149
<Processor Type="SlotFX" ID="Effect Slot4" Bypassed="0">
152150
<ChildProcessors>
153151
<Processor Type="Hardcoded Master FX" ID="Effect Slot4_Hardcoded Master FX"
154-
Bypassed="1" Network="Flair" Flanger="1.0" Speed="0.119999997317791"
155-
Depth="0.3300000131130219" Feedback="0.6399999856948853" Delay="0.3600000143051147"
156-
Offset="0.699999988079071" Mix="1.0">
152+
Bypassed="0" Network="Chorus2" Chorus="1.0" CentreDelay="0.1899999976158142"
153+
Depth="0.9200000166893005" Feedback="0.7300000190734863" Rate="0.1899999976158142"
154+
Mix="0.0">
157155
<ChildProcessors/>
158156
<RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/>
159157
</Processor>
@@ -164,7 +162,7 @@
164162
<Processor Type="SlotFX" ID="Effect Slot5" Bypassed="0">
165163
<ChildProcessors>
166164
<Processor Type="Hardcoded Master FX" ID="Effect Slot5_Hardcoded Master FX"
167-
Bypassed="1" Network="Waveshaper" Distort="1.0" Mix="0.0" Amount="0.3100000023841858"
165+
Bypassed="0" Network="Waveshaper" Distort="1.0" Mix="0.0" Amount="0.3100000023841858"
168166
Gain="1.0" lp="5255.0" hp="140.0" postlp="8827.0" posthp="27.0">
169167
<ChildProcessors/>
170168
<RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/>
@@ -173,15 +171,15 @@
173171
<RoutingMatrix NumSourceChannels="4" Channel0="-1" Send0="-1" Channel1="-1"
174172
Send1="-1" Channel2="2" Send2="-1" Channel3="3" Send3="-1"/>
175173
</Processor>
176-
<Processor Type="CurveEq" ID="postFilter" Bypassed="0" NumFilters="1" Band0="-2.322582006454468"
177-
Band1="83.48571014404297" Band2="0.6591000556945801" Band3="1.0"
178-
Band4="1.0" FFTEnabled="1">
174+
<Processor Type="CurveEq" ID="postFilter" Bypassed="0" NumFilters="1" Band0="2.322582721710205"
175+
Band1="448.0658264160156" Band2="1.448042750358582" Band3="1.0"
176+
Band4="4.0" FFTEnabled="1">
179177
<ChildProcessors/>
180178
<RoutingMatrix NumSourceChannels="4" Channel0="-1" Send0="-1" Channel1="-1"
181179
Send1="-1" Channel2="2" Send2="-1" Channel3="3" Send3="-1"/>
182180
</Processor>
183-
<Processor Type="SimpleGain" ID="WetGain" Bypassed="0" Gain="0.0" Delay="0.0"
184-
Width="100.0" Balance="0.0" InvertPolarity="0.0">
181+
<Processor Type="SimpleGain" ID="WetGain" Bypassed="0" Gain="-6.020600318908691"
182+
Delay="0.0" Width="100.0" Balance="0.0" InvertPolarity="0.0">
185183
<ChildProcessors>
186184
<Processor Type="ModulatorChain" ID="Gain Modulation" Bypassed="0" Intensity="1.0">
187185
<ChildProcessors/>
@@ -204,8 +202,8 @@
204202
<RoutingMatrix NumSourceChannels="4" Channel0="0" Send0="-1" Channel1="1" Send1="-1"
205203
Channel2="-1" Send2="0" Channel3="-1" Send3="1"/>
206204
</Processor>
207-
<Processor Type="SimpleGain" ID="Simple Gain4" Bypassed="0" Gain="7.900001525878906"
208-
Delay="0.0" Width="100.0" Balance="0.0" InvertPolarity="0.0">
205+
<Processor Type="SimpleGain" ID="Simple Gain4" Bypassed="0" Gain="0.0" Delay="0.0"
206+
Width="100.0" Balance="0.0" InvertPolarity="0.0">
209207
<ChildProcessors>
210208
<Processor Type="ModulatorChain" ID="Gain Modulation" Bypassed="0" Intensity="1.0">
211209
<ChildProcessors/>

0 commit comments

Comments
 (0)