HISE Logo Forum
    • Categories
    • Register
    • Login

    How Big Are Your Projects?

    Scheduled Pinned Locked Moved Scripting
    17 Posts 6 Posters 1.4k 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.
    • C
      clevername27
      last edited by clevername27

      How many files and lines are code are everyone's scripts? I'm at 7,215 lines across 35 files. Is that a little? A lot? Share yours! EDIT: The reason for the enquiry is that I'm curious how people are using HISE, as this information is useful to all of us - it's not a contest.

      ? FrankbeatF 3 Replies Last reply Reply Quote 0
      • ?
        A Former User @clevername27
        last edited by

        @clevername27 Around 8500 not including path data and padding with LAF stuff, but I'm in the process of cleaning it up so realistically it's probably around 5000

        C 3 Replies Last reply Reply Quote 0
        • FrankbeatF
          Frankbeat @clevername27
          last edited by Frankbeat

          @clevername27 Wow! How am I ever gonna catch you up? My largest project (sample based monosynth) runs on hardly 200 lines. 😃

          Using HISE from the develop branch (Feb '23)

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

            @Frankbeat Don't catch up. Fewer lines is usually an indication of a more efficient script.

            Comparing line numbers for totally different types of projects is fairly meaningless.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            FrankbeatF 1 Reply Last reply Reply Quote 3
            • FrankbeatF
              Frankbeat @d.healey
              last edited by

              @d-healey Does it make a difference for a parser wether I try to avoid line breaks or not?

              I tend to keep my lines very long. If I break lines between all of my JSON attribute pairs, the line count will increase significantly.

              Using HISE from the develop branch (Feb '23)

              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @Frankbeat
                last edited by

                @Frankbeat a newline character is one byte, so it‘s not too important…

                1 Reply Last reply Reply Quote 2
                • C
                  clevername27 @A Former User
                  last edited by

                  @iamlamprey I think LAF counts - what would it be with the LAF?

                  ? 1 Reply Last reply Reply Quote 0
                  • C
                    clevername27 @A Former User
                    last edited by clevername27

                    @iamlamprey It's not a contest, lol. I'm simply curious how people are using scripting in HISE. If it was a contest, I would think the metric would be the quality of people's samples, not the number of lines of code. I have no idea if my own usage is a lot or a little, and thus the question. 🎉

                    1 Reply Last reply Reply Quote 0
                    • C
                      clevername27 @A Former User
                      last edited by

                      @iamlamprey Thank you for sharing your info - what sorts of operations are you spending most of your code on (just in general)? Most of mine are in doing things with the UI.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @clevername27
                        last edited by

                        @clevername27 said in How Big Are Your Projects?:

                        @iamlamprey I think LAF counts - what would it be with the LAF?

                        Quite a bit higher, but a lot of my code is old and I've gotten a lot better at optimizing it / reducing it so I can't give an accurate guess.

                        Thank you for sharing your info - what sorts of operations are you spending most of your code on (just in general)? Most of mine are in doing things with the UI.

                        A large part of mine is the custom expansion-loading & updating, as well as tying that into the GUI.

                        1 Reply Last reply Reply Quote 0
                        • FrankbeatF
                          Frankbeat @clevername27
                          last edited by

                          @clevername27 I'm sorry if my post sounds like I would assume it to be a contest. This was not my intention.

                          Using HISE from the develop branch (Feb '23)

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            clevername27 @Frankbeat
                            last edited by

                            @Frankbeat Brah it's all good! We're just having fun here. I hope you've had a nice weekend.

                            FrankbeatF 1 Reply Last reply Reply Quote 1
                            • FrankbeatF
                              Frankbeat @clevername27
                              last edited by

                              @clevername27 Allright, man!
                              I had a lot of work cutting waveform cycles for my little monosynth. But since some maps are already completed, it turned being fun then 😊
                              alt text
                              But the title is a working draft

                              Using HISE from the develop branch (Feb '23)

                              1 Reply Last reply Reply Quote 3
                              • Adam_GA
                                Adam_G
                                last edited by

                                around 1800 for my current projects oninit. i end up with tons of extra unused images in my images folder though as im changing things frequently so it makes the folders size quite large.

                                d.healeyD C 2 Replies Last reply Reply Quote 1
                                • d.healeyD
                                  d.healey @Adam_G
                                  last edited by

                                  @Adam_G You might find it helpful to use includes and keep your on init callback mostly empty. It will help you manage larger projects.

                                  Free HISE Bootcamp Full Course for beginners.
                                  YouTube Channel - Public HISE tutorials
                                  My Patreon - HISE tutorials

                                  Adam_GA 1 Reply Last reply Reply Quote 1
                                  • Adam_GA
                                    Adam_G @d.healey
                                    last edited by

                                    @d-healey thank you wise sage 😁

                                    1 Reply Last reply Reply Quote 1
                                    • C
                                      clevername27 @Adam_G
                                      last edited by

                                      @Adam_G Word to @d-healey on that - truth to power on keeping your init clean. Ha, I know what you mean - spend ages making graphics, and two weeks later, you change 'em.

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

                                      15

                                      Online

                                      2.0k

                                      Users

                                      12.6k

                                      Topics

                                      109.7k

                                      Posts