I found it.
local list = midiPlayer.getEventList();
for (e in list)
{
if (e.isNoteOn() && e.getNoteNumber() == noteNumber)
return true;
}
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)
Hi I working on a drum sampler plugin which has 16 samplers with EQ.I compiled the plugin and test it with reaper. I can see only selected sampler's EQ on the plugin screen by design. When I turn on the spectrum analysers of EQs, that makes peak meters of reaper laggy, playhead of reaper laggy like there is a heavy CPU load. When I check the performance meter of reaper I don't see a CPU jump or problem. When I turn off the spectrum analyzer, everything runs smooth and nice. I also test it with Ableton live. There is also a difference in Ableton live but not big as in Reaper.
I don't know if it is related but I thought about OpenGL. Compiled the plugin by enabling or disabling using:
Settings.setEnableOpenGL(false);
I used
HISE_USE_OPENGL_FOR_PLUGIN=0
Those setting didn't help me .Is there a solution or advice for this problem?
(Reaper, Live latest versions, Apple M1 Sonoma 14.4.1, Hise 4.0.0)
@mmprod I think you can put a panel on that area to hide the search bar and paint that panel the way you want.
I found this with a little search.
https://support.google.com/youtube/contact/brand_request?hl=en
https://about.meta.com/brand/resources/instagram/icons/
I didn't search deeply but as far as I understand if you have permission from the brands, if the logo fits brand's criteria and if the link is directed to them I won't have trouble.
Hi, I'm working on a commercial plugin. There is an info page on the plugin. I want to put Youtube, Facebook, instagram, tweeter etc... buttons with their logos. This buttons will open plugin's social media links.
Is there any kind of legal problem with using those logos on a commercial plugin?