LFO Sync Speeds - make slower
-
@DanH It's a nice solution, but it'll break compatibility. enum is index base, and tempo knobs are index-based too (0 to 18). So even if you set tempo-like knob ranges to 23 (18+5), old projects will be shifted down by 5...
The only way not to break compatibility would be to put them at the end of the enum (but it's dirty), or somehow make a dedicated function...Although negative value as you said might be a solution, but I don't know C++ enough to tell if it works with enum. But it's a nice idea ;) Try it and tell :)
-
@ustk Right - so what is an enum exactly? Can they be negative too?
-
@DanH A search online will give you much more info on enum than I can...
Apparently, enum can be negative as it is just an integer. So try -5, so "Whole will still begins at 0... -
@ustk It shouldn't break compatibility, that's what enums are for... so each enum is a named constant with a value assigned, all you should have to do is reassign the values. Unless people have used "magic numbers" in their scripts instead of the enums.
-
@ustk oh yeah lol, good idea trying now
-
ThirtyTwouple = -5,
didn't work, anything other than '0' and HISE will build but crash upon opening
I tried keeping 'Whole = 0,' earlier and that sets whole as the first position on the knob (so nothing below). Obviously the '0' designates the start position of the knob but it doesn't look at anything below it
-
@DanH @Christoph-Hart would you consider implementing the slower LFO speeds into HISE? I reckon its a reasonable request, electronic producers have a need for these :)
-
@DanH You can already do this with scriptnode I think
-
@d-healey I haven't tried but it's more about getting the continuity with the TempoSync knob and existing projects. I've got a load of Global Modulators!
-
@DanH said in LFO Sync Speeds - make slower:
MiscToolClasses.cpp
Dan
on what commit you did these changes?
latest Layout doesn't export Instruments :/
do you have a stable version? -
-
@d-healey Going to build now
Just made the Changes on A version of New layout to check if Things going Good Here with temmpo Knob. -
@DanH Excellent Job, Big up man on the new Half-speeds Tempos :)
Clever moveand I Added the 128 To The End of The lines on both Cpp and .h Codes,
it showed up :folded_hands:
But the timing is not CorrectGoing to try This One and see if SpeedsUp 🤩
tempoNames.add("1/128"); tempoFactors[HundredTwentyEighth] = 0.03125f;
-
@Natan good luck!
-
@DanH This is Strange 1/128 Has no Effect, i Moved the line down, Below The 1/1 on both source codes, and arp still not picking it Up, it sounds like 1/64
Any idea?
-
@Natan snippet?
-
@DanH Dan, It's just a Sine wave genrator + An Arpeggiator In Midi.
The 1/128 Tempo Value Is There, But Hise won't Pick up the Speed.
I guess we Have Some Limitations on Speed Up, Or @Christoph-Hart Can give a Hint Here
-
On master It Located Here:
hi_core/hi_core/UtilityClasses.h -
Okay, I Hacked the Arpeggiator, and Made the speed X2 Time Faster,
Now 1/32 is 1/64
But guess What?!!!1/32 is The Highest Speed, and Hise wont Go To Uppers speeds, So 1/64 and 1/128 Has no effect
@Christoph-Hart Could you please Help here
I really need My ARPEGGIATOR to go up to 1/128 -
@Natan Well. If you want to go into more granular territory for effect, I suppose you could do your own midi processor with a synth timer that can go incredibly fast... No need to force the arpeggiator into territory where its usefulness is probably ending and the experimental is starting!