astriiddev / Ami-Sampler-VST

VSTi 8-bit Sampler inspired by the sound of the famous Commodore Amiga for Windows/MacOS/Linux using VST3/AU/LV2
GNU General Public License v3.0
156 stars 2 forks source link

Ami is not compatible with Usine Hollyhock #8

Open Oli-Lab opened 2 months ago

Oli-Lab commented 2 months ago

HI ! I did some test with Usine Hollyhock and even if I stop the audio engine, I can't load any more than 1 sample in each instance of Ami. This is because Usine never stops its engine, as I got the info from the developer.

so I made some mods in your code as follow starting line 629 of AmiWindowEditor.cpp :

/*if(audioProcessor.isHostPlaying()) { juce::String hostName = getHostName();

  alertWinTitle  = hostName + " Is Playing";
  alertWinMesage = "Cannot load sample while\nhost (" + hostName + ") is playing.";

  showAlertWin = true;

  return;

}*/

Thank you for this fun sampler

Cheers

Olivar