Hello everyone, I would like you to help me with a little problem that I can't solve.
I'm using Kontakt version 7.4 and I'm trying to create the script to be able to handle the step modulator controls from the user interface of my instrument. I've already been able to solve the control to handle each of the steps using a table, and I've also managed to configure the knob to control the frequency, but when I try to create the control to manipulate the number of steps, the Kontakt script editor gives me the error:
ERROR (Line 2314): Variable "$ENGINE_PAR_STEPSEQ_STEPS" was not declared!
According to what I understand in the KSP manual, this command is the one I need to control the number of steps of the Step Modulator, but I don't understand why it sends me this error, it's as if Kontakt doesn't recognize this motor parameter.
The command lines that I'm trying to use to control this knob are the following:
on ui_control ($sm_num_sli)
%counter[0] := 0
set_table_steps_shown (%step_modul_table, $sm_num_sli)
while(%counter[0] < $NUM_GROUPS)
set_engine_par($ENGINE_PAR_STEPSEQ_STEPS, $sm_num_sli, %counter[0], 2, -1)
inc(%counter[0])
end while
end on
Just as a note, I use a while loop so I can control all the step modulators of each of my instrument's groups using a single knob.
I don't know if anyone has already gone through something similar that could shed some light on the error I'm making.
Thank you very much in advance for your help.
How can I create a script in Kontakt to have a knob control the number of steps in the step modulator?
Sampler and Sampling discussion (techniques, tips and tricks, etc.)
Moderator: KVR Moderators (Main)
How can I create a script in Kontakt to have a knob control the number of steps in the step modulator?
2024-09-27T05:11:07+00:00
Hello everyone, I would like you to help me with a little problem that I can't solve.
I'm using Kontakt version 7.4 and I'm trying to create the script to be able to handle the step modulator controls from the user interface of my instrument. I've already been able to solve the control to handle each of the steps using a table, and I've also managed to configure the knob to control the frequency, but when I try to create the control to manipulate the number of steps, the Kontakt script editor gives me the error:
ERROR (Line 2314): Variable "$ENGINE_PAR_STEPSEQ_STEPS" was not declared!
According to what I understand in the KSP manual, this command is the one I need to control the number of steps of the Step Modulator, but I don't understand why it sends me this error, it's as if Kontakt doesn't recognize this motor parameter.
The command lines that I'm trying to use to control this knob are the following:
on ui_control ($sm_num_sli)
%counter[0] := 0
set_table_steps_shown (%step_modul_table, $sm_num_sli)
while(%counter[0] < $NUM_GROUPS)
set_engine_par($ENGINE_PAR_STEPSEQ_STEPS, $sm_num_sli, %counter[0], 2, -1)
inc(%counter[0])
end while
end on
Just as a note, I use a while loop so I can control all the step modulators of each of my instrument's groups using a single knob.
I don't know if anyone has already gone through something similar that could shed some light on the error I'm making.
Thank you very much in advance for your help.
dragon_lumarg
https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=721092
-
- KVRer
- 2 posts since 27 Sep, 2024
Post by dragon_lumarg »
-
- KVRer
- Topic Starter
- 2 posts since 27 Sep, 2024
Post by dragon_lumarg »
The answer to this thread I opened was answered very quickly and accurately in another forum by the master EvilDragon, and I would like to share it with you in this forum:
There is an error in the KSP reference manual, the correct command is $ENGINE_PAR_STEPSEQ_NUM_STEPS
There is an error in the KSP reference manual, the correct command is $ENGINE_PAR_STEPSEQ_NUM_STEPS
Post Reply
2 posts
• Page 1 of 1
Return to “Samplers, Sampling & Sample Libraries”
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
