@Christoph-Hart said in Instant crash when loading any faust dsp to the module:
@Lindon damn, alright then. macOS or windows?
macOS arm 64 bit
@Christoph-Hart said in Instant crash when loading any faust dsp to the module:
@Lindon damn, alright then. macOS or windows?
macOS arm 64 bit
Sorry for bumping this. I'm in the middle of a project, wondering if I should switch back to old version that I used.
HISE – latest development build
FAUST – version 2.85.5 (latest)
Mac arm 64 builds
I successfully compiled HISE with FAUST enabled. However, when I try to load a dsp file into the FAUST module, HISE crashes instantly.
Any help would be greatly appreciated.
I found it.
local list = midiPlayer.getEventList();
for (e in list)
{
if (e.isNoteOn() && e.getNoteNumber() == noteNumber)
return true;
}
Hi, I’d like to read note number data from a loaded MIDI file. Is it possible to detect whether the file contains a specific MIDI note number (e.g. note 36)?
This code is working, but I want to slow down scrolling speed. How I can I do this?
const var Oscillator = Synth.getEffect("Oscillator");
const var dps = Synth.getDisplayBufferSource("Oscillator");
const var vp = dps.getDisplayBuffer(0);
const var properties = {
"BufferLength":65536,
"NumChannels": 2
};
vp.setRingBufferProperties(properties);
visualPanel.startTimer(50);
visualPanel.setTimerCallback(function()
{
this.data.p = vp.createPath(
this.getLocalBounds(10),
[0, -1, -1.0, 1.0],
0.0
);
this.repaint();
});
visualPanel.setPaintRoutine(function(g)
{
g.setColour(Colours.white);
if(isDefined(this.data.p))
g.fillPath(this.data.p, this.getLocalBounds(10));
});
I solved the problem by editing the xml. file.

I have a strange problem here. I don't know what I've done wrong but callback functions ( on Notion, on Noteoff...) stopped working. I have no bypass code. Interface and midi player seems like there are bypassed but actually they are not.
@orange No, actually I don't know how to debug, I searched the forum several times for learning how to debug but I think it is a little bit complicated for me.
Steps to reproduce the crash:
1- Insert your compiled plugin (VST3i) into the DAW.
2- Do not adjust or change anything in the plugin or the DAW.
3- Remove your plugin.
4- Re-insert your plugin.
Result:
The DAW crashes.
I've tested this issue with both Reaper and Ableton Live (MacOS, latest HISE). Has anyone else experienced this same crash? Any suggestions or clues?
Note: Other than this specific crash, my plugin works perfectly fine.
const var exh= Engine.createExpansionHandler();
var presetList=[];
var expList= exh.getExpansionList();
for (e in Engine.getUserPresetList()) presetList.push(e);
for (i=0;i<expList.length;i++)
{
for (e in expList[i].getUserPresetList()) presetList.push(e);
}
Console.print(trace(presetList));
I'm not in front of the computer but this should work.
function onNoteOn()
{
if (Message.getNoteNumber()==36) Button.setValue(1);
}
@mehmethand ok I found the solution. I need load all images into pool.
Engine.loadImageIntoPool("{PROJECT_FOLDER}XXX.png");
inline function bannerSetter()
{
bannerImage = "{PROJECT_FOLDER}"+styleCombo.getItemText()+."png";
infoPanel.loadImage(bannerImage,"banner");
infoPanel.repaint();
}
Hi I'm using this function in preset post callback. It successfully works in Hise. I have a comboBox (styleCombo) with image name list and a panel (infoPanel) to show selected image. When a preset is loaded, it changes the image inside the panel. But it is not working in compiled plugin. It seems that plugin cannot locate the image files. I checked the "Embed Image Files" option in Settings. Any help would be great.
(Hise 4.1.0 , Apple M1 Sequia, VST3 compiled)
Hi, I searched the forum. There are some similar old threads about this but there is not a particular solution. Maybe now there is a solution from experienced users.
I want to convert incoming audio signal to a specific midi note depending on the peak of the input signal .Basically this is a drum replacer. Using gate or envelope follower will definitely help. Is possible trigger a midi note using envelope follower or gate modulation?
@DanH Thank you DanH. I used a custom panel and changed openGL settings. as you suggested. disabling openGL from custom panel worked in my case. Now reaper is without lagginess when using spectrum analyzer.
@DanH said in Turning on the Spectrum Analyser makes Reaper UI laggy:
@mehmethand do you have a settings panel in your plugin where you can enable/disable OpenGL?
No I dont have it
@DanH Yes
Reaper, Live latest versions, Apple M1 Sonoma 14.4.1, Hise 4.0.0)