Still confusing, XML, Archive, Project
-
Ahoi mates,
I'm still confused about the xml, archive and project thing...
what actually is the project? the entire directory? where is the plugin and all the things I design saved? the xml? what is the archive for?my workflow still sees me hit cmd+s and cmd+shift+s every other minute to be absolutely safe my work is saved... is this how it's done?
sometimes I load a project from the splash screen and get the message my XML is invalid, and everything is empty. I can recover it from the archive then, but what actually would be the correct project file to look out for?
-
just happened again. XML I JUST saved is invalid.
looking at the xml though it seems to be fine, as far as I can tell.... what could be wrong? -
here's the xml
<?xml version="1.0" encoding="UTF-8"?> <Processor Type="SynthChain" ID="MQP-1A" Bypassed="0" Gain="1.0" Balance="0.0" VoiceLimit="64.0" KillFadeTime="20.0" IconColour="0" packageName="" BuildVersion="650"> <ChildProcessors> <Processor Type="MidiProcessorChain" ID="Midi Processor" Bypassed="0"> <ChildProcessors> <Processor Type="ScriptProcessor" ID="Interface" Bypassed="0"> <ChildProcessors/> <Content> <Control type="ScriptSlider" id="LowBoost" value="0.0"/> <Control type="ScriptSlider" id="LowAttenuation" value="0.0"/> <Control type="ScriptSlider" id="HighAttenuation" value="0.0"/> <Control type="ScriptSlider" id="HighBoost" value="0.0"/> <Control type="ScriptSlider" id="Bandwidth" value="0.0"/> <Control type="ScriptSlider" id="CPS" value="0.0"/> <Control type="ScriptSlider" id="KCS" value="3.0"/> <Control type="ScriptSlider" id="AS" value="2.0"/> </Content> <UIData Source="MQP-1AUIData"/> </Processor> </ChildProcessors> </Processor> <Processor Type="ModulatorChain" ID="GainModulation" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="PitchModulation" Bypassed="1" Intensity="0.0"> <ChildProcessors/> </Processor> <Processor Type="EffectChain" ID="FX" Bypassed="0"> <ChildProcessors> <Processor Type="Hardcoded Master FX" ID="HardcodedMasterFX1" Bypassed="0" Network="Pultec" ATTEN SELECT="2.0" BANDWIDTH="0.0" CPS="0.0" HIGH ATTEN="0.0" HIGH BOOST="0.0" KCS="3.0" LOW ATTEN="0.0" LOW BOOST="0.0"> <ChildProcessors/> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> </Processor> </ChildProcessors> </Processor> <Processor Type="AudioLooper" ID="Audio Loop Player1" Bypassed="0" Gain="1.0" Balance="0.0" VoiceLimit="256.0" KillFadeTime="20.0" IconColour="0" SyncMode="1.0" PitchTracking="0.0" LoopEnabled="0.0" RootNote="64.0" SampleStartMod="0.0" Reversed="0.0" FileName="/Volumes/Daten/Dropbox/HISE/TestAudio/Piano.wav" min="0" max="1411200" loopStart="0" loopEnd="1411200"> <ChildProcessors> <Processor Type="MidiProcessorChain" ID="Midi Processor" Bypassed="0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="GainModulation" Bypassed="0" Intensity="1.0"> <ChildProcessors> <Processor Type="SimpleEnvelope" ID="DefaultEnvelope1" Bypassed="0" Monophonic="0.0" Retrigger="1.0" Intensity="1.0" Attack="5.0" Release="10.0" LinearMode="1.0"> <ChildProcessors> <Processor Type="ModulatorChain" ID="Attack Time Modulation" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> </ChildProcessors> </Processor> </ChildProcessors> </Processor> <Processor Type="ModulatorChain" ID="PitchModulation" Bypassed="0" Intensity="0.0"> <ChildProcessors/> </Processor> <Processor Type="EffectChain" ID="FX" Bypassed="0"> <ChildProcessors/> </Processor> </ChildProcessors> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> </Processor> </ChildProcessors> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> <macro_controls> <macro name="Macro 1" value="0.0" midi_cc="-1"/> <macro name="Macro 2" value="0.0" midi_cc="-1"/> <macro name="Macro 3" value="0.0" midi_cc="-1"/> <macro name="Macro 4" value="0.0" midi_cc="-1"/> <macro name="Macro 5" value="0.0" midi_cc="-1"/> <macro name="Macro 6" value="0.0" midi_cc="-1"/> <macro name="Macro 7" value="0.0" midi_cc="-1"/> <macro name="Macro 8" value="0.0" midi_cc="-1"/> </macro_controls> <MidiAutomation/> <MPEData Enabled="0"/> </Processor>
-
The project is the entire directory.
The hip archive is good for saving little test patches
For your main file you should use xml (you can use hip too). You shouldn't need to have more than 1 xml file, you can use git to manage different versions.
When you compile a binary it will be somewhere in the Binaries folder - except on Mac pre Sonoma where the plugins will be moved to the appropriate locations on the OS (this is mostly annoying, but sometimes useful).
Scripts are saved when you hit F5 or press compile.
Run your XML through a validator to see if it spots an issue (I just did with the xml you posted and there is an issue there).
@Morphoice said in Still confusing, XML, Archive, Project:
cmd+s and cmd+shift+s every other minute
Me too :)
-
@d-healey that seems to be a weird problem I really don't know how to solve... as the xml is written by HISE.... probably the space in parameter names is problematic
-
@Morphoice said in Still confusing, XML, Archive, Project:
HIGH ATTEN="0.0" HIGH BOOST="0.0" KCS="3.0" LOW ATTEN="0.0"
I wonder if it's because you have spaces in the names
-
@d-healey yep I didnt realize that's not allowed
-
@d-healey said in Still confusing, XML, Archive, Project:
The hip archive is good for saving little test patches
Just wanted to add to this,
.hip
can also be life saviours when Hise crashes.
Enable Autosave
in the settings and in the case you forgot to CMD+SHIFT+S for a while, your project will be recoverable from 5 overwriting.hip
files at custom time intervals
The first inFile->Open Recent Archive
will be the last backup -