HISE Logo Forum
    • Categories
    • Register
    • Login

    Using setRRGroup Volume when multi-mic type samples are different lengths

    Scheduled Pinned Locked Moved Scripting
    11 Posts 3 Posters 751 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.
    • d.healeyD
      d.healey @BM_FORUM
      last edited by

      @BM_FORUM Re-export your samples.

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

      B 1 Reply Last reply Reply Quote 1
      • B
        BM_FORUM @d.healey
        last edited by

        @d-healey I was affraid of that... :expressionless_face:

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

          @BM_FORUM It will make life easier in the long run. Depending on your bash/batch scripting-fu level you could probably use SoX to automate this (padding the shorter files with silence to match the longer file duration).

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

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

            this sort of thing(file length conversions) is trivially simple in python/pydub

            Link Preview Image
            jiaaro/pydub @ GitHub

            favicon

            (pydub.com)

            HISE Development for hire.
            www.channelrobot.com

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

              I think the tricky part will be getting the length of the longest sample in each set.

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

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

                @d-healey well depending on the naming scheme - again trivially simple in pydub - worst case (with no consistent naming scheme) set them all to = the longest in the folder...

                HISE Development for hire.
                www.channelrobot.com

                1 Reply Last reply Reply Quote 2
                • B
                  BM_FORUM
                  last edited by

                  Pydub looks like a great solution, thanks for the tip. Though this particular problem has just taken another turn. I have just test exported a bunch of the samples to the exact same lengths and I'm still getting unequal errors intermittently... I did just find a similar thread, so I'm trouble shooting each of the issues everyone appears to have had there as they sound equally plausible as the cause of my issue.

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

                    @BM_FORUM said in Using setRRGroup Volume when multi-mic type samples are different lengths:

                    I have just test exported a bunch of the samples to the exact same lengths and I'm still getting unequal errors intermittently...

                    What's your methodology for making sure the samples are the same length? We are talking about length in samples not ms, right?

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

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

                      @d-healey Cycle Markers (Cubase). With each mic on a separate track of course, but grouped in a folder, which incidentally doesn't allow you to group the folder without the samples being the same length. Then the cycle marker generated from the internal grouped samples. So each exported sample ends up the exact same length per pitch (at least I thought it did... maybe this isn't precise enough for this type of automated detection)...

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

                        @BM_FORUM I haven't used Cubase for years. These days I use Ardour for editing but Reaper is probably the de facto industry standard.

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

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

                        53

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.1k

                        Posts