HISE Logo Forum
    • Categories
    • Register
    • Login

    Extract information from .midi files? || Midi file dropper tile?

    Scheduled Pinned Locked Moved Unsolved Scripting
    8 Posts 3 Posters 139 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.
    • ChazroxC
      Chazrox
      last edited by Chazrox

      I want to be able to drop a midi file onto the midi file drop floating tile and via script, extract chord information. Can somebody point me in the right direction? Thanks in advance!

      Screenshot 2025-08-01 at 7.14.07 PM.png. ???

      d.healeyD 1 Reply Last reply Reply Quote 0
      • ChazroxC Chazrox marked this topic as a question
      • d.healeyD
        d.healey @Chazrox
        last edited by

        @Chazrox LoadAsMidiFile looks like it will do what you want

        33e87f54-da22-43da-af27-8eb4c6a14bb8-image.png

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

        ChazroxC 1 Reply Last reply Reply Quote 0
        • ChazroxC
          Chazrox @d.healey
          last edited by

          @d-healey I must investigate! 🙏

          1 Reply Last reply Reply Quote 0
          • ChazroxC
            Chazrox
            last edited by

            Im still trying to figure this out if anybody wants to drop any tips.

            1 Reply Last reply Reply Quote 0
            • rglidesR
              rglides
              last edited by

              I haven't tried to parse info from MIDI but my first thought would be to use a setFileDropCallback a bit like David's recent video, along with loadasMidiFile. But I might be completely barking up the wrong tree

              ChazroxC 1 Reply Last reply Reply Quote 1
              • ChazroxC
                Chazrox @rglides
                last edited by

                @rglides I saw that and started watching it. Im trying to break that down right now. I think what you're suggesting is the way to go!

                Thank you @d-healey for releasing that video! I know that was one of your exclusive patreon videos 🙏

                ChazroxC 1 Reply Last reply Reply Quote 1
                • ChazroxC
                  Chazrox @Chazrox
                  last edited by Chazrox

                  @d-healey @rglides Yoooooo! We're gettin somewhere with this!

                  Check it out...im able to get a bunch of info from the midi file but,
                  the thing I really want which is 'midiFile.Events' is showing up as empty.

                  If anybody has some insight on this Thank You in advance! 🙏

                  Im also noticing that no matter what .mid file I drop, when im tracing 'midiFile' as shown in my script, its always the same "TimeSignature" "NumBars"...etc....
                  Screenshot 2025-08-04 at 12.07.24 AM.png
                  console prints...
                  Screenshot 2025-08-04 at 12.51.04 AM.png

                  1 Reply Last reply Reply Quote 0
                  • ChazroxC
                    Chazrox
                    last edited by

                    I think im going about this backwards in a way....

                    How do I get midi note information from .mid files that are dropped into a midi player? The midi player is obviously able to parse the note event information. How would I extract the information from files loading into the midi player? In this method I could just use a built in midiDrop overlay panel and script the extracting process but the data source would now be the MIDIPlayers built in data structure.

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

                    27

                    Online

                    1.9k

                    Users

                    12.2k

                    Topics

                    106.5k

                    Posts