Midi file Convert

Discussion in 'Software' started by Theologyx, Feb 5, 2025.

  1. Theologyx

    Theologyx Member

    Joined:
    Jan 5, 2025
    Messages:
    24
    Likes Received:
    15
    Hi, how i can convert midi Files thats look like that in the text Editor:
    1527
    0,0,0,0,0
    192,0,76,68,0
    144,60,68,44,-1
    128,60,33,1,-1
    144,64,62,40,-1
    128,64,50,5,-1
    144,67,84,23,-1
    128,67,55,22,-1
    192,1,68,31,0
    144,60,68,44,-1
    144,64,62,9,-1
    128,60,50,40,-1
    128,64,45,1,-1
    144,67,76,35,-1
    128,67,50,10,-1
    etc.


    To a new Midi file Format

    Uploaded File: From Atari Program= Music Studio Players.ST
    DEMOSOUN.MID
    https://zippyshare.day/fteo3DuOw0b8Tg9/file
    Thanks
    Theo
     
    Last edited: Feb 5, 2025
  2.  
  3. Radio

    Radio Audiosexual

    Joined:
    Sep 20, 2024
    Messages:
    2,671
    Likes Received:
    1,437
    go to --> http://midi.teragonaudio.com/progs/software.htm

    MIDI File Disassembler/Assembler

    A program to convert MIDI files into readable text files that you can view and edit with any text editor.
    This also goes the other way, converting the text file back into a new MIDI file with any changes you made.

    But it's more than that. It features much more processing of the MIDI data, allowing you to filter out any particular types of data, or filter by MIDI channel or note range, or remap note numbers, or scale volume, or delay tracks, etc. In order to use this program, you must first download and install the MidiFile DLL and GenMidi DLL.
     
  4. Theologyx

    Theologyx Member

    Joined:
    Jan 5, 2025
    Messages:
    24
    Likes Received:
    15
    I have just tested your suggestion, unfortunately it does not work, thanks anyway,
    Theo
     
  5. stopped

    stopped Platinum Record

    Joined:
    Mar 22, 2016
    Messages:
    691
    Likes Received:
    254
  6. Will Kweks

    Will Kweks Rock Star

    Joined:
    Oct 31, 2023
    Messages:
    709
    Likes Received:
    440
    That doesn't look like a standard MIDI file (SMF). If I squint my eyes it might be a MIDI event list, but I'm too tired to try to decipher it.

    My guess: it's a delta time/relative ticks based stream of note on and note off, let me try:

    first line: Tempo identifier in some format
    second line: empty event - start of note stream
    third line: meta event of some kind, maybe a CC event
    <ticks since last event/time delta> <note number> <velocity> <something> <something>

    Going by note numbers, if I'm even remotely correct it starts:

    C4, C4, E4, E4, G4, G4
    then
    C4, E4, C4, E4, G4, G4

    If I had more knowledge of the format used, or some spare time, I could probably write a script to write this out to a proper MIDI file.
     
    • Like Like x 2
    • Winner Winner x 1
    • List
  7. bluerover

    bluerover Audiosexual

    Joined:
    May 3, 2013
    Messages:
    1,353
    Likes Received:
    1,195
    • Like Like x 1
    • Interesting Interesting x 1
    • List
  8. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,434
    Likes Received:
    4,123
    Location:
    Europe
    This. The thing about midi files is there's a lot of different formats.
    The standard ones are binary, so nothing like yours. But there're some text formats, like MIdiXml.

    The one of the OP seems like an old basic text format of MIDI events, like @Will Kweks said. You'd need to find the specifications of that format, in this case the "Music Studio Players" for Atari ST program.
     
    Last edited: Feb 7, 2025
  9. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,434
    Likes Received:
    4,123
    Location:
    Europe
    Following this link I arrived at this page:
    http://midi.teragonaudio.com/tutr/midiform.htm#q1

    In which they explain:
    So your text Midi file is a regular MIDI file "disassembled to text with one of the utilities in @bluerover 's link.

    Any program that can convert to text ("disassemble") MIDI files will do. And the other way of course.
     
  10. Theologyx

    Theologyx Member

    Joined:
    Jan 5, 2025
    Messages:
    24
    Likes Received:
    15
    Hi,
    that would be absolutely fantastic

    File: DEMOSOUN.MID
    https://zippyshare.day/fteo3DuOw0b8Tg9/file

    Thank you
    Theo
     
  11. Radio

    Radio Audiosexual

    Joined:
    Sep 20, 2024
    Messages:
    2,671
    Likes Received:
    1,437
    There is only one way - get an Atari or emulation, load the songs and export them as .MID, then transfer it to your current computer and use it. You cannot convert it afterwards.

    To open a MIDI file in the Atari Program Music Studio (APMS) on an Atari ST, you can follow these steps:

    1. Start the Atari Program Music Studio: Turn on your Atari ST and load the APMS program.
    2. Navigate to the menu: Use the mouse or keyboard to reach the main menu.
    3. Select the option to load a file: Look for an option like "Load File" or "Open File". This might be in the File menu.
    4. Find the MIDI file: Browse the directories on your Atari ST to find the MIDI file you want. Make sure the file is in the correct format.
    5. Open the file: Select the MIDI file and confirm to load it.
    6. Edit or play the music: Once loaded, you can play the music or edit it as you wish.
    If you encounter problems, check that the MIDI file is formatted correctly and that the APMS supports the file
     
Loading...
Loading...