Thanks, with this script it works on 129, but with the CC it works on 128.
Posts
-
RE: Two modulators for one LFO?
-
RE: Two modulators for one LFO?
@ulrik It is 1 and 129 here:
Thanks, I will try this now.
-
RE: Two modulators for one LFO?
@ulrik Actually no, aftertouch is CC128, Pitch Bend is a separate controller.
Yes, aftertouch goes from 0 to 127.
-
RE: Two modulators for one LFO?
@ulrik No, this is LFO and the amount is controlled with the Modulation Wheel at CC1 as usual, however I want the AfterTouch to do the same, which is CC128.
I tried to remap the 128 to 1 with the CC Swapper, but it goes only to 127.
I also tried with the script processor but no success:
// This function is called when a Control Change (CC) message is received function onControlChange(event) { // Get the CC number (controller number) from the event var ccNumber = event.getControllerNumber(); // Debugging: Print the received CC number to the console Console.print("Received CC: " + ccNumber); // If the CC number is 128, remap it to CC1 if (ccNumber == 128) { event.setControllerNumber(1); // Remap CC128 to CC1 Console.print("Mapped CC128 to CC1"); } // Send the (modified or unmodified) MIDI event to the next processor event.send(); }
I can create another LFO and control it with the CC128, but this is a brute force solution.
-
RE: Two modulators for one LFO?
@ulrik Well, when I say before I mean any other hardware and software synth I worked with in the past.
Is there any other way to achieve this? -
RE: Two modulators for one LFO?
@ulrik Sure:
HiseSnippet 1186.3oc2XEsaiSDEcbRlUztvJ5REhG8C7PWX0Jml1Rq3gl1zlkHZZC0Y6hDOrL0dbxnZOiY73BUHdfu.9E3y.IdgOA9D3SX+Cf6X6Da20aaZ1tU.tRQdtyb8bl68bOyUcfT3PihDRjwhCuHjhLdWr8Eb03NiILNp2dHiGf6ShTToYpocuHjDEQcQFF0ep1fwBMPIOub6cI9DtCM2DBchf4POfEvT4VGz9KY99cItzgrfBqds18bD7NBeQLfm5XKTHw4LxH5gD8xpgQeAIZLx3SvqtpmylVVa1p05VDRKWBYslzVaQ81vyYcqsrbOccK3uMPF2aeWlRHsUDEMBYzXWg6E1iEeOOcCNgEwN0mpGzDYC6bp4tBeW8QT+NpyXlu6fIApHDx.OHOrUOMrsLtOykM0dd368SlvL2ihAPiZkgW8R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+jjEv80iMahN+xLw.nZ4ENNk+TuhiqNuN1Zdcbs40w0mWG2Xdc7ylWG275cTKlsSLbMbZWTHT+A6mdArwza+Mpi9G.U1UKKC
-
Two modulators for one LFO?
I set CC01 and CC128 to control modulation for a LFO, but they work only if both are engaged. It is a simple thing, I did it million times before, is it somehow different here?
-
VST with sampler interface
Is it possible to create a VST with the sampler being visible so the SFZ or samples can be imported and mapped directly in the plugin?
-
RE: Simple mono portamento question?
Thanks, I just compiled the latest Hise, this is now ok.
Still not perfect, for example:
While holding D3 and playing (legato also) G3 and A3 back and forth, it plays the G3 and A3 just for a millisecond, and again returns to D3 no matter you hold the G3 or A3 as well.
-
RE: Simple mono portamento question?
@Christoph-Hart Thank you very much Christoph. This works great, there is only one problem, let's say you hold C2 and add G2, then release C2 while still holding the G2, then after you let go the G2 as well it is still on.
-
Simple mono portamento question?
Hello everyone,
I am trying to create a (from a user perspective) relatively simple mono portamento which will have a button, combo box, and a slider.
Let me try...The button will turn mono on and off, the slider will change the time for the portamento glide between the initial note that stays on and the notes played after, while the combo box will select one of the three options for the glide:
- Mono legato (it will always glide the initial note to all the notes activated after while holding the initial note - the result will be always gliding by pitching the initial note all over the place)
- Standard mono (it will always re-trigger the next note and glide it to it while holding the initial note - the result will be always pitching to the active note from the previous)
- Crossfade (it will start with both notes active, however the glide from first to second will start with pitching the first note half way, then crossfade it to the second note pitching to its default value).
-
Is this even possible in Hise?
-
How to create it? Only with the script processor, or it must be done with the Pitch Modulation?
-
Midi velocity limit, compression, expansion
I would like to make 3 sliders, all to control the input midi velocity:
Slider 1: Increase/Decrease (this slider moves the input velocity values for a certain amount, up or dow)
This means that the midi velocity that enters the Sampler gets changed so the sampler triggers a different velocity layer/different sampleSlider 2: Compress/Decompress (this will move velocity values apart from the middle position)
Middle position is by default 64, so if compressed then every midi velocity value below and above 64 will get closer to 64, and if decompressed the values will go in the opposite directionSlider 3: This slider will move the middle position from 64 up and down (this will change which input midi velocities go up or down when compressing and decompressing)
First is this possible, then how the script should look?
-
RE: SampleMaps loading time
Thanks David, this is actually my solution to this problem, I will have two sets 8+8 of VSTs loaded, so the first 8 will play the active style while the other 8 will be in stand by mode waiting for the next style to play instantly.
The same with the real time tracks played with the right hand, there will be 4+4 VSTs, first 4 active and another 4 waiting for a patch to change, so you can still hold the key and hear the active patch, for example Saxophone, while calling up the next patch, so after you let go the key the first 4 VSTs go offline and the second group plays further without any interruption.
I hope this translates well enough in English.Thanks Christoph, this is very useful.
I use RR in my presets to add realism , but I do not see how I could use it to load all GM library this way, every patch uses different set of filters, envelopes, and other settings. but it sounds very interesting as a workaround. Am I missing something?
-
RE: SampleMaps loading time
@Christoph-Hart Thanks Christoph, I already tried that, 64 is enough for what I need. I also set the preload size to 8, and it still takes almost the same time to do the preloading.
The memory consumption is ok, but the time needed for all sample maps to load is crucial for what I want to make, let me explain.What I want to make is something like Kontakt Bank, where 128 patches/instruments are loaded and then PC messages simply change which patch is playing.
Each bank is connected to only one midi channel, so with Kontat I would need 20 banks for 20 midi channels I have.
Kontakt changes from patch to patch instantly, however with my VST sampler the presets need maybe 200-300 ms to load, which is really not a problem in most cases, but I am building a sampler for a real time arranger so every millisecond counts.Maybe I am not doing it properly. My VST has 10 samplers inside, so I use 20 VST instances to get the multi-timbral 20 midi channel setup.
Will it have more sense to create one VST with 200 samplers instead, and then route the midi channels, and change the PC/presets internally?This seems overly complicated to build, does HISE even support PC messages after all?
-
SampleMaps loading time
I noticed that this takes some time, not a lot however for my project where I use up to 20 instances of the instrument it adds up and I would like to make it as fast as possible.
Is there any way to make the sample maps load faster? What does take the time, loading the map or the samples?
I tried to set the buffering and preload size for each sampler smaller, however it still shows the spinning wheel while loading. -
RE: SampleMaps location
@alfaholic So, here is how I tried to do it:
HiseSnippet 2951.3oc6ZstaabbElTxaPDaRPRPJP+SAVHTfRCXqPthKoDLRiD0EGWaIQHpD6fVC2gKGQNQKmY6tyJY4f7DzWl9HzGo7FzdlYNydSTJzJW5MoeHny2LyYN2OmcWMHVD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WIEWZPZ7DksJGAGstD1goy.eOmSCSTCiUGf9xDpxWyBNfHiYut3t02RqSHZ+8RNF51Un8pPudE5NUn8qP2sBcub5rAKUQF+5485Puxqz9cWrWoMvS3AwogE1Ye1jr6yfTtpSgsl4FzhZgun6MmE7y2mt8Wz5a+3KGu7hIt+.eo4Urx3PlxssG+bHEFPTx3G6rK8TRZnzhVtbxABt9cJyBJmv.I.SlPiKJ6yUg1VJg70bjOYK7Y8xg9ca8L3QzHwkqC7VYKd6+p6y0e8abLhq5sPRc+ei1nK++8sQuIS2GfMQgm8jDK+Ob+764nK66p5R+uKQ8XQpD59Z6.5.sIGBiFDPK1rbIUCXCcKEsRfFR4i0D+S3Gbw11NqpEaaWrVfkUftg+s9SOVeYJW0FQOcXHzyNrXHcBL.hRjftg2hgn7taHp6Fh5tgntaHpeZFhx6tgntaHp6Fh5tgn9u3gn9kPJmQBhEuJv7unlRVeWMBHkb8+a3q3bfh1M6erMGmVq0p1LnW0qBBTIBODrvy+Ld2hyr9s3LctEmw+Vblt2hyz6VblMtwynFSX6ToXloHI.LXOSfU88xBrVt1+B76ndYN
Combo box shows correctly the banks filtered, however the sampler does not follow this.
Basically, if I set the fifth Sample Map in bank 005 the sampler sets the fifth Sample Map in the folder, which is basically bank 001.What I am doing wrong?
-
RE: SampleMaps location
@d-healey Completely agree. Teach a man to fish, and you feed him for a lifetime.
In my case learning the 6th new discipline in a decade can be a bit too much for an average idiot.Thanks, I will investigate further.
-
RE: SampleMaps location
@d-healey Ah, I see. Thanks, but this is beyond my abilities.
Thank you very much for your help, it is really appreciated.