HISE Logo Forum
    • Categories
    • Register
    • Login

    Load file From AudioWaveform into Stretch Player node

    Scheduled Pinned Locked Moved General Questions
    10 Posts 3 Posters 582 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.
    • F
      fazzitog
      last edited by

      Hi everyone! Hope you´re doing well

      When dragging a file in a AudioWaveform, I want the sound to be loaded into a "Stretch Player" node in the ScriptFx module.

      Do you know how to achieve that? Thanks in advance!

      ejemplo Hise.png

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

        @fazzitog On your player set it to use an external slot and connect you ui waveform to it

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

        1 Reply Last reply Reply Quote 0
        • F
          fazzitog @fazzitog
          last edited by

          Didn´t about that option, thanks! It´s very handy.

          Another question arised from experimenting: when using more than one stretch at different speeds or having another node (granulator for example) connected to the same waveform, the playhead starts jumping to display all the positions.

          Is there a way to turn off the Playhead?

          video HIse.gif

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

            @fazzitog I can be hidden with LAF

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

            1 Reply Last reply Reply Quote 0
            • F
              fazzitog @fazzitog
              last edited by

              Sorry, I´m very new to HISE. What do you mean by LAF?

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

                @fazzitog Look and feel

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

                Christoph HartC 1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @d.healey
                  last edited by

                  Another question arised from experimenting: when using more than one stretch at different speeds or having another node (granulator for example) connected to the same waveform, the playhead starts jumping to display all the positions.

                  You could also use multiple slots and link them together using the scripting API linkTo, then it will load the same content but allow different playheads (usually that's something you want).

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fazzitog @Christoph Hart
                    last edited by

                    Yes! That was an idea that popped out. Do you have an example of using the "AudioFile.linkTo"?

                    I´m reading the documentation but can´t get to work in HISE. The autocomplete doesn´t show the function, so I don´t know what I´m doing wrong.

                    Link Preview Image
                    HISE | Docs

                    favicon

                    (docs.hise.audio)

                    Here´s an example:

                    HiseSnippet 1657.3oc6X0saaaCElJNzowsCnca8dgdkKPSfsa9qaXnNwNtMXMoFQoYY.AHiVh1lvRhBTzwwaX2u6108t8HrK21U8cXuH6IXaGRIaIkXa35tVLLLGf.Qd34vyOe7SGplBtMMLjKPFqdxv.Jx3NXqg9xt05RX9nCpiLJf2+JhWfKsLZugAjvPpCxvH2yTxMVcYj92e7z8HtDeaZxTHzoblM8ELOlLY1lU+RlqaChC8DlWpUuQ0Cr4903t79fujCWBEPr6Q5POhnV1RXjQ98cXRtvRRjzPjwx6wcFZ0kOvOZ8mxBYsbopAkQVfghltA20Q4wpYQ05xbcZNJlCQfUZljAxEkA9T7gLG134SxD2UKvLQiz4Cikx5d4x3dkS6dkR4dSvkLR4RKG4R2CaYKXAxDIJ+413C7kTQaBj1S6JQqEszYF3ZbXE9x08H8nMDvfwZTbqRkdjI7uG94EJ.o9Po4kDgoifzY29NLt4WXNR4NTYMtW.2GFT7AZoeE4RZatvq7Cxpdq9ssjBpztaEv.5k1f4RW2k426DdQMzRYOsDKMrZbLU7AgZG+h1WAlEra6991RF22j6eDWReoewGV36JrZguuf40E0t8Dkoh.A20kJlnXEDTLKEK522qEU7HH1b6SGuPntjsXimdwNMVzNJglZgb+C7YxWFP8mFBEEWET.iXuBNJH0vh6GCKxTRPLGETMaYBoCfzGNcHRBx32v6+Ym+BVKAUvHglCM6HHsH1PRfFdtpnKHN7Py0LeYapPRBO2Z.IvzpwYmWmYyndfhlUJU4wmWmZSUoJkLS8hVy7Ugv3ioCHB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K2SE9lG2Q0tRFf6siAtJAY54c1.1kl5tajKU7kOI9Fckhu9Modc93qYjb9TO2O85W+qOMM9QO6a57y2u5HlQ1XnYhUPydqQnar0U+wpy0V+MeR8e+oQvLKONW1E5O956+FUQu+C86fOlFRkQVYFIfqiCz2+QMBtc2RQF5fvSURsItiLDzT7dbdOOhtc7E5x5ePt7fGwVvuvN59Ppf6V5Y.rmu9aStJ9P0XywejkniLdLG1E11pqYtFbM5IqSkEPmGu.5rwBnylKfNas.5r8BnyNyTG0moc29RtWzU0fIZtuFbYXD8tcMoC5uAkhkGJC
                    
                    Christoph HartC 1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @fazzitog
                      last edited by

                      @fazzitog I've posted an example for this in another recent thread:

                      Link Preview Image
                      Clear audio file reference from waveform on front end

                      I think you're massively overcomplicating things here. Connect the waveform to the actual target like this: const var af0 = Synth.getAudioSampleProcessor("Au...

                      favicon

                      Forum (forum.hise.audio)

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        fazzitog @Christoph Hart
                        last edited by

                        @Christoph-Hart Thanks for sharing the post!

                        I followed it and put this lines on the project:

                        const var buf1 = Synth.getAudioSampleProcessor("Script FX1").getAudioFile(0);
                        const var buf2 = Synth.getAudioSampleProcessor("Script FX1").getAudioFile(1);
                        
                        buf2.linkTo(buf1);
                        

                        But the audio isn´t showing in the second buffer after dragging the audio. Do you know what´s wrong?

                        Also, when changing from the interface designer to the script workspace, HISE crashes. Here´s a video:

                        crashHise1.gif

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

                        44

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        103.0k

                        Posts