Forum

    • Register
    • Login
    • Search
    • Categories

    Displaying a waveform from a sampler

    General Questions
    5
    33
    301
    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.
    • Lindon
      Lindon last edited by

      OK so I cant seem to get this to work, what values do I need to put in
      processor id and index?

      I can set the processor ID to "Sampler1" but changing the index to anything at all crashes HISE .

      HiseSnippet 1210.3oc4W0saaaCElJNrK1KoasnWraFfPvtHEHsPx+je1FPcrSRgwZRLry51cELRz1DQhTfhxMdE8cYOB6QnOJ8QnuAaGJIaS64l4Yr1Ur4q74b3g767+QskBOZbrPhrJd4nHJxZSb2Qb0flCHLNp0wHqMvJZrxwE0XTDINl5irrJ7TsTqhqiR+8tmzfDP3dzorPnmKXdzmwBYpobaW+GXAAmR7oWxBMNc05s7D7lh.QBfjBXGTDw6ZRe54D8wVCirtyI9LkP1UQ.3frVugveT2AhWxyN+yYwrqBnZBWTW3hxXepHvWiXMWTyAr.+1is3XDxB2dp8WHy9e.9LlOaB+o9guLUf8TML8GVqcavy0DdNKO7rLf25Yv6d3tdRVjZpDM19bbKthJ6QfPfIrxNKx5M3lB3.b0iCIWSOUBDSTXmCbb10dOGmG9c8R3dJlfaK3mKTzK367vRupTwRutj87h50agxzOiTDDPkKTrNpKuME2gmDdEUtq8PRPBcxAAyeV+K986eMC+dYVswAE7Vbl5hHJ+840Q4tJs+OGUvQUod+6l68ajnTBNhAN4h3LBWTJjMq.P+XqiIJx3KBtS3chnRESaBVGSGBUHYg0h3iowWqDQPxdSQXjfqQf05Kwydyzm7v5ilP71g0QF2zlp7r6ra5z.AQw38ujANM888EXSVybqULtUz2W+kLe0fIL90Q0GPY8GLsH+sx54ValoUB+SjgzdBYH5p9iKw2DWs7gNUNnV0JNHlhFNifpGt29kOrlgfxZIkcqte0CprW08QJ5Mp4TolqqaMTpC2pB9UaUx1d6Iw0V9a+s1a2kDFAoltauapzVbe5M.+G4tUoWCMm9SEaPIuvOIfnlsOft4Wt.H4clBNcUEOloFY1b7CRygkEt2C2lo7FrX7t1BvKjt9gFu4sZ2BeRudTO0TvtN9ze9CeeUSn70YP493tJIkDB4+4IIo3oDdbJy+DS+hV5oeskTnZzuK6WLN1ap2HA7WxY49a0SepiBEI7Ydqbj2gFQIJH7anyF06z4oRQRz7Z8tmjlrboDl9BtBSAWvofeWYZiMkh33df4jdWwlhZmH6q8US4zgNjJimk24IgPrmyoA5V5VV5VlwTcrl4cFQIY2Xd5zWw4RRZ7FVIHk1cN5xyQWYN5pyQWaN58lid+ozYNzyHQYaEcMy6ZXqn4mL8YK2jI3ZZS.C23jMX8m7DYbLSim3rSAjwlOKXug67I8ZMe7ZzVX4f6ewlWEGiwtLcz4D9Pn3D3nw38g418HIApwbmsQwYBtHZffy7lsT.Rs62mJMw9BMniTJnRbJmGTuCMfRhMpk+l5OiwoD4rU3+s7EtKuu31hWeENCt15ta1+2X.Yg+2Of71bc2Me7nM75R0m3w4MwoMzs0ye+2BpcDI5UrGOaCCC.6BC88nliAWSOZMi1QSqATWJ2Ok32ge4BcGOyTKzcrPj23qBrs7+msTbAJWO5Hcuu.XZbfYJcLrZgFRvbtOJnLj3IEuvK66qzXciTN.J4oexeQ7YZZ6IeVEF67XGTHLq5Edd5BgGAd3EqS4UPmJqfNUWAcpsB5r2Jny9qfNGbq5nWS3nDkHLqIIvn8IYIVVmLIwp.5O.107wRC

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon this will crash what ever I try to do with it 😞

        Hise Develop branch
        MacOs 12.4, Xcode 13.0
        http://musikboden.se

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

          @ulrik yep me too...

          Is waveform display broken? How is everyone else doing it?

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon I've never used that function so I don't know, maybe there's something in the documentation about it?

            Hise Develop branch
            MacOs 12.4, Xcode 13.0
            http://musikboden.se

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

              You need to add an analyser, and select audio analyser from the drop down. No idea what the waveform option connects to (I would guess the waveform generator).

              608cb963-727d-4458-a256-10465614c9ef-image.png

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

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

                Oh, it's in the docs - https://docs.hise.audio/ui-components/floating-tiles/plugin/waveform.html

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

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

                  @d-healey OK cool, but.....I do all this and nothing shows up in my UI...

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon oh hang on I worked out what teh index is for... so is there any way can get a static view of my wave file?

                    HISE Development for hire.
                    www.channelrobot.com

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

                      Try this

                      HiseSnippet 1063.3oc2WszaaaDDdokViJk37BAE8HgQO3.3FHFmjFzdHxVxJPsw1BlJo4VvZxQRKL4trKWZa0f.zi9mku2K8mRNz6tyRJIRkR3pn15BDcRyKxucluYlk8TROHNVpHV05ONBHV2j5NVnG0ZDiKHcaSrtEcOVrFT1Yp1YbDKNF7IVVUdgQgUspjzee346vBXBOHWEg7ZI2CdIOjqy01q4OxCB5v7g97vBd+3lc8jhVx.YBhmJzFjHl2wrgv9LiaqPIVqtqOWKUtZlFhIVU2Q5O1cj7TQl+ulGyOJ.LBNDW7AkotiLv2fXy+IsFwC76M8bGSHVzd4YgJYYg6S2i6ymoOOabmTC14QTLeXsxUAOmkDdVEfW0L3cWpqmhGoysXv1MncEXgZ.CKAEgUluDqKnsjnCB8CCYGCcTnvr.13oMZro8SZz3Ae+fDgmlKE1Rw9RMbfXiGT+c0qU+80s+XSCFTpMyqQICB.UolMUc0UE3Fhjvi.0l1mvBRfYNhG+4yuqtX4WurScAGkhtBt9fHXhbdEvojJ.YRZC+2q51loYlhxDcneQfRyMvwpMbBx1yJQ0nsg3i0xnTeCijBySv5l5I7qrhRm.ISyEC6yQXyQDbaZQUNjyl0d7qsZNNWXmlmx80iPxq0OXQHi.9vQZizeji2Lfba51I9b41BVv3XPQNZ3zNrZqt0Vaco4ww0PXt1yO+7OR6iLpa2tcpZMblN24e6hKS0llWr1h9t0paau9rzWW+0+N60m9xcVeyTycE9vYnAm0p+dbdvegeicYR+j.ld9VOy7lIFP9xbbbCQVDy0iKNO5SnerQo8ikxFVP3dWZOt1aT43ckRvKxp9uFuSltsFc2AC.OcNXqR67lq4QYzLrTmNiYlMCaFWYN7rSBhXkK+WJru3hl8TXGGb5jNtIpuSSqJyC9JKF3KI2cnLwzKtGSq3XqHc+jPWj36AXpSHffXSK2JlVtL4FFYCHbAgepvk3uIFcLxVSL5L0Xw5ysxNI2f5xEP5d3zjxWlJa+SrS.6W.BPYXZNWwp3eeQWEGsvqhOvSiu99JlHNRFO2C1EB48w4awEU9pXbCC7yGZn9E02RxTkZ5COuCdHKMFWlNQk1CscnLQnmqmoxRQTmeTRA+Kg0V8+g6G7u+7n+4iOqrXv8uouu1TL5xCiBfcEm.A3NzTLdObo4.VRfdp14I46IExnQRA2qHC3P.aNGNDTEwdoGns0Z7Bk4ZteyCg.fUjM+0MeIxBYJLOAKYtvYwyEWU85qnYv01zYZ+4wZuJeFs16S.JWGaQtNdGgLOk7sdYWR2vk+hTM34Vj9EZ0vOUDkscHoWbGii13gMHg3Dw254YR2eCleJOlGsDwr0RDyiWhXdxRDySWhX91kHlmckwXVFschVFl0JhJ5sa1M0s1UvPlbJqm7mnLCPHA
                      

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

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

                        @Lindon said in Displaying a waveform from a sampler:

                        @Lindon so is there any way can get a static view of my wave file?

                        No I don't think so

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

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

                          Actually, the docs mention something - https://docs.hise.audio/ui-components/plugin-components/audio-waveform.html

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

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

                            @d-healey - yes thanks for this - I am now this far along thanks to your earlier post what I actually want is the waveform display from Kontakt, where i see the waveform in a window and when I play a note it shows it being played...so essentially what we get when we select a wave/zone in the sampler and play it...

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @Lindon I think that's what the audio waveform does, but it doesn't connect to a sampler so you'll have to tinker with it and see if you can bend it to your will.

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

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

                                @d-healey thanks, yes trying that as we speak - but I cant see any way to load a sample into it (the drag and drop doesnt work neither does right clicking) and I cat see any attributes I can use to set it up...:-(

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @Lindon Did you check the doc I posted?

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

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

                                    @d-healey yeah- thanks - but its not really much use to me as I have over 500 kick drum samples the user can select from - and I want to display the one they have chosen...so pool loading them all will break the heap space pretty quickly...

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      Can't you change which one is loaded into the audio player through scripting at run time?

                                      I haven't played with it before, I have to go out in a minute but I'll try it out when I'm home.

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

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

                                        audioSampleProcessor.loadFile() Looks like a good place to start.

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

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

                                          @d-healey yeah - but this is my exact problem - I would need to ship all the audio files as compressed audio with their associated sample maps(500 sample maps) AND ship all the audio(wav files) again as load-able into an audioSampleProcessor. These would need to be pooled so I think this number would break the heap space limits in the windows compiler.

                                          Meanwhile the sampler already has this data and can display it how I'd like - but I cant get to it (Sampler>Sample Editor)

                                          HISE Development for hire.
                                          www.channelrobot.com

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

                                            @Lindon Ah I see, I was thinking the loop player could load from sample maps. @Christoph-Hart - feature request 🙂

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

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

                                            13
                                            Online

                                            810
                                            Users

                                            5.5k
                                            Topics

                                            51.9k
                                            Posts