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

Best posts made by CatABC
-
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.
Latest posts made by CatABC
-
RE: Make the Gain knob smooth the gain?
Aha, here is a free software loopMIDI, which can transfer DAW MIDI information to HISE in real time.
-
RE: Make the Gain knob smooth the gain?
@d-healey I tried your Snippet, and I don't know if you have the same problem. When the third KS is triggered, the note triggered by the third KS cannot be stopped. In addition, when switching from the first KS to the second KS, and then switching from the second KS back to the original KS, there will be no sound, but there is always a level display on the waveform generator. I searched for a long time, but I couldn't solve the problem. This problem is too frustrating.
-
RE: Make the Gain knob smooth the gain?
@d-healey said in Make the Gain knob smooth the gain?:
@CatABC said in Make the Gain knob smooth the gain?:
but if KS is triggered at the same time as the note, the problem I described will occur
Aha ok, I think you will run into an issue here because two notes triggered at the same time, how does it know which one to process first?
// articulationSwitcher/onInit add these const eventIds = Engine.createMidiList(); eventIds.fill(-99); reg lastNote; // articulationSwitcher/onNoteOn add these if (eventIds.getValue(lastNote) != -99) { Synth.addVolumeFade(eventIds.getValue(lastNote), 500, -100); } if (Synth.isKeyDown(lastNote)) eventIds.setValue(lastNote, Synth.playNote(lastNote, Message.getVelocity())); } lastNote = n; eventIds.setValue(n, Message.makeArtificial()); function onNoteOff() { local n = Message.getNoteNumber(); if (eventIds.getValue(n) != -99) { Synth.noteOffByEventId(eventIds.getValue(n)); eventIds.setValue(n, -99); } }
I combined the previous code, and the first two KS can work normally, but when the third KS is triggered, it can't transition normally. I'm stuck here.
-
RE: Make the Gain knob smooth the gain?
@d-healey said in Make the Gain knob smooth the gain?:
@CatABC is that my keyswitcher on its own or your implementation of it?
function onNoteOn() { local n = Message.getNoteNumber(); if (n >= knbLoKey.getValue() && n <= knbHiKey.getValue()) { Message.ignoreEvent(true); knbArticulation.setValue( n - knbLoKey.getValue()); knbArticulation.changed(); changeArticulation(n - knbLoKey.getValue()); } }
changeArticulation(n - knbLoKey.getValue());
I just explored it and found that this line of code cannot be deleted. Keeping it will not cause articulation confusion.
-
RE: Make the Gain knob smooth the gain?
@d-healey is your code. I followed the video step by step to reproduce your operation.When KS is before the note, it works fine, but if KS is triggered at the same time as the note, the problem I described will occur
-
RE: Make the Gain knob smooth the gain?
@d-healey said in Make the Gain knob smooth the gain?:
@CatABC but the key switcher on its own works?
KS is valid, in addition, the KS system you made on Patreon, in this case, it has some minor problems (cannot stop notes, can not normally switch the corresponding articulation) -
RE: Make the Gain knob smooth the gain?
@CatABC said in Make the Gain knob smooth the gain?:
@d-healey said in Make the Gain knob smooth the gain?:
@CatABC I posted a video to Patreon at the start of the month about keyswitching using midi muters. It will probably help you here.
Yes, I watched this video and followed it, but it didn't work.
The problem at the moment is not with the MidiMuter, but with the third KS, it is not possible to trigger the playing of the pressed note again and the fading out of the previous note
-
RE: Make the Gain knob smooth the gain?
@d-healey said in Make the Gain knob smooth the gain?:
@CatABC I posted a video to Patreon at the start of the month about keyswitching using midi muters. It will probably help you here.
Yes, I watched this video and followed it, but it didn't work.
-
RE: Make the Gain knob smooth the gain?
@d-healey
This snippet implements the function of switching two Samplers on a note, but it will fail when the third KS is triggered on the same note.
I didn't use the key method you used on Patreon because that seems to be a bit buggy. Here is the most basic method I usedHiseSnippet 1721.3oc6a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Tz2GmQOjgM6oF9U2EO5urGEvuod+GgjSYWwZUsS2SnGzB6oFFwU0oDTeVEr7rJXkYUvpypf0lUAuyrJ3c+uETLgw5tbVO+2F.h6F08FlQV1Grs2yDo+EPmCvVF
-
RE: Make the Gain knob smooth the gain?
@d-healey Yes, it's back to the previous problem. I need to switch the Sampler multiple times on a note. I made the switchers according to your video, but they don't apply to this problem.