Simple question... Midi Player Midi Files



  • Simple question, but important for the project im creating...
    Is it possible to export or save a midi sequence (file) from the HISE midi player to use in a D.A.W?





  • @Christoph-Hart
    Ok I totally overlooked that 🤦♂ so I would do?

    MIDIPlay.saveAsMidiFile("{PROJECT_FOLDER}MidiFiles", 1)
    

    and it will replace the original file?



  • Yes, but {PROJECT_FOLDER} already points to the MidiFiles folder, so you'd probably want something like {PROJECT_FOLDER}File1.mid. Also it just overwrites the specified track and leave the other ones untouched.



  • So, I've put together the following snippet that seems to work beautifully in HISE.
    It's essentially a button that saves the currently loaded midi to the MidiFiles location within the {PROJECT_FOLDER} with a unique name.

    However when exporting the plugin and attempting the same thing in Logic nothing is saved to the associated plugin folder within 'Application Support'.

    It works locally in HISE but not externally when compiled.

    Any thoughts?

    HiseSnippet 3860.3oc4ZkzbiijclrTgpaodp18L8XG9fivvJr6gZjZHRv8oidFwUQRwEHtK0wDc.BjD.T.Hg.RJJp1UD9OgO4+B9fO6S9mfu5a9nu3HlHFe29kXgDTE0RUyzU2wXVJhh4x6ku2W9x2RxTvFKgbbv1Qhta+kVnHQ+IL8VZRTKoJpYFod4HQ+LFzsVXaBqiolkEhDo3RKQGGjbjnQ24T5rht6Ki39428aJJpKZJgV2UjHCwZRnlZFZj08JbxYZ55UEkQ80LBM6TmTWBaVBqimCRzNLwiXIJcknBpsHcZufIRzWUQVifs6QDIHmHQeYQr7xdp3Eldyenli1DcDsQhH8.F40cUrtLUho8FojpltrPfl6DIRTFg03vNd3vOmoklr1p9CiGzAXWSQX7H5KdLwKQXwK9yW71Ij38pfsIWwSWbIx1Ur9TlV0KWm0qmDaHTklaaiLI8PWOGswlye0I9C02Ff4v6iMwXqJlhfnJGduL5Napd67vpWXz+sUoHTouplNhpdeTPCX1TUA1lKKRDiD0gIGOmY+LmkqT2t0qyw057JWNq.GG2XNtBbBbFZc60uN+kPObK43lkMKuBWgZcflyNLK+zoER598B4LlNkar.WMyFBsuCUpX0okJLcZhB06dnTMAN0xbbYO7LN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