@CatABC I guess that's how the eventData Envelopes work, if you trigger a key switch the fade will not be applied until you play next key
It seems to work flawlessly when playing legato but as soon as you release a playing key, and the fade has not worked its way through, it will continue the fade as soon as you start playing a key again.
It would be nice if the smoothing time will elapse even if no playing key is pressed

Posts
-
RE: How to use KeySwitch to trigger sampling?
-
get playback position from waveform component
It would be nice to have a "displayCallback" for the waveform component.
To be able to get the playback position when it's connected to a sampler. -
RE: How to use KeySwitch to trigger sampling?
@CatABC I fiddled some more, this is a better solution, using eventData envelopes, it's easier to set the smoothing in the fades
And I don't think it will consume much cpu, it's only the extra voices
HiseSnippet 2368.3oc6a0uaajaDeW6r4hT9n45kC28mDF8Oj6YnSe4OTSSshskuXj3OpkSRKBRSo2kRhvqHWrjxItAAsnuH8UIOB8QnOB4MncH4tRbkj84X3fbNUBAQZGx4CNyvY9MRI6Ey8IBAO1wM+AmDQbbukWqSXxtq2ESYNasgi6238XxIhWSk9cQswADAphyZmDgEBRfiq6r+jZit4tli90GVcMbHl4SFRxw4YbpO4IzdT4Pp603wzvvMAAd.sm0tq0XKeNacdHuOXTy5UxIB6eDtCYGrZay347Hrnqi6u0awJU8qErbPkJKVeIe7Rj5swsaWtZPsZKsR8xUqiqsxRjRK53d8lATIOtkDKIBG2qsFO3jVc4ulYTvynB5ggD0CkcZAZ1PdSdXf5Hpn5rdWZXvdodKgiiq2dC8cyZ7c2yaaZ.c.8g9v6pW.MjCaGn6LYMuYyXdksMuRVl2DLIWKS5ZFS5q8Z4GSijCWQYO2zaKljD2FCwIaSwrWG226sNG1.SVrG9HxlwvCCXnvRkJs.pRoRye+18Y9RJmg3rc3RxtrBym+s4yk+c4QitT61SbMkZh4ggj3ItrJ0H9rXr.qeuCIwKfNFG1mLXivwOqO06z8o1gbeyo1Zib1VLpb2HB6zRDbRbUJ+ehUAaUp892Iw62JjFPhcnfSNu2fbdsMOHyuweugyS2ZCrDmJIPnfhhHwRp5L3tA4X3djItlyaCh3HIOBz057dQblxDbyaz6sSz6SvGRB0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F8IAXTko.it5BLpxTfQSAFMEXzWt.ipd0EXDTO47ALJkTlcMAfQeX0I.LBvwLEXzTfQeB.FUcJvnqt.ip94BXDr4o.ilBLZJvnOVfQeonidX+X9q7M+T4pht2PSA7sL8+0Ix4ss5YT4Q9swU+JxPK6W46mUTiwXkKJiUunLV6hx3hWTFW5hx3xWTFW4mmQEhpG1Wx6Yt+AHK2qo9eKCttFPk5qhN+O.G6L2qA
-
RE: How to use KeySwitch to trigger sampling?
@CatABC if I understand you right, you want to fade between several sound sources.
This snippet will show you one way to do it, however keeping several sound sources activated will produce 3 voices when pressing just 1 key (one is sounding, the other 2 has a gain of -100dB)
I don't know if it will give you any problem doing that, I suppose it depends on how demanding you project is on the cpu?HiseSnippet 2419.3oc6a01aSjjDdljLrXytHX0dZWcepk08AmEiW+Rdc41EGRbfHHIdwA3PHDamYZa2Ji6dtYZmPNDRmteY7o6y2Og6mv9OfqptmwdlDmPHh2OGgbltppqt5ppt5mZhoUnzkEEICsryuygALK6u1o8gBUuU6Q4BqMVyx9pN2kcXzAbkaORGpGKx5VGFPihXdV11SeaTL6byXo+4Ot4sn9TgKaDIKqGJ4tr6w6yUin1pwc499qCpaGd+TROWiMbkhUk9xAfIMsSEq.p6dztrsnnXS4XcGZTOK6ezY9Z0cmyaQuZ0le4EboKvVtCsSmp08latEVZ4p0WlN2RKvpLuk8EZ5wUxv1JpBLd6Ytkz6v18jGHLKvC4Q7c8Y3fpVsgU1PdcouGtEQpVq1i660JwWEYYY6zZjmaZim66b1j6wGRejG7JZFjQyHsCzdprl2zYLupoMuJoLuwXR1oLoYLlzUcZ6FxCTi3f1ykb1PnXgcnPbJsoXj0x9UNqJAADpx8o6wVODFLbBEWnRkRjZUpL6M5LP3p3RAQJ1RpXaKJNa9WjOW9WlmbTVc5LVd3xDJ88YgikMlZDdZSrnXP+cYgkH6S8GvFJHr8y5ScNYeZ5PtqYWmRPoXCAWsc.SbRIBVwtJ3oGrwZTEECDwz.4BXgJNZB1qw1GNFX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ZSf2MAd2WVv6NsxyO9USf2MAd2D3c++J7tuOAd2i.HUm.7t5eTg2Ucr36xP8Hyn1XmQsr8zpFHxpZCoLRg9j0kg8SI2EajPrVZhPNYFkAiynoM4o9VW8euYSA904pMC14daG4BNFLIOcRaqA9QL8wwpom3Hx0RS9NzPOH3499+kMdgInQ+PhFs9DznSPi9kEZz5SPiNAM5DznedfF8L6F..NeZGo9dG.nUMhtPM4iSk5uTZe3CwZzm5FJeV72BUr96E0T.eqP++kobNahiIUsze6ZRGv5CfNelqaVUcrIV67Nw5m2IN24chyedm3Bm2It34chK8lmH1SvJCTx9lyePuQsZp+pIYaaZKReTz5+ATu7FKB
-
RE: Waveform how to get playback position?
@d-healey said in Waveform how to get playback position?:
@ulrik Yes, if I had an audio file, but I have a waveform control linked to a sampler.
Did you find a solution for this?
-
RE: Waveform how to get playback position?
@Orvillain said in Waveform how to get playback position?:
Surely the sampler itself should be reporting this, not the WaveForm view ???
My brain looks at this problem more along these lines:
- Get sampler.
- Get currently playing file.
- Get sample position for currently playing file.
I'm sorry to dig in this old topic.
As I undertand, you are using a sampler for this right?
Could you please explain, or make a very small snippet, how to get the play position of the file? -
RE: Sliders not responding to "Consumed" MIDI CCs
@CyberGen Your snippet is working here, midi cc is received and knob is moved
-
Synth.addModulator(sample start, "Constant", "SampleStartMod")
It would be nice to have the function
Synth.addModulator(for the "Sample Start" chain, "Constant", "SampleStartMod")
implemented
and maybe the "Group Fade" chain as well
As it is now, it's impossible to add a modulator in a samplers "Sample Start" chain with the Synth.addModulator function
-
RE: enable Midi select
@d-healey said in enable Midi select:
@ulrik said in enable Midi select:
Or maybe there is an another way to create the selection?
Yeah you can create selections using all kinds of parameters with these functions
Yes, I use createSelection("") a lot.
but then I need to collect LoKey and HiKey for each sample in the map and then iterate over them to find which correspond to the pressed key, it would be easier to be able to control "enable MIDI selection" since it's already a built in function.Maybe the "createSelectionWithFilter" is the way to go, but I don't understand how it's working and I can't find any example of it.
Can you give an example? -
enable Midi select
I've searched for a way to control the "Enable MIDI selection" that is present in the sampler module, but I have not found anything about it
Is it possible to enable/disable this function via scripting?
My goal is to, in a ScriptProcessor, automatically create a selection of the played sample in a sampler.
Or maybe there is an another way to create the selection?
Any information is appreciated -
RE: Midi-Out Messages?
@Chazrox it is as @VirtualVirgin suggested, you need to read the out coming note ons and offs from a script one level below the script that generate the chord
-
RE: Midi-Out Messages?
@Chazrox How do you build the chords from one note? Is it the Script Processor1?
How do you display the notes, are you using a panel?Your Tree only shows a generator and midi setter and midi filter
-
RE: Protocol || Compiling MidiFX plugin....
@Chazrox Do you have a small example snippet?
-
RE: Protocol || Compiling MidiFX plugin....
@HISEnberg Ok, however I don't have a license for vst 2
-
RE: Protocol || Compiling MidiFX plugin....
@Chazrox said in Protocol || Compiling MidiFX plugin....:
@ulrik oh...so would I export it as I have it now? Just as an instrument instead?
I don't know how you have set it up, could you show an example, snippet?
-
RE: Protocol || Compiling MidiFX plugin....
@Chazrox if you only want to control midi you could build it as an instrument and set it to one track and the controlled instrument on another track, then route the midi from track 1 to track 2 in Live