HISE Logo Forum
    • Categories
    • Register
    • Login

    Drum synth: Accurate TR-808 hi-hat model done in scriptnode

    Scheduled Pinned Locked Moved ScriptNode
    15 Posts 2 Posters 253 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.
    • A
      aaronventure @Morphoice
      last edited by

      @Morphoice yup, keep in mind that you're now applying the envelope on the signal that already went through the shaper and the sound is different than if the envelope controlled signal went through the shaper.

      If you have the circuit schematics of the original, you can also try using Faust's wdmodels library.

      Link Preview Image
      wdmodels - Faust Libraries

      favicon

      (faustlibraries.grame.fr)

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

        @Morphoice Haha zoom out

        a9991176-e3f7-4b8e-9e1d-7ea59fd1155f-image.png

        You need to move your shaper and filters out of the no_midi node

        MorphoiceM 1 Reply Last reply Reply Quote 0
        • MorphoiceM
          Morphoice @aaronventure
          last edited by

          @aaronventure damn it, pardon my terrible eyesight. I could have sworn it’s outside, I looked a hundred times 🤣

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

          1 Reply Last reply Reply Quote 0
          • MorphoiceM
            Morphoice @aaronventure
            last edited by

            @aaronventure said in Drum synth: Accurate TR-808 hi-hat model done in scriptnode:

            If you have the circuit schematics of the original, you can also try using Faust's wdmodels library.

            Link Preview Image
            wdmodels - Faust Libraries

            favicon

            (faustlibraries.grame.fr)

            that would probably be the best Idea to model the filter accurately, sadly my faust/wdmodeling skills are still developing and for now not good enough.

            Also probably a simple filter node tweaked correctly is less cpu intensive. not sure about that, though. Once I figure out how to model a low and high pass correctly using wave digital filters, I'll give it a try.

            https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

              @Morphoice have you checked the examples?

              MorphoiceM 1 Reply Last reply Reply Quote 0
              • MorphoiceM
                Morphoice @aaronventure
                last edited by

                @aaronventure I'm at it right now. It's not easy to wrap your head around though

                https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                  @Morphoice nothing worth learning ever is

                  MorphoiceM 1 Reply Last reply Reply Quote 0
                  • MorphoiceM
                    Morphoice @aaronventure
                    last edited by Morphoice

                    @aaronventure i derived this LP from an example
                    but I can't seem to get it resonating

                    import("stdfaust.lib");
                    
                    
                    secondorder(C0, R1, R2, C1, C2, Vin) = wd.buildtree(tree)
                     with{
                     //declare components
                     vin(i) = wd.u_voltage(i, Vin);
                     r1(i) = wd.resistor(i, R1);
                     c0(i) = wd.capacitor(i, C0);
                     c1(i) = wd.capacitor(i, C1);
                     r2(i) = wd.resistor(i, R2);
                     c2(i) = wd.capacitor_Vout(i, C2);
                     //form connection tree
                    tree = vin : wd.parallel : (c0, (wd.series : (r1, (wd.parallel : (c1, (wd.series : (r2, c2)))))));
                    };
                    
                    process = no.noise : secondorder (1.5*10^-9,2700,68000,1.0*10^-9,1.0*10^-9) <:_,_;
                    

                    Screenshot 2024-12-20 at 12.11.35.jpg

                    https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                      @Morphoice ah, this is where we part ways on the topic - I never got into using it beyond trying out the examples, and I'm not much into virtual analog modeling.

                      MorphoiceM 1 Reply Last reply Reply Quote 1
                      • MorphoiceM
                        Morphoice @aaronventure
                        last edited by Morphoice

                        @aaronventure anyhow, here's the revised circuit with more of a snappy initial click

                        HiseSnippet 2670.3oc6b0scaiaDlzNP1xaxljM6o2Vd0djSSkIHo3OMsaii+YiOcsiaja51q7AlDxhGSQpRB4X2dReY5KRtsOA8112fdWurc.AoDorr9KwIN6J5SjDlA.yfYv2fAjDgdAiF5Q8NNIzu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n7XkZZV0Ua8KRdbx5JajWxA93wbROse+eATWbcsFsDj3e.VM9+d6zLx2kGU8ZF98GjoCoQLX.Ij1Wwf+gUKq0CH2Ml1E7U0NT7cytT2DktIEqWVMgluyEPr8PRlYDbyLkhj.E7IJ7oq97TjEcQoAHm2gYiMn65ubQMund.5R477171mtljz+GfHQj7w
                        

                        i can't figure out why the notes stop if the key is released early and the decay is not played out correctly in this snippet, it works in my drum synth

                        https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                        23

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.5k

                        Posts