Files
grape-reverb/Presets/Autosave_2.hip
T

216 lines
9.5 KiB
Plaintext
Raw Normal View History

2026-11-26 21:47:32 +06:00
Processor
Type SynthChainIDreverbBypassedGain ð?Balance VoiceLimit P@KillFadeTime 4@IconColour0packageNameBuildVersionŠEditorStatesBodyShown0Visible1Solo0Folded1ChildProcessorsProcessorTypeMidiProcessorChainIDMidi ProcessorBypassedEditorStatesBodyShown1Visible0Solo0ChildProcessorsProcessorTypeScriptProcessorID InterfaceBypassedNumAudioFilesScriptÑ 
Content.makeFrontInterface(500, 165);
const var ReverbFX = Synth.getEffect("Script FX1");
const var audioWaveform = Content.getComponent("AudioWaveform1");
const var knobMix = Content.getComponent("mix");
const var KnobConvGain = Content.getComponent("conv_gain");
const var KnobPredelay = Content.getComponent("conv_predelay");
const var KnobDamping = Content.getComponent("damping");
const var KnobSize = Content.getComponent("size");
inline function on_knob_mix_control(component, value)
{
ReverbFX.setAttribute(0, value);
}
inline function on_knob_convgain_control(component, value)
{
ReverbFX.setAttribute(1, value);
}
inline function on_knob_convpredelay_control(component, value)
{
ReverbFX.setAttribute(2, value);
}
inline function on_knob_damping_control(component, value)
{
ReverbFX.setAttribute(3, value);
}
inline function on_knob_size_control(component, value)
{
ReverbFX.setAttribute(4, value);
}
knobMix.setControlCallback(on_knob_mix_control);
KnobConvGain.setControlCallback(on_knob_convgain_control);
KnobPredelay.setControlCallback(on_knob_convpredelay_control);
KnobDamping.setControlCallback(on_knob_damping_control);
KnobSize.setControlCallback(on_knob_size_control);
// ========================================
// IR FILE MANAGEMENT
// ========================================
const var irFiles = Engine.loadAudioFilesIntoPool();
const var IRProcessor = Synth.getAudioSampleProcessor("Script FX1");
Console.print("Loaded IR files: " + irFiles.length);
// Extract filename from path
inline function getFileNameFromPath(pathStr)
{
local s = "" + pathStr;
local slashPos = Math.max(s.lastIndexOf("/"), s.lastIndexOf("\\"));
if (slashPos >= 0)
return s.substring(slashPos + 1, s.length);
return s.replace("{PROJECT_FOLDER}", "");
}
// Remove file extension
inline function stripExtension(fileName)
{
local dotPos = fileName.lastIndexOf(".");
if (dotPos > 0)
return fileName.substring(0, dotPos);
return fileName;
}
// Sort IR files
irFiles.sort(function(a, b)
{
var nameA = getFileNameFromPath(a);
var nameB = getFileNameFromPath(b);
if (nameA < nameB) return -1;
if (nameA > nameB) return 1;
return 0;
});
// Populate ComboBox
const var irNames = [];
for (f in irFiles)
{
var fileName = getFileNameFromPath(f);
irNames.push(stripExtension(fileName));
}
const var IRComboBox = Content.getComponent("IR");
IRComboBox.set("items", irNames.join("\n"));
// Load selected IR
inline function onIRComboBoxControl(component, value)
{
local idx = Math.floor(value) - 1;
if (idx >= 0 && idx < irFiles.length)
{
IRProcessor.setFile(irFiles[idx]);
Console.print("Selected IR: " + irNames[idx]);
Console.print("Loading: " + irFiles[idx]);
}
}
IRComboBox.setControlCallback(onIRComboBoxControl);
function onNoteOn()
{
}
function onNoteOff()
{
}
function onController()
{
}
function onTimer()
{
}
function onControl(number, value)
{
}
EditorStatesBodyShown1Visible1Solo0contentShown1onInitOpen1Folded0ChildProcessorsContentControltypeScriptSliderid conv_gainvalue €™™$ÀControltypeScriptSlideridconv_predelayvalue ControltypeScriptSliderid dampingvalue ð?ControltypeScriptSlideridsizevalue ð?ControltypeScriptComboBoxidIRvalue ð?ControltypeScriptAudioWaveformidAudioWaveform1value data"{PROJECT_FOLDER}Block Inside.wavrangeStartrangeEnd:ôUIDataContentPropertiesDeviceType DesktopComponenttypeScriptSlideridmixx  w@y €[@saveInPresetComponent
typeScriptSliderid conv_gainx  w@y N@text conv gainmin >Àmax mode DecibelstepSize  ™™¹?middlePosition .ÀComponenttypeScriptSlideridconv_predelayx y N@textconv predelaymax @�@middlePosition @@stepSize  ™™¹?ComponenttypeScriptSliderid dampingx y €[@width€height0ComponenttypeScriptSlideridsizex y $@ComponenttypeScriptComboBoxidIRx  w@y 4@max&itemszBlock Inside
Bottle Hall
Cement Blocks 1
Cement Blocks 2
Chateau de Logne, Outside
Conic Long Echo Hall
Deep Space
Derlon Sanctuary
Direct Cabinet N1
Direct Cabinet N2
Direct Cabinet N3
Direct Cabinet N4
Five Columns Long
Five Columns
French 18th Century Salon
Going Home
Greek 7 Echo Hall
Highly Damped Large Room
In The Silo Revised
In The Silo
Large Bottle Hall
Large Long Echo Hall
Large Wide Echo Hall
Masonic Lodge
Musikvereinsaal
Narrow Bumpy Space
Nice Drum Room
On a Star
Parking Garage
Rays
Right Glass Triangle
Ruby Room
Scala Milan Opera Hall
Small Drum Room
Small Prehistoric Cave
St Nicolaes Church
Trig Room
Vocal Duowidth‚heightComponenttypeScriptAudioWaveformidAudioWaveform1x Àb@y I@processorId Script FX1Componenttype
ScriptLabelidLabel1x €f@y 4@textGrape-REVERB-v1.0fontSize .@fontStyle RegularfontName DefaultProcessorTypeModulatorChainIDGainModulationBypassedIntensity ð?EditorStatesBodyShown1Visible0Solo0Folded1ChildProcessorsProcessorTypeModulatorChainIDPitchModulationBypassedIntensity EditorStatesBodyShown1Visible0Solo0Folded1ChildProcessorsProcessorType
EffectChainIDFXBypassedEditorStatesBodyShown1Visible0Solo0ChildProcessorsProcessorType
ScriptFXID Script FX1BypassedNumAudioFilesScriptÀ const var irSlot = Engine.createAndRegisterAudioFile(0);function prepareToPlay(sampleRate, blockSize)
{
}
function processBlock(channels)
{
}
function onControl(number, value)
{
}
EditorStatesBodyShown1Visible1Solo0ChildProcessorsRoutingMatrixNumSourceChannelsChannel0Send0ÿÿÿÿChannel1Send1ÿÿÿÿContentNetworksNetworkIDreverbVersion0.0.0ShowCommentsUIDataContentPropertiesDeviceType DesktopProcessorType
AudioLooperIDAudio Loop Player1BypassedGain Ð?Balance VoiceLimit p@KillFadeTime 4@IconColour0SyncMode ð?PitchTracking LoopEnabled ð?RootNote P@SampleStartMod Reversed FileNameVD:\DISK D\12.10\22..22 Project\Samples\Recorded\1-Audio 0002 [2022-09-24 111341].wavmina max—½ loopStarta loopEnd—½ EditorStatesBodyShown1Visible1Solo0GainModulationShown1ChildProcessorsProcessorTypeMidiProcessorChainIDMidi ProcessorBypassedEditorStatesBodyShown1Visible0Solo0Folded1ChildProcessorsProcessorTypeScriptProcessorIDScript Processor1BypassedScript³ Synth.playNote(60,100);function onNoteOn()
{
}
function onNoteOff()
{
}
function onController()
{
}
function onTimer()
{
}
function onControl(number, value)
{