Hi,大家好~I am from China,Is a composer,I am very happy to create with you all

Posts
-
RE: The world of HISE
-
RE: How to draw the rename secondary confirmation window in PresetBrowserDialog?
@d-healey I am using Content.createLocalLookAndFeel();
Tried your method and it worked, thank you very much -
When I clicking this button, a bug occurs
This prevents me from using this feature properly -
RE: Directly fade in and out samples from two samplers on one MIDI note?
@d-healey OK, thank you for your guidance. I think I can achieve the effect I want in the near future.
-
RE: Setting the alpha of a color individually?
@d-healey Ahaha,god,It's so simple
Feeling mine so stupid。,Thanks very much David, you solved my problem again. -
RE: User-defined background?
@Oli-Ullmann Yes, thank you very much for your help.
-
RE: How to set the text color of Combobox?
@mmprod They are universal, you just use LAF
-
RE: How to set the text color of Combobox?
@Oli-Ullmann cool,I don't know what I did wrong, my
g.setColour();
didn't work, but I deleted all the code and rewrote it according to the code snippet you gave, and it worked. I want to give you a hug to express my endless gratitude.
-
How to customize the sound library location interface?
How to customize the sound library location interface?
The button is too small, I wish it was bigger
-
RE: How to customize the viewport row background color?
@Soundavid Thank you so much, I learned it and I'm so excited!:beating_heart:
-
How to use a knob to change the SampleStart values of all samples in a sampler?
How to use a knob to change the SampleStart values of all samples in a sampler?
Please help me. I want to use the CC controller to control the SampleStart values of all samples in a certain sampler. I hope I can get a code snippet. I will be very grateful~! -
RE: How to control the parameters of each key individually?
@ulrik I succeeded,I put Sampler1.selectSounds(""); into oncmbSampleMapControl and it works fine
inline function onknbVolC1Control(component, value) { Sampler1.setSoundProperty(0, Sampler1.Volume, value); }; Content.getComponent("knbVolC1").setControlCallback(onknbVolC1Control); //change samplemap ------------- const var sampleMaps = Sampler.getSampleMapList(); const var fltPreset = Content.getComponent("fltPreset"); const var cmbSampleMap = Content.getComponent("cmbSampleMap"); cmbSampleMap.set("items", sampleMaps.join("\n")); inline function oncmbSampleMapControl(component, value) { GFRNB.asSampler().loadSampleMap(sampleMaps[value-1]); //updateSelectedSounds ---------- Sampler1.selectSounds(""); }; Content.getComponent("cmbSampleMap").setControlCallback(oncmbSampleMapControl);
-
RE: How to control the parameters of each key individually?
@ulrik I succeeded, thank you very much, give you :red_heart:
-
RE: Make the Gain knob smooth the gain?
@d-healey @Chazrox
I'm back. After many days, I reviewed the code again today and finally succeeded!
We need a loop!
I would also like to thank all my friends who provided me with help and various solutions! I love you allfunction onNoteOn() { local n = Message.getNoteNumber(); local v = Message.getVelocity(); if (n >= knbLoKey.getValue() && n <= knbHiKey.getValue()) lastKs = n; if (Synth.isArtificialEventActive(eventIds.getValue(lastNote))) Synth.addVolumeFade(eventIds.getValue(lastNote), knbFadeTime.getValue(), -100); for (i = 48; i < 127; i++) { local e = eventIds.getValue(i); if (e != -1) Synth.noteOffByEventId(e); if (n == knbKs.getValue() && Synth.isKeyDown(i)) { ADSR.setAttribute(ADSR.Attack, fadeIn.getValue()); lastKs = n; eventIds.setValue(i, Synth.playNote(i, v)); return Message.ignoreEvent(true); }else{ ADSR.setAttribute(ADSR.Attack, knbResetAt.getValue()); } } lastNote = n; if (lastKs != knbKs.getValue()) return Message.ignoreEvent(true); eventIds.setValue(n, Message.makeArtificial()); }
-
RE: How to use KeySwitch to trigger sampling?
@ulrik Ah~~~, the result of this solution is pleasantly surprised. The Xfade of this solution is smoother than I thought. I combined the code of my first snippet, and this is exactly what I want to achieve. If I have a chance, I will treat you to a seafood feast!
-
RE: How do I connect a knob to a CC controller using code?
@d-healey Thanks a lot for the tip, I succeeded,
Treat you to watermelon, even though it's just an Emoji,But I really mean it.
local number = Message.getControllerNumber(); if (number == 1) { local ccValue = Message.getControllerValue(); Console.print(ccValue); local inputValue = ccValue / 127; Console.print(inputValue); knb1.setValue(inputValue); }
-
RE: How do I switch presets in the Preset Browser using buttons?
@d-healey Nice! I will try it. Thank you for providing me with learning materials.