HISE Logo Forum
    • Categories
    • Register
    • Login

    Assets and incremental saving.

    Scheduled Pinned Locked Moved General Questions
    11 Posts 4 Posters 346 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk @lalalandsynth
      last edited by

      @lalalandsynth There's no incremental saving, but if you use Github (and it's fairly recommended), you don't need increment

      If you make a widget you want to reuse, create it entirely by script (don't insert it manually and don't use the property editor) and save this scritpt in an external file (something like right click move to external file I reckon)
      In your projetct/script folder you'll get a .fs file you can reuse anywhere

      Can't help pressing F5 in the forum...

      lalalandsynthL 1 Reply Last reply Reply Quote 1
      • lalalandsynthL
        lalalandsynth
        last edited by lalalandsynth

        Thanks , guess I will have to learn to use Github :)
        Seems strange that there is no incremental saving though ?
        Maybe everyone here is so accustomed to using Git ?

        Btw , would Github then do automatic saving , or do I manually commit every now and then ?

        Can snippets not serve this purpose , or would I need to save the snippet as a script for future use or reference ?

        https://lalalandaudio.com/

        https://lalalandsynth.com/

        https://www.facebook.com/lalalandsynth

        https://www.facebook.com/lalalandsynth

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @lalalandsynth
          last edited by ustk

          @lalalandsynth Honestly, I don't think anyone uses snippets for saving purpose. We use them only for sharing on the forum afaik

          Github is definitely the way to go. The advantage (among other) is that it allows you to easily keep track of the modifications and comment the different commits.

          I don't use the terminal though. I know it's the most powerful way, but for my purpose I like to use Github Desktop. It just makes the burden less a burden to me ☺

          Can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by

            You don't need to use github, just git. It's not automatic, you have to make commits manually. I have a tutorial on my YouTube channel.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            ustkU 1 Reply Last reply Reply Quote 1
            • ustkU
              ustk @d.healey
              last edited by

              @d-healey said in Assets and incremental saving.:

              You don't need to use github, just git. It's not automatic, you have to make commits manually. I have a tutorial on my YouTube channel.

              It's not necessary but it would be a pity not to benefit from the online storage security with one click

              Can't help pressing F5 in the forum...

              1 Reply Last reply Reply Quote 0
              • lalalandsynthL
                lalalandsynth @ustk
                last edited by

                @ustk said in Assets and incremental saving.:

                f you make a widget you want to reuse, create it entirely by script (don't insert it manually and don't use the property editor) and save this scritpt in an external file (something like right click move to external file I reckon)

                So if i make a meter with Png strips , i cannot save that as an asset somehow ?

                https://lalalandaudio.com/

                https://lalalandsynth.com/

                https://www.facebook.com/lalalandsynth

                https://www.facebook.com/lalalandsynth

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @lalalandsynth
                  last edited by

                  @lalalandsynth - click on the widget in the components list that you want to save, press control-J - this will display the re-usable JSON definition of your widget - you will have to save your png seperately...

                  HISE Development for hire.
                  www.channelrobot.com

                  lalalandsynthL 1 Reply Last reply Reply Quote 0
                  • lalalandsynthL
                    lalalandsynth @Lindon
                    last edited by

                    @Lindon Awesome ! Thanks

                    https://lalalandaudio.com/

                    https://lalalandsynth.com/

                    https://www.facebook.com/lalalandsynth

                    https://www.facebook.com/lalalandsynth

                    1 Reply Last reply Reply Quote 0
                    • lalalandsynthL
                      lalalandsynth
                      last edited by

                      One more question :)

                      When just playing around , making assets , testing things out etc , do you always start that as a project or what is the procedure here ?

                      https://lalalandaudio.com/

                      https://lalalandsynth.com/

                      https://www.facebook.com/lalalandsynth

                      https://www.facebook.com/lalalandsynth

                      ustkU 1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @lalalandsynth
                        last edited by ustk

                        @lalalandsynth Since the JSON can be scripted, it is not necessary to copy it from the component.
                        I mean, it's useful once or twice, but if you plan to keep it for every project, having everything in one unique script is easier since this script can create the component and prepare all the JSON properties. But as @Lindon said, you still have to keep the png file separately.

                        My workflow is that I have a sandbox project where I create a quick preset every time I need to work on something specific, don't want to mess with my actual project, or create a complex widget... When I'm happy with the result I just copy-paste the script in my main project (or move to an external file and include it in main project)

                        Can't help pressing F5 in the forum...

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        23

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.9k

                        Posts