HISE Logo Forum
    • Categories
    • Register
    • Login

    tempo bpm "saveAsMidiFile()"

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 169 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.
    • ulrikU
      ulrik
      last edited by ulrik

      When saving midi file from MidiPlayer using

      MidiPlayer.saveAsMidiFile()
      

      the tempo written in the file is always 120, no matter what tempo is set in Hise or Daw

      Is there a way to include the right bpm in the file?

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

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

        @ulrik Something in here perhaps - https://github.com/christophhart/HISE/blob/develop/hi_dsp/modules/MidiPlayer.cpp#L1648

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

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @d.healey
          last edited by

          @d-healey thank you but I can't find anything

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

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

          40

          Online

          1.7k

          Users

          11.7k

          Topics

          101.9k

          Posts