HISE Logo Forum
    • Categories
    • Register
    • Login

    Best resource for learning HISE?

    Scheduled Pinned Locked Moved General Questions
    36 Posts 10 Posters 1.7k 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.
    • DabDabD
      DabDab @griffinboy
      last edited by DabDab

      @griffinboy said in Best resource for learning HISE?:

      DaFX

      Good Idea.

      PT.jpg
      How can I convert schematic to C++ Audio DSP ? This is a schematic of Echo Circuit (Simple Stereo Echo)

      Bollywood Music Producer and Trance Producer.

      Dan KorneffD griffinboyG ustkU 3 Replies Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff @DabDab
        last edited by

        @DabDab you'd have to have a solid understanding of curcuit design and analog modeling techniques to recreate the schematic. Modeling the PT2399 itself is not a trivial task.
        Some of my models take months to calculate.

        Dan Korneff - Producer / Mixer / Audio Nerd

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

          @DabDab

          *edited.

          Was incorrect in my advice for this digital delay circuit, see messages below.

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

            @DabDab The essence of this circuit is not the components around it, which are probably just doing some light bandwidth filtering, impedance adaptations...

            The main contribution to the sound being the 2399, the approach would better be a black box modeling of the beast imho

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

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

              @ustk

              Ah yes, I was not exaggerating when I say I don't know electronics πŸ˜†
              That black box in the middle is an entire circuit itself I'm gathering?
              I was confused for a moment, because I use these, and I was pretty sure they are digital.

              All of my modelling is transistor and tube based, I've never simulated anything modern.

              Yeah honestly I would black box this. If he messages me I'll set him on the right path.
              Creating a setup to extract data from the actual chip, and then recreating the ADC, DAC, Amp, Filtering and buffers, digitally would be the strategy here.

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

                @griffinboy yeah this is a path I'd like to learn too, but the progression curve is... well you get it πŸ˜„
                The thing is that I am fully equipped with all the electronic hardware one would need for this (except spectrometer but it can be done in a computer anyway). I have never tried black box modeling, and even if it wouldn't be that hard to measure a circuit, what to do with the results it something else

                As for Wave Digital Filters, as soon as you get a loop, things are becoming insane. And I don't know any electronic circuits without a loop, most often non linear… I tried with a very simple design and wasn't able to implement it successfully in Faust. Though I computed the loop, there's a CLI helper tool for this, cannot remember from the top of my head so I'll find it once I'm back at the computer

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

                griffinboyG 1 Reply Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff
                  last edited by

                  If you have limited circuit knowledge, this might be a better solution:
                  https://hackaudio.com/point-to-point-modeling
                  As far as I can see, it has the flexibility of WDF, but removes the need for iterative solvers when working with non-linear circuits.

                  Dan Korneff - Producer / Mixer / Audio Nerd

                  1 Reply Last reply Reply Quote 1
                  • DabDabD
                    DabDab @Dan Korneff
                    last edited by DabDab

                    @Dan-Korneff said in Best resource for learning HISE?:

                    You'd have to have a solid understanding of curcuit design and analog modeling techniques to recreate the schematic.

                    Yes, I can do circuit design via Electronics components but I am not good in White Box and Black Box Modelling . I saw many JUCE Analogue emulation videos. Tried Mat lab, Circuit Sim, Octave etc. But no luck.

                    Bollywood Music Producer and Trance Producer.

                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @DabDab
                      last edited by

                      @DabDab If you use WDF or Point to Point, the library and code is integrated into JUCE.
                      My process is probably similar to @griffinboy. Use ohms law and various transforms to linearize the circuit. Create symbolic transfer functions that represent the circuit. Spend hours upon hours in Matlab proving and tweaking the formulas. After that, it's pretty much just copy/paste the code into a 3rd party node.
                      You'll end up with a while library of books on the subject, but this is a good one to start with:
                      Microelectronic Circuits (Oxford... https://www.amazon.com/dp/0195323033?ref=ppx_pop_mob_ap_share

                      Dan Korneff - Producer / Mixer / Audio Nerd

                      DabDabD griffinboyG 2 Replies Last reply Reply Quote 0
                      • DabDabD
                        DabDab @Dan Korneff
                        last edited by

                        @Dan-Korneff
                        hmm....
                        That's why Analogue Modelling is quite challenging to me. πŸ˜•

                        Bollywood Music Producer and Trance Producer.

                        Dan KorneffD 1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @DabDab
                          last edited by

                          @DabDab it's a challenge for everyone πŸ˜‰

                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                            @ustk

                            I read a paper on HSIM, about simulating transformers with WDF, this is the method that I use personally. It allows me to deal with multiple nonlinearities. Provided you can derive the scattering matrix and resolve delay free loops, it becomes quite 'simple'.
                            You need parallel processing for it to be efficient though.

                            1 Reply Last reply Reply Quote 2
                            • griffinboyG
                              griffinboy @Dan Korneff
                              last edited by griffinboy

                              @Dan-Korneff
                              @DabDab

                              For nonlinear circuits (amps, filters) I'm working towards using HSIM: (https://www.researchgate.net/publication/354894471_Multidomain_modeling_of_nonlinear_electromagnetic_circuits_using_wave_digital_filters)

                              Essentially breaking down the tree into smaller sections and solving nonlinearities locally. A bit different to Kurt Werner's suggested approach of grouping the nonlinearities at the root. Apparently this way is the most efficient (with SIMD), but nobody has compared them yet, so I am looking into doing that and writing a paper.

                              Apart from that, yeah your process is similar to mine.
                              Creating models for each component, using iteration to inch closer to the benchmark results from the real component. After that you have to deal with representing the connections :face_with_tears_of_joy:

                              Lots of work. WDF is good if you know electronics, state space modelling (+MNA) can be tidier and a heck of a lot less code, but I find it more confusing. I've only done filters using such techniques but I know that it's the industry standard.

                              12ax7_1.png

                              I'm working on a WDF header library for Hise which I intend to release, but it's still in progress, I need to talk to Christoph more about SIMD support in Hise, to see what the best way to optimise it.

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

                              21

                              Online

                              1.7k

                              Users

                              11.8k

                              Topics

                              102.5k

                              Posts