
@goldee Hope this is still a thing, im interested too!
@goldee Hope this is still a thing, im interested too!
@MysticForgeRider little bump for this one @d-healey. I still have this issue:
@d-healey call me an absolute noob, but where do I put that value?
@Chazrox that fixed a lot, thank you!
Now only to fix the list showing up, it keeps it LAF, but doesn't show anything when selected.
Hey guys!
I've got a problem (See screenshots), I've got a combobox going with custom LAF, and whenever I select a preset, the text within the box, and the LAF disappears, any ideas on how to fix this?
const var PresetDropdown = Content.getComponent("PresetDropdown");
// 2) Position & size (adjust x/y to sit in your top‐left corner; width/height as desired)
PresetDropdown.set("x", 88);
PresetDropdown.set("y", 57);
PresetDropdown.set("width", 150);
PresetDropdown.set("height", 30);
// 3) Populate with 12 preset names (each on its own line):
PresetDropdown.set("items",
ITEMS...
const var ddCombo = Content.getComponent("PresetDropdown");
const var lafDropdown = Content.createLocalLookAndFeel();
// DRAW CLOSED DROPDOWN
lafDropdown.registerFunction("drawComboBox", function(g, obj)
{
var a = obj.area;
var radius = 6.0; // corner radius
var outlineThickness= 1.0; // border thickness
// 1) background
g.setColour(0xFF191919); // dark grey
g.fillRoundedRectangle(a, radius);
// 2) outline
g.setColour(0xFF000000); // black
g.drawRoundedRectangle(a, radius, outlineThickness);
// 3) displayed text
g.setColour(obj.textColour);
g.setFont("Roboto-Medium", 13.0);
g.drawAlignedText(obj.text,
[ a[0] + 10, a[1], a[2] - 20, a[3] ],
"left");
// 4) small arrow
var arrowSize = a[3] * 0.4; // 40% of height
var px = a[0] + a[2] - arrowSize - 6;
var py = a[1] + (a[3] - arrowSize) * 0.5;
g.setColour(obj.itemColour1);
g.fillTriangle([ px, py, arrowSize, arrowSize ], Math.PI);
});
// DRAW POPUP BACKGROUND
lafDropdown.registerFunction("drawPopupMenuBackground", function(g, obj)
{
g.setColour(0xFF191919);
g.fillRoundedRectangle([0, 0, obj.width, obj.height], 4.0);
g.setColour(0xFF000000);
g.drawRoundedRectangle([0, 0, obj.width, obj.height], 4.0, 1.0);
});
// DRAW EACH POPUP ITEM (text + highlight)
lafDropdown.registerFunction("drawPopupMenuItem", function(g, obj)
{
var a = obj.area;
if (obj.isSeparator)
{
g.setColour(obj.textColour);
g.drawLine(a[0] + 5, a[1] + a[3]/2,
a[0] + a[2] - 5, a[1] + a[3]/2, 1);
}
else
{
if (obj.isHighlighted)
{
g.setColour(Colours.darkgrey);
g.fillRect(a);
}
g.setColour(obj.textColour);
g.setFont("Roboto", 12.0);
g.drawAlignedText(obj.text, a, "center");
}
});
ddCombo.setLocalLookAndFeel(lafDropdown);
@Chazrox My bad, im working with the Analyser, not the Waveform.
Hey guys!
I've been looking at a FloatingTile with the Waveform option, but whenever I try to edit the Index line, to 2, HISE instantly crashes..
Any ideas how to fix this?
Cheers!
hi guys! The idiot with little to no knowledge of programmer: I've got everything running now, and did a test with a SNIPPET that came out as expected: good.
Now I'm trying it with my own plugin, and I'm getting this error while building through Xcode:
REGISTER_STATIC_DSP_LIBRARIES()
{
REGISTER_STATIC_DSP_FACTORY(hise::HiseCoreDspFactory);
REGISTER_STATIC_DSP_FACTORY(duckverbDSP);
}
/Users/Bodi/Documents/HISE Projects/DuckVerb by SoundSloth/Binaries/Source/Plugin.cpp:18:30 Use of undeclared identifier 'duckverbDSP'
You got any idea on how to fix this issue?
@Christoph-Hart not giving an error anymore, and it's now stuck on the 50% 'compiling fx plugin....'.
That's progress, now the waiting game on my poor old macbook has begon! Thank you ;)
@MysticForgeRider same error so it seems.. it's giving headaches because i'm trying for a couple of days now to just export a test for my plugin.
@Christoph-Hart can you expand on that UB version? I've just re-installed xcbeautify, this time the correct version (oops).
Trying an new compile now :)
@MysticForgeRider I've got to add, if i'm building the AutoGenerated project within the plugin's folder, i'm getting: /Users/bodigreefhorst/HISE/JUCE/modules/juce_audio_plugin_client/VST3/juce_VST3ManifestHelper.mm Build input file cannot be found: '/Users/bodigreefhorst/HISE/JUCE/modules/juce_audio_plugin_client/VST3/juce_VST3ManifestHelper.mm'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
Any tips?
Hi guys!
i'm really stuck with compiling my plug-in, any ideas?
Create files
Sorting include dependencies
Creating C++ file for Network DUCKVERBDSP
Writing embedded audio data file
Compiling dll plugin
Create C++ autogenerated files
Create binary data files
Exporting the pooled resources
Export audio files
Export image files
Writing {PROJECT_FOLDER}DuckVerbUI.png ... 0 kB
Writing {PROJECT_FOLDER}KnobStrip.png ... 42 kB
Writing {PROJECT_FOLDER}SideChainFilmStrip 2.png ... 243 kB
Writing {PROJECT_FOLDER}LimiterFilmStrip 2.png ... 246 kB
Writing {PROJECT_FOLDER}SmallKnobStrip.png ... 249 kB
Writing {PROJECT_FOLDER}VUMETERFILMSTRIP.png ... 469 kB
Export samplemap files
Export MIDI files
DONE
Create embedded data files
Launch system compiler...
Re-saving file: /Users/bodigreefhorst/Documents/HISE Projects/DuckVerb by SoundSloth/Binaries/AutogeneratedProject.jucer
Finished saving: Visual Studio 2017
Finished saving: Xcode (macOS)
Finished saving: Xcode (iOS)
Finished saving: Linux Makefile
Compiling FX plugin DuckVerb ...
/Users/bodigreefhorst/Documents/HISE Projects/DuckVerb by SoundSloth/Binaries/batchCompileOSX.sh: line 9: /Users/bodigreefhorst/HISE/tools/Projucer/xcbeautify: Bad CPU type in executable
It keeps running on that last line. Any ideas how to get this running again?
btw: im on a macbook pro (intel), with XCode Version 14.2 (14C18) and HISE Debug build :)
Cheers!