HISE Logo Forum
    • Categories
    • Register
    • Login

    MidiPlayer.getMidiFileList(); working?

    Scheduled Pinned Locked Moved General Questions
    9 Posts 4 Posters 478 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.
    • ten7kurT
      ten7kur
      last edited by

      const var midiFileList = MidiPlayer.getMidiFileList(); gives me and output of: Unknown function 'getMidiFileList'

      Im using the latest scriptnode branch.
      Shouldn't it work?

      ustkU 2 Replies Last reply Reply Quote 0
      • ustkU
        ustk @ten7kur
        last edited by

        @ten7kur Is your "MidiPlayer" declared?

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

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

          @ten7kur Oh sorry I just tried, it doesn't seem to work...

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

          1 Reply Last reply Reply Quote 1
          • ten7kurT
            ten7kur
            last edited by

            Shall I repost it in BUG?
            The Expansions system is also not working. Apparently it should be....(according to @Christoph-Hart 's Github)

            A 1 Reply Last reply Reply Quote 0
            • A
              arminh @ten7kur
              last edited by

              @ten7kur for now expansions system is in progress

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

                Nope, it works here. Do you have the MIDI files in your project repository folder?

                ten7kurT 1 Reply Last reply Reply Quote 0
                • ten7kurT
                  ten7kur @Christoph Hart
                  last edited by

                  @Christoph-Hart
                  Yes Sir!

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

                    Make sure you're using the latest script node version and that the Reference to the MidiPlayer works and is actually a MIDIPlayer type.

                     const var MIDIPlayer1 = Synth.getMidiPlayer("MIDI Player1");
                     
                     const var l = MIDIPlayer1.getMidiFileList();
                     
                     for(e in l)
                        Console.print(e);
                    
                    ten7kurT 1 Reply Last reply Reply Quote 1
                    • ten7kurT
                      ten7kur @Christoph Hart
                      last edited by

                      @Christoph-Hart
                      Working!
                      Thanks!

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

                      53

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts