HISE Logo Forum
    • Categories
    • Register
    • Login

    High fidelity animation in Hise - What are my options?

    Scheduled Pinned Locked Moved General Questions
    15 Posts 5 Posters 344 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.
    • clevername27C
      clevername27 @griffinboy
      last edited by

      @griffinboy Like this?

      bd17e59a-7d52-49d7-9295-b1b3050f622c-image.png

      griffinboyG 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @griffinboy
        last edited by

        @griffinboy yes, use a peak node right after and then plot its data. Set it to an external buffer and use that with a floating tile.

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

          You can also use a peak node as a member within your C++ class and pass on the external data to it, then forward all callbacks to it at the appropriate time.

          griffinboyG 2 Replies Last reply Reply Quote 0
          • griffinboyG
            griffinboy @clevername27
            last edited by

            @clevername27

            Yeah exactly, scrolling history

            1 Reply Last reply Reply Quote 0
            • griffinboyG
              griffinboy @Christoph Hart
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • griffinboyG
                griffinboy @Christoph Hart
                last edited by griffinboy

                @Christoph-Hart

                You can also use a peak node as a member within your C++ class and pass on the external data to it, then forward all callbacks to it at the appropriate time.

                This might be my best option as I realised I simplified my explanation: The graph I am trying to draw is a bit more complex than simple history, I need to be able to redraw the whole graph with different data at certain points, so I guess it's not really a history graph

                I'll try and do what you said here, although I've not done this before and I'm not entirely sure what you mean : )

                clevername27C 1 Reply Last reply Reply Quote 0
                • clevername27C
                  clevername27 @griffinboy
                  last edited by

                  @griffinboy I'm happy to help, hit me up over DM. It's super-easy to do what you'd like. Though my first suggestion, assuming that's what you want, is to adapt the tile @Christoph-Hart is using for HISE.

                  griffinboyG 1 Reply Last reply Reply Quote 1
                  • griffinboyG
                    griffinboy @clevername27
                    last edited by

                    @clevername27

                    I'll message, thanks for the offer

                    clevername27C 1 Reply Last reply Reply Quote 0
                    • clevername27C
                      clevername27 @griffinboy
                      last edited by clevername27

                      @griffinboy Yes. First, pls take a look at my commercial spectral editor, Steinberg's SpectraLayers. If you want to do anything you see in that programme, obviously I can be pretty specific. If you'd like a license for it, let me know.

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

                        @clevername27 I've done similar stuff using a peak FFT external buffer, though I'm concerned about the efficiency of my code.

                        From the top of my head it was as simple as keeping an array of data updated by push/pop new/old external buffers. But then the paintRoutine behind has A LOT of data to draw! So it works, but the GPU probably hates me...

                        Would there be a more efficient way? And if you add a blur then...

                        Of course the data has first to be downsampled to whatever the resolution of the panel is, but still the paintRoutine can be sometime a painRoutine 😀

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

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          aaronventure @ustk
                          last edited by

                          @ustk said in High fidelity animation in Hise - What are my options?:

                          So it works, but the GPU probably hates me.

                          That's the thing, it's all being drawn on the CPU. That's the problem. I don't know if JUCE 8 finally solves this.

                          @ustk said in High fidelity animation in Hise - What are my options?:

                          And if you add a blur then.

                          Don't.... At least until Melatonin Blur gets implemented. If you have to, use drop shadow to fake blur on paths, but even that (except the text one, which uses Melatonin) is going to be somewhat hungry.

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

                            @aaronventure oh yes I always forget that the CPU is in charge… pity…

                            Yeah I simply dropped the stock blur for a long time, eager to see melatonin being implemented more deeply

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

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

                            14

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.6k

                            Posts