HISE Logo Forum
    • Categories
    • Register
    • Login

    Midi Player - Playlist

    Scheduled Pinned Locked Moved Scripting
    4 Posts 3 Posters 372 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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      I'm tinkering with making a midi player that's controlled by a playlist. A user can browse thru their own midi files, add to a playlist, and then the player plays the sequence back.

      I have iterations that partially work, but I feel like I'm spinning my wheels a bit.

      What approach would you take to achieve this task? I need some inspiration.

      Dan Korneff - Producer / Mixer / Audio Nerd

      DimitrisSPD 1 Reply Last reply Reply Quote 0
      • DimitrisSPD
        DimitrisSP @Dan Korneff
        last edited by DimitrisSP

        @dustbro Hi...You mean that the user can use his own midi files?(That they are not embeded in the plugin?)...Lets say from another location where he can add or remove midi files?

        If it's the case one way to achieve this is to create an expansion(lets say you name it "UserMidi" or anything else and the user can add or remove files from the respected folder.(This folder will be in ...User Library/Application Support/Company Name/Plugin Name/Expansions/Expansion Name/MIDIFiles).

        Using a Viewport the user can see the midi files and load any of them in the midi player.
        Add a play/stop button to control playback and maybe a floating tile(midi overlay panel) for drag to DAW

        If the user adds or delete files from this folder the list will be updated on next load of the plugin.

        If this is what you are going for and i did not misunderstood i can make a small snippet for you.

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

          I would rather keep a list to absolute paths as JSON file and populate a viewport with the items.

          DimitrisSPD 1 Reply Last reply Reply Quote 1
          • DimitrisSPD
            DimitrisSP @Christoph Hart
            last edited by DimitrisSP

            @Christoph-Hart This way seems to be better than mine...is it easy to have a small example as starting point so we can work it out?

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

            25

            Online

            1.7k

            Users

            11.7k

            Topics

            102.3k

            Posts