diff --git a/oi grandad/DspNetworks/Networks/grans4.xml b/oi grandad/DspNetworks/Networks/grans4.xml index 6b53267..d883d95 100644 --- a/oi grandad/DspNetworks/Networks/grans4.xml +++ b/oi grandad/DspNetworks/Networks/grans4.xml @@ -373,7 +373,7 @@ SkewFactor="0.1976716816425323" ID="Decay" Automated="1"/> + SkewFactor="0.1976716816425323" ID="Release" Value="478.900007136166"/> diff --git a/oi grandad/Presets/ogrep.hip b/oi grandad/Presets/ogrep.hip new file mode 100644 index 0000000..e1b1f64 Binary files /dev/null and b/oi grandad/Presets/ogrep.hip differ diff --git a/oi grandad/Scripts/ScriptProcessors/ogrep/ui.js b/oi grandad/Scripts/ScriptProcessors/ogrep/ui.js index 8e22112..57d6ec2 100644 --- a/oi grandad/Scripts/ScriptProcessors/ogrep/ui.js +++ b/oi grandad/Scripts/ScriptProcessors/ogrep/ui.js @@ -388,10 +388,10 @@ laf.registerFunction("drawPresetBrowserListItem", function(g, obj) }); // Multichannel menus -const var MultiChannelTest = Synth.getChildSynth("oi grandad"); +const var MultiChannelTest = Synth.getChildSynth("ogrep"); -const var matrix = MultiChannelTest.getRoutingMatrix(); +var matrix = MultiChannelTest.getRoutingMatrix(); const var SucessLabel = Content.getComponent("SucessLabel"); const var SucessLabel1 = Content.getComponent("SucessLabel1"); diff --git a/oi grandad/Scripts/ScriptProcessors/oigrandad/ui.js b/oi grandad/Scripts/ScriptProcessors/oigrandad/ui.js index 73ed65c..57d6ec2 100644 --- a/oi grandad/Scripts/ScriptProcessors/oigrandad/ui.js +++ b/oi grandad/Scripts/ScriptProcessors/oigrandad/ui.js @@ -1,13 +1,25 @@ -Content.makeFrontInterface(865, 746); +Content.makeFrontInterface(875, 756); Engine.loadFontAs("{PROJECT_FOLDER}Montserrat-Medium.ttf", "Montserrat"); + + + // + const var gran = Synth.getEffect("gran"); + const var gran2 = Synth.getEffect("gran2"); + const var gran3 = Synth.getEffect("gran3"); + const var gran4 = Synth.getEffect("gran4"); + + + + //RR // This button will control the behaviour: // - ON: the sine generators will be cycled // - OFF: all will be played each time + const var Enable = Content.getComponent("Enable"); // Grab a reference to the MIDI filters @@ -102,14 +114,9 @@ const var noteOnChannels = []; // Let's use that fancy data structure for our problem... EventIdStack.init(noteOnChannels); - - // the RR counter reg rrIndex = 0; - - - // Hide or show pitch mod options const var psync1 = Content.getComponent("psync1"); @@ -231,25 +238,8 @@ inline function ongsync2Control(number, value) gsync2.setControlCallback(ongsync2Control); -const var gsync3 = Content.getComponent("gsync3"); -const var grainsize3 = Content.getComponent("grainsize3"); -const var grainsizesync3 = Content.getComponent("grainsizesync3"); -const var grs3 = Synth.getEffect("gran3"); - -inline function ongsync3Control(number, value) -{ - grainsizesync3.showControl(value); - grainsize3.showControl(1-value); - mastergrain1.showControl(value); - mastergrain.showControl(1-value); - - grs3.setAttribute(grs3.gsync, 0); - grs3.setAttribute(grs3.gsync, 1-value); -} -gsync3.setControlCallback(ongsync3Control); - const var gsync4 = Content.getComponent("gsync4"); const var grainsize4 = Content.getComponent("grainsize4"); const var grainsizesync4 = Content.getComponent("grainsizesync4"); @@ -366,10 +356,20 @@ laf.registerFunction("drawComboBox", function(g, obj) g.setColour(Colours.withAlpha(obj.textColour, (obj.enabled && obj.active) ? 1.0 : 0.2)); g.setFont("Montserrat", 16.0); + var a = obj.area; g.drawAlignedText(obj.text, [a[0] + 0, a[0], a[2]-1, a[3]], "centred"); +}); + +laf.registerFunction("drawSliderPack", function(g, obj) +{ + g.fillRoundedRectangle(obj.area, 8.0); + g.rotate(90, 90); + g.setFont("Montserrat", 16.0); + + }); laf.registerFunction("drawPresetBrowserListItem", function(g, obj) @@ -388,10 +388,10 @@ laf.registerFunction("drawPresetBrowserListItem", function(g, obj) }); // Multichannel menus -const var MultiChannelTest = Synth.getChildSynth("oi grandad"); +const var MultiChannelTest = Synth.getChildSynth("ogrep"); -const var matrix = MultiChannelTest.getRoutingMatrix(); +var matrix = MultiChannelTest.getRoutingMatrix(); const var SucessLabel = Content.getComponent("SucessLabel"); const var SucessLabel1 = Content.getComponent("SucessLabel1"); @@ -874,13 +874,6 @@ Content.getComponent("mastervol").setControlCallback(onmastervolControl); const var masterpos = Content.getComponent("masterpos"); const var pos = Content.getComponent("pos"); -const var pos1 = Content.getComponent("pos1"); -const var pos2 = Content.getComponent("pos2"); -const var pos3 = Content.getComponent("pos3"); -const var gran = Synth.getEffect("gran"); -const var gran2 = Synth.getEffect("gran2"); -const var gran3 = Synth.getEffect("gran3"); -const var gran4 = Synth.getEffect("gran4"); diff --git a/oi grandad/XmlPresetBackups/ogrep.xml b/oi grandad/XmlPresetBackups/ogrep.xml deleted file mode 100644 index 66b2b1c..0000000 --- a/oi grandad/XmlPresetBackups/ogrep.xml +++ /dev/null @@ -1,3894 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/oi grandad/XmlPresetBackups/ogrepUIData/ogrepDesktop.xml b/oi grandad/XmlPresetBackups/ogrepUIData/ogrepDesktop.xml deleted file mode 100644 index bf005c5..0000000 --- a/oi grandad/XmlPresetBackups/ogrepUIData/ogrepDesktop.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/oi grandad/XmlPresetBackups/oi grandad.xml b/oi grandad/XmlPresetBackups/oi grandad.xml index 1efb469..8143660 100644 --- a/oi grandad/XmlPresetBackups/oi grandad.xml +++ b/oi grandad/XmlPresetBackups/oi grandad.xml @@ -13,209 +13,208 @@ - - - - - - + + + + + + - - + + - - - + + + - - - - + + + + - - - + + + - + - + - - + + - + - - - + + + - + - - + + - - - + + + - - + + - + - - - + + + - + - - + + - + - + - - - - + + + + - + - - + + - + - - - + + + - - + + - + - - - + + + - - + + - + - + - + - + - - - + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + - + - - - - - - + + + + + + - - - + + + - - + + - + - - - - - + + + + + - + + - - + + - + - - - + + + - - - - - - + + + + + - - - + + + - + - + - - + + @@ -223,38 +222,39 @@ - + - + - + - + + - + - + - - - + + + - + - - - + + + @@ -264,47 +264,46 @@ - + - + - - + + - + - + - + - + - + - + - - + - - - + + + - + @@ -313,24 +312,25 @@ - - + + - + - + - + + @@ -341,27 +341,28 @@ + - - + - + - - - + + + saveInPreset="1" bgColour="16777215" locked="1" visible="0"> @@ -573,7 +574,8 @@ processorId="s8" parameterId="dir"/> + textColour="16777215" parentComponent="seq8" text="SliderPackA" + visible="0"/> + tableIndex="1" customColours="1"/> + textColour="16777215" parentComponent="seq11"/> + tableIndex="1" customColours="1" visible="0"/> - - + saveInPreset="1" bgColour="16777215"> + + textColour="16777215" parentComponent="seq1"/> + customColours="1" visible="0"/> + textColour="16777215" parentComponent="seq2" visible="0"/> + tableIndex="1" customColours="1"/> - - - - - - - + - + bgColour="16777215" textColour="16777215"> @@ -1512,7 +1510,7 @@ + itemColour2="0" textColour="16777215" visible="0"> + - + isPluginParameter="1" pluginParameterName="Grain2" visible="0"/> @@ -2018,7 +2015,7 @@ filmstripImage="{PROJECT_FOLDER}k2.png" numStrips="200.0" dragDirection="Vertical" middlePosition="9.0" defaultValue="18.0" showValuePopup="Below" isPluginParameter="1" pluginParameterName="Grain2" mode="TempoSync" - max="18.0" stepSize="1.0" min="5.0" visible="0"/> + max="18.0" stepSize="1.0" min="5.0"/> + - - + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + @@ -3053,6 +3108,7 @@ + @@ -3321,7 +3377,8 @@ - + - + - + - + - + + + diff --git a/oi grandad/XmlPresetBackups/ui-up.xml b/oi grandad/XmlPresetBackups/ui-up.xml deleted file mode 100644 index c9bf850..0000000 --- a/oi grandad/XmlPresetBackups/ui-up.xml +++ /dev/null @@ -1,3210 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/oi grandad/XmlPresetBackups/ui-upUIData/ui-upDesktop.xml b/oi grandad/XmlPresetBackups/ui-upUIData/ui-upDesktop.xml deleted file mode 100644 index dfe18fc..0000000 --- a/oi grandad/XmlPresetBackups/ui-upUIData/ui-upDesktop.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - -