Hello,
Is there a way in the API for RangedValue to find out how many Steps/what Resolution a parameter has?
I need to update the EncoderLEDs of my controller and they have different modes (ie. 128 Steps, 100 Steps, 32 Steps, 2 Steps....). So for a typicall on/off value I would use the mode for 2 Steps.
I do not only have this issue with the encoderLEDs but also with the encoder value handling. For example again this on/off value:
My endless rotary encoders give me +1/-1 Steps (up to +5/-5 Steps) of Value depending on the direction and the speed. Lets take this on/off parameters as example. When I tell the Bitwig API the resolution to read a value is 128 then a "off" becomes a 0 and a "on" becomes a 128.
When I hold an internal integer variable with the encodervalue, which gets incremented by 1 when you turn it normally/slowly, I would need 64 steps in the worst case to switch from "off" to "on". And thats a bit annoying.
When my script knows how many steps a parameter has, then I can "correctly" handle the Encoder LEDS and the Encodervalues with a better experience for the user. But I can't find a way to get this information. Please advice!
The only solution I can think of at the moment is to build my own datastructure for all possible parameters in all vst I use and thats not really worth it.
br, Ralph
RangedValue - Min/Max Values or Steps
Moderator: Bitwig Mods
RangedValue - Min/Max Values or Steps
2015-12-09T16:18:53+00:00
Hello,
Is there a way in the API for RangedValue to find out how many Steps/what Resolution a parameter has?
I need to update the EncoderLEDs of my controller and they have different modes (ie. 128 Steps, 100 Steps, 32 Steps, 2 Steps....). So for a typicall on/off value I would use the mode for 2 Steps.
I do not only have this issue with the encoderLEDs but also with the encoder value handling. For example again this on/off value:
My endless rotary encoders give me +1/-1 Steps (up to +5/-5 Steps) of Value depending on the direction and the speed. Lets take this on/off parameters as example. When I tell the Bitwig API the resolution to read a value is 128 then a "off" becomes a 0 and a "on" becomes a 128.
When I hold an internal integer variable with the encodervalue, which gets incremented by 1 when you turn it normally/slowly, I would need 64 steps in the worst case to switch from "off" to "on". And thats a bit annoying.
When my script knows how many steps a parameter has, then I can "correctly" handle the Encoder LEDS and the Encodervalues with a better experience for the user. But I can't find a way to get this information. Please advice!
The only solution I can think of at the moment is to build my own datastructure for all possible parameters in all vst I use and thats not really worth it.
br, Ralph
NukeArts
https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=370658
- KVRAF
- 4888 posts since 13 May, 2004
- Contact:
Post Reply
2 posts
• Page 1 of 1
Return to “Controller Scripting”
Jump to
- The Main Forums
- ↳ KVR Studio Manager
- ↳ Getting Started (AKA What is the best...?)
- ↳ Instruments
- ↳ Effects
- ↳ Hosts & Applications (Sequencers, DAWs, Audio Editors, etc.)
- ↳ Guitars
- ↳ Mobile Apps and Hardware
- ↳ Soundware
- ↳ Samplers, Sampling & Sample Libraries
- ↳ Hardware (Instruments and Effects)
- ↳ Modular Synthesis
- ↳ Sound Design
- ↳ Production Techniques
- ↳ Music Theory
- ↳ Computer Setup and System Configuration
- ↳ DSP and Plugin Development
- ↳ DIY: Build it and they will come
- ↳ Music Cafe
- ↳ Sell & Buy (+Special Offers, Deals & Promos)
- ↳ KVR Experts
- ↳ KVR Developer Challenge 2026
- ↳ Everything Else (Music related)
- ↳ Off Topic
- ↳ Off Topic Classics
- ↳ Machine Learning and AI for Music Creation
- Official Company Forums
- ↳ 2getheraudio
- ↳ accSone
- ↳ Acon Digital
- ↳ AcousticsampleS
- ↳ AcousModules
- ↳ Agitated State
- ↳ AIR Music Technology
- ↳ AMG
- ↳ Ample Sound
- ↳ Antares Audio Technologies
- ↳ Apisonic Labs
- ↳ APU Software
- ↳ apulSoft
- ↳ AriesCode
- ↳ Arts Acoustic
- ↳ Arturia
- ↳ Audjoo
- ↳ AudioSpillage
- ↳ Audiority
- ↳ Best Service
- ↳ Big Tick
- ↳ Bitwig
- ↳ Controller Scripting
- ↳ Blue Cat Audio
- ↳ Cherry Audio
- ↳ CWITEC
- ↳ Embertone
- ↳ energyXT
- ↳ Eventide
- ↳ Expert Sleepers
- ↳ forward audio
- ↳ Future Audio Workshop
- ↳ FXpansion
- ↳ g200kg
- ↳ Harrison Mixbus
- ↳ HG Fortune
- ↳ Homegrown Sounds
- ↳ HoRNet Plugins
- ↳ Ilya Efimov Production
- ↳ Image Line
- ↳ Impact Soundworks
- ↳ Indiginus
- ↳ Insert Piz Here
- ↳ Ju-X
- ↳ Kirk Hunter Studios
- ↳ Kirnu
- ↳ Kong Audio
- ↳ Krotos
- ↳ Kuassa
- ↳ KV331 Audio
- ↳ LennarDigital
- ↳ Les Productions Zvon
- ↳ Liqube Audio
- ↳ Loomer
- ↳ LVC-Audio
- ↳ Maizesoft
- ↳ Manytone Music
- ↳ Media Overkill (MOK)
- ↳ MeldaProduction
- ↳ Mellowmuse
- ↳ MIDIMood
- ↳ moForte
- ↳ Mozaic Beats
- ↳ mucoder
- ↳ MusicDevelopments
- ↳ Tips & Tricks
- ↳ MusicLab
- ↳ MuTools
- ↳ New Sonic Arts
- ↳ NUSofting
- ↳ Oli Larkin Plugins
- ↳ Orange Tree Samples
- ↳ patchpool
- ↳ Photosounder
- ↳ PlugInGuru
- ↳ Polyverse Music
- ↳ Precisionsound
- ↳ Premier Sound Factory
- ↳ Psychic Modulation
- ↳ Realitone
- ↳ Resonance-Sound
- ↳ Reveal Sound
- ↳ Roger Linn Design
- ↳ rs-met
- ↳ S3A: Spatial Audio
- ↳ SaschArt
- ↳ Smart Electronix
- ↳ sonible
- ↳ SonicBirth
- ↳ Sonic Reality / eSoundz.com
- ↳ Soundiron
- ↳ SPC Plugins
- ↳ Sugar Bytes
- ↳ TAL Software
- ↳ Tokyo Dawn Labs
- ↳ Tracktion
- ↳ Tweakbench
- ↳ u-he
- ↳ u-he Linux support
- ↳ UJAM
- ↳ United Plugins
- ↳ VAZ Synths
- ↳ Virharmonic
- ↳ xoxos
- ↳ XSRDO - SynthCraft
- ↳ ZynAddSubFX
- Site Stuff
- ↳ Site Stuff
- Archived Forums
- ↳ AlgoMusic
- ↳ easytoolz
- ↳ Elevayta
- ↳ Hollow Sun
- ↳ LinPlug
- ↳ Muse Research and Development
- ↳ Shuriken
- ↳ SoHa Sound Design
- ↳ Soniccouture
- ↳ Topten Software
- ↳ Valhalla DSP
- ↳ CK Modules & VST
- ↳ Sennheiser AMBEO
- ↳ Muon Software
- ↳ Westgatesounds.net
- ↳ Squaredheads
- ↳ Sonigen
- ↳ CFA-Sound
- ↳ Back In Time Records
- ↳ Livelab.dk
- ↳ Skytopia
- ↳ audioD3CK
- ↳ Inspire Audio
- ↳ Krakli
- ↳ Drumdrops
- ↳ Futucraft
- ↳ OverTone DSP
- ↳ RaXnTraX
- ↳ solar3d-software
- ↳ Signaldust
- ↳ Soundemote
- ↳ ReleaseLab (Powered by Artist Expansion)
- ↳ Wolfgang Palm
- KVR Forum index
- All times are UTC
- Delete cookies
