HISE Logo Forum
    • Categories
    • Register
    • Login

    It is possible ?

    Scheduled Pinned Locked Moved General Questions
    59 Posts 4 Posters 1.9k 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.
    • Y
      yall @Lindon
      last edited by

      @Lindon where can i find it please?

      LindonL d.healeyD 2 Replies Last reply Reply Quote 0
      • LindonL
        Lindon @yall
        last edited by

        @yall in the documentation - File and FileSystem

        HISE Development for hire.
        www.channelrobot.com

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

          @yall
          https://youtu.be/ddodaOOFXik

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

          Y 1 Reply Last reply Reply Quote 1
          • Y
            yall @d.healey
            last edited by

            @d-healey I admit that I can't do it. I had already done something similar but I lost the project. the goal is to load the first sample manually and that the + - buttons navigate and load from this same folder. almost 1 years without touching hise. it's hard to come back ^^

            LindonL Christoph HartC 2 Replies Last reply Reply Quote 0
            • LindonL
              Lindon @yall
              last edited by

              @yall -= perhaps hire someone then...

              HISE Development for hire.
              www.channelrobot.com

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

                1. Grab a list of files with FileSystem.findFiles()
                2. use an index variable that you either increment or decrement in your button callback
                3. Make sure you wrap around the array boundaries correctly (or clamp the index if you don't want to cycle)
                4. Load the file by looking up the array with the index.
                1 Reply Last reply Reply Quote 1
                • Y
                  yall @Lindon
                  last edited by

                  @Lindon no i am here to learn :) I know how to do a lot of things I learned a lot here in 2 years. but if you don't practice for a while it's much more difficult :) A little help?:)

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

                    @yall - see @Christoph-Hart 's post above.

                    HISE Development for hire.
                    www.channelrobot.com

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      yall @Lindon
                      last edited by

                      @Lindon @Christoph-Hart

                      HiseSnippet 1231.3oc4V0saiSDEdbRb0FCKZWXufKsBbgq1RTxtkEjpPzlzTHh1tQMkpEgPqlZOIYTsmIxdbYiV0mCj3oBIdQ3M.Nmw1w1E21n.cu.xEsdl4bNy24uu4LJT5xhhjgDilmtXNiX79liWHTy5OixEjg6SLdn4wCd0o1iNbueXvIjdKlSihXdDCi5eCJhQyFD8u+3q6Q8oBWV9VDxYRtK6Pd.Wku6nc+Ntu+ATO1o7fBRu8tCckh9ReYL.m5lcHyotWPmxNlhhUyjXrw.OtRFNVQUrHhQidRuEimI+YQh7mwi3m6yvEcIiACkr8AReODw32j9y39dixb6HBwvbTdPndRP3IlGw83K2OOX7H8A14ZTLdXTqL7pWBdcuI3UAjLJ.oFIP5wlicC4yU4mf348LGJTrvITHrWDJIxRpAWPeIHgP0NfdA6fPXwRMbdQmNaYC+YycrfHejx9RZXZh19qr00AsmxTZ7oW4zJ4zVkzneOP5rqAkWFLWJfENs52KWTQbvPEKHBDda6crsFHlxEr19Rp2dwdb4AbeVD.N4Hoz2ATiK7AArmDKbUbovVJvJQ7hBAAbytks.P3Gy1z5sVM4SbRWzLjohCE6X0zW5R8sCoBO3lOhB9D9MbQNc2JGTO0tKbkM62qcDScFZCGTrz8bmQESYdHptZGKqpcVDcs1D0OEi8o99mC0vNkPNXCqJ7s98tUOaY1PGqFSCl6yVVKjmWvaGCjNsdK9uwKh.uq8DtvSGdc17pVOkCYieTaYzqs+IDP2rWgovp8okHFLPwjjTwdovQiZqqrru9QSlT4Yo1xmEV4wHWQ3sonCjJOmEVLlgBBMPk6J2X05JcSBFEDTJFJ3pWNmktNmVoaE8vjznIzMWKEgfnJcu7iR6kgn74xdx2P3fYZX1uGQicfRxvfjZhh58Ao50KVojBsVanYmyzKm3k78C2mpnHWRJP.vMmEp3XLvXe1k.wbByRSy8YQWnjy0HMMuCV9tv5aPb9KvUs.+3agOBn58PPvwlJz1csdl0ys1Fclkltwc4NZy76Yl9W0uZ72XDAtXoWrOUUlfFeUJ8.n9nDqHx7Ih3pEEe055r1Mt45iNU9nRkY+UDtO1bDW4NqZ7VqB7hkS2y3M8MvGZNXxDlqJGrMLO3U25Cd+qCkOJCJZRuCkXErFJOv7NmG42V04Qluxyi.bvtPphUr7Qm+NMDXD4hoEuJDsCDTv+8Jt8IRoBoAKNOTBaNDECUf4KIM6RVXTYKfD4IiD8Il2DIerviAqAECvXholNIs8D+zG.m99Jtw.gW1Ri5qblsHoY4duBxWwLNMtuF65cZC7+b9l5qFbuioDalgwwbrVZf3RlOzsnw3GBD7Snw9prc6VBkGIEx4yjBta4JOUHe5TVXQrWoCsmRAU+467jcOg4ynQEJw+zcODJFogWu44dch4JyWerYBbswdc6+a7NQ8+e9NwIxXEv4BSzGxQhsiiCFCT0tL.IBAyOBIypgiQkrtSF41XlvSu3OgeoG1ManK7vtYG9N4NBntgxW6lLqGVK+.8NfeKzr7MMOBWa2c4zglcZ2AH183u10EC2eVWBoZcd1ZnyyWCc1dMz4yWCcdwZnyWrF57k2pN3iQ6EqjAIshvFiFnm11vX4K9F0I+EtEkqEC
                      

                      for the moment I am here, I got help from the forum, the audio loop player seems to react but does not load the next sample in the folder

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

                        @yall - OK lets get your movement thru the array sorted first:

                        HiseSnippet 1341.3oc0W0saiSDE1tItrwvh1E1K3Rq.Wjpsa23tkEjJKjlzTTDsciRJUKBgVlZOIYn1yDYOoznU8IgWJdD3Qf2.3bF63eZcSyFZqD4hVOyb94674ybNG2MP3PCCEAZ5UNZ5Xpl9GYzeJWNp0HBiq0YWM8GZbX62bjU2824mZ2Sq4zwjvPpqltdouGEQuRYM0u+96ZR7HbGZ5VZZGKXNz8Y9LY5tca7CLOu8HtziX9YjdqFcbD7VBOwD.NkLpqMl3bJYH8PBJ1JFZ5q11kIEA8kDIMTSubSg6z9iD+NOR9iYgrS7n3Bas9fgh1dOgmKhXbWsViXdtc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t3a63id.3T9K6Fs4tyVpWZdiZaujiZW9tZT6xKVx17g2+CJej6KCpLCi8YX5Sa9YTO3BhBieBzpX.Yhmb1t14P4ABtX7HAm4jOYSFvFNjFjE6EFP6HkPBe5NOoQOpGkDlIq9KZrOj+QBt78k2Ctv989qjJ780mYDAWK75s0+k2a2qoYysEPoEpEvsNdW91A2NPomXhDJyBeVR.Cqkc3D+9P0YGJfDNG9pBr90J3DYQqqOqdVeJ2Us3efewGZiq0iOzd1g2K9vm3DHdqSzXiXt7CT6.wMWUXuhwA3Zqj4EMLpuQcnVtK6sNNHc+LaMsh0YykPmWrD5r0RnyWtD57xkPmuZIz4qmqNXynclHE9QWEgM51VM2ttdRSd8RZ+aOKdCx
                        

                        HISE Development for hire.
                        www.channelrobot.com

                        Y 1 Reply Last reply Reply Quote 0
                        • Y
                          yall @Lindon
                          last edited by

                          @Lindon thank you already for that.
                          so I managed to load samples from the CB but, for the moment, it is impossible to load from a directory other than app data.
                          there must be something wrong with this line " Synth.getAudioSampleProcessor("PLAYER").setFile("{FileSystem.findFiles()}"+inst[value ]);"

                          LindonL d.healeyD 2 Replies Last reply Reply Quote 0
                          • LindonL
                            Lindon @yall
                            last edited by

                            @yall now lets get you moving thru an array of names:

                            HiseSnippet 1380.3oc0W80TabCDWmsOB1szookG5i231GLCfiuTZZmg9GyeLc7TLwClxjLYxjJtS1VEcRdtSFvMCeR52j9oneT5y8k1U5tyVGwXHtAxTdf41c0t6O8SR6ttcnviDEIBQVEOZz.Bx5Cs6LhK6uSeLkiZtKxZI6CZ7ribZu+VOuwgnsGM.GEQ7QVV4+Q0RrJV.o+6u9gswLL2iLQEBcrf5Q1mFPkSz1t9OQYr8v9jinAFqdi5M8D7cDLwP.N4sqgFf8NE2ib.Vsrb1HqEZ3SkhvNRrjDgrJrsveTm9hy4wq+XZD8DFQI3h5.AJV8dBluBwJsnc5SY9sS21QHjkc6IjP9XRXY6VTe5X8SHiOVavYhGl7gUtrvKeF34ZBuZFvaJPxx.RE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ty4X3EtqFCuvs6x1rg2+CJej4WMTLEicnpqOM3mQXvCDMF+Dn8QW7PlLUqaFT1RvEC5K3TurW1jgzd8HglXepansjR3B+DMKW+PBifiLtU+E02Gt+gCu56k2Btv8s9WPM0yqOyNFtNpm2N+WN2tWulMyV.4uUs.dmi24ucv6FnbnXnDJyBi6GRU0xNXXPGn5rGAPBmCymqpekSMkVrbsz5YcHbesv+.+kXzUIakXzM038RNBvdghW4EOJo5t7hZMv9lqKrWztkR1Y7Lj110pVCpk6SekmmhtW2EgltOOdN74KmCe1XN74qlCedxb3yWOG97MyzGUynsFJEAwOEAEsanmk2xZbSdq7n+kPYjDh
                            

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @yall Yes there is a lot wrong with that line :)

                              Where did you get this from? "{FileSystem.findFiles()}"

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

                              LindonL Y 2 Replies Last reply Reply Quote 0
                              • LindonL
                                Lindon @d.healey
                                last edited by

                                @d-healey said in It is possible ?:

                                @yall Yes there is a lot wrong with that line :)

                                Where did you get this from? "{FileSystem.findFiles()}"

                                yeah thats just wrong - but lets get to that in a minute

                                HISE Development for hire.
                                www.channelrobot.com

                                1 Reply Last reply Reply Quote 2
                                • Y
                                  yall @d.healey
                                  last edited by

                                  @d-healey above in christoph's comment
                                  FileSystem.findFiles(var directory, String wildcard, bool recursive)

                                  d.healeyD LindonL 2 Replies Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @yall
                                    last edited by

                                    @yall I'll leave you in Lindon's capable hands :)

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

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

                                      @yall -- walking before running - go read the code I posted last...

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @d.healey
                                        last edited by

                                        @d-healey "capable"??? that made me laugh out loud...

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        Y 1 Reply Last reply Reply Quote 1
                                        • Y
                                          yall @Lindon
                                          last edited by

                                          @Lindon if I understood correctly your system is to load samples before if you put their name in a label.
                                          I want the next sample to come from the same folder as the first loaded sample, I don't provide any sample since this will be the user's folder and sample; the translations are not terrible if we don't understand each other ^^

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

                                            @yall - one thing at a time - first you need an array of wavefile names - all from the same folder...

                                            so first you need the folder returned to you as a directory... go look at the File.getChild and FileSytem.fromAbsolutePath documentation and see if you can work it out - I have to go out now so may not be back tonight...

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            49

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts