round a number with a x.x precision
-
La Tenaille
- Member
- Posts: 547
- Location: Saint Etienne (France)
- Contact:
yes, actually the round module don't have settings to choose, so the workaround is to insert a fader with precision x.xx after your value .?
-
La Tenaille
- Member
- Posts: 547
- Location: Saint Etienne (France)
- Contact:
I already tried this, but I don't know how to get the value out of the rounding fader 
from its outlet..?
where do you want to send this value..?
where do you want to send this value..?
-
La Tenaille
- Member
- Posts: 547
- Location: Saint Etienne (France)
- Contact:
to master sync tempo. The fader is rounded, but its fader outlet isn't...
ok, try fader > float to string ( precisionx.x) then a strings to float > tempo
-
grego mondo
- Member
- Posts: 466
- Location: 22110 Rostrenen
- Contact:
I would do like that :
*10
round
/10
maybe not so nice but efficient ...
*10
round
/10
maybe not so nice but efficient ...
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
-
La Tenaille
- Member
- Posts: 547
- Location: Saint Etienne (France)
- Contact:
both work fine. Thanks for your help 
You could also use the 'trunc' module, if it is only important that the number lose it's decimal place (and not that you need the logic where 0.5 = 1, 1.5 = 2). With trunc 1.1-1.9=1,2.1-2.9=2, etc.
-
La Tenaille
- Member
- Posts: 547
- Location: Saint Etienne (France)
- Contact:
Hi ceasless,
I need a precise tempo. Trunking is not precide enough and I can hear the decay when using slicers or short delays.
I need a precise tempo. Trunking is not precide enough and I can hear the decay when using slicers or short delays.
If you want rounding to one decimal, multiply the number with 10, round that, and then divide by 10.
Bjørn S
-
La Tenaille
- Member
- Posts: 547
- Location: Saint Etienne (France)
- Contact:
grego mondo wrote:I would do like that :
*10
round
/10
.
Oooops! Didn't see that...La Tenaille wrote:grego mondo wrote:I would do like that :
*10
round
/10
.
Bjørn S
-
grego mondo
- Member
- Posts: 466
- Location: 22110 Rostrenen
- Contact:
Anyway, it's always nice to see others have the same logic as you, it reassures !!
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
Who is online
Users browsing this forum: No registered users and 58 guests
