Struggling to export my first test project as VST MacOS Sonoma
-
@cadrose said in Struggling to export my first test project as VST MacOS Sonoma:
Error when saving: Can't open resource file: /Users/callumrose/Documents/test 123/Binaries/Source/Images/balanceKnob_200.png
This image seems to be the problem
-
@d-healey I really appreciate you taking the time to help!
Im slightly confused by this as im not entirely sure why it would be looking for this image file.
All ive done so far is add two samplers and assigned the gain of each one to a corresponding knob on the interface window which appears like so:
I figured I'd start super simple to get a feel for the process and check stability.
-
@cadrose Open the project XML files (there is more than one) in a text editor and look for any references to that file
-
@d-healey
Apologies if I have misunderstood. I saved the project as XML and checked both and I cant see a reference to it.<?xml version="1.0" encoding="UTF-8"?> <Processor Type="SynthChain" ID="test_123" 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="Knob1" value="1.0"/> <Control type="ScriptSlider" id="Knob2" value="1.0"/> </Content> <UIData Source="test_123UIData"/> </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> <Processor Type="StreamingSampler" ID="Soft Barry" Bypassed="0" Gain="1.0" Balance="0.0" VoiceLimit="256.0" KillFadeTime="20.0" IconColour="0" PreloadSize="8192.0" BufferSize="4096.0" VoiceAmount="256.0" SamplerRepeatMode="3.0" RRGroupAmount="1.0" PitchTracking="1.0" OneShot="0.0" CrossfadeGroups="0.0" Purged="0.0" Reversed="0.0" NumChannels="1" UseStaticMatrix="0.0" Group0Table="" Group1Table="" Group2Table="" Group3Table="" Group4Table="" Group5Table="" Group6Table="" Group7Table=""> <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> <Processor Type="ModulatorChain" ID="Sample Start" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="Group Fade" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> </ChildProcessors> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> <channels> <channelData enabled="1" level="0.0" suffix=""/> </channels> <samplemap> <sample Root="69" LoKey="58" HiKey="69" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_A3_45.wav" Duplicate="0"/> <sample Root="83" LoKey="77" HiKey="90" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_B4_59.wav" Duplicate="0"/> <sample Root="36" LoKey="29" HiKey="36" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_C1_12.wav" Duplicate="0"/> <sample Root="50" LoKey="44" HiKey="57" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_D2_26.wav" Duplicate="0"/> <sample Root="76" LoKey="70" HiKey="76" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_E4_52.wav" Duplicate="0"/> <sample Root="43" LoKey="37" HiKey="43" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP1_BARRY_SOFT_G1_19.wav" Duplicate="0"/> </samplemap> </Processor> <Processor Type="StreamingSampler" ID="Soft Barry Grains" Bypassed="0" Gain="1.0" Balance="0.0" VoiceLimit="256.0" KillFadeTime="20.0" IconColour="0" PreloadSize="8192.0" BufferSize="4096.0" VoiceAmount="256.0" SamplerRepeatMode="3.0" RRGroupAmount="1.0" PitchTracking="1.0" OneShot="0.0" CrossfadeGroups="0.0" Purged="0.0" Reversed="0.0" NumChannels="1" UseStaticMatrix="0.0" Group0Table="" Group1Table="" Group2Table="" Group3Table="" Group4Table="" Group5Table="" Group6Table="" Group7Table=""> <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="DefaultEnvelope2" 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> <Processor Type="ModulatorChain" ID="Sample Start" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> <Processor Type="ModulatorChain" ID="Group Fade" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> </ChildProcessors> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> <channels> <channelData enabled="1" level="0.0" suffix=""/> </channels> <samplemap> <sample Root="69" LoKey="57" HiKey="69" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_A3_45.wav" Duplicate="0"/> <sample Root="83" LoKey="77" HiKey="90" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_B4_59.wav" Duplicate="0"/> <sample Root="36" LoKey="28" HiKey="36" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_C1_12.wav" Duplicate="0"/> <sample Root="50" LoKey="44" HiKey="56" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_D2_26.wav" Duplicate="0"/> <sample Root="76" LoKey="70" HiKey="76" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_E4_52.wav" Duplicate="0"/> <sample Root="43" LoKey="37" HiKey="43" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}Sax Instrument Samples Individuals/SAX_GRP2_BARRY_SOFT_GRAIN_G1_19.wav" Duplicate="0"/> </samplemap> </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>
2nd xml
<?xml version="1.0" encoding="UTF-8"?> <ContentProperties DeviceType="Desktop"> <Component type="ScriptImage" id="Image1" x="0.0" y="0.0" width="600" height="610" fileName="{PROJECT_FOLDER}IMG_0106.JPG"/> <Component type="ScriptSlider" id="Knob1" x="350.0" y="350.0" processorId="Soft Barry" parameterId="Gain"/> <Component type="ScriptSlider" id="Knob2" x="350.0" y="420.0" processorId="Soft Barry Grains" parameterId="Gain"/> </ContentProperties>
-
@cadrose Have you tried cleaning the build directory before exporting?
-
@d-healey is this what gets created in the binaries folder of the project each time I export? if so, Ive been deleting what gets created each time I've done an export.
-
-
@d-healey Ahha thank you!! I had the Hise source code path set to a previous attempt. I changed it to the current build and thats sorted it!
Although now I cant seem to get the samples to playback through the plugin.
Ive made the .hr1 file and I set the plugin to the location but no sound. The samples play back fine in Hise however. I imagine its something silly I'm doing wrong.
-
@cadrose did you restart the plugin?
-
@Lindon I have yea, it says it’s installed the sounds successfully. I also exported a standalone version but I had the same issue.
-
@cadrose does the link file point to the samples?
-
@d-healey Sorry, are you referring to the choose sample folder box?
I have pointed the samples to the folder created by hise in /music/My Company/test 123/Samples
In here I put .hr1 file & the samples
-
.hr is a compressed archive (like a zip file). Once the samples are extracted from it you don't need to keep it around.
The samples should be in .ch format.
When you select locate samples HISE creates a file called LinkOSX or LinkWindows inside the app data folder. This file contains the path to the samples folder, where your plugin will look for samples. Check that this is the correct path.
-
@d-healey Ahha, yes this was the issue, thanks so much for your help!
-