How to work with zone commands

lidoravitan
lidoravitan Member Posts: 12 Newcomer
edited March 2022 in Scripting Workshop

on the KSP reference pdf, I found section 15. Zone Commands

It sounds like there is something that called "user zones". I don't know how to use set_zone_par()

I'll explain what i'm trying to achieve, I want to take voices/samples and change their velocity properties on the fly.

any idea?

Best Answers

  • EvilDragon
    EvilDragon Moderator Posts: 1,022 mod
    Answer ✓

    That is exactly how you do them. First set number of user zones you want to use, then for each zone you set_sample() then set all necessary zone parameters with set_zone_par().

  • EvilDragon
    EvilDragon Moderator Posts: 1,022 mod
    Answer ✓

    Yes it can be a relative path, you use get_folder() command in tandem then.

    You cannot change grid options from KSP at this point in time.

Answers

  • EvilDragon
    EvilDragon Moderator Posts: 1,022 mod
    Answer ✓

    That is exactly how you do them. First set number of user zones you want to use, then for each zone you set_sample() then set all necessary zone parameters with set_zone_par().

  • lidoravitan
    lidoravitan Member Posts: 12 Newcomer
    edited March 2022

    Thanks.

    Ok and how does <sample-path> work? can it be a relative path?

    and how can i enable/update the grid option, with the right bpm value?

  • EvilDragon
    EvilDragon Moderator Posts: 1,022 mod
    Answer ✓

    Yes it can be a relative path, you use get_folder() command in tandem then.

    You cannot change grid options from KSP at this point in time.

  • lidoravitan
    lidoravitan Member Posts: 12 Newcomer

    @EvilDragon Thanks! Without the grid feature, nothing matters. 😫

Back To Top